View Layer

View Markdown

Last edited on 2026-08-10

The view layer of the framework is primarily authored using WXML and WXSS.

The view layer reflects data from the logic layer on the page and sends user events from the page back to the logic layer.

  • WXML (WeiXin Markup Language) is used to describe the page structure.
  • WXS (WeiXin Script) is a simple script used to assist WXML.
  • WXSS (WeiXin Style Sheet) is used to describe page styles.