|
@@ -295,10 +295,12 @@ Page({
|
|
|
showCancel: false
|
|
|
})
|
|
|
})
|
|
|
+ wx.showNavigationBarLoading()
|
|
|
appointmentList({
|
|
|
status: 1,
|
|
|
currentPage: 1
|
|
|
}).then(res => {
|
|
|
+ wx.hideNavigationBarLoading()
|
|
|
if (res.data.vos.length !== 0) {
|
|
|
const response = res.data.vos || []
|
|
|
response.map(item => {
|
|
@@ -315,15 +317,19 @@ Page({
|
|
|
topBarObj: null
|
|
|
})
|
|
|
}
|
|
|
+ }).catch(e => {
|
|
|
+ wx.hideNavigationBarLoading()
|
|
|
})
|
|
|
// 获取图片资源
|
|
|
appGetConfigImg({
|
|
|
'imgType': '5'
|
|
|
}).then(configRes => {
|
|
|
- console.log(configRes.data[0].imgUrl, 'configRes')
|
|
|
+ wx.hideNavigationBarLoading()
|
|
|
that.setData({
|
|
|
homepageImg: configRes.data[0].imgUrl
|
|
|
})
|
|
|
+ }).catch(e => {
|
|
|
+ wx.hideNavigationBarLoading()
|
|
|
})
|
|
|
},
|
|
|
|