diff --git a/.env.production b/.env.production index 454ac2c..c36eacc 100644 --- a/.env.production +++ b/.env.production @@ -2,4 +2,5 @@ ENV = 'production' VUE_APP_BASE_API = 'https://jiqu-library.peidikeji.cn/api' +# VUE_APP_BASE_API = 'https://jiqu-library.abcdefg.fun/api' diff --git a/src/pageB/select_store/index.vue b/src/pageB/select_store/index.vue index 745769f..79b64bb 100644 --- a/src/pageB/select_store/index.vue +++ b/src/pageB/select_store/index.vue @@ -3,7 +3,7 @@ 线上预约店 - + @@ -40,12 +40,20 @@ export default { noMoreSize: 1, }, dataList: [], //获取到的数据 + image: '/static/images/user/u=2313295534,3451005153&fm=253&fmt=auto&app=138&f=JPEG.webp', }; }, onLoad() { setTimeout(() => { this.isFirstLoading = false; }, 300); + this.$api.get(`/v1/ads`, { params: { keys: 'wechat_mini_store_online' }}).then(res => { + let url = '/static/images/user/u=2313295534,3451005153&fm=253&fmt=auto&app=138&f=JPEG.webp' + if (res && res.wechat_mini_store_online.length > 0) { + url = res.wechat_mini_store_online[0].image + } + this.image = url + }) }, methods: { downCallback() {