当前位置:网站首页>[wechat applet] 5 Applet structure directory
[wechat applet] 5 Applet structure directory
2022-06-12 14:32:00 【Blue warm fire】
List of articles
5. Applet structure directory
- Applet framework Wechat open documents
(qq.com) The goal is to make it as simple as possible 、 Efficient way for developers to develop in wechat with native App Experience Services . - The applet framework provides its own view layer description language WXML and WXSS , as well as JavaScript
, Data transmission and event system are provided between view layer and logic layer , Let developers focus on data and logic .
5.1 Applet file structure and tradition web contrast
| structure | Tradition web | Wechat applet |
|---|---|---|
| structure | HTML | WXML |
| style | CSS | WXSS |
| Logic | JavaScript | JavaScript |
| To configure | nothing | JSON |
From the above comparison, it can be concluded that , Tradition web It's a three-tier structure , The wechat app has a four tier structure , One more layer of configuration JSON
5.2 Basic project directory

sitemap To configure | Wechat open documents (qq.com)
sitemap To configure
In the applet root directory sitemap.json The file is used to configure whether the applet and its page are allowed to be indexed by wechat .
Originality is not easy. , You can pay a little attention , I will insist on doing it seriously , There is something wrong with it , Please correct me a lot
边栏推荐
- Player actual combat 23 decoding thread
- Tool notes - common custom tool classes (regular, random, etc.)
- How test engineers transform test and open
- Player practice 20 unpacking thread
- Simple code implementation of addition, subtraction, multiplication and division calculator
- recursive learning
- Raspberry pie get temperature and send pictures to email
- MobileOne: 移动端仅需1ms的高性能骨干,你值得拥有!
- [ROC] aspriseocr C # English, Digital identification (not Chinese)
- Dynamic search advertising intelligent search for matching keywords
猜你喜欢

MobileOne: 移动端仅需1ms的高性能骨干,你值得拥有!

In C language, the main function calls another function, which is understood by assembly code
![[OCR] aspriseocr C # English, number recognition (not Chinese)](/img/80/198145df663d2eeec6b8b1d7bc47b6.png)
[OCR] aspriseocr C # English, number recognition (not Chinese)

面向优化科学研究领域的软件包

Autofac初学(1)

PMP agile knowledge points

高考回憶錄

工业机械臂(机器人)视觉定位引导系统

Redis core configuration and advanced data types

C语言中主函数调用另外一个函数,汇编代码理解
随机推荐
Nesting of C language annotations
JS (III) convert ES6 syntax to Es5 syntax
Player practice 20 audio thread and video thread
C secret script Chapter 3 (detailed explanation of string function) (Section 1)
Codeforces Round #798 (Div. 2)(A~D)
Common DOS commands
Llvm 13.1 new pass plug-in form [for win]
Player practice 19 xaudio turn on audio
Basic usage of scanner
Llvm pass-- virtual function protection
JD scanning code to obtain cookies
C secret arts script Chapter 5 (structure) (Section 1)
Redis核心配置和高级数据类型
Jetpack架构组件学习(3)——Activity Results API使用
Printing colored messages on the console with printf
New technology: efficient self-monitoring visual pre training, local occlusion no longer need to worry!
Recursive summary of learning function
Crawler problem set (I) record
Player actual combat 14 display YUV
新技术:高效的自监督视觉预训练,局部遮挡再也不用担心!