Commit 29011312 authored by 郝聪敏's avatar 郝聪敏

Merge branch 'feature/update_swiper' into 'master'

fix: swiper问题验证-resize

See merge request !227
parents 7ae080e3 9a9c38a2
...@@ -36,6 +36,7 @@ ...@@ -36,6 +36,7 @@
</div> </div>
<div class="activity-swiper" v-if="status !== 'HAS_WINNING'"> <div class="activity-swiper" v-if="status !== 'HAS_WINNING'">
<cr-swipe <cr-swipe
ref="swiper"
class="activity-swiper-container" class="activity-swiper-container"
:autoplay="3000" :autoplay="3000"
:show-indicators="false" :show-indicators="false"
...@@ -219,6 +220,9 @@ export default { ...@@ -219,6 +220,9 @@ export default {
} else { } else {
this.status = "HAS_NOT_CHANCE"; this.status = "HAS_NOT_CHANCE";
} }
this.$nextTick(() => {
this.$refs.swiper.resize();
});
}, },
// 客户端不支持 // 客户端不支持
saveImg() { saveImg() {
......
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