1234567891011121314151617181920212223 |
- <!-- pages/member/investigation/investigation.wxml -->
- <view class="investigation-container">
- <text class="tips">【温馨提示】
- 为了给您带来更好的服务体验,请填写以下问诊信息</text>
- <view class="questions-detail" wx:for="{{questions}}" wx:key="{{index}}">
- <text class="questions-title">{{index+1}}. {{item.title}}</text>
- <view class="questions-box flex-justify-space-around">
- <!-- value值,0未选择,1选择是,2选择否 -->
- <view class="flex1 flex-align-center" data-value="1" data-index="{{index}}" bindtap="onChangeStatus">
- <image class="questions-icon" src="/images/icon_{{ item.value == 1 ? '13' : '12' }}.png"></image>
- <text>是</text>
- </view>
- <view class="flex1 flex-align-center" data-value="2" data-index="{{index}}" bindtap="onChangeStatus">
- <image class="questions-icon" src="/images/icon_{{ item.value == 2 ? '13' : '12' }}.png"></image>
- <text>否</text>
- </view>
- </view>
- </view>
- <van-loading wx:if="{{loading}}" style="margin: 20px auto; display:block; text-align: center;" type="spinner" />
- <view class="btm flex-center">
- <view class="btm-btn flex-center" bindtap="submit">确认提交</view>
- </view>
- </view>
|