From ade564ef155baf05306c9f33054f3605c644940e Mon Sep 17 00:00:00 2001 From: linju-json Date: Fri, 7 May 2021 17:20:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=AE=BE=E7=BD=AE=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E6=89=93=E5=BC=80=E5=8D=A1=E9=A1=BF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js_sdk/request.js | 2 +- pages.json | 2 +- pages/list/detail.vue | 2 +- .../login-page/phone-code/phone-code.vue | 4 +- .../login-page/pwd-retrieve/pwd-retrieve.vue | 5 +-- pages/ucenter/settings/settings.vue | 44 +++++++++---------- uniCloud-aliyun/cloudfunctions/test/index.js | 8 ++++ 7 files changed, 36 insertions(+), 31 deletions(-) create mode 100644 uniCloud-aliyun/cloudfunctions/test/index.js diff --git a/js_sdk/request.js b/js_sdk/request.js index 06e79c1e..97d1eeaf 100644 --- a/js_sdk/request.js +++ b/js_sdk/request.js @@ -8,7 +8,7 @@ const debug = true;//开启后,会alert错误信息 export default function request(name,params,callback=false,{showLoading=false,loadText='',fail=()=>{}}={}){ // console.log('request'); - showLoading||loadText? uni.showLoading({title:loadText}):''; + showLoading||loadText? uni.showLoading({title:loadText,mask:true}):''; let routers = name.split('/'); var action = false if (routers.length>1){ diff --git a/pages.json b/pages.json index 9b612706..95c56c9c 100644 --- a/pages.json +++ b/pages.json @@ -156,7 +156,7 @@ }, { "path": "pages/ucenter/login-page/pwd-retrieve/pwd-retrieve", "style": { - "navigationBarTitleText": "" + "navigationBarTitleText": "重置密码" } }, { "path": "pages/ucenter/login-page/phone-code/phone-code", diff --git a/pages/list/detail.vue b/pages/list/detail.vue index 560879a9..17514168 100644 --- a/pages/list/detail.vue +++ b/pages/list/detail.vue @@ -109,7 +109,7 @@ icon: 'none', title: '出错了,新闻ID为空' }) - } + } }, methods: { setFavorite() { diff --git a/pages/ucenter/login-page/phone-code/phone-code.vue b/pages/ucenter/login-page/phone-code/phone-code.vue index 0f84acbb..548f6933 100644 --- a/pages/ucenter/login-page/phone-code/phone-code.vue +++ b/pages/ucenter/login-page/phone-code/phone-code.vue @@ -50,8 +50,8 @@ e=>{ console.log(e); this.loginSuccess(e) - } - ) + }, + {showLoading:true}) } } } diff --git a/pages/ucenter/login-page/pwd-retrieve/pwd-retrieve.vue b/pages/ucenter/login-page/pwd-retrieve/pwd-retrieve.vue index c2f4aa33..cda53b77 100644 --- a/pages/ucenter/login-page/pwd-retrieve/pwd-retrieve.vue +++ b/pages/ucenter/login-page/pwd-retrieve/pwd-retrieve.vue @@ -1,7 +1,6 @@