Compare commits

..

No commits in common. '89c4b2148e59da322ced23b8721907fc88429419' and '4526430a38c0c4b0aaba96afe842e53f1789d2cd' have entirely different histories.

  1. 4
      src/pages/me/info.vue
  2. 36
      src/pages/questionBank/components/Question.vue

@ -15,7 +15,7 @@
<u-icon name="arrow-right" color="#999" /> <u-icon name="arrow-right" color="#999" />
</view> </view>
</view> </view>
<!-- <view class="flex jc-sb ai-c bb1" style="height: 110rpx;"> <view class="flex jc-sb ai-c bb1" style="height: 110rpx;">
<view class="title">身份证号</view> <view class="title">身份证号</view>
<view class="m30lr fs14 cor-333">{{sfzNum}}</view> <view class="m30lr fs14 cor-333">{{sfzNum}}</view>
</view> </view>
@ -23,7 +23,7 @@
<view class="title">证件照</view> <view class="title">证件照</view>
<view class="m30lr fs14 cor-333 fl1"></view> <view class="m30lr fs14 cor-333 fl1"></view>
<u-icon name="arrow-right" color="#999" /> <u-icon name="arrow-right" color="#999" />
</view> --> </view>
</view> </view>
</view> </view>
</template> </template>

@ -41,17 +41,7 @@
v-if="quesItem.clickAnswer&&!quesItem.trueAnswer.includes(quesItem.clickAnswer) || showBestAnswer"> v-if="quesItem.clickAnswer&&!quesItem.trueAnswer.includes(quesItem.clickAnswer) || showBestAnswer">
<view class="answer_box"> <view class="answer_box">
<text class="fs18 fw600 cor-000">答案:{{getRightOp(quesItem.trueAnswer)}}</text> <text class="fs18 fw600 cor-000">答案:{{getRightOp(quesItem.trueAnswer)}}</text>
<view v-if="showSkillInfo==='show'&&quesItem.skillInfo" class="fs18 cor-000 mt5">答题技巧{{quesItem.skillInfo}}</view> <view class="fs18 cor-000" style="text-indent:2em;"> {{quesItem.bestAnswer}}</view>
</view>
<view class="flex ai-c jc-c mt10">
<view style="height: 6rpx;width: 120rpx;background-color: rgb(232, 232, 232);"></view>
<view class="fs18 fw600 cor-000 p15lr">试题详解</view>
<view style="height: 6rpx;width: 120rpx;background-color: rgb(232, 232, 232);"></view>
</view>
<view class="mt10">
<view class="fw600 cor-000 mb10 flex ai-c">
<view style="background: linear-gradient(90deg, #11DF20 0%, #00B74F 100%);height: 36rpx;width: 8rpx;" class="mr5"></view>题目解析</view>
<view style="text-indent:2em;">{{quesItem.bestAnswer}}</view>
</view> </view>
</view> </view>
</template> </template>
@ -92,17 +82,7 @@
<view class="m14lr mt30" v-if="isShowAnswer"> <view class="m14lr mt30" v-if="isShowAnswer">
<view class="answer_box"> <view class="answer_box">
<text class="fs18 fw600 cor-000">答案:{{getRightOp(quesItem.trueAnswer)}}</text> <text class="fs18 fw600 cor-000">答案:{{getRightOp(quesItem.trueAnswer)}}</text>
<view v-if="showSkillInfo==='show'&&quesItem.skillInfo" class="fs18 cor-000"> 答题技巧{{quesItem.skillInfo}}</view> <view class="fs18 cor-000" style="text-indent:2em;"> {{quesItem.bestAnswer}}</view>
</view>
<view class="flex ai-c jc-c mt10">
<view style="height: 6rpx;width: 120rpx;background-color: rgb(232, 232, 232);"></view>
<view class="fs18 fw600 cor-000 p15lr">试题详解</view>
<view style="height: 6rpx;width: 120rpx;background-color: rgb(232, 232, 232);"></view>
</view>
<view class="mt10">
<view class="fw600 cor-000 mb10 flex ai-c">
<view style="background: linear-gradient(90deg, #11DF20 0%, #00B74F 100%);height: 36rpx;width: 8rpx;" class="mr5"></view>题目解析</view>
<view style="text-indent:2em;">{{quesItem.bestAnswer}}</view>
</view> </view>
</view> </view>
</template> </template>
@ -292,7 +272,6 @@
import storage from '@/jtools/storage'; import storage from '@/jtools/storage';
import useQuestionStore from '@/jtools/store/question' //store import useQuestionStore from '@/jtools/store/question' //store
import { import {
querySysConfig,
submitTest submitTest
} from '@/jtools/api/question'; } from '@/jtools/api/question';
export default { export default {
@ -319,8 +298,6 @@
}, },
data() { data() {
return { return {
showSkillInfo:'hidden',
currentType:storage.get('carType') || '1001',
onoff:'0', onoff:'0',
navTitle: '', navTitle: '',
originArray: '', originArray: '',
@ -346,14 +323,7 @@
time: 0, time: 0,
} }
}, },
created() {
const carType=storage.get('carType') || '1001'
querySysConfig(carType, 'NeedSkillInfo').then(resp=>{
if(resp.code === '0000'){
this.showSkillInfo = resp.data.configValue
}
})
},
computed: { computed: {
...mapState(useQuestionStore, ["currentIndex_subject1", "currentIndex_subject4"]), //tagslist ...mapState(useQuestionStore, ["currentIndex_subject1", "currentIndex_subject4"]), //tagslist
isShowAnswer() { isShowAnswer() {

Loading…
Cancel
Save