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