|
@@ -1,16 +1,15 @@
|
|
<template>
|
|
<template>
|
|
- <view class="socre-shijuan">
|
|
|
|
|
|
+ <view class="phone-score-page">
|
|
<!-- 导航区域 -->
|
|
<!-- 导航区域 -->
|
|
- <view class="icon-title-navBar-box">
|
|
|
|
|
|
+ <view class="icon-title-bjcolor-navBar-box">
|
|
<view @click="handleBack" class="nav-bar-icon"></view>
|
|
<view @click="handleBack" class="nav-bar-icon"></view>
|
|
<text class="nav-bar-title">{{data.ksName}}</text>
|
|
<text class="nav-bar-title">{{data.ksName}}</text>
|
|
</view>
|
|
</view>
|
|
<!-- 上方区域 -->
|
|
<!-- 上方区域 -->
|
|
<topCard @openCard="handleOpenCard" :name="data.ksName" :zyLevelName="data.zyLevelName" :userScore="data.userScore" :Score="data.Score" :count="activeSt && activeSt.onlyNum||0" :total="data.StListForSearch.length"></topCard>
|
|
<topCard @openCard="handleOpenCard" :name="data.ksName" :zyLevelName="data.zyLevelName" :userScore="data.userScore" :Score="data.Score" :count="activeSt && activeSt.onlyNum||0" :total="data.StListForSearch.length"></topCard>
|
|
|
|
|
|
- <view>
|
|
|
|
<!-- 段落 -->
|
|
<!-- 段落 -->
|
|
- <view class="kaoshi-shiti-content">
|
|
|
|
|
|
+ <view class="score-shiti-content">
|
|
<!-- 试题区域 -->
|
|
<!-- 试题区域 -->
|
|
<view v-if="activeSt">
|
|
<view v-if="activeSt">
|
|
<template v-if="activeSt.stTypeId == 1">
|
|
<template v-if="activeSt.stTypeId == 1">
|
|
@@ -30,38 +29,37 @@
|
|
<tiankong :question="activeSt" :key="activeSt.stId"></tiankong>
|
|
<tiankong :question="activeSt" :key="activeSt.stId"></tiankong>
|
|
</template>
|
|
</template>
|
|
</view>
|
|
</view>
|
|
- </view>
|
|
|
|
- <!-- 解析 -->
|
|
|
|
- <view v-if="activeSt">
|
|
|
|
- <view class="phone-question-answer-box" v-if="activeSt.stTypeId != 4">
|
|
|
|
- <view class="phone-line-title">答案解析</view>
|
|
|
|
- <view class="btdf-row">本题得分:<text>{{answerRes.score}}</text>分</view>
|
|
|
|
- <view class="zqda-row">正确答案:<text>{{answerRes.result}}</text></view>
|
|
|
|
- <view class="ndda-row">您的答案:<text>{{answerRes.reply}}</text></view>
|
|
|
|
- <view class="dajx-row">答案解析:
|
|
|
|
- <rich-text :nodes="answerRes.answer"></rich-text>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
- <view class="phone-question-answer-box" v-else>
|
|
|
|
- <view class="phone-line-title">答案解析</view>
|
|
|
|
- <view class="btdf-row">本题得分:<text>{{answerRes.score}}</text>分</view>
|
|
|
|
- <view class="zqda-row">正确答案:
|
|
|
|
- <view v-for="(item,index) in answerRes.result">{{`填空${index+1}`}} : {{item}}</view>
|
|
|
|
- </view>
|
|
|
|
- <view class="ndda-row">您的答案:
|
|
|
|
- <view v-for="(item,index) in answerRes.reply"> {{`填空${index+1}`}}: {{item}}</view>
|
|
|
|
|
|
+ <!-- 解析 -->
|
|
|
|
+ <view v-if="activeSt" class="score-answer-box">
|
|
|
|
+ <view class="phone-question-answer-box" v-if="activeSt.stTypeId != 4">
|
|
|
|
+ <view class="phone-line-title">答案解析</view>
|
|
|
|
+ <view class="btdf-row">本题得分:<text>{{answerRes.score}}</text>分</view>
|
|
|
|
+ <view class="zqda-row">正确答案:<text>{{answerRes.result}}</text></view>
|
|
|
|
+ <view class="ndda-row">您的答案:<text>{{answerRes.reply}}</text></view>
|
|
|
|
+ <view class="dajx-row">答案解析:
|
|
|
|
+ <rich-text :nodes="answerRes.answer"></rich-text>
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
- <view class="dajx-row">答案解析:
|
|
|
|
- <rich-text :nodes="answerRes.answer"></rich-text>
|
|
|
|
|
|
+ <view class="phone-question-answer-box" v-else>
|
|
|
|
+ <view class="phone-line-title">答案解析</view>
|
|
|
|
+ <view class="btdf-row">本题得分:<text>{{answerRes.score}}</text>分</view>
|
|
|
|
+ <view class="zqda-row">正确答案:
|
|
|
|
+ <view v-for="(item,index) in answerRes.result">{{`填空${index+1}`}} : {{item}}</view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="ndda-row">您的答案:
|
|
|
|
+ <view v-for="(item,index) in answerRes.reply"> {{`填空${index+1}`}}: {{item}}</view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="dajx-row">答案解析:
|
|
|
|
+ <rich-text :nodes="answerRes.answer"></rich-text>
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
<!-- 上下按钮 -->
|
|
<!-- 上下按钮 -->
|
|
<template v-if="activeSt">
|
|
<template v-if="activeSt">
|
|
- <button type="default" size="mini" hover-class="none" class="phone-green-btn ks-btn-prev" @click="handlePrev" v-if="!isFistStId">上一题</button>
|
|
|
|
- <button type="default" size="mini" hover-class="none"class="phone-green-btn ks-btn-next" @click="handleNext" v-if="!isLastStId">下一题</button>
|
|
|
|
|
|
+ <button type="default" size="mini" hover-class="none" class="phone-green-btn score-answer-btn" @click="handlePrev" v-if="!isFistStId">上一题</button>
|
|
|
|
+ <button type="default" size="mini" hover-class="none"class="phone-green-btn score-answer-btn" @click="handleNext" v-if="!isLastStId">下一题</button>
|
|
</template>
|
|
</template>
|
|
-
|
|
|
|
<!-- 答题卡 -->
|
|
<!-- 答题卡 -->
|
|
<uni-popup ref="popupRef" background-color="#fff" :is-mask-click="false" :mask-click="false">
|
|
<uni-popup ref="popupRef" background-color="#fff" :is-mask-click="false" :mask-click="false">
|
|
<view class="answer-card-popup">
|
|
<view class="answer-card-popup">
|
|
@@ -80,7 +78,6 @@
|
|
</view>
|
|
</view>
|
|
</uni-popup>
|
|
</uni-popup>
|
|
|
|
|
|
- </view>
|
|
|
|
</view>
|
|
</view>
|
|
</template>
|
|
</template>
|
|
|
|
|