Commit 8a669adc by zhangzhen

细节优化

parent 0117dda4
......@@ -73,6 +73,7 @@
this.$refs.popupPhone.close()
},
onGetPhoneNumber(e){
if(e.detail.errMsg !== "getPhoneNumber:ok") return;
let that = this;
this.phoneCode = e.detail.code;
wx.login({
......@@ -85,6 +86,7 @@
phoneCode: this.phoneCode,
type: "routine",
}).then(res => {
uni.hideLoading();
if (res.data.code == 200) {
uni.setStorageSync('tokenHeaders', "Authori-zation")
uni.setStorage({
......
......@@ -43,6 +43,7 @@
})
},
onGetPhoneNumber(e){
if(e.detail.errMsg !== "getPhoneNumber:ok") return;
let that = this;
this.phoneCode = e.detail.code;
wx.login({
......@@ -55,6 +56,7 @@
phoneCode: this.phoneCode,
type: "routine",
}).then(res => {
uni.hideLoading();
if (res.data.code == 200) {
uni.setStorageSync('tokenHeaders', "Authori-zation")
uni.setStorage({
......
......@@ -125,7 +125,7 @@ import moment from "@/common/moment";
1:"#e51771",
2:"#aaaaaa",
3:"#EE8A1A",
4:"#ff49ef",
4:"#EE8A1A",
5:"#ff0000",
6:"#999999",
},
......@@ -153,7 +153,7 @@ import moment from "@/common/moment";
{
label:"保洁中",
status:4,
color:"#ff49ef"
color:"#EE8A1A"
}
],
cleanStatusEnum:{},
......
......@@ -135,6 +135,7 @@
})
},
onLoading(d) {
console.log(d,"d");
getUseCoupon(d).then(res => {
if (res.statusCode == 200) {
if (res.data && res.data.data.length) {
......
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