|
|
|
@ -65,6 +65,7 @@ |
|
|
|
isError: false, |
|
|
|
resCheck: false, |
|
|
|
isResVideo: false, |
|
|
|
innerAudioContext: null, |
|
|
|
failUrl: uni.$http.baseUrl +"/profile//images/fail.gif", |
|
|
|
}; |
|
|
|
}, |
|
|
|
@ -106,6 +107,7 @@ |
|
|
|
|
|
|
|
this.videoContext = uni.createVideoContext("video_play"); |
|
|
|
this.videoContext.requestFullScreen(); |
|
|
|
|
|
|
|
// this.queryQAByFreId(); |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
@ -182,7 +184,7 @@ |
|
|
|
// 先提交所选答案 |
|
|
|
if(null!=obj) { |
|
|
|
// 判断答题是否正确 |
|
|
|
if(this.correct == obj.channel.slice(0, 1)) { |
|
|
|
if(this.correct.toUpperCase() == obj.channel.slice(0, 1).toUpperCase()) { |
|
|
|
// 控制选中答案单条显示对错 |
|
|
|
this.$set(obj, 'choose', 'true'); |
|
|
|
isCorrect = 1 |
|
|
|
|