diff --git a/pages/goodsDetail/index.vue b/pages/goodsDetail/index.vue index 818f869..5f019d4 100644 --- a/pages/goodsDetail/index.vue +++ b/pages/goodsDetail/index.vue @@ -56,11 +56,11 @@ 包含项目 - + {{item.name}} {{item.num}} @@ -127,11 +127,11 @@ 包含项目 - + {{item.name}} {{item.num}} diff --git a/pages/order/order.vue b/pages/order/order.vue index 3756c36..458ebf2 100644 --- a/pages/order/order.vue +++ b/pages/order/order.vue @@ -25,7 +25,6 @@ - diff --git a/pages/search/searchList.vue b/pages/search/searchList.vue index 876c7fc..1c7a8a9 100644 --- a/pages/search/searchList.vue +++ b/pages/search/searchList.vue @@ -7,9 +7,9 @@ - - - + + + diff --git a/pages/verification/index.vue b/pages/verification/index.vue index 60eeed5..cfaa90d 100644 --- a/pages/verification/index.vue +++ b/pages/verification/index.vue @@ -1,9 +1,12 @@ @@ -12,7 +15,8 @@ data() { return { userInfo: '', - loadOptions: '' + loadOptions: '', + haveVerfiy: false } }, onLoad(options) { @@ -33,8 +37,6 @@ if(event.detail.errMsg == 'getPhoneNumber:ok'){ let encryptedData = event.detail.encryptedData; let iv = event.detail.iv; - console.log('============',event); - // let userInfo = uni.getStorageSync('userinfo') || {}; this.$http(this.API.API_WECHAT_SETPHONE, { encryptedData, iv, @@ -45,12 +47,14 @@ let str = decodeURIComponent(this.loadOptions); this.$http(this.API.API_CONFIRM_CODE, {verify_code: str}).then(res => { this.$msg('核销成功!'); + this.haveVerfiy = true }); }) } }else { let str = decodeURIComponent(this.loadOptions); this.$http(this.API.API_CONFIRM_CODE, {verify_code: str}).then(res => { + this.haveVerfiy = true this.$msg('核销成功!'); }); } @@ -66,5 +70,19 @@ border-radius: 50%; background-color: #1998FE; color: white; + display: flex; + justify-content: center; + align-items: center; + } + + .cu-btn1 { + width: 260rpx; + height: 260rpx; + border-radius: 50%; + background-color: #777; + color: white; + display: flex; + justify-content: center; + align-items: center; }