Home  >  Article  >  WeChat Applet  >  Detailed introduction to editing business cards

Detailed introduction to editing business cards

零下一度
零下一度Original
2017-06-10 14:19:031842browse

There are two paths for editing business cards, which are divided into the process of adding a business card and the process of modifying the business card. The process of adding a new business card filled in by the user is as follows: First, jump to our new business card page. 1 The user's current userId needs to be passed, and wx.navigateTo jumps with a value. Manual is true to set the user to take the new route. Vertical Adding it means sliding vertically, removing it means sliding left and right. The overall structure is as follows: Add business card page 1. The basic layout is as follows: Get the userId. It is also very easy to use the input component verification that comes with WeChat. For example, the maxLength attribute can limit the length of user input. For example, the length of my name is a maximum of 5 digits, so just use the number 5. You can also customize some verification effects. Specifically, you can perform some verification configurations according to needs, obtain the values ​​entered by the user, and perform operations. The built-in modal box prompt component is bound here. where modalHidden2 is the modal box switch. In addition, proptText is the content that needs to be prompted. Even many input boxes support dynamic changes in data, which is very convenient. The actual effect is very fast and saves a lot of money than before

1. WeChat applet development (6) "Edit business card" page development

Detailed introduction to editing business cards

#Introduction: There are two paths for editing business cards, which are divided into the process of adding a business card and the process of modifying the business card. The process for users to manually add a business card is as follows:

2. WeChat applet editing business card page development

Detailed introduction to editing business cards

Introduction: WeChat applet editing business card page development

The above is the detailed content of Detailed introduction to editing business cards. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn