|
@@ -1,7 +1,8 @@
|
|
|
// pages/my/my.js
|
|
|
-import { getAccountNmber } from '../../api/appointment'
|
|
|
+import { getAccountNmber, appointmentList } from '../../api/appointment'
|
|
|
import { documentList } from "../../api/document"
|
|
|
-import { appointmentList } from '../../api/appointment'
|
|
|
+import { appGetConfigImg } from '../../api/index'
|
|
|
+
|
|
|
const app = getApp()
|
|
|
Page({
|
|
|
|
|
@@ -68,7 +69,8 @@ Page({
|
|
|
url: '/pages/aatest/test',
|
|
|
imgUrl: '../../imaes/shezhi@2x.png'
|
|
|
} */
|
|
|
- ]
|
|
|
+ ],
|
|
|
+ imageList: []
|
|
|
},
|
|
|
|
|
|
onShow () {
|
|
@@ -92,6 +94,22 @@ Page({
|
|
|
})
|
|
|
this.getAccountNmberFn()
|
|
|
this.appointmentListFn()
|
|
|
+ this.getAppGetConfigImg()
|
|
|
+ },
|
|
|
+
|
|
|
+ getAppGetConfigImg() {
|
|
|
+ const that = this
|
|
|
+ wx.showNavigationBarLoading()
|
|
|
+ // 类型 【1.关于我的 2.用户协议 3.我的 4.实体卡兑换说明 】
|
|
|
+ appGetConfigImg({
|
|
|
+ 'imgType': '3'
|
|
|
+ }).then(configRes => {
|
|
|
+ wx.hideNavigationBarLoading()
|
|
|
+ console.log(configRes, 'configRes my')
|
|
|
+ that.setData({
|
|
|
+ imageList: configRes.data || []
|
|
|
+ })
|
|
|
+ })
|
|
|
},
|
|
|
|
|
|
// 获取用户档案信息
|