Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>支付宝小程序 antapp vscode axmlNew to Visual Studio Code? Get it now.
支付宝小程序 antapp vscode axml

支付宝小程序 antapp vscode axml

CosmoCommerce

|
5,211 installs
| (0) | Free
支付宝小程序 Ant App axml support/snippets for vscode
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

支付宝小程序 axml

感想并基于https://github.com/coderfe/vscode-wxml 这个插件是我为了方便开发自用的,欢迎修改。

为 VSCode 提供 axml 语法支持及代码片段

version installs

安装

  1. 打开编辑器,Ctrl + Shift + X,搜索 antapp-axml。
  2. 点击 install

使用

键入关键词,然后回车。关键词不区分大小写

代码示例

  • swiper

    <swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}">
      <block a:for="{{imgUrls}}">
        <swiper-item>
          <image src="{{item}}" class="slide-image" />
        </swiper-item>
      </block>
    </swiper>
    
  • actionsheet

    <action-sheet>
      <block a:for="{{actionSheetItems}}">
        <action-sheet-item class="item" data-name="{{item}}" />{{item}}</action-sheet-item>
      </block>
    </action-sheet>
    
  • checkgroup

    <checkbox-group>
      <label class="" a:for="{{item}}">
        <checkbox value="item.name" />{{item.value}}
      </label>
    </checkbox-group>
    

-afor

a:for="{{item in items}}"
  • button

    <button type="" size="" loading="" plain="" bindtap=""></button>
    
  • ······more

Enjoy!​​

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft