


Detailed analysis of WeChat mini program introductory tutorial + case
This time I will bring you a detailed analysis of the WeChat Mini Program Getting Started Tutorial case. What are the precautions for getting started with the WeChat Mini Program? The following is a practical case, let’s take a look.
In fact, I think the mini program is to arrange and combine the 20 basic components officially provided by WeChat (there are currently 26), and then add some css styles to provide feedback on the user's operations (adjusting the official components provided by WeChat 60 APIs). 26 basic components and 60 open APIs = it can be done in half a day, right? (Half a day is enough to follow the tutorial below carefully)
How to learn?
1. You must have development tools, right?
Here is the latest version download link (portal)—>The latest version download address of WeChat web developer tools
Currently, WeChat applet development tools no longer require cracking, you just need to Use the mobile phone WeChat scan to log in to the development tool, and select No APPID when creating an application to develop.
2. Do you need development documents?
Many people may think that you need to get used to watching videos (CSDN Academy’s WeChat mini program practical video), but I suggest you don’t watch videos when learning new things. The best way to get started is to read official documents (anyone else) They know their own stuff better than the official themselves!), the following is the official website address:
WeChat Mini Program Official Documentation (Portal)
Of course, it is recommended to read the W3CSchool compilation here The documentation is relatively clear. (Another portal)
3. Now that you’ve learned the basics, let’s do some practical combat
After learning something, the best way is to put it into practice. Now let’s go into practical combat "WeChat" If you can follow the whole process of making the Mini Program: Bai Si Bu Qi Qi Si (Simplified Version), then you have successfully started.
Look at the renderings first
It shows that the IDEA of this project was borrowed from this big brother, thank you for this big brother
Look at it later Look at the screenshots of the project
# I won’t post the specific code here. I package the entire project and download it directly for use (click here to download the DEMO).
The icons I use are all downloaded from Alibaba’s iconfont (if you didn’t know it before, it’s a huge benefit, you’ll know it after you use it).
4. The project is not enough?
If you feel that the above practical exercises are not enough to stimulate your potential, then here are a few IDEAs that I found during my study. I hope they will be helpful to you.
1), Calculator
https://github.com/dunizb/wxapp-sCalc
2), Douban Books
http://www.jianshu.com/p/c35084200470
3), Mobile Mall
https://github.com/liuxuanqiang/wechat-weapp- mall
4), weather
http://swiftcafe.io/2016/10/03/wx-weather-app/
5 ), air quality query
http://blog.csdn.net/yulianlin/article/details/52692066
6), github client
https ://blog.zhengxiaowai.cc/post/weapp-demo.html
7), Zhihu Daily
http://www.apkbus.com/forum.php ?mod=viewthread&tid=268626&extra=page=1&filter=sortid&sortid=12
Finally
Thanks to the authors of the demo mentioned above, let’s make progress together...
WeChat Mini program introductory tutorial case demo
Respect the originality, please indicate the source when reprinting: View the original text for more surprises http://blog.csdn.net/qq137722697
First of all, put a good posture, - WeChat applet development is just that. All you need is a little bit of css (really just a little bit) basics.
Understand the development of WeChat mini programs
In fact, I think the mini program is to arrange and combine the 20 basic components officially provided by WeChat (currently there are 26), and then add some css style to provide feedback on user operations (adjust 60 APIs officially provided by WeChat). 26 basic components and 60 open APIs = it can be done in half a day, right? (Half a day is enough to follow the tutorial below carefully)
How to learn?
1. You must have development tools, right?
Here is the latest version download link (portal)—>The latest version download address of WeChat web developer tools
Currently, WeChat applet development tools no longer require cracking, you just need to Use the mobile phone WeChat scan to log in to the development tool, and select No APPID when creating an application to develop.
2. Do you need development documents?
Many people may think that you need to get used to watching videos (CSDN Academy’s WeChat mini program practical video), but I suggest you don’t watch videos when learning new things. The best way to get started is to read official documents (anyone else) They know their own stuff better than the official themselves!), the following is the official website address:
WeChat Mini Program Official Documentation (Portal)
Of course, it is recommended to read the W3CSchool compilation here The documentation is relatively clear. (Another portal)
3. Now that you’ve learned the basics, let’s do some practical combat
After learning something, the best way is to put it into practice. Now let’s go into practical combat "WeChat" If you can follow the whole process of making the Mini Program: Bai Si Bu Qi Qi Si (Simplified Version), then you have successfully started.
Look at the renderings first
It shows that the IDEA of this project was borrowed from this big brother, thank you for this big brother
Look at it later Look at the screenshots of the project
# I won’t post the specific code here. I package the entire project and download it directly for use (click here to download the DEMO).
The icons I use are all downloaded from Alibaba’s iconfont (if you didn’t know it before, it’s a huge benefit, you’ll know it after you use it).
4. The project is not enough?
If you feel that the above practical exercises are not enough to stimulate your potential, then here are a few IDEAs that I found during my study. I hope they will be helpful to you.
1), Calculator
https://github.com/dunizb/wxapp-sCalc
2), Douban Books
http://www.jianshu.com/p/c35084200470
3), Mobile Mall
https://github.com/liuxuanqiang/wechat-weapp- mall
4), weather
http://swiftcafe.io/2016/10/03/wx-weather-app/
5 ), air quality query
http://blog.csdn.net/yulianlin/article/details/52692066
6), github client
https ://blog.zhengxiaowai.cc/post/weapp-demo.html
7), Zhihu Daily
http://www.apkbus.com/forum.php ?mod=viewthread&tid=268626&extra=page=1&filter=sortid&sortid=12
I believe you have mastered the method after reading the case in this article. For more exciting information, please pay attention to other related articles on the PHP Chinese website!
Recommended reading:
Detailed explanation of the steps for MD5 encryption of data through node.js
How to operate Vue to make Amap builds real-time bus application
The above is the detailed content of Detailed analysis of WeChat mini program introductory tutorial + case. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics











