Feat(首页):新增抽奖窗口显示逻辑,没有抽奖次数不显示
This commit is contained in:
@@ -207,7 +207,7 @@
|
||||
</view>
|
||||
<!-- v9 老用户弹窗 -->
|
||||
<u-popup
|
||||
:show="isOldUser && oldUserPopup.image"
|
||||
:show="isOldUser && oldUserPopup.image && lotteryCanDraw"
|
||||
mode="center"
|
||||
bgColor="transparent"
|
||||
>
|
||||
@@ -294,7 +294,8 @@ export default {
|
||||
// 节日专题
|
||||
contentFestival: {},
|
||||
pageKeyId: Object.freeze('appIndex'),
|
||||
scrollTop: 0
|
||||
scrollTop: 0,
|
||||
lotteryCanDraw: false
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
@@ -371,6 +372,7 @@ export default {
|
||||
_this.$set(_this, 'contentFestival', data.contentFestivalV2)
|
||||
_this.bastLeftList = []
|
||||
_this.bastRightList = []
|
||||
_this.lotteryCanDraw = data.lotteryCanDraw
|
||||
for (let i = 0; i < data.bastList.length; i++) {
|
||||
if (i % 2 === 0) {
|
||||
// 店铺排名
|
||||
|
||||
Reference in New Issue
Block a user