diff --git a/packkey/ysf-reduce.html b/packkey/ysf-reduce.html
index a42a8c3..660698e 100644
--- a/packkey/ysf-reduce.html
+++ b/packkey/ysf-reduce.html
@@ -148,10 +148,10 @@
this.isMini = /miniProgram/i.test(ua);
/* 初始弹窗 */
- // if (![1, 9].includes(this.ysf.available)) {
- // this.is = true;
- // this.tip(product_status(this.ysf.available, this.ysf), 2);
- // }
+ if (![1, 9].includes(this.ysf.available)) {
+ this.is = true;
+ this.tip(product_status(this.ysf.available, this.ysf), 2);
+ }
/* 倒计时 */
const key_expiration_time = sessionStorage.getItem('key_expiration_time');
diff --git a/packkey/zfb-redPackets.html b/packkey/zfb-redPackets.html
index 3283c99..db0b99c 100644
--- a/packkey/zfb-redPackets.html
+++ b/packkey/zfb-redPackets.html
@@ -119,7 +119,7 @@
const emailReg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;
new Vue({
el: "#redPacketsViews",
- data () {
+ data() {
return {
popShow: false,
popText: '请点击下方[复制]按钮,复制链接到浏览器打开!',
@@ -141,7 +141,7 @@
modelPop
},
- mounted () {
+ mounted() {
// 领取成功结算 5
if (bm_obj_data && !bm_obj_data.settlement_data.is_settlement && bm_obj_data.settlement_data.settlement_type === 5) {
settlementFun(bm_obj_data.token, bm_obj_data.settlement_data.settlement_type);
@@ -150,15 +150,15 @@
document.title = localStorage.getItem('title');
// /* 初始弹窗 */
- // if (this.goodsInfo.available == 8) {
- // this.is = true;
- // this.tip(product_status(this.goodsInfo.available, this.goodsInfo), 2);
- // }
+ if (this.goodsInfo.available == 8) {
+ this.is = true;
+ this.tip(product_status(this.goodsInfo.available, this.goodsInfo), 2);
+ }
},
methods: {
/* 立即领取 */
- receive () {
+ receive() {
let self = this;
const { receive_name, receive_account } = this.form;
if (this.loading) return;
@@ -206,7 +206,7 @@
},
- judgeEnvironment (order_number) {
+ judgeEnvironment(order_number) {
req.axiosPost('/alipay/cash/receive/account', { ...this.form, order_number })
.then(({ code, data, message }) => {
if (code == 200) {
@@ -236,7 +236,7 @@
},
/* 触发提示 */
- tip (text, status, bt) {
+ tip(text, status, bt) {
this.popText = text;
this.popStatus = status; /*1 成功 2提示 3失败 */
this.popShow = true;
@@ -244,7 +244,7 @@
/* 触发提示 */
- tips (text) {
+ tips(text) {
this.cls && clearTimeout(this.cls);
this.prompt_text = text;
this.promptShow = true;
@@ -255,7 +255,7 @@
/* 返回 */
- backGoodsFn () {
+ backGoodsFn() {
if (this.backAble) {
locationReplace('./homepage.html');
} else {
@@ -264,7 +264,7 @@
},
/* 动态font */
- fonts () {
+ fonts() {
const { cash_amount_type, min_denomination, max_denomination } = this.goodsInfo.entity;
const defaultCss = { b: '0.2rem', a: '0.32rem' };
if (cash_amount_type === '2') {
diff --git a/zfb-redPackets.html b/zfb-redPackets.html
index 24331ac..856c5c9 100644
--- a/zfb-redPackets.html
+++ b/zfb-redPackets.html
@@ -117,7 +117,7 @@
const emailReg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;
new Vue({
el: "#redPacketsViews",
- data () {
+ data() {
return {
popShow: false,
popText: '请点击下方[复制]按钮,复制链接到浏览器打开!',
@@ -139,19 +139,19 @@
modelPop
},
- mounted () {
+ mounted() {
document.title = localStorage.getItem('title');
- // /* 初始弹窗 */
- // if (this.goodsInfo.available == 8) {
- // this.is = true;
- // this.tip(product_status(this.goodsInfo.available, this.goodsInfo), 2);
- // }
+ /* 初始弹窗 */
+ if (this.goodsInfo.available == 8) {
+ this.is = true;
+ this.tip(product_status(this.goodsInfo.available, this.goodsInfo), 2);
+ }
},
methods: {
/* 立即领取 */
- receive () {
+ receive() {
const { receive_name, receive_account } = this.form;
if (this.loading) return;
if (!receive_name) return this.tips('请输入真实姓名');
@@ -190,7 +190,7 @@
},
- judgeEnvironment (order_number) {
+ judgeEnvironment(order_number) {
req.axiosPost('/alipay/cash/receive/account', { ...this.form, order_number })
.then(({ code, data, message }) => {
if (code == 200) {
@@ -220,7 +220,7 @@
},
/* 触发提示 */
- tip (text, status, bt) {
+ tip(text, status, bt) {
this.popText = text;
this.popStatus = status; /*1 成功 2提示 3失败 */
this.popShow = true;
@@ -228,7 +228,7 @@
/* 触发提示 */
- tips (text) {
+ tips(text) {
this.cls && clearTimeout(this.cls);
this.prompt_text = text;
this.promptShow = true;
@@ -239,7 +239,7 @@
/* 返回 */
- backGoodsFn () {
+ backGoodsFn() {
if (this.backAble) {
window.location.replace('./homepage.html');
} else {
@@ -248,7 +248,7 @@
},
/* 动态font */
- fonts () {
+ fonts() {
const { cash_amount_type, min_denomination, max_denomination } = this.goodsInfo.entity;
const defaultCss = { b: '0.2rem', a: '0.32rem' };
if (cash_amount_type === '2') {