In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article is to share with you what matters need to be paid attention to in Wechat development. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
1. The name of Mini Program can be in Chinese, numeric or English. The length is between 3 and 20 characters, and one Chinese character is equal to 2 characters.
2. The name of Mini Program shall not duplicate the existing Subscription account and service number of the public platform. If prompted to repeat the name, please change the name to set it.
3. The Mini Program name is completed when the account information is set. Please set it carefully. Once set, modification is not supported.
4. Change the name and set it. If the enterprise trademark, organization name and other names are infringed, the right to use the name can be obtained by initiating a complaint through the infringement complaint process of the public platform.
5. Individual developers cannot apply for WeChat Mini Programs. Currently, Wechat only supports applications from enterprises, governments, media and other organizations.
6. A principal can register 30, and a developer with a bound identity can only create 5 WeChat Mini Programs.
For employees, please do not lend your Wechat to your boss to register WeChat Mini Programs, because you will have no chance.
For the boss, please do not lend your employee Wechat to register WeChat Mini Programs, because you may not want it back.
7. If you are not a special organization, you still have to spend 300 yuan on certification.
Even if you have verified your public account, you also need to pay 300 RMB * * (in support of WeChat Pay) to verify, so that you can turn on the audit switch and post Mini Program.
WeChat Pay needs Wechat authentication before she can use it.
8. The server configuration can only be modified 3 times a month, so save it and be careful that there is no chance.
Don't mess with the configuration below, be sure to do it again, and write it all at once, otherwise you will waste your chance to change a small punctuation.
9. Your domain name, filing and https should be ready, otherwise you can't do it. (the server domain name needs to be licensed by ICP, and the new domain name can be configured within 24 hours. Domain name format only supports upper and lowercase letters, numbers and "-", but does not support IP address and port number)
10. Mini Program profile photos and introductions can only be modified 5 times a month, and the scope of service can only be modified once a month. Mini Program QR codes are not available until the first version is online.
11. When selecting a template message, you can use the template of the title with different keywords, and the keyword category and order cannot be modified after the configuration is submitted.
12. When the template keyword cannot be found, you can apply to add it. New keywords can be submitted 5 times a month and will be shared after passing. A good opportunity to pile up your own keywords! )
13. A Mini Program account has only one administrator (which can be modified) and can be bound to 10 developers.
14. Focus on:
Development version: using developer tools, you can upload code to the development version. The development version only retains the latest uploaded code for each person. Click submit for approval to submit the code for review. The development version can be deleted without affecting the code of the online version and the version under review.
Version under review: only one code can be reviewed. After the audit result is available, it can be published online, or it can be resubmitted directly to cover the original audit version.
Online version: a version of the code used by all online users that is overwritten and updated after the new version of the code is released.
15. Mini Program AppSecret can only be viewed by administrators, and the platform will not save AppSecret in clear text.
16. Data analysis only counts the usage values of published online versions, and provides real-time statistics.
17. Developer tools are currently available in windows 64, windows 32 and mac versions (versions are constantly updated and may need to go to update frequently).
18. In the internal testing phase, the code upload function can only be operated by the administrator's WeChat account.
19. After writing the code, the tool will automatically help the user save the current code editing status, directly close the tool or switch to another project, and will not lose the status of the edited file, but it should be noted that only by saving the file, the changes will be actually written to the hard disk and trigger a real-time preview.
20. Get user input: you need to use the component's property bindchange to synchronize the user input to the AppService.
21. Objects such as window cannot be used in the script:
JsCore is an environment without window objects, so you cannot use window in a script, nor can you manipulate components in a script.
22. Zepto/jquery uses window objects and document objects, so it cannot be used.
23. An application can only open 5 pages at a time. After 5 pages have been opened, wx.navigateTo cannot open a new page normally. Avoid multiple levels of interaction, or use wx.redirectTo.
24. Stylesheets do not support cascading selectors:
WXSS supports. The starting class selector; you can use the tag selector to control the style of the same type of component.
25. Local resources cannot be obtained through css:
Background-image: you can use web images, or base64, or use tags.
26. Modify the background color of the window
Using the page tag selector, you can modify the style of the top-level node.
27. Definition of foreground and backstage:
When the user clicks the upper left corner to close, or presses the device Home key to leave Wechat, Mini Program is not directly destroyed, but enters the background.
When you enter Wechat or open Mini Program again, it will enter the foreground from the background. Only when Mini Program enters the background for a certain period of time, or when the system resources are too high, it will be really destroyed.
28. App () must be registered in app.js, and cannot register more than one.
Instead of calling getApp () in a function defined in App (), you can get an instance of app using this.
Do not call getCurrentPage () when onLaunch, when the page has not yet been generated.
After getting the instance through getApp (), don't call the lifecycle function privately.
29. TabBar is an array, and you can only configure at least 2 and up to 5 tab,tab to sort in the order of the array. (bottom navigation bar)
30. You can set the timeout for various network requests.
Thank you for reading! This is the end of this article on "what do you need to pay attention to in Wechat development"? I hope the above content can be of some help to you, so that you can learn more knowledge. If you think the article is good, you can share it out for more people to see!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.