|
|
|
|
@ -26,15 +26,17 @@
@@ -26,15 +26,17 @@
|
|
|
|
|
<view class="td">{{item.CreateDate}}</view> |
|
|
|
|
<block wx:if="{{tab==0}}"> |
|
|
|
|
<view class="td">{{item.TotalScore}}</view> |
|
|
|
|
<view class="td">{{item.changeTotalScore}}</view> |
|
|
|
|
<view class="td {{item.changeTotalScore >= 0 ? 'green' : 'red'}}">{{item.changeTotalScore}}</view> |
|
|
|
|
</block> |
|
|
|
|
<block wx:elif="{{tab==1}}"> |
|
|
|
|
<view class="td">{{item.VisionScore}}</view> |
|
|
|
|
<view class="td">{{item.changeVisionScore}}</view> |
|
|
|
|
<view class="td {{item.changeVisionScore >= 0 ? 'green' : 'red'}}">{{item.changeVisionScore}}</view> |
|
|
|
|
</block> |
|
|
|
|
<block wx:elif="{{tab==2}}"> |
|
|
|
|
<view class="td">{{item.AppearanceScore}}</view> |
|
|
|
|
<view class="td">{{item.changeAppearanceScore}}</view> |
|
|
|
|
<view class="td {{item.changeAppearanceScore >= 0 ? 'green' : 'red'}}"> |
|
|
|
|
{{item.changeAppearanceScore}} |
|
|
|
|
</view> |
|
|
|
|
</block> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
@ -46,7 +48,7 @@
@@ -46,7 +48,7 @@
|
|
|
|
|
<van-tab title="按答题选项"> |
|
|
|
|
<view class="page2"> |
|
|
|
|
<view class="title">{{detail.Name}}的GO-QOL生活质量评测详情</view> |
|
|
|
|
<view class="scroll"> |
|
|
|
|
<view class="scroll" wx:if="{{list2.length}}"> |
|
|
|
|
<view class="table1"> |
|
|
|
|
<view class="thead"> |
|
|
|
|
<view class="taside">类型</view> |
|
|
|
|
@ -120,56 +122,153 @@
@@ -120,56 +122,153 @@
|
|
|
|
|
</view> |
|
|
|
|
<view class="tbody"> |
|
|
|
|
<view class="tr"> |
|
|
|
|
<view class="td" wx:for="{{list2}}" wx:key="index">{{qolList[0].answerList[item.Question1]}}</view> |
|
|
|
|
<view |
|
|
|
|
class="td {{item.Question1 >= list2[index-1].Question1 ? 'green' : 'red'}}" |
|
|
|
|
wx:for="{{list2}}" |
|
|
|
|
wx:key="index" |
|
|
|
|
> |
|
|
|
|
{{qolList[0].answerList[item.Question1]}}({{item.Question1>=4?3:item.Question1}}分) |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="tr"> |
|
|
|
|
<view class="td" wx:for="{{list2}}" wx:key="index">{{qolList[1].answerList[item.Question2]}}</view> |
|
|
|
|
<view |
|
|
|
|
class="td {{item.Question2 >= list2[index-1].Question2 ? 'green' : 'red'}}" |
|
|
|
|
wx:for="{{list2}}" |
|
|
|
|
wx:key="index" |
|
|
|
|
> |
|
|
|
|
{{qolList[1].answerList[item.Question2]}}({{item.Question2>=4?3:item.Question2}}分) |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="tr"> |
|
|
|
|
<view class="td" wx:for="{{list2}}" wx:key="index">{{qolList[2].answerList[item.Question3]}}</view> |
|
|
|
|
<view |
|
|
|
|
class="td {{item.Question3 >= list2[index-1].Question3 ? 'green' : 'red'}}" |
|
|
|
|
wx:for="{{list2}}" |
|
|
|
|
wx:key="index" |
|
|
|
|
> |
|
|
|
|
{{qolList[2].answerList[item.Question3]}}({{item.Question3>=4?3:item.Question3}}分) |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="tr"> |
|
|
|
|
<view class="td" wx:for="{{list2}}" wx:key="index">{{qolList[3].answerList[item.Question4]}}</view> |
|
|
|
|
<view |
|
|
|
|
class="td {{item.Question4 >= list2[index-1].Question4 ? 'green' : 'red'}}" |
|
|
|
|
wx:for="{{list2}}" |
|
|
|
|
wx:key="index" |
|
|
|
|
> |
|
|
|
|
{{qolList[3].answerList[item.Question4]}}({{item.Question4>=4?3:item.Question4}}分) |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="tr"> |
|
|
|
|
<view class="td" wx:for="{{list2}}" wx:key="index">{{qolList[4].answerList[item.Question5]}}</view> |
|
|
|
|
<view |
|
|
|
|
class="td {{item.Question5 >= list2[index-1].Question5 ? 'green' : 'red'}}" |
|
|
|
|
wx:for="{{list2}}" |
|
|
|
|
wx:key="index" |
|
|
|
|
> |
|
|
|
|
{{qolList[4].answerList[item.Question5]}}({{item.Question5>=4?3:item.Question5}}分) |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="tr"> |
|
|
|
|
<view class="td" wx:for="{{list2}}" wx:key="index">{{qolList[5].answerList[item.Question6]}}</view> |
|
|
|
|
<view |
|
|
|
|
class="td {{item.Question6 >= list2[index-1].Question6 ? 'green' : 'red'}}" |
|
|
|
|
wx:for="{{list2}}" |
|
|
|
|
wx:key="index" |
|
|
|
|
> |
|
|
|
|
{{qolList[5].answerList[item.Question6]}}({{item.Question6>=4?3:item.Question6}}分) |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="tr"> |
|
|
|
|
<view class="td" wx:for="{{list2}}" wx:key="index">{{qolList[6].answerList[item.Question7]}}</view> |
|
|
|
|
<view |
|
|
|
|
class="td {{item.Question7 >= list2[index-1].Question7 ? 'green' : 'red'}}" |
|
|
|
|
wx:for="{{list2}}" |
|
|
|
|
wx:key="index" |
|
|
|
|
> |
|
|
|
|
{{qolList[6].answerList[item.Question7]}}({{item.Question7>=4?3:item.Question7}}分) |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="tr mtr"> |
|
|
|
|
<view class="td" wx:for="{{list2}}" wx:key="index">{{qolList[7].answerList[item.Question8]}}</view> |
|
|
|
|
<view |
|
|
|
|
class="td {{item.Question8 >= list2[index-1].Question8 ? 'green' : 'red'}}" |
|
|
|
|
wx:for="{{list2}}" |
|
|
|
|
wx:key="index" |
|
|
|
|
> |
|
|
|
|
{{qolList[7].answerList[item.Question8]}}({{item.Question8>=4?3:item.Question8}}分) |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="tr mtr"> |
|
|
|
|
<view class="td" wx:for="{{list2}}" wx:key="index">{{qolList[8].answerList[item.Question9]}}</view> |
|
|
|
|
<view |
|
|
|
|
class="td {{item.Question9 >= list2[index-1].Question9 ? 'green' : 'red'}}" |
|
|
|
|
wx:for="{{list2}}" |
|
|
|
|
wx:key="index" |
|
|
|
|
> |
|
|
|
|
{{qolList[8].answerList[item.Question9]}}({{item.Question9>=4?3:item.Question9}}分) |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="tr mtr"> |
|
|
|
|
<view class="td" wx:for="{{list2}}" wx:key="index">{{qolList[9].answerList[item.Question10]}}</view> |
|
|
|
|
<view |
|
|
|
|
class="td {{item.Question10 >= list2[index-1].Question10 ? 'green' : 'red'}}" |
|
|
|
|
wx:for="{{list2}}" |
|
|
|
|
wx:key="index" |
|
|
|
|
> |
|
|
|
|
{{qolList[9].answerList[item.Question10]}}({{item.Question10>=4?3:item.Question10}}分) |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="tr mtr"> |
|
|
|
|
<view class="td" wx:for="{{list2}}" wx:key="index">{{qolList[10].answerList[item.Question11]}}</view> |
|
|
|
|
<view |
|
|
|
|
class="td {{item.Question11 >= list2[index-1].Question11 ? 'green' : 'red'}}" |
|
|
|
|
wx:for="{{list2}}" |
|
|
|
|
wx:key="index" |
|
|
|
|
> |
|
|
|
|
{{qolList[10].answerList[item.Question11]}}({{item.Question11>=4?3:item.Question11}}分) |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="tr mtr"> |
|
|
|
|
<view class="td" wx:for="{{list2}}" wx:key="index">{{qolList[11].answerList[item.Question12]}}</view> |
|
|
|
|
<view |
|
|
|
|
class="td {{item.Question12 >= list2[index-1].Question12 ? 'green' : 'red'}}" |
|
|
|
|
wx:for="{{list2}}" |
|
|
|
|
wx:key="index" |
|
|
|
|
> |
|
|
|
|
{{qolList[11].answerList[item.Question12]}}({{item.Question12>=4?3:item.Question12}}分) |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="tr mtr"> |
|
|
|
|
<view class="td" wx:for="{{list2}}" wx:key="index">{{qolList[12].answerList[item.Question13]}}</view> |
|
|
|
|
<view |
|
|
|
|
class="td {{item.Question13 >= list2[index-1].Question13 ? 'green' : 'red'}}" |
|
|
|
|
wx:for="{{list2}}" |
|
|
|
|
wx:key="index" |
|
|
|
|
> |
|
|
|
|
{{qolList[12].answerList[item.Question13]}}({{item.Question13>=4?3:item.Question13}}分) |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="tr mtr"> |
|
|
|
|
<view class="td" wx:for="{{list2}}" wx:key="index">{{qolList[13].answerList[item.Question14]}}</view> |
|
|
|
|
<view |
|
|
|
|
class="td {{item.Question14 >= list2[index-1].Question14 ? 'green' : 'red'}}" |
|
|
|
|
wx:for="{{list2}}" |
|
|
|
|
wx:key="index" |
|
|
|
|
> |
|
|
|
|
{{qolList[13].answerList[item.Question14]}}({{item.Question14>=4?3:item.Question14}}分) |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="tr mtr"> |
|
|
|
|
<view class="td" wx:for="{{list2}}" wx:key="index">{{qolList[14].answerList[item.Question15]}}</view> |
|
|
|
|
<view |
|
|
|
|
class="td {{item.Question15 >= list2[index-1].Question15 ? 'green' : 'red'}}" |
|
|
|
|
wx:for="{{list2}}" |
|
|
|
|
wx:key="index" |
|
|
|
|
> |
|
|
|
|
{{qolList[14].answerList[item.Question15]}}({{item.Question15>=4?3:item.Question15}}分) |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="tr mtr"> |
|
|
|
|
<view class="td" wx:for="{{list2}}" wx:key="index">{{qolList[15].answerList[item.Question16]}}</view> |
|
|
|
|
<view |
|
|
|
|
class="td {{item.Question16 >= list2[index-1].Question16 ? 'green' : 'red'}}" |
|
|
|
|
wx:for="{{list2}}" |
|
|
|
|
wx:key="index" |
|
|
|
|
> |
|
|
|
|
{{qolList[15].answerList[item.Question16]}}({{item.Question16>=4?3:item.Question16}}分) |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<image wx:else class="table-none" src="{{imageUrl}}none.png?t={{Timestamp}}"></image> |
|
|
|
|
</view> |
|
|
|
|
</van-tab> |
|
|
|
|
</van-tabs> |
|
|
|
|
|