current location:Home > Technical Articles > Web Front-end > uni-app

  • How does uniapp determine the currently running platform?
    How does uniapp determine the currently running platform?
    With the rapid development of the mobile Internet, mobile applications have become an indispensable daily tool for people, and the difficulty of developing mobile applications has gradually been reduced. Front-end developers also have more choices when developing mobile applications, among which uniapp is a cross-platform development framework that has attracted much attention. This article will share how uniapp determines the currently running platform. uniapp is a cross-platform development framework that supports multiple platforms, such as WeChat applet, Alipay applet, H5, Android, iOS, etc. During the development process, it needs to be done according to the characteristics of different platforms
    uni-app 1669 2023-04-20 15:51:58
  • How to debug uniapp on Android phone
    How to debug uniapp on Android phone
    With the popularity of mobile Internet, the demand for mobile application development is increasing. But during the development process, we often need to debug on different mobile platforms. Now, in the face of this situation, Uniapp emerged as the times require. This framework allows developers to quickly develop efficient, cross-platform applications. However, because different platforms have different debugging methods, many developers are still a little confused. This article will focus on how to debug Uniapp on Android phones. 1. Use Chrome to debug Weinre Weinre is a
    uni-app 5391 2023-04-20 15:57:47
  • Explore whether it is possible to use vuetify with uniapp
    Explore whether it is possible to use vuetify with uniapp
    Recently, more and more people have begun to use uniapp for mobile development, and vuetify is one of the more popular Vue UI frameworks. Therefore, many people are exploring whether vuetify can be used in uniapp. This article will explore this issue. First, we need to understand what uniapp and vuetify are. uniapp is a cross-platform application development framework developed based on Vue.js. It can compile code into applications for various platforms, such as iOS, Android
    uni-app 1159 2023-04-20 15:58:10
  • Does uniapp support websocket?
    Does uniapp support websocket?
    Uni-app is a cross-platform development framework that supports the simultaneous generation of applications for Android, iOS, H5 and other platforms based on the same code. Its excellent performance and convenience and ease of use have attracted widespread attention and use by enterprises and developers. . For application scenarios that require real-time two-way communication, WebSocket is undoubtedly a very good choice. So, does Uni-app support WebSocket? The answer is yes. Uni-app encapsulates WebSocket,
    uni-app 1266 2023-04-20 15:58:37
  • How to save pictures locally in uniapp
    How to save pictures locally in uniapp
    With the development of mobile Internet and mobile applications, it has been widely used for users to store and manage a large number of pictures during the use of applications. Uniapp is a cross-platform framework developed based on Vue.js, which can easily develop small programs, H5, App and other applications. During the development process, sometimes it is necessary to save the obtained pictures locally for quick call next time. Let's take a look at how Uniapp saves pictures locally. 1. Obtain pictures. During the development process, we need to use pictures. We can use uni.reques
    uni-app 7256 2023-04-20 15:59:19
  • What is the difference between uniapp and writing h5?
    What is the difference between uniapp and writing h5?
    With the rapid development of mobile Internet, the demand for mobile applications is increasing. To meet this demand, developers use different technologies to create multiple types of applications, such as hybrid applications and H5 applications. Among them, Uniapp and writing H5 applications are two very popular technologies. Introduction to Uniapp Uniapp is a multi-terminal application development framework based on Vue.js, which can be used in various application scenarios such as mobile terminals, web pages, WeChat applets, Alipay applets, quick apps, various cloud open platforms, etc. Use Uniap
    uni-app 1398 2023-04-20 15:59:57
  • How to get the height of an element in uniapp
    How to get the height of an element in uniapp
    In the process of developing projects using uniapp, we often need to obtain the height of elements in order to perform corresponding operations and layout, such as dynamically calculating the height of list items, setting the minimum height of components, etc. So, how to get the height of the element in uniapp? Method 1: uni.createComponent() In uniapp, use uni.createComponent() to dynamically create custom components. In custom components, we can use un in the life cycle function of the custom component
    uni-app 16062 2023-04-20 15:45:22
  • Which one, mpvue or uniapp, is more suitable for small program development?
    Which one, mpvue or uniapp, is more suitable for small program development?
    With the continuous development of the mobile Internet, the development of mobile applications has shown a diversified trend. Now, there are many frameworks that can be used to develop mobile applications, such as React Native, Ionic, Flutter, mpvue, uniapp, etc. Among these frameworks, the two small program frameworks mpvue and uniapp have attracted special attention from developers. mpvue is a small program development framework based on Vue.js. It extends the development ideas of Vue.js to small programs, allowing us to use
    uni-app 1625 2023-04-20 15:45:07
  • How to loop echarts component in uniapp
    How to loop echarts component in uniapp
    In recent years, with the rapid development of mobile applications and network applications, front-end technology has been constantly updated, and some frameworks have emerged that can easily build cross-platform, efficient, and beautiful mobile applications. Among them, uniapp is one of the highly respected frameworks. In uniapp, the echarts component is a widely used data visualization tool in front-end development. However, for beginners, how to loop the echarts component is a difficult problem. Next, this article will introduce uniapp from various aspects such as components, slots, data processing, etc.
    uni-app 1192 2023-04-20 15:44:46
  • How to reference built-in components in uniapp
    How to reference built-in components in uniapp
    As a cross-platform development framework, Uni-app has a very rich component library, and built-in components are an important part of it. Built-in components are highly reusable and easy to use, and are encapsulations of some commonly used functions, such as buttons, input boxes, lists, etc. During development, you can quickly implement these common functions by referencing built-in components and improve development efficiency. This article will introduce how Uni-app references built-in components. 1. Add the built-in component Uni-app in the pages.json file. In the page configuration file pages.json, there is a full
    uni-app 2889 2023-04-20 15:44:38
  • What should I do if the uniapp subcomponent cannot request the interface?
    What should I do if the uniapp subcomponent cannot request the interface?
    1. Introduction During the development process, we often use the uni-app framework to quickly develop small programs, Apps and H5 applications. Among them, an important feature of uni-app is the use of vue.js components and syntax, and it also supports multi-terminal packaging of mini programs and apps. However, in actual use, we may encounter various problems. For example, when we use sub-components in uni-app, we may encounter the problem that the sub-components cannot request the interface. Today we are going to take a look at this problem and possible solutions.
    uni-app 1655 2023-04-20 15:26:08
  • Which companies use uniapp
    Which companies use uniapp
    UniApp is a cross-platform development framework launched by DCloud, which allows developers to develop iOS, Android, H5 and mini-program applications simultaneously in one project. The launch of this framework means that developers only need to write one code to quickly publish applications on multiple platforms, thus greatly improving development efficiency. As UniApp gradually matures and is widely used, more and more well-known companies have begun to use UniApp to develop mobile applications. 1. Baidu Map Baidu Map is a map that provides map positioning, navigation, and search.
    uni-app 2498 2023-04-20 15:25:53
  • What else besides uniapp
    What else besides uniapp
    With the development of mobile Internet, more and more applications are emerging. Not long ago, uniapp attracted a lot of attention. It is considered a framework that can run an application on multiple platforms simultaneously. While uniapp is an important technological advancement, it's not the only option. This article will introduce some other options so developers can better understand the options available. React NativeReact Native is a cross-platform application framework developed by Facebook that is built on
    uni-app 2092 2023-04-20 15:25:31
  • What is the reason why uniapp code is lost?
    What is the reason why uniapp code is lost?
    Introduction: When developing uniapp, code may occasionally be lost. This situation makes developers feel confused and overwhelmed because it is difficult to develop without code. So, why is the uniapp code missing? How to prevent code loss? This article will introduce in detail the causes and preventive measures of uniapp code loss. 1. Reasons for uniapp code loss 1. Accidental deletion When editing the code, if you accidentally delete some important codes by mistake, the program will not run normally. At this time, the only option is to restore the code from backup or re-write it.
    uni-app 865 2023-04-20 15:23:37
  • How to jump to get parameters in uniapp
    How to jump to get parameters in uniapp
    1. Introduction to uniapp Uniapp is a tool for developing cross-platform applications. It uses the vue.js development framework, WebStorm IDE and HBuilderX integrated development environment. It can support the development of WeChat applets, Alipay applets, Baidu applets, Toutiao applets, and H5 , App and other applications. 2. uniapp jump page In uniapp, page jump is performed through routing. The basic building blocks of routing include paths and parameters. Among them, the path is used to specify the page path to jump, and the parameters are some additional
    uni-app 6352 2023-04-20 15:23:03

