Commit 90253a9c authored by youjie's avatar youjie

no message

parent 110b4fe9
...@@ -137,17 +137,18 @@ ...@@ -137,17 +137,18 @@
var MySrc=''; var MySrc='';
arr.map((e) => { arr.map((e) => {
if (e.indexOf("src") != -1) { if (e.indexOf("src") != -1) {
let Before = e.split("url=")[1] let Before = e.split("url=")[0]
if (Before) { if (Before) {
MySrc = decodeURIComponent(Before.slice(0, -1)); MySrc = decodeURIComponent(Before.slice(4, -1));
} }
} }
}); });
MySrc = MySrc + " "+ arr[11]
if(data.isPlay){ if(data.isPlay){
innerAudioContext.pause(); innerAudioContext.pause();
data.isPlay=false; data.isPlay=false;
}else{ }else{
innerAudioContext.src = MySrc; innerAudioContext.src = this.dataObj.VideoUrl;
innerAudioContext.play() innerAudioContext.play()
data.isPlay = true; data.isPlay = true;
innerAudioContext.onEnded((e)=>{ innerAudioContext.onEnded((e)=>{
......
...@@ -200,7 +200,8 @@ ...@@ -200,7 +200,8 @@
</view> </view>
</view> </view>
<view class="Ques_CirContent" v-if="Object.keys(TypeObj).length>0"> <!-- v-if="Object.keys(TypeObj).length>0" -->
<view class="Ques_CirContent">
<view class="Ques_Circle" @click="goExam(1,TypeObj.wordsStartId,TypeObj.wordsTimes)"> <view class="Ques_Circle" @click="goExam(1,TypeObj.wordsStartId,TypeObj.wordsTimes)">
<view class="Ques_Top">单词</view> <view class="Ques_Top">单词</view>
<view class="Ques_Num">{{TypeObj.wordsFinishCount}}/{{TypeObj.wordsTotalCount}}</view> <view class="Ques_Num">{{TypeObj.wordsFinishCount}}/{{TypeObj.wordsTotalCount}}</view>
...@@ -225,7 +226,8 @@ ...@@ -225,7 +226,8 @@
<view class="Janpa_Level"> <view class="Janpa_Level">
<view class="Ques_Title">日语等级评测</view> <view class="Ques_Title">日语等级评测</view>
<view class="Ques_Join"> <view class="Ques_Join">
<view class="Ques_Inner" v-for="(sItem,sIndex) in JoinArr" v-if="getIsExist(sItem.Id)&&sIndex!=JoinArr.length-1" :key="sIndex" @click="goJpGrade(sItem.Id)"> <!-- v-if="getIsExist(sItem.Id)&&sIndex!=JoinArr.length-1" -->
<view class="Ques_Inner" v-for="(sItem,sIndex) in JoinArr" :key="sIndex" @click="goJpGrade(sItem.Id)">
<text class="Ques_level">{{sItem.Name}}</text> <text class="Ques_level">{{sItem.Name}}</text>
<text class="Ques_Big">{{sItem.Name}}</text> <text class="Ques_Big">{{sItem.Name}}</text>
<text class="Ques_Jnber">{{sItem.JoinNum}}人参与</text> <text class="Ques_Jnber">{{sItem.JoinNum}}人参与</text>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment