Mini Program
  • Mini Program
  • Mini Game
  • Official Accounts
  • Open Platform
  • Service Accounts
  • Intelligent Dialogue
Development
Introduction
Design
Operation
Data
Security
Community
School
取消
    Get More
    Find More >
    • Guide
    • Framework
    • Components
    • API
    • Server Side
    • Capabilities
      • Industry
      • Commercial
      • Platform Capabilities
      • Market Services
      • City Services
      • Charge
      • Extended
    • Weixin DevTools
    • Cloud Service
      • Cloud Base
      • WeChat CloudRun
    • Update History
    Development
    Development
    Introduction
    Design
    Operation
    Data
    Security
    中文
    EN
    取消
  • Framework
    • Weixin Mini Program Configuration
      • Global configuration
      • Page configuration
    • Scenarios Values
    • Framework Interface
      • Weixin Mini Program App
        • App
        • getApp
      • page
        • Page
        • getCurrentPages
        • Router
      • Custom components
        • Component
        • Behavior
      • modularity
        • require
        • module
        • exports
        • requirePlugin
        • requireMiniProgram
      • Basic functions
        • console
        • console.debug
        • console.error
        • console.group
        • console.groupEnd
        • console.info
        • console.log
        • console.warn
        • Time timer
        • setTimeout
        • clearTimeout
        • setInterval
        • clearInterval
        • WXWebAssembly
    • WXML Syntax Reference
      • introduce
      • Data binding
      • List rendering
      • Conditional rendering
      • template
      • reference
    • WXS Syntax Reference
      • introduce
      • Modular
      • variable
      • Notes
      • operator
      • sentence
      • Data type
      • Basic libraries

    # WXS Syntax Reference

    WXS (WeiXin Script) is Weixin Mini Program a set of foot language, combined withWXML, you can build the structure of the page.

    WXS is a different language from JavaScript and has its own syntax, which is not consistent with JavaScript.

    • WXS module
    • variable
    • Notes
    • operator
    • sentence
    • Data type
    • Basic libraries
    The translations are provided by WeChat Translation and are for reference only. In case of any inconsistency and discrepancy between the Chinese version and the English version, the Chinese version shall prevail.Incorrect translation. Tap to report.
    • 关于腾讯
    • 文档中心
    • 辟谣中心
    • 客服中心

    Copyright © 2012-2025 Tencent. All Rights Reserved.

    反馈