class:
<view class="tab-item {{currentTab==0 ? 'on' : ''}}" >我要取票</view>
style:
<view current="{{currentTab}}" style="height:{{currentTab==1?Height+'rpx':'100%'}}">我要取票</view>
提示:
1.currentTab,Height為data中的數據
2.紅色為區別部分