Commit d2621740 authored by zhengke's avatar zhengke

1

parent b328904e
This diff is collapsed.
......@@ -200,7 +200,7 @@
</view>
</view>
<view class="Ques_CirContent" v-if="TypeObj.wordsFinishCount">
<view class="Ques_CirContent" v-if="TypeObj">
<view class="Ques_Circle" @click="goExam(1)">
<view class="Ques_Top">单词</view>
<view class="Ques_Num" v-if="TypeObj">{{TypeObj.wordsFinishCount}}/{{TypeObj.wordsTotalCount}}</view>
......
......@@ -99,6 +99,17 @@
let res = GetQuestionListening(data.examMsg).then(res => {
if (res.Code == 1) {
this.dataList = res.Data.PageData;
this.dataList.map((item) => {
let arr = item.Title.split(" "); //按空格分段
arr.map((e) => {
if (e.indexOf("src") != -1) {
let Before = e.split("url=")[1]
if(Before){
item.Src = decodeURIComponent(Before.slice(0, -1));
}
}
});
});
this.Count = res.Data.Count;
}
});
......
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