Commit 86f9ce64 authored by mengcuiguang's avatar mengcuiguang
parents ebfec9fc c60afdd4
<template>
<view class="body">
<view v-if="showMask" class="show-mask" @click="showMask=false">
<image mode="widthFix" :src="maskImage"></image>
<text @click="showMask=false">我知道了</text>
</view>
<z-paging class="flex-1" ref="paging" v-model="dataList" @query="queryList">
<view class="content">
<swiper class="banner" :style="'margin-top:'+statusBarHeight+'px;'" :indicator-dots="true"
......@@ -222,6 +227,8 @@
</view>
</view>
</uni-popup> -->
</view>
</template>
<script>
......@@ -252,11 +259,15 @@
bannerList: [],
newRecordBean: null,
topList: [],
maskImage: 'https://mints-web.oss-cn-beijing.aliyuncs.com/images/bg_wx_guid.png',
showMask: false,
statusBarHeight: app.globalData.statusBarHeight,
};
},
methods: {
show() {
this.showMaskFuc()
// 匹配视频
this.showFirstDialog();
// 轮播图
......@@ -365,7 +376,19 @@
});
}, 800);
}
}
},
showMaskFuc() {
let showFollowMask = uni.getStorageSync('show-follow-mask') || '';
if (showFollowMask == '1') {
this.showMask = true
uni.setStorage({
key: 'show-follow-mask',
data: '2'
});
}
},
}
};
</script>
......@@ -376,6 +399,35 @@
position: relative;
}
.show-mask {
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.6);
z-index: 99;
position: absolute;
display: flex;
flex-direction: column;
align-items: center;
image {
margin-top: 200rpx;
width: 90%;
}
text {
margin-top: 200rpx;
border: 1px dashed #fff;
border-radius: 100rpx;
line-height: 100rpx;
text-align: center;
color: white;
font-size: 36rpx;
width: 40%;
height: 100rpx;
}
}
.item-wrap {
width: 100%;
border-radius: 10rpx;
......
......@@ -199,6 +199,14 @@
onShow() {
// 从VIP页面返回关闭弹框
this.down()
let showFollowMask = uni.getStorageSync('show-follow-mask') || '';
if (showFollowMask != '1' && showFollowMask != '2') {
uni.setStorage({
key: 'show-follow-mask',
data: '1'
});
}
},
methods: {
paySuccess(largeType) {
......
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