js文件 this.setData({ AAA:"aaa"}); wxml: {{AAA}} 此时wxml就会显示aaa 类似于smarty模板引擎 转载于:https://www.cnblogs.com/panlaixing/p/6676818.html