Commit 2e4401fa by 冷斌

fix bug

parent df8f13e9
...@@ -129,6 +129,31 @@ ...@@ -129,6 +129,31 @@
</div> </div>
</div> </div>
<span style="margin-top: 35vh;" v-if="myYiZuo.length == 0" class="text_14_400 color_999999 self_center">没有找到!</span> <span style="margin-top: 35vh;" v-if="myYiZuo.length == 0" class="text_14_400 color_999999 self_center">没有找到!</span>
<!-- <div class="layout_v list_container">-->
<!-- &lt;!&ndash; 项目1 &ndash;&gt;-->
<!-- <div v-for="(item, index) in zhenti" :key="index" class="class_item layout_h">-->
<!-- <div class="class_left layout_v weight_full">-->
<!-- <div class="layout_h">-->
<!-- <div v-if="item.price > 0" class="mark_orange layout_center">付费</div>-->
<!-- <div v-if="item.price == 0" class="mark_green layout_center">免费</div>-->
<!-- <span class="text_14_600 color_333333 weight_full van-multi-ellipsis&#45;&#45;l2" style="margin-left: 0.625rem;">{{item.title}}</span>-->
<!-- </div>-->
<!-- <div class="layout_h" style="margin-top: 1.25rem;">-->
<!-- <span class="text_12_400 color_999999">题数:{{item.count}}</span>-->
<!-- <span class="class_attr text_12_400 color_999999">推荐用时:{{item.time}}m</span>-->
<!-- <span class="class_attr text_12_400 color_999999">{{item.person}}</span>-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="class_right layout_center">-->
<!-- <div @click="startDo(item)" v-if="item.price == 0 || item.is_buy" class="button_green layout_center">开始做题</div>-->
<!-- <div @click="onPay(item)" v-else-if="item.price > 0" class="button_orange layout_center">¥{{item.price}}</div>-->
<!-- </div>-->
<!-- </div>-->
<!-- <span style="margin-top: 35vh;" v-if="zhenti.length == 0" class="text_14_400 color_999999 self_center">没有找到!</span>-->
<!-- </div>-->
</template> </template>
</div> </div>
</van-tab> </van-tab>
...@@ -364,7 +389,7 @@ ...@@ -364,7 +389,7 @@
success: function(res) { success: function(res) {
if(res.status == 1) { if(res.status == 1) {
let array = res.data.data.length > 0 ? res.data.data : [] let array = res.data.data.length > 0 ? res.data.data : []
that.download = [].concat(array.map( r => { that.myYiZuo = [].concat(array.map( r => {
return { return {
id: r.exams_paper_id, id: r.exams_paper_id,
title: r.exams_paper_title, title: r.exams_paper_title,
......
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