Commit d69564fc authored by Facius's avatar Facius

Merge branch 'dev-v1.0.0' of https://git.banshouhui.com/wuzhenzhe/study into dev-v1.0.0

parents debd1dbc 91d04c8a
...@@ -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
} }
} }
] ]
......
...@@ -123,7 +123,7 @@ export default { ...@@ -123,7 +123,7 @@ export default {
countryCertList: [], countryCertList: [],
learnCertList: [], learnCertList: [],
countryCertImage: process.uniEnv.qn_base_url + 'zhengshubeijing@2x.png', countryCertImage: process.uniEnv.qn_base_url + 'zhengshubeijing@2x.png',
learnCertImage: process.uniEnv.qn_base_url + 'xueshizhengmingbeijing@2x.png', learnCertImage: process.uniEnv.qn_base_url + 'xueshizhengmingbeijing@2x-1.png',
nothing: process.uniEnv.qn_base_url + 'zanwucuoti@3x.png', nothing: process.uniEnv.qn_base_url + 'zanwucuoti@3x.png',
isEmptyList: true,//学时证和国家证都为空显示空 isEmptyList: true,//学时证和国家证都为空显示空
value: '', value: '',
...@@ -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