You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
477 B

<view bind:tap="changeText">{{message}}</view>
<button bind:tap="compare">比较</button>
<view id="outer" bind:tap="viewtap">
outer
<view id="inner" >
inner
</view>
</view>
<view wx:if="{{condition}}">陈信宏</view>
<!-- 三者显示一个 -->
<view wx:if="{{count<1}}">0</view>
<view wx:elif="{{count==1}}">1</view>
<view wx:else>2</view>
<block wx:if="{{true}}">
<view>view1</view>
<view>view2</view>
</block>
<text hidden="{{hidden}}">hidden为true不显示</text>