斜塘答题

master
lion 2 years ago
parent 702b54106e
commit 0a6efa16e4

@ -34,34 +34,38 @@
<view class="bottom"></view>
<view class="answertip" v-if="showAnswer" :style="{'height':maskHeight}">
<view class="answer100 answertipitem">
<view :class="correctScore<100?'ansicon80':'ansicon'">
<u-image v-if="correctScore==100" :fade="false" :src="ansicon100" width="120rpx" height="231rpx"></u-image>
<view :class="correctScore<70?'ansicon80':'ansicon'">
<!-- <u-image v-if="correctScore==100" :fade="false" :src="ansicon100" width="120rpx" height="231rpx"></u-image> -->
<u-image v-if="correctScore>=70" :fade="false" :src="ansicongood" width="142rpx" height="132rpx"></u-image>
<u-image v-else :fade="false" :src="ansicon80" width="168rpx" height="202rpx"></u-image>
</view>
<view :class="correctScore==100&&answercount>0?'answrap answrap100':'answrap'">
<view :class="correctScore>=70&&answercount>0?'answrap answrap100':'answrap'">
<view class="ansscore">
<!-- 第一次答题 -->
<view v-if="answercount===0">
<view style="padding-top:30rpx"><span class="ansfont">{{correctScore}}</span></view>
<view v-if="correctScore<100"></view>
<!-- 第一次答题 不是最后一次答题-->
<view v-if="answercount<=maxCount-1">
<view style="padding-top:10rpx">本次共答对<span style="color:#d22425">{{correctNum}}</span></view>
<view><span class="ansfont">{{correctScore}}</span></view>
<view v-if="correctScore<70"></view>
<view v-else></view>
</view>
<!-- 第二次答题 -->
<view v-else>
<view :style="correctScore<100?'padding-top:30rpx':'padding-top:14rpx'">答题已结束最高得分{{maxscore}}</view>
<!-- <view v-else>
<view :style="correctScore<=70?'padding-top:30rpx':'padding-top:14rpx'">本次共答对<span style="color:#d22425">{{correctNum}}</span></view>
<view><span class="ansfont">{{correctScore}}</span></view>
<view style="margin-top:-20rpx">本次得分</view>
</view>
</view> -->
</view>
<view class='ansflag' v-if="correctScore==100"></view>
<!-- 第一次答题 -->
<view class="answerBtn" v-if="answercount===0">
<!-- 不是最后一次答题-->
<view class="answerBtn" v-if="answercount<maxCount-1">
<view v-if="correctScore==100" @click="toCer"></view>
<view @click="endAnswer" v-if="correctScore<100"></view>
<view @click="againAnswer"></view>
</view>
<!-- 第二次答题 -->
<view class="answerBtn" v-else>
<!-- 最后一次答题 -->
<view class="answerBtn" v-if="answercount==maxCount-1">
<view style="width:45%" v-if="correctScore==100" @click="toCer"></view>
<view style="width:45%" @click="endAnswer" v-else></view>
</view>
@ -93,13 +97,14 @@
maxCount:2,
answerNum:["A","B","C","D","E","F","G","H"],
myAnswer:[],
correctNum:0, //
correctNum:0, //
correctScore:0, //
correctAnswer:'', //
answerSubmit:false, //
hasFlag:false,//
showAnswer:false,
ansicon100:require('../../static/answer100icon.png'),
ansicongood:require('../../static/answergood.png'),
ansicon80:require('../../static/answer80icon.png'),
timeicon:require('../../static/time.png'),
maskHeight:0,
@ -244,6 +249,7 @@
count++
}
})
this.correctNum = count
this.correctScore = (count/10)*100
}else{
this.correctScore = 0
@ -300,7 +306,6 @@
}
})
count>0?this.correctNum++:""
this.myAnswer.push({
question_id:this.question_list[this.questionIndex]['id'],
answer_ids:ansid.join("|"),
@ -543,7 +548,7 @@
height:164rpx;
background-size: 100% 100%;
position: absolute;
top: 230rpx;
top: 240rpx;
left: -56rpx;
}
.answrap100 .ansflag{
@ -552,8 +557,8 @@
.ansicon{
position: absolute;
left: 230rpx;
top: -106rpx;
left: 235rpx;
top: -20rpx;
}
.ansicon80{
position: absolute;

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

@ -0,0 +1,2 @@
<!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>百步芳草 与理同行</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/h5xtdt/static/index.2da1efab.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/h5xtdt/static/js/chunk-vendors.1e1087a7.js></script><script src=/h5xtdt/static/js/index.b0f38c04.js></script></body></html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 230 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 187 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 584 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 187 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 321 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 516 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 776 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 584 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 813 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 321 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 516 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 776 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 825 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 903 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1003 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save