Commit 91d04c8a authored by linwenqing's avatar linwenqing

refactor:证书样式调整

parent afbdea00
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
"navigationBarTitleText": "证书详情", "navigationBarTitleText": "证书详情",
"navigationStyle": "custom", "navigationStyle": "custom",
"enablePullDownRefresh": false, "enablePullDownRefresh": false,
"disableScroll": false "disableScroll": true
} }
} }
] ]
...@@ -249,7 +249,7 @@ ...@@ -249,7 +249,7 @@
"navigationBarTitleText": "证书详情-学时证", "navigationBarTitleText": "证书详情-学时证",
"navigationStyle": "custom", "navigationStyle": "custom",
"enablePullDownRefresh": false, "enablePullDownRefresh": false,
"disableScroll": false "disableScroll": true
} }
} }
] ]
......
...@@ -191,6 +191,9 @@ export default { ...@@ -191,6 +191,9 @@ export default {
// } catch (e) {} // } catch (e) {}
// this.tabsChange(this.current) // this.tabsChange(this.current)
}, },
onUnload(){
uni.hideLoading()
},
methods: { methods: {
submit(){ submit(){
if(!this.certId){ if(!this.certId){
...@@ -205,7 +208,11 @@ export default { ...@@ -205,7 +208,11 @@ export default {
personalCertNum: this.certId, personalCertNum: this.certId,
personalName: this.certName personalName: this.certName
} }
uni.showLoading({
title: '查询中,请稍后',
})
this.$u.api.getCertFromOut(param).then((res) => { this.$u.api.getCertFromOut(param).then((res) => {
uni.hideLoading()
if(!res){ if(!res){
this.$u.toast('证书暂未公布') this.$u.toast('证书暂未公布')
return return
...@@ -222,6 +229,7 @@ export default { ...@@ -222,6 +229,7 @@ export default {
} }
this.goDetail(data) this.goDetail(data)
}).catch((err) => { }).catch((err) => {
uni.hideLoading()
console.log(err) console.log(err)
return return
}) })
......
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