Table of contents
uniapp introduction
uni-app is an official library, not exquisite
Launched uView
uView is an excellent UI framework of uni-app, try not to use vant
uniapp official website link
uView official website link
Differences between WeChat applet and uni-app link
The easiest way to introduce and use uview link
hbuilder start WeChat developer tools failure problem summary link
Link to the steps for setting the domain name to the background of the WeChat applet
The most detailed uniapp introduction link
uni-app and HTML tag changes
Old HTML tags can also be used in uni-app, and the uni-app compiler will compile them 老标签转为新标签
. However, this usage is not recommended. It is easy to be confused when debugging the H5 side, and element-based selectors will also cause problems.
uni-app and HTML tag change link
uniapp supports template and block virtual tags
Difference link between template tag and block tag in uniapp
hbuilder settings automatically convert px to rem
Tools –> Editor Configuration –> px to rpx/upx ratio
Both upx and rpx are dynamic pixel units
Specific: px upx and rpx difference link
life cycle
The difference and use link of life cycle functions such as onLoad, onReady and onShow
Component parameter passing
uniapp parent-child communication method is the same as vue
Component Communication Brother Component Value Link
Global Variables
Unique to the WeChat applet, it cannot use vuex to manage the global state, so this method was created. The applet has globalData
globalData and other uniapp global variables to achieve linking to
other pages to add, delete, modify and check globalData
Routing parameters
Six ways to link uniapp routing jumps
Solve the problem that switchTab jumps to the tab page and cannot directly pass parameters link