Commit cd791c84 authored by zhengke's avatar zhengke

修改

parent b5077e12
This diff is collapsed.
...@@ -200,7 +200,7 @@ ...@@ -200,7 +200,7 @@
</view> </view>
</view> </view>
<view class="Ques_CirContent"> <view class="Ques_CirContent" v-if="TypeObj.wordsFinishCount">
<view class="Ques_Circle" @click="goExam(1)"> <view class="Ques_Circle" @click="goExam(1)">
<view class="Ques_Top">单词</view> <view class="Ques_Top">单词</view>
<view class="Ques_Num" v-if="TypeObj">{{TypeObj.wordsFinishCount}}/{{TypeObj.wordsTotalCount}}</view> <view class="Ques_Num" v-if="TypeObj">{{TypeObj.wordsFinishCount}}/{{TypeObj.wordsTotalCount}}</view>
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<!-- 单词 --> <!-- 单词 -->
<word :paperData="dataList" v-if="Type==1" :Count="Count" @getAfter="getAfter()" /> <word :paperData="dataList" v-if="Type==1" :Count="Count" @getAfter="getAfter()" />
<!-- 阅读理解 --> <!-- 阅读理解 -->
<readingCompre :paperData="dataList" v-if="Type==4"/> <readingCompre :paperData="dataList" v-if="Type==4" :Count="Count" @getAfter="getAfter()" />
</view> </view>
<van-toast id="van-toast" /> <van-toast id="van-toast" />
</view> </view>
...@@ -85,16 +85,20 @@ export default { ...@@ -85,16 +85,20 @@ export default {
if (res.Code == 1) { if (res.Code == 1) {
console.log(res,'数据'); console.log(res,'数据');
this.dataList = res.Data.PageData; this.dataList = res.Data.PageData;
this.Count = res.Data.Count;
} }
} }
}); });
}, },
//往后追加题 //往后追加题
getAfter(){ getAfter(){
if(data.Type==1){
data.examMsg.PageIndex++; data.examMsg.PageIndex++;
if(data.Type==1){
this.GetWords(); this.GetWords();
} }
if(data.Type==4){
this.GetMyQuestionReading();
}
}, },
//获取答案改变后的数据 //获取答案改变后的数据
getAnswerChange(val, index) { getAnswerChange(val, index) {
......
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