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