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

  • Convert uniapp timestamp to date
    Convert uniapp timestamp to date
    With the advent of the mobile Internet era, the demand for APP development has emerged. Today, developers have gotten rid of the short-sightedness of a single language and are extensively exploring various cross-platform development frameworks. Nowadays, cross-platform development framework has become one of the mainstream directions of APP development, among which uniapp can be said to have been widely used. When we use uniapp for APP development, we often encounter timestamp issues. Timestamps play a very important role in development. For example, in operations such as leaving messages, comments, and publishing articles, it is necessary to record the publishing time.
    uni-app 4409 2023-05-26 11:53:07
  • uniapp cloud packaging sdk does not match
    uniapp cloud packaging sdk does not match
    In recent years, with the continuous development of mobile application development technology, more and more developers choose to use uniapp for cross-platform development. In the process of cross-platform development, cloud packaging technology can not only improve development efficiency, but also allow developers to better manage application releases. However, during the process of cloud packaging, the problem of "uniapp cloud packaging sdk mismatch" sometimes occurs, which will not only affect the success rate of cloud packaging, but also cause certain troubles to developers. This article will discuss the "uniapp cloud packaging sdk mismatch" problem from the following aspects
    uni-app 1360 2023-05-26 11:42:08
  • uniapp implements positioning permissions
    uniapp implements positioning permissions
    With the development of mobile Internet technology, more and more applications need to obtain users' location permissions to provide better services. In mobile application development, uniapp is a very popular cross-platform application development tool that can provide efficient application development solutions for multiple platforms at the same time. In uniapp, it is also very important to implement the function of positioning permissions. This article will focus on how to implement location permissions in uniapp to help developers better understand related technologies. First, we need to clarify the technical principles of implementing location permissions in uniapp. in un
    uni-app 4031 2023-05-26 11:37:37
  • Does uniapp generate keys?
    Does uniapp generate keys?
    Uniapp is a cross-platform application development framework that can develop applications for multiple platforms such as iOS, Android and Web at the same time. In the development of applications, keys are often needed to perform data encryption and decryption, identity verification and other related operations. So, can keys be generated in Uniapp? Let’s introduce it below. The Uniapp framework itself does not provide the function of generating keys, but it can be achieved using the uni-app plug-in and third-party libraries. Next, they will be introduced separately. 1. uni-app plug-in U
    uni-app 1550 2023-05-26 11:33:08
  • The two uniapp button method names are the same
    The two uniapp button method names are the same
    With the popularity of mobile applications, the need for cross-platform development is becoming more and more urgent, and uniapp, as a cross-platform development framework based on Vue.js and small programs, is loved by developers. However, when I was using uniapp to develop an application recently, I encountered a problem: the method names of the two buttons are the same, so one of the buttons cannot trigger the corresponding method. Why is this? 1. Problem Description In an application developed through uniapp, there are two buttons that need to trigger different methods, but the method names are the same, as shown below: ```vue<
    uni-app 838 2023-05-26 11:28:07
  • concat method in uniapp
    concat method in uniapp
    Uniapp is a cross-platform development framework that can be used to develop many types of applications, including mobile applications, desktop applications, and web applications. Among them, the concat method in Uniapp is a common array merging method. This article will introduce the use of this method. 1. Overview of the concat method The concat method merges one or more arrays into one array and returns the merged array without changing the original array. The syntax is as follows: ```array.concat(array1, ar
    uni-app 2731 2023-05-26 11:17:07
  • uniapp sets the current page title
    uniapp sets the current page title
    In uniapp, we can set the title of the current page to let users understand the content of the current page more clearly. In this article, we will explore how to set the current page title using uniapp. 1. Use the page configuration file to set the current page title. In uniapp, we can set the current page title by using the page configuration file. The page configuration file can create a file named "page.json" in the directory where the page is located. In this file, we can set the title of the current page, navigation bar style, page background color, etc.
    uni-app 4442 2023-05-26 11:14:37
  • The uniapp WeChat official account cannot be debugged
    The uniapp WeChat official account cannot be debugged
    When using uniapp to develop WeChat public accounts, it is not uncommon to encounter situations where debugging cannot be performed, but it is a very troublesome problem. This article will cover some possible causes of this problem and how to fix it. 1. Problem description When using uniapp to develop a WeChat official account, the developer opened the WeChat developer tools and clicked "Enable debugging", and found that the page did not enter debug mode, but was loaded directly to the preview page. 2. Possible reasons 1. If there is a problem with the WeChat developer tools installation, you can try to re-download and install the latest version.
    uni-app 1148 2023-05-26 11:13:37
  • How to open the system page in uniAPP
    How to open the system page in uniAPP
    In uniAPP development, it is often necessary to implement the function of opening the system page. For example, call the camera, photo album, map, browser, etc. This article will introduce how uniAPP opens the system page. 1. Open the camera In uniAPP, if you want to open the camera, you can use the plug-in "uni-app_camera" provided by uni-app. 1. Install the plug-in In HBuilderX, right-click the project file, select "Plug-in Market", find the "uni-app_camera" plug-in and install it. 2. Add the plug-in
    uni-app 1399 2023-05-26 11:11:42
  • How to change the size of uniapp radio
    How to change the size of uniapp radio
    uniapp is a very popular cross-platform application development framework for quickly developing applications on multiple platforms. In uniapp, we can easily add various controls to our application, including radio. Radio is a type of radio button, usually used to select a single option. If you want to adjust the radio size in uniapp, you can try the following method. 1. Use the style attribute. You can use the style attribute to set the size of the radio, as shown below: ```<radio
    uni-app 2344 2023-05-26 11:04:37
  • uniapp network request results
    uniapp network request results
    As a cross-platform development framework, Uniapp's network request function is an integral part of it, because mobile applications need to continuously obtain data from the server and display it on the user's device. When developing with Uniapp, the network request interface is very simple. You can use the official network request API or a third-party network request library provided by uni-app. However, for beginners, some details of the network request results may not be clear. This article will introduce in detail the relevant content of Uniapp network request results. Uniapp
    uni-app 1537 2023-05-26 11:03:37
  • What framework can uniapp use?
    What framework can uniapp use?
    With the rapid development of mobile Internet, mobile applications have become an indispensable part of people's lives. Nowadays, application development has become a rapidly growing field, and many companies or developers have stepped into it. However, as the application market expands and the technical environment continues to change, it becomes very important to choose a suitable application framework to develop applications. Among many application frameworks, uniapp is a very promising cross-platform application framework. It allows developers to develop applications for multiple different platforms simultaneously, including
    uni-app 1427 2023-05-26 11:02:37
  • How to get the value of textarea in uniapp
    How to get the value of textarea in uniapp
    When using the textarea component in uniapp, we need to get the text entered by the user in the component. So how to get the value of textarea? Next, let’s answer it in detail. 1. Basic usage of textarea First, we need to understand the basic usage of textarea component. In uniapp, using the textarea component needs to be introduced in the template. The sample code is as follows: ```<template> <view> <textarea
    uni-app 2707 2023-05-26 11:01:02
  • How to prohibit return when uniapp jumps successfully
    How to prohibit return when uniapp jumps successfully
    With the continuous development of mobile Internet, the demand for mobile applications is also increasing. In these applications, in order to improve the user experience, many developers will use the jump function to help users quickly enter different pages of the application. In uniapp, the jump function is also widely used. However, sometimes we want to prevent users from returning to the previous page after successfully jumping to the target page. So, how to implement this function? uniapp is a cross-platform application development framework based on Vue.js, which allows developers to build
    uni-app 3289 2023-05-26 10:56:37
  • How uniapp can be cross-platform
    How uniapp can be cross-platform
    With the rise of mobile applications, the demand for multi-terminal development is becoming stronger and stronger. As an open source multi-terminal development framework, uniapp can help developers quickly create cross-platform applications and reduce development costs and complexity. So how does uniapp become cross-platform? 1. Based on the vue framework The bottom layer of uniapp is based on the vue framework. Through the encapsulation of vue syntax, cross-platform code reuse is achieved and the learning cost in the cross-platform development process is reduced. This means that developers only need to learn one set of syntax to complete development for multiple platforms, which makes
    uni-app 1653 2023-05-26 10:56:07

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