Applet and vue are too similar at this point!
1, Life cycle
Paste two pictures first:
vue life cycle
Applet lifecycle
In contrast, the hook function of the applet is much simpler.
When the hook function of vue , jumps to a new page, the hook function will trigger, but the hook function of vue , applet will trigger different hooks according to different jump methods of the page ...
Posted by garethhall on Fri, 21 Jan 2022 02:33:38 +0100
[applet] zero foundation wechat applet development + actual combat project (with source code)
How to have a small program of your own, the surprise is below!
preface
At present, the small program industry has become one of the hot dark horses of Internet marketing. Relying on major traffic platforms, the small program industry has a natural user base and unique resource advantages. With its convenient and fast operation and sim ...
Posted by Weirdan on Thu, 20 Jan 2022 15:46:12 +0100
Postgraduate entrance examination question brushing applet cloud development practice - basic knowledge reserve
prefaceYou need to install wechat developer tools locally, initialize the postgraduate entrance examination question brushing applet project, and understand the project directory structure and configuration file.Because the technology stack of the project is based on WXML, WXSS, JavaScript, ES2015 +, wechat native API and cloud development, it ...
Posted by zelot1980 on Sat, 15 Jan 2022 11:29:10 +0100
[Python code debugging version] here comes daughter love: quietly ask the holy monk, is your daughter beautiful? (great for my Python)
preface
”If there is an afterlife, long songs sing in pairs, the beauty snuggles up beside her, thin clothes and long years. “
When I was young, I always liked to see the clips of subduing demons and eliminating demons in journey to the West. I looked forward to it.
The four masters and disciples were able ...
Posted by kitcorsa on Mon, 10 Jan 2022 00:09:01 +0100
Code scanning login principle + code analysis + complete dome
1. Introduction
The function of scanning code to log in should be started at the PC end of wechat at the earliest. It must be said that it is still very magical.
This paper will briefly introduce the technical implementation logic of code scanning login function
1, Basic technical principles
a. What is the code scanning login functi ...
Posted by morphius on Sun, 09 Jan 2022 12:05:20 +0100
War epidemic interaction house home epidemic prevention, "destroy COVID-19" small game hot line up to (with complete source code)
preface
Hello, hello! Today it's updated again 👇
I believe that during the epidemic period, my partners are the same as Xiaobian. Except for going to work, they just stay at home and contribute to the motherland
Under the new situation, the epidemic situation has been curbed, the trend has greatly improved, and everyone is very excit ...
Posted by tegwin15 on Fri, 07 Jan 2022 03:34:02 +0100
Skills that all applet developers need to know: application applet components
First of all, the components of the applet are divided into two categories, which will also be introduced one by one in the following contents:Built in componentsCustom componentsBuilt in componentsBuilt in components refer to pre-defined components inside the applet. Developers can use them directly in the code without special references. Take ...
Posted by noimad1 on Thu, 06 Jan 2022 04:51:13 +0100
Use of uniapp conditional compilation
What is conditional compilation
Conditional compilation uses special comments as markers to compile the code in the comments to different platforms according to these special comments during compilation.
I. writing method: start with #ifdef or #ifndef plus% PLATFORM% and end with #endif.
#ifdef: if defined exists only on a certain platf ...
Posted by loveitandhateit on Thu, 06 Jan 2022 01:40:37 +0100
Conditional rendering and list rendering of wechat applet
conditional rendering
wx:if
In the framework, use wx:if = "" to determine whether the code block needs to be rendered:
<view wx:if="{{condition}}"> True </view>
You can also add an else block with wx:elif and wx:else:
<view wx:if="{{length > 5}}"> 1 </view>
<view wx:elif="{{length > 2}}"> 2 & ...
Posted by dharvey on Tue, 04 Jan 2022 02:35:56 +0100
Applet final review
Examination platform: learning pass Examination question type: single choice, judgment, multiple choice, filling in the blank, short answer and improving the procedure
Basic knowledge of wechat applet
Characteristics of applet
(1) No download required (2) No upgrade required (3) Short development cycle (4) Low development cost (5) Small ...
Posted by fansa on Mon, 03 Jan 2022 11:43:30 +0100