js 数据书写 ``` ~~~ Page({ data: { condition: true } }) ``` wxml 页面调用 ~~~ <view wx:if="{{condition}}"> 隐藏</view> ~~~