diff --git a/common/config.js b/common/config.js
index 59f8121..6a8ef20 100644
--- a/common/config.js
+++ b/common/config.js
@@ -1,2 +1,2 @@
-export const $apiLinks = "http://qg2.njrenzhou.cn/" // api 接口地址
-export const baseUrl = "http://qg2.njrenzhou.cn/"
\ No newline at end of file
+export const $apiLinks = "https://qg2.njrenzhou.cn/" // api 接口地址
+export const baseUrl = "https://qg2.njrenzhou.cn/"
\ No newline at end of file
diff --git a/pages/Information/Information.vue b/pages/Information/Information.vue
index f55a73b..de1d949 100644
--- a/pages/Information/Information.vue
+++ b/pages/Information/Information.vue
@@ -59,7 +59,7 @@
onLoad(option) {
this.nickname = option.name
this.avatarUrl = option.avatar
- console.log(option)
+
},
methods:{
uploadAvatar(){
@@ -79,10 +79,13 @@
})
for (let i = 0; i < lists.length; i++) {
const result = await this.uploadFilePromise(lists[i].url)
- console.log(result,"===")
this.avatarUrl = JSON.parse(result).data.fullurl;
this.avatarUrl_short = JSON.parse(result).data.url;
-
+ updateUserInfo({avatar:this.avatarUrl}).then(res=>{
+ this.$refs.uToast.show({
+ message:'修改头像成功'
+ })
+ })
}
},
@@ -99,7 +102,7 @@
formData: {
},
success: (res) => {
- console.log(res)
+
if(JSON.parse(res.data).code==1){
setTimeout(() => {
this.finishImageList.push({url:JSON.parse(res.data).data.fullurl,path:JSON.parse(res.data).data.url})
@@ -130,7 +133,7 @@
animation: 0
}).then((res)=>{
this.nickname = res.value;
- console.log(res)
+
updateUserInfo({nickname:res.value}).then(res=>{
this.$refs.uToast.show({
message:'修改成功'
diff --git a/pages/my/my.vue b/pages/my/my.vue
index 78f595f..113ade1 100644
--- a/pages/my/my.vue
+++ b/pages/my/my.vue
@@ -26,7 +26,7 @@
- {{userInfo.mobile}}
+ {{userInfo.mobile.replace(/^(\d{3})\d{4}(\d{4})/,'$1****$2')}}
diff --git a/pages/shoukuan/shoukuan.scss b/pages/shoukuan/shoukuan.scss
index 2752356..5509b06 100644
--- a/pages/shoukuan/shoukuan.scss
+++ b/pages/shoukuan/shoukuan.scss
@@ -119,7 +119,16 @@
}
}
}
-/deep/.u-upload__button{
- border:1px solid #aaa;
- margin:30rpx auto;
+.zfb{
+ text-align: center;
+ image{
+ width:200rpx;
+ height:200rpx;
+ margin:100rpx auto;
+ }
+ .mesInfo{
+ margin-top: 26rpx;
+ font-size: 26rpx;
+ color: #999;
+ }
}
\ No newline at end of file
diff --git a/pages/shoukuan/shoukuan.vue b/pages/shoukuan/shoukuan.vue
index 796dcf9..d6016ca 100644
--- a/pages/shoukuan/shoukuan.vue
+++ b/pages/shoukuan/shoukuan.vue
@@ -47,23 +47,34 @@
+
+
+
+
+
+
+ 微信收款码,上传后将无法修改,请认真上传。
+
@@ -71,7 +82,7 @@
手机号
-
+
@@ -81,7 +92,7 @@
-
+
获取验证码
@@ -89,7 +100,7 @@
-
+
{{activeIndex==1?'保存银行卡':activeIndex==2?'保存支付宝二维码':activeIndex==3?'保存微信二维码':''}}
@@ -100,7 +111,8 @@
diff --git a/static/image/up_img.png b/static/image/up_img.png
new file mode 100644
index 0000000..ce3c61d
Binary files /dev/null and b/static/image/up_img.png differ
diff --git a/unpackage/dist/build/h5/index.html b/unpackage/dist/build/h5/index.html
index d4b721c..438b6a3 100644
--- a/unpackage/dist/build/h5/index.html
+++ b/unpackage/dist/build/h5/index.html
@@ -1,2 +1,2 @@
商城
\ No newline at end of file
+ document.write('')