摘要: <view>{{"hello" name}}</view> <view hidden="{{flag ? true : lse}}"> Hidden </view> <wxs module="page"> var utils = require("../../../script/page/base/ 阅读全文
posted @ 2017-12-26 18:07 枫- 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 在item.wxml中定义了一个叫item的template: 在index.wxml中引用了item.wxml,就可以使用item模板: 如:C import B,B import A,在C中可以使用B定义的template,在B中可以使用A定义的template,但是C不能使用A定义的templ 阅读全文
posted @ 2017-12-26 17:59 枫- 阅读(209) 评论(0) 推荐(0) 编辑