摘要: <view bindtap='showButton'>点击</view> <view class="Mask {{MaskView?'hide':'show'}}">受控制的view</view> data: { MaskView: true, }, showButton: function () 阅读全文
posted @ 2020-01-20 15:15 ▍凉城空巷° 阅读(1319) 评论(0) 推荐(0) 编辑
摘要: <!-- 主容器 --> <view class="stepper"> <!-- 减号 --> <text class="{{minusStatus}}" bindtap="bindMinus">-</text> <!-- 数值 --> <input type="number" bindchange 阅读全文
posted @ 2020-01-20 15:09 ▍凉城空巷° 阅读(189) 评论(0) 推荐(0) 编辑