fix: 增加云闪付过期弹窗提示

This commit is contained in:
zhangds 2024-06-18 16:21:44 +08:00
parent 8990a99207
commit ebea398cfe
2 changed files with 19 additions and 4 deletions

View File

@ -24,7 +24,7 @@
{{prompt_text}}
</div>
<!-- 弹出提示 -->
<model-pop @backFunction="backGoodsFn" :show.sync="popShow" title="温馨提示" :status="popStatus"
<model-pop @backFunction="backGoodsFn" :show_close="is" :show.sync="popShow" title="温馨提示" :status="popStatus"
:text="popText"></model-pop>
<div v-show="money" class="mask" @touchmove.prevent @mousewheel.prevent>
<div class="random-pop">
@ -119,7 +119,8 @@
cls: null,
money: 0,
isMini: false,
loading: false
loading: false,
is: false,
};
},
@ -137,6 +138,12 @@
/* 判断是否是微信小程序内 */
let ua = window.navigator.userAgent.toLowerCase();
this.isMini = /miniProgram/i.test(ua);
/* 初始弹窗 */
if (this.ysf && ![1, 9].includes(this.ysf.available)) {
this.is = true;
this.tip(product_status(this.ysf.available, this.ysf), 2);
}
},
methods: {

View File

@ -23,8 +23,9 @@
{{prompt_text}}
</div>
<!-- 弹出提示 -->
<model-pop @backFunction="backGoodsFn" :show.sync="popShow" title="温馨提示" :status="popStatus"
<model-pop @backFunction="backGoodsFn" :show_close="is" :show.sync="popShow" title="温馨提示" :status="popStatus"
:text="popText"></model-pop>
<div v-show="money" class="mask" @touchmove.prevent @mousewheel.prevent>
<div class="random-pop">
<p class="r-p-money"><span class="r-p-tag"></span>{{parseFloat(money)}}</p>
@ -117,7 +118,8 @@
cls: null,
money: 0,
isMini: false,
loading: false
loading: false,
is: false,
};
},
@ -130,6 +132,12 @@
/* 判断是否是微信小程序内 */
let ua = window.navigator.userAgent.toLowerCase();
this.isMini = /miniProgram/i.test(ua);
/* 初始弹窗 */
if (this.ysf && ![1, 9].includes(this.ysf.available)) {
this.is = true;
this.tip(product_status(this.ysf.available, this.ysf), 2);
}
},
methods: {