优化赞赏引导

This commit is contained in:
huanqing.shao
2019-09-09 12:43:41 +08:00
parent 4675713785
commit 4049e73ce2
4 changed files with 30 additions and 16 deletions

View File

@ -6,12 +6,16 @@
width="50%"
:append-to-body ="true">
<div style="text-align: center;">
<div style="margin-top: 10px;">本站所有内容<span style="color: red;">全部免费</span></div>
<div style="margin-top: 10px;">给一个 github star<span style="color: red;">给一份鼓励</span></div>
<div style="margin-top: 10px;">本站所有内容 <span style="color: red;">全部免费</span></div>
<div style="margin-top: 10px;">未打赏用户可进 QQ 群聊<span style="color: red;">打赏用户可进微信群聊</span></div>
<p>
<img src="../theme/layouts/dz.png" style="width: 150px;"></img>
</p>
<div style="margin-top: 10px;">
<span style="font-size: 13px;">扫第一个二维码完成打赏扫第二个进微信群聊</span>
<p style="margin-top: 10px;">
<img src="../theme/layouts/dz.png" style="width: 150px; margin-right: 150px;"></img>
<img src="../theme/layouts/dz2.jpeg" style="width: 150px;"></img>
</p>
</div>
<div style="margin-bottom: 10px;">不方便给打赏的话那就 <span style="color: red;">给一个 github star</span> </div>
<span>点击 够义气现在就去 此窗口将不再弹出请在 github Star本项目</span>
</div>
<span slot="footer" class="dialog-footer">
@ -42,14 +46,14 @@ export default {
methods: {
waitAMoment() {
this.dialogVisible = false
if (localStorage.getItem('stared') === 'true') {
if (localStorage.getItem('stared') === 'true1') {
return
}
let _this = this
setTimeout(_ => {
_this.dialogVisible = true
// }, 10000)
}, 60000 * 3)
}, 10000)
// }, 60000 * 3)
},
gotoStar() {
this.dialogVisible = false