adultDeviceApp/unpackage/dist/build/mp-weixin/pageTwo/survey/survey.wxml

1 line
5.6 KiB
Plaintext

<view class="content data-v-2c872d56"><block wx:if="{{user.type==1}}"><view class="data-v-2c872d56"><block wx:if="{{!isShowA}}"><view class="bgheight data-v-2c872d56"><block wx:if="{{listA}}"><view class="data-v-2c872d56"><view class="box data-v-2c872d56"><view class="name data-v-2c872d56"><view class="data-v-2c872d56">本次体质评估结果为</view><view data-event-opts="{{[['tap',[['handleListLx',[1]]]]]}}" class="btn data-v-2c872d56" bindtap="__e">重新测评</view></view><block wx:if="{{listA.bodytype}}"><view class="conbt data-v-2c872d56">{{''+listA.bodytype+''}}</view></block><block wx:if="{{listA.extinfo}}"><view class="conbt data-v-2c872d56">{{''+listA.extinfo+''}}</view></block></view><view class="box data-v-2c872d56"><view class="h2 data-v-2c872d56">体质解读:</view><block wx:for="{{listA.list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="data-v-2c872d56"><view class="title data-v-2c872d56">{{item.bodytype}}</view><view class="con data-v-2c872d56"><view hidden="{{!(item.feature)}}" class="text data-v-2c872d56"><text class="data-v-2c872d56">特征:</text>{{item.feature}}</view><view hidden="{{!(item.people)}}" class="text data-v-2c872d56"><text class="data-v-2c872d56">重点人群:</text>{{item.people}}</view><view hidden="{{!(item.sick)}}" class="text data-v-2c872d56"><text class="data-v-2c872d56">患病倾向:</text>{{item.sick}}</view><view hidden="{{!(item.health)}}" class="text data-v-2c872d56"><text class="data-v-2c872d56">调养方式:</text>{{item.health}}</view></view></view></block></view></view></block></view></block><block wx:else><view class="commonAll data-v-2c872d56"><view class="h2 data-v-2c872d56">请根据近一年的体验和感觉,回答以下问题</view><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="box data-v-2c872d56"><block wx:for="{{item.qalist}}" wx:for-item="ite" wx:for-index="ind" wx:key="ind"><view class="data-v-2c872d56"><view class="h5 data-v-2c872d56">{{ite.title}}</view><view class="item data-v-2c872d56"><block wx:if="{{isRefresh}}"><radio-group data-event-opts="{{[['change',[['e0',['$event']]]]]}}" data-event-params="{{({ite})}}" class="group data-v-2c872d56" bindchange="__e"><block wx:for="{{ite.data}}" wx:for-item="it" wx:for-index="id" wx:key="value"><label class="uni-list-cell uni-list-cell-pd data-v-2c872d56"><view class="data-v-2c872d56"><radio style="transform:scale(0.8);" value="{{it.value}}" checked="{{it.value==checkbox}}" color="#f19601" class="data-v-2c872d56"></radio></view><view class="data-v-2c872d56">{{it.name}}</view></label></block></radio-group></block></view></view></block></view></block></view></block><block wx:if="{{!listA}}"><view class="page data-v-2c872d56"><block wx:if="{{currpage>1}}"><view data-event-opts="{{[['tap',[['pre',['$event']]]]]}}" class="pre data-v-2c872d56" bindtap="__e">上一页</view></block><block wx:if="{{currpage<pagesum}}"><view data-event-opts="{{[['tap',[['next',['$event']]]]]}}" bindtap="__e" class="data-v-2c872d56">下一页</view></block><block wx:if="{{currpage==pagesum}}"><view data-event-opts="{{[['tap',[['handlesub',['$event']]]]]}}" class="btn data-v-2c872d56" bindtap="__e">提交</view></block></view></block></view></block><block wx:if="{{user.type==2}}"><view class="data-v-2c872d56"><block wx:if="{{!isShowC}}"><view class="bgheight data-v-2c872d56"><block wx:if="{{listC}}"><view class="data-v-2c872d56"><view class="box data-v-2c872d56"><view class="name data-v-2c872d56"><view class="data-v-2c872d56">本次体质评估结果为</view><view data-event-opts="{{[['tap',[['handleListChild',[0]]]]]}}" class="btn data-v-2c872d56" bindtap="__e">重新测评</view></view><view class="conbt data-v-2c872d56">{{''+listC+''}}</view></view><view class="box data-v-2c872d56"><view class="h2 data-v-2c872d56">评估内容:</view><block wx:for="{{physiqueC}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{item.data.length}}"><view class="data-v-2c872d56"><view class="title data-v-2c872d56">{{item.title}}</view><view class="con data-v-2c872d56"><block wx:for="{{item.data}}" wx:for-item="ite" wx:for-index="ind" wx:key="ind"><view class="item data-v-2c872d56"><view class="data-v-2c872d56">{{ite.text}}</view></view></block></view></view></block></block></view></view></block></view></block><block wx:else><view class="commonAll data-v-2c872d56"><view class="h2 data-v-2c872d56">请根据近一年的体验和感觉,回答以下问题</view><block wx:for="{{$root.l2}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="data-v-2c872d56"><view class="h5 data-v-2c872d56">{{index+1+". "+item.$orig.title}}</view><view class="itemChild data-v-2c872d56"><block wx:for="{{item.l1}}" wx:for-item="ite" wx:for-index="ind" wx:key="ind"><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" data-event-params="{{({ite:ite.$orig,ind})}}" class="item data-v-2c872d56" bindtap="__e"><image class="iconfont data-v-2c872d56" src="{{[ite.g0!=-1?'../../static/checked.png':'../../static/check.png']}}"></image><view class="data-v-2c872d56">{{ite.$orig.text}}</view></view></block></view></view></block></view></block><block wx:if="{{!listC}}"><view class="page data-v-2c872d56"><block wx:if="{{currpage>1}}"><view data-event-opts="{{[['tap',[['pre',['$event']]]]]}}" class="pre data-v-2c872d56" bindtap="__e">上一页</view></block><block wx:if="{{currpage<pagesum}}"><view data-event-opts="{{[['tap',[['next',['$event']]]]]}}" bindtap="__e" class="data-v-2c872d56">下一页</view></block><block wx:if="{{currpage==pagesum}}"><view data-event-opts="{{[['tap',[['handlesubChild',['$event']]]]]}}" class="btn data-v-2c872d56" bindtap="__e">提交</view></block></view></block></view></block></view>