diff --git a/pages/user/generatePoster/generatePoster.vue b/pages/user/generatePoster/generatePoster.vue index 8e889ba..1066c21 100644 --- a/pages/user/generatePoster/generatePoster.vue +++ b/pages/user/generatePoster/generatePoster.vue @@ -1,6 +1,17 @@ @@ -8,18 +19,29 @@ import { promotionalPosters } from '../../../Utils/Api.js'; + let app = getApp(); export default { data() { return { - imgs: '' + imgs: '', + imagewxUrl: app.globalData.imageWxImg, + imgadres1: 'extension/1.png', + imgadres2: 'extension/2.png', + imgadres3: 'extension/3.png', + imgadres4: 'extension/4.png', + imgadres5: 'extension/5.png', } }, onLoad() { this.promotionalPosters(); }, methods: { - promotionalPosters() { - promotionalPosters().then(res => { + promotionalPosters() { + uni.showLoading({ + title:'加载中' + }) + promotionalPosters().then(res => { + uni.hideLoading(); if (res.return_code == '000000') { this.imgs = res.return_data; } @@ -30,5 +52,7 @@