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

  • uniapp js sets element size
    uniapp js sets element size
    With the increasing popularity of mobile applications, front-end developers need to set different element sizes for different mobile devices. Using uniapp js to set element size is a very effective method. This article will introduce how to set element size using uniapp js. 1. Use components and styles to set element sizes In uniapp, we can use components and styles to set element sizes. For example, we can use the view component to create a container, and then use the width and height properties to set the size of the container, as shown below
    uni-app 1138 2023-05-21 20:51:36
  • uniapp monitors whether gps is turned on
    uniapp monitors whether gps is turned on
    With the development of smartphone technology, GPS has become an essential device for people to travel. When developing mobile applications based on uniapp, it is sometimes necessary to determine whether the user has turned on the GPS function in order to call the relevant positioning API. This article will introduce how to monitor whether GPS is turned on in uniapp. 1. The principle of turning on GPS in uniapp In uniapp, the user's current location information can be obtained by calling the uni.getLocation(Object) interface. When calling this interface, if the GPS function is not turned on
    uni-app 1911 2023-05-21 20:47:36
  • uniapp jumps to the tabbar page
    uniapp jumps to the tabbar page
    With the continuous development of mobile applications, more and more developers are beginning to use uniapp, a cross-platform development framework, to build their own mobile applications. One of the most commonly used components in the uniapp framework is the tabbar component, which can display switching buttons for multiple pages at the bottom, allowing users to quickly navigate to different pages. However, sometimes we need to program the application to automatically jump to the tabbar page. In this case, we need to use some techniques to achieve it. This article will introduce how to jump to ta through programming in the uniapp framework
    uni-app 8115 2023-05-21 20:40:06
  • What backend management system does uniapp use?
    What backend management system does uniapp use?
    With the rapid development of mobile Internet, more and more enterprises are beginning to use mobile applications to improve productivity and user experience. However, developing a mobile app is not just about writing code, you also need to consider how to manage the data and backend of the app. Uniapp is a cross-platform development framework suitable for multiple platforms and can be used to develop applications for multiple platforms such as iOS, Android, and Web. However, when developing Uniapp applications, we need a backend management system that can manage the application data and background. Below, I will
    uni-app 1587 2023-05-21 20:36:06
  • How does uniapp obtain the parameters of the entry page?
    How does uniapp obtain the parameters of the entry page?
    With the popularity of mobile applications and the continuous deepening of mobile application architecture, developers need to constantly learn new technologies and applications, and discover problems and solutions in practice. With the rapid development of mobile application development technology, developers have to deal with various new technologies and frameworks, including using Uniapp to develop cross-platform applications. In this article, we will explore how to obtain the parameters of the Uniapp entry page. Uniapp is a cross-platform application framework developed based on the Vue.js framework, allowing it to run on multiple platforms
    uni-app 2975 2023-05-21 20:23:06
  • What is uniapp computed
    What is uniapp computed
    What is uniapp computed? In uniapp, we often need to format, calculate, filter and other operations on the data in the data. In order to facilitate the use and management of developers, uniapp provides the computed (computed attribute) feature. computed is a method of calculating new attribute values ​​from existing attributes in data. It uses functions to calculate some attributes and dynamically returns the calculation results. computed can cache calculation results, improve performance and make them more readable. comput
    uni-app 2819 2023-05-21 19:56:35
  • How to solve the problem that uniapp configuration meta does not take effect
    How to solve the problem that uniapp configuration meta does not take effect
    Preface Uniapp is a cross-platform application development framework based on Vue.js. Its development is simple and easy to use. It can quickly build iOS, Android and H5 pages and has become one of the important tools for mobile application development today. However, the development of cross-platform applications also brings some problems. For example, this article solves the problem that the uniapp page configuration meta does not take effect. I hope it will be helpful to readers. Problem description: Recently, some developers have reported that in H5 pages built using uniapp, m is configured
    uni-app 893 2023-04-27 10:37:19
  • How about developing apps with uniapp?
    How about developing apps with uniapp?
    As mobile technology develops, mobile application development becomes more and more popular. However, developing a mobile application is not an easy task and requires consideration of many factors, such as development language, platform selection, performance optimization, etc. In recent years, uniapp, as a cross-platform development framework, has also been favored by developers and enterprises. So, how about uniapp developing apps? This article will introduce it from the following aspects. 1. Introduction to uniapp Uniapp, the full name is "Universal Application", is a
    uni-app 1442 2023-04-27 10:40:15
  • How to get the content in text in uniapp
    How to get the content in text in uniapp
    UniApp is a cross-platform development tool that allows you to write code once with Vue.js and quickly develop applications on multiple platforms. In the UniApp application, obtaining the content in the text may be a very common requirement, so this article will answer the question of how uniapp obtains the content in the text and help everyone use UniApp better. 1. What is text? In UniApp, text is a basic component used to display text content. Use the text component to display predefined text directly in the view
    uni-app 2433 2023-04-27 10:41:12
  • Where is the front-end interface of uniapp written?
    Where is the front-end interface of uniapp written?
    With the rapid development of mobile Internet and cloud computing technology, web applications and mobile applications have become the mainstream of the modern Internet era. In this process, the importance of front-end technology has become more and more prominent, and front-end interface writing has become an indispensable skill for front-end engineers. This article will explore where to write the uniapp front-end interface. uniapp is a development framework based on Vue.js. It is a cross-platform framework that can develop iOS, Android and Web applications at the same time. In uniapp, the writing of the front-end interface is mainly divided into two parts:
    uni-app 1527 2023-04-27 10:43:33
  • How to use the audio tag in uniapp
    How to use the audio tag in uniapp
    With the development of mobile Internet, audio-related applications are becoming more and more popular among users, such as music players, voice chat, speech recognition, etc. It is very convenient to use uniapp to develop these audio applications. One of the important components is the <audio> tag. This article will introduce how to use the <audio> tag in uniapp, including audio playback, pause, stop, and listening events. 1. Basic usage In uniapp, you can directly use the <audio> tag in the wxml file of the page to embed audio
    uni-app 2862 2023-04-27 10:45:41
  • How to use Google Maps in Uniapp
    How to use Google Maps in Uniapp
    With the rise of mobile applications, more and more developers choose to use cross-platform development frameworks to write applications. Uniapp is a popular cross-platform development framework that can deploy applications on multiple platforms such as Android, iOS, and the Web. At the same time, Google Maps is a widely used map application, however, many developers are unclear whether Google Maps can be integrated in Uniapp. This article will introduce how to use Google Maps in Uniapp. Part One: What is Uniapp Uniapp is a base
    uni-app 4044 2023-04-27 10:47:06
  • How uniapp implements Alipay payment function
    How uniapp implements Alipay payment function
    With the rapid development of mobile Internet, people are increasingly relying on mobile payments. Alipay is one of the most widely used payment methods. In mobile applications, if you want to develop Alipay payment functions, then using the uniapp framework is a very good choice. This article will introduce how uniapp implements the Alipay payment function. 1. Preparation work Before starting to implement Alipay payment, we need to complete some preparation work: 1. To obtain an Alipay open platform account, you first need to register an account on the Alipay open platform. For details, you can go to the Alipay open platform.
    uni-app 3221 2023-04-27 10:55:36
  • What should I do if uniAPP keeps failing to upload pictures?
    What should I do if uniAPP keeps failing to upload pictures?
    With the rapid development of mobile Internet, APP development has become an increasingly common software development method. Among them, uniAPP, as a cross-platform development framework, has been favored by many developers. However, during the development process, various problems will also be encountered, among which failure to upload images is one of the more common problems. Why does uploading pictures fail? There are actually many reasons for this problem. This article will discuss the reasons and solutions for failure to upload images from the following aspects: 1. Server configuration issues 2. Local network issues 3. Data
    uni-app 1482 2023-04-27 14:46:38
  • How to solve the style error of uniapp subcomponent
    How to solve the style error of uniapp subcomponent
    uniapp is a cross-platform application development framework based on Vue. Many developers use uniapp to develop small programs and mobile applications. Especially in today's mobile Internet era, uniapp has become indispensable in mobile Internet development. part. In uniapp, the use of components and sub-components is extremely common, but during use, some problems may occur, such as incorrect styling of sub-components. Let me introduce the reasons and solutions for the uniapp subcomponent style error in detail. 1. Cause analysis
    uni-app 1186 2023-04-27 14:45:55

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