Commit 7e66e689 by 李嘉林

首页弹框

parent c69b8ab8
......@@ -39,14 +39,13 @@ export default {
components: {},
computed: {},
onShow() {
console.log('ImproveInformation-onShow->')
this.init();
},
created() {
this.init();
console.log('ImproveInformation-created->', wx.getStorageSync('sessionid'))
created() {},
mounted() {
// this.init();
// console.log('ImproveInformation-created->', wx.getStorageSync('sessionid'))
},
mounted() { },
methods: {
async init() {
if (wx.getStorageSync('notPromptFlag')) {
......
......@@ -44,7 +44,7 @@
<div class="btn">
<img src="http://cdn.mayi888.com/public/png/e5922aa4-5edd-4aee-909d-4a63c3459cd9.png" alt />
<span v-if="sessionId" @click="closeHandle">立即收下</span>
<span v-else @click="toReceive">立即领取</span>
<span v-else @click="toReceive">关闭</span>
</div>
<div class="bg">
<img src="http://cdn.mayi888.com/public/png/649d4190-80a8-43b2-a2ac-b8cb83daee1f.png" alt />
......@@ -157,7 +157,7 @@ export default {
position: absolute;
width: 100%;
margin: auto;
top: 4%;
top: 20%;
.name{
position: absolute;
width: 100%;
......@@ -250,7 +250,7 @@ export default {
}
.bg {
width: 95%;
height: 80vh;
height: 70vh;
margin:0 auto;
img{
width: 100%;
......
......@@ -1149,6 +1149,9 @@ export default {
}
}
}
if (!this.showgiftBag) {
this.$refs.ImproveInformation.init();
}
});
}
}, 1000);
......
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