
[Open Source Unauthorized Edition] 2021's latest WeChat red envelope cover Mini programs source code/construction tutorial with text
Reprinted, there is nothing to post recently.
These Mini programs are suitable for traffic owners to divert and earn advertising fees. They are suitable for traffic owners, suitable for traffic owners, and suitable for traffic owners to understand. So understand everything you know, and don't ask me where to fix the cover.
Adopting cloud development, no server or domain name is needed. Mini programs insert banner ads, plug-in ads, video ads, and incentive ads. Invite friends to get a lottery opportunity, or watch incentive ads to get a lottery opportunity. Promote other Mini programs that require drainage.
- Dividing line--
Tutorial:
First, register the Mini programs on the WeChat public platform, find cloud development in the left menu, start cloud development, just the free one, and then copy the appid in development management.
Download WeChat Developer Tools and log in
https://developers.weixin.qq.com … evtools/stable.html
There is an import in the upper left corner of the WeChat Developer Tool. Find the source code import, fill in the appid, open it, and basically it is completed.
Below is the location of the traffic owner's advertising code modification
1. The header advertisement at the top of the home page is a diversion to other Mini programs.(If you don't have other Mini programs, you can ignore it), and the modification location is in pages/home/home.wxml
In the src address on line 4, you can upload your poster to the graph bed, turn over the link (your own Baidu, a lot), copy it, and then replace the data-appid on line 2 with the one you want to drain.
The banner ad is on line 18, change it to your banner ad ID
There will be a video advertisement from the bottom of the home page to the bottom. Line 24, change the advertisement ID
2. video advertising
pages/details/details.wxml Line 25, change the video ad ID
3.pages/share/share.wxml The third red button is also for draining Mini programs. On line 11, change data-appid to your appid, on line 13, write draining copy, and on line 22, change video ad ID
pages/share/share.js Replace the plug-in ad ID on line 8, and replace the incentive video ad ID on line 27
4.pages/zhuanpan/index.wxml Change the video ad ID on line 43
pages/zhuanpan/index.js Replace the plug-in ad ID on line 115, and replace the incentive video ad ID on line 120
5.pages/bz/explain.wxml Change the first line of the video ad ID
Comments0