Commit 8d41890d authored by leiqingsong's avatar leiqingsong

修改bug

parent 5469705f
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
</div> </div>
<div class="active"> <div class="active">
<template v-for="(item, index) in wheelList"> <template v-for="(item, index) in wheelList">
<van-swipe-cell v-if="index < wheelActive_limit" :key="item.id"> <van-swipe-cell v-if="index < wheelActive_limit" :key="index">
<div class="list" @click="toDetail(item.id, item.activityType)"> <div class="list" @click="toDetail(item.id, item.activityType)">
<div class="left"> <div class="left">
<img :src="item.logo" alt="logo" style="width:100%;height:100%;" /> <img :src="item.logo" alt="logo" style="width:100%;height:100%;" />
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
<div v-if="couponList.length > 0" class="fg">送券活动</div> <div v-if="couponList.length > 0" class="fg">送券活动</div>
<div class="active"> <div class="active">
<template v-for="(item, index) in couponList"> <template v-for="(item, index) in couponList">
<van-swipe-cell v-if="index < couponActive_limit" :key="item.id"> <van-swipe-cell v-if="index < couponActive_limit" :key="index">
<div class="list" @click="toDetail(item.id, item.activityType)"> <div class="list" @click="toDetail(item.id, item.activityType)">
<div class="left"> <div class="left">
<img :src="item.logo" alt="logo" style="width:100%;height:100%;" /> <img :src="item.logo" alt="logo" style="width:100%;height:100%;" />
......
...@@ -272,7 +272,7 @@ ...@@ -272,7 +272,7 @@
v-model="prizeList[index].probability" v-model="prizeList[index].probability"
:show-plus="false" :show-plus="false"
:show-minus="false" :show-minus="false"
input-width="40px" input-width="60px"
step="1" step="1"
min="1" min="1"
max="100" max="100"
......
...@@ -256,9 +256,8 @@ export default { ...@@ -256,9 +256,8 @@ export default {
}, },
handleMore() { handleMore() {
this.active_limit += 3; this.active_limit += 3;
if (this.active_limit === this.currentActives.length - 3) { if (this.active_limit == this.currentActives.length) {
this.finished = true; this.finished = true;
return;
} }
}, },
// 获取当前 活动 // 获取当前 活动
......
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