|
|
|
|
<navbar custom-style="background:transparent;" fixed>
|
|
|
|
|
<van-icon name="arrow-left" slot="left" size="18px" color="#000" bind:tap="handleBack" />
|
|
|
|
|
</navbar>
|
|
|
|
|
<view class="page">
|
|
|
|
|
<view
|
|
|
|
|
class="page-header"
|
|
|
|
|
style="background:#F6F8F9 url('{{imageUrl}}bg18.png?t={{Timestamp}}') no-repeat top center/100% 412rpx;padding-top:{{pageTop+20}}px;"
|
|
|
|
|
>
|
|
|
|
|
<view class="progress">
|
|
|
|
|
<view class="p-item active">
|
|
|
|
|
<view class="name">视觉功能</view>
|
|
|
|
|
<view class="line"></view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="p-item {{step==1 && 'active'}}">
|
|
|
|
|
<view class="name">外观</view>
|
|
|
|
|
<view class="line"></view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="title">请根据过去1周的情况填写</view>
|
|
|
|
|
<view class="content">过去一周内,甲状腺相关眼病是否影响您做以下的事情?根据您的实际情况选择。</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="module" wx:if="{{step==0}}">
|
|
|
|
|
<view class="row" wx:for="{{qolList0}}" wx:key="index">
|
|
|
|
|
<view class="title">{{item.title}}</view>
|
|
|
|
|
<view class="select">
|
|
|
|
|
<view
|
|
|
|
|
class="s-item{{answerKey}} {{item.answer == answerKey && 'active'}}"
|
|
|
|
|
wx:for="{{item.answerList}}"
|
|
|
|
|
wx:key="index"
|
|
|
|
|
wx:for-item="answerItem"
|
|
|
|
|
wx:for-index="answerKey"
|
|
|
|
|
bind:tap="handleSelect"
|
|
|
|
|
data-list="qolList0"
|
|
|
|
|
data-index="{{index}}"
|
|
|
|
|
data-key="{{answerKey}}"
|
|
|
|
|
>
|
|
|
|
|
{{answerItem}}
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="btn" bind:tap="handleNext">下一页(1/2)</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="module" wx:if="{{step==1}}">
|
|
|
|
|
<view class="row" wx:for="{{qolList1}}" wx:key="index">
|
|
|
|
|
<view class="title">{{item.title}}</view>
|
|
|
|
|
<view class="select">
|
|
|
|
|
<view
|
|
|
|
|
class="s-item{{answerKey}} {{item.answer == answerKey && 'active'}}"
|
|
|
|
|
wx:for="{{item.answerList}}"
|
|
|
|
|
wx:key="index"
|
|
|
|
|
wx:for-item="answerItem"
|
|
|
|
|
wx:for-index="answerKey"
|
|
|
|
|
bind:tap="handleSelect"
|
|
|
|
|
data-list="qolList1"
|
|
|
|
|
data-index="{{index}}"
|
|
|
|
|
data-key="{{answerKey}}"
|
|
|
|
|
>
|
|
|
|
|
{{answerItem}}
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="btn" wx:if="{{id}}" bind:tap="handleReset">重新测评</view>
|
|
|
|
|
<view class="btn" wx:else bind:tap="handleSubmit">提交(2/2)</view>
|
|
|
|
|
<view class="prev" bind:tap="handlePrev">上一页</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<van-toast id="van-toast">
|
|
|
|
|
<view class="toast">{{toastText}}</view>
|
|
|
|
|
</van-toast>
|