communication subject
The main body of communication in the applet is the rendering layer and the logic layer, among which:
xxx.scss and xxx.wxml are the rendering layer
xxx.ts is the logic layer
communication model
The communication model of the applet is divided into two parts:
the communication between the rendering layer and the logic layer is forwarded by the WeChat client,
and the communication between the logic layer and the third-party server is forwarded by the WeChat client