123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- import { appGetConfigImg } from '../../api/index'
- Page({
-
- data: {
- webViewSrc: ''
- },
-
- onShow() {
- this.getAppGetConfigImg()
- },
- getAppGetConfigImg() {
- const that = this
- wx.showNavigationBarLoading()
-
- appGetConfigImg({
- 'imgType': '2'
- }).then(configRes => {
- wx.hideNavigationBarLoading()
- console.log(configRes, 'configRes')
- that.setData({
- webViewSrc: configRes.data[0].imgUrl
- })
- })
- },
-
- onUnload() {
- },
-
- onPullDownRefresh() {
- },
-
- onReachBottom() {
- },
-
- onShareAppMessage() {
- }
- })
|