Commit 4bb21c46 by Caiyijun

修复swiper问题

parent 566e1e53
......@@ -19,7 +19,7 @@
<div class="target-people-text">已有{{total_signup}}人参赛</div>
</div>
<div class="hr"></div>
<swiper :options="swiperOption" class="game-scroll-container">
<swiper :options="swiperOption" class="game-scroll-container" v-if="showSwiper">
<swiper-slide v-for="(item,index) in record_list" :key="index">
<div class="game-scroll-item">
<div class="item-title-status">
......@@ -117,6 +117,7 @@ export default {
centeredSlides: true,
spaceBetween: 10
},
showSwiper: false,
bet_bonus: "0.00",
next_signup: false,
period_end: "",
......@@ -174,6 +175,7 @@ export default {
this.total_signup = pageData.total_signup;
this.target_steps = pageData.target_steps;
this.record_list = pageData.record_list;
this.showSwiper = true
}
});
},
......
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