From 9607e7e25475d7533944f2218eb0a40189c343f2 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期五, 03 五月 2024 22:07:01 +0800
Subject: [PATCH] mrshi
---
wx/unpackage/dist/dev/mp-weixin/pages/addition_subtraction_details/addition_subtraction_details.js | 47 +++++++++++++++++++++++++++--------------------
1 files changed, 27 insertions(+), 20 deletions(-)
diff --git a/wx/unpackage/dist/dev/mp-weixin/pages/addition_subtraction_details/addition_subtraction_details.js b/wx/unpackage/dist/dev/mp-weixin/pages/addition_subtraction_details/addition_subtraction_details.js
index bb21999..ef114e6 100644
--- a/wx/unpackage/dist/dev/mp-weixin/pages/addition_subtraction_details/addition_subtraction_details.js
+++ b/wx/unpackage/dist/dev/mp-weixin/pages/addition_subtraction_details/addition_subtraction_details.js
@@ -238,7 +238,8 @@
code: '',
num: 0,
error: false,
- timer: null
+ timer: null,
+ loading: false
};
},
onLoad: function onLoad(options) {
@@ -289,13 +290,14 @@
},
// 鎵撳紑鍙戦�侀獙璇佺爜寮圭獥
openmessage: function openmessage(type) {
- this.code = '';
- clearInterval(this.timer);
- this.error = '';
- this.timer = null;
- this.num = 0;
+ // this.code = ''
+ // clearInterval(this.timer)
+ // this.error = ''
+ // this.timer = null
+ // this.num = 0
this.type = type;
- this.show1 = true;
+ this.confirm1();
+ // this.show1 = true
},
IdCard: function IdCard(UUserCard) {
var idcard = UUserCard.toString();
@@ -366,10 +368,11 @@
// 绛剧讲
confirm1: function confirm1() {
var _this6 = this;
- if (!this.code) {
- this.error = 1;
- return;
- }
+ // if (!this.code) {
+ // this.error = 1
+ // return
+ // }
+ this.loading = true;
// 绛剧讲鎶曚繚鍗�
if (this.type === 1) {
console.log('绛剧讲鐢宠鍗�');
@@ -377,22 +380,24 @@
code: this.code
}).then(function (res) {
if (res.code === 200) {
- _this6.error = '';
- _this6.show1 = false;
+ // this.error = ''
+ // this.show1 = false
_this6.$u.api.getJiajianBaoSignLink({
id: _this6.info.id
}).then(function (url) {
if (url.code === 200) {
+ _this6.loading = false;
uni.navigateTo({
url: "/pages/webView/webView?url=".concat(encodeURIComponent(url.data))
});
}
});
- } else {
- _this6.error = 2;
}
+ // else {
+ // this.error = 2
+ // }
});
- this.show1 = false;
+ // this.show1 = false
// 鐢宠鍗�
} else if (this.type === 2) {
this.$u.api.getChangeMemberListOnlineSignLink({
@@ -400,14 +405,16 @@
code: this.code
}).then(function (res) {
if (res.code === 200) {
- _this6.error = '';
- _this6.show1 = false;
+ // this.error = ''
+ // this.show1 = false
+ _this6.loading = false;
uni.navigateTo({
url: "/pages/webView/webView?url=".concat(encodeURIComponent(res.data))
});
- } else {
- _this6.error = 2;
}
+ // else {
+ // this.error = 2
+ // }
});
}
},
--
Gitblit v1.9.3