123456789101112131415161718192021 |
- <view wx:for="{{tableData}}" wx:key="item">
- <i-button wx:if="{{item.type==1}}"
- bindtap="gotoAnswer" data-item="{{item}}" type="info" open-type="navigate" class="m20">
- <text type="primary">判断题 【{{item.count}}】</text>
- </i-button>
- <i-button wx:if="{{item.type==2}}"
- bindtap="gotoAnswer" data-item="{{item}}"
- type="primary" open-type="navigate" class="m20">
- <text type="primary"> 单选题 【{{item.count}}】</text>
- </i-button>
- <i-button wx:if="{{item.type==3}}"
- bindtap="gotoAnswer" data-item="{{item}}"
- type="warning" open-type="navigate" class="m20">
- <text type="primary"> 多选题 【{{item.count}}】</text>
- </i-button>
- <i-button wx:if="{{item.type==4}}"
- bindtap="gotoAnswer" data-item="{{item}}"
- type="error" open-type="navigate" class="m20">
- <text type="primary"> 案例题 【{{item.count}}】小题</text>
- </i-button>
- </view>
|