investigation.wxml 1.2 KB

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