Tool Recommendations

jQuery enterprise message form contact code

jQuery enterprise message form contact code is a simple and practical enterprise message form and contact us introduction page code.
form button
2024-02-29

HTML5 MP3 music box playback effects

HTML5 MP3 music box playback special effect is an mp3 music player based on HTML5 css3 to create cute music box emoticons and click the switch button.

HTML5 cool particle animation navigation menu special effects

HTML5 cool particle animation navigation menu special effect is a special effect that changes color when the navigation menu is hovered by the mouse.
Menu navigation
2024-02-29

jQuery visual form drag and drop editing code

jQuery visual form drag and drop editing code is a visual form based on jQuery and bootstrap framework.
form button
2024-02-29

Organic fruit and vegetable supplier web template Bootstrap5

An organic fruit and vegetable supplier web template-Bootstrap5
Bootstrap template
2023-02-03

Bootstrap3 multifunctional data information background management responsive web page template-Novus

Bootstrap3 multifunctional data information background management responsive web page template-Novus
backend template
2023-02-02

Real estate resource service platform web page template Bootstrap5

Real estate resource service platform web page template Bootstrap5
Bootstrap template
2023-02-02

Simple resume information web template Bootstrap4

Simple resume information web template Bootstrap4
Bootstrap template
2023-02-02

Cute summer elements vector material (EPS PNG)

This is a cute summer element vector material, including the sun, sun hat, coconut tree, bikini, airplane, watermelon, ice cream, ice cream, cold drink, swimming ring, flip-flops, pineapple, conch, shell, starfish, crab, Lemons, sunscreen, sunglasses, etc., the materials are provided in EPS and PNG formats, including JPG previews.
PNG material
2024-05-09

Four red 2023 graduation badges vector material (AI EPS PNG)

This is a red 2023 graduation badge vector material, four in total, available in AI, EPS and PNG formats, including JPG preview.
PNG material
2024-02-29

Singing bird and cart filled with flowers design spring banner vector material (AI EPS)

This is a spring banner vector material designed with singing birds and a cart full of flowers. It is available in AI and EPS formats, including JPG preview.
banner picture
2024-02-29

Golden graduation cap vector material (EPS PNG)

This is a golden graduation cap vector material, available in EPS and PNG formats, including JPG preview.
PNG material
2024-02-27

Home Decor Cleaning and Repair Service Company Website Template

Home Decoration Cleaning and Maintenance Service Company Website Template is a website template download suitable for promotional websites that provide home decoration, cleaning, maintenance and other service organizations. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-05-09

Fresh color personal resume guide page template

Fresh color matching personal job application resume guide page template is a personal job search resume work display guide page web template download suitable for fresh color matching style. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-29

Designer Creative Job Resume Web Template

Designer Creative Job Resume Web Template is a downloadable web template for personal job resume display suitable for various designer positions. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28

Modern engineering construction company website template

The modern engineering and construction company website template is a downloadable website template suitable for promotion of the engineering and construction service industry. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28