Xianyu's official WeChat mini program has quietly been launched. In the mini program, you can post private messages to communicate with buyers/sellers, view personal information and orders, search for items, etc. If you are curious about what the Xianyu WeChat mini program is called, take a look now. What is the name of the Xianyu WeChat applet? Answer: Xianyu, idle transactions, second-hand sales, valuations and recycling. 1. In the mini program, you can post idle messages, communicate with buyers/sellers via private messages, view personal information and orders, search for specified items, etc.; 2. On the mini program page, there are homepage, nearby, post idle, messages, and mine. 5 functions; 3. If you want to use it, you must activate WeChat payment before you can purchase it;

Implementing card flipping effects in WeChat mini programs In WeChat mini programs, implementing card flipping effects is a common animation effect that can improve user experience and the attractiveness of interface interactions. The following will introduce in detail how to implement the special effect of card flipping in the WeChat applet and provide relevant code examples. First, you need to define two card elements in the page layout file of the mini program, one for displaying the front content and one for displaying the back content. The specific sample code is as follows: <!--index.wxml-->&l

According to news from this site on October 31, on May 27 this year, Ant Group announced the launch of the "Chinese Character Picking Project", and recently ushered in new progress: Alipay launched the "Chinese Character Picking-Uncommon Characters" mini program to collect collections from the society Rare characters supplement the rare character library and provide different input experiences for rare characters to help improve the rare character input method in Alipay. Currently, users can enter the "Uncommon Characters" applet by searching for keywords such as "Chinese character pick-up" and "rare characters". In the mini program, users can submit pictures of rare characters that have not been recognized and entered by the system. After confirmation, Alipay engineers will make additional entries into the font library. This website noticed that users can also experience the latest word-splitting input method in the mini program. This input method is designed for rare words with unclear pronunciation. User dismantling

WeChat applet implements picture upload function With the development of mobile Internet, WeChat applet has become an indispensable part of people's lives. WeChat mini programs not only provide a wealth of application scenarios, but also support developer-defined functions, including image upload functions. This article will introduce how to implement the image upload function in the WeChat applet and provide specific code examples. 1. Preparatory work Before starting to write code, we need to download and install the WeChat developer tools and register as a WeChat developer. At the same time, you also need to understand WeChat

Implementing picture filter effects in WeChat mini programs With the popularity of social media applications, people are increasingly fond of applying filter effects to photos to enhance the artistic effect and attractiveness of the photos. Picture filter effects can also be implemented in WeChat mini programs, providing users with more interesting and creative photo editing functions. This article will introduce how to implement image filter effects in WeChat mini programs and provide specific code examples. First, we need to use the canvas component in the WeChat applet to load and edit images. The canvas component can be used on the page

To implement the drop-down menu effect in WeChat Mini Programs, specific code examples are required. With the popularity of mobile Internet, WeChat Mini Programs have become an important part of Internet development, and more and more people have begun to pay attention to and use WeChat Mini Programs. The development of WeChat mini programs is simpler and faster than traditional APP development, but it also requires mastering certain development skills. In the development of WeChat mini programs, drop-down menus are a common UI component, achieving a better user experience. This article will introduce in detail how to implement the drop-down menu effect in the WeChat applet and provide practical

The official WeChat mini program of Xianyu has been quietly launched. It provides users with a convenient platform that allows you to easily publish and trade idle items. In the mini program, you can communicate with buyers or sellers via private messages, view personal information and orders, and search for the items you want. So what exactly is Xianyu called in the WeChat mini program? This tutorial guide will introduce it to you in detail. Users who want to know, please follow this article and continue reading! What is the name of the Xianyu WeChat applet? Answer: Xianyu, idle transactions, second-hand sales, valuations and recycling. 1. In the mini program, you can post idle messages, communicate with buyers/sellers via private messages, view personal information and orders, search for specified items, etc.; 2. On the mini program page, there are homepage, nearby, post idle, messages, and mine. 5 functions; 3.

Use the WeChat applet to achieve the carousel switching effect. The WeChat applet is a lightweight application that is simple and efficient to develop and use. In WeChat mini programs, it is a common requirement to achieve carousel switching effects. This article will introduce how to use the WeChat applet to achieve the carousel switching effect, and give specific code examples. First, add a carousel component to the page file of the WeChat applet. For example, you can use the <swiper> tag to achieve the switching effect of the carousel. In this component, you can pass b
