From 2bd7f45cb7fa8e38ff254b188dffc64186084573 Mon Sep 17 00:00:00 2001 From: duanxiaohai <1812246227@qq.com> Date: Tue, 18 Jul 2023 14:59:14 +0800 Subject: [PATCH] gx --- src/pagesD/xskz/index.vue | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/src/pagesD/xskz/index.vue b/src/pagesD/xskz/index.vue index dafdef2..17e4d09 100644 --- a/src/pagesD/xskz/index.vue +++ b/src/pagesD/xskz/index.vue @@ -33,8 +33,7 @@ controls :src="item.video" poster="../../static/orderE.png" - > - + > {{ item.title }} @@ -74,10 +73,12 @@ export default { video: "../../static/a1.mp4", play: true, }, - ], }; }, + onLoad() { + this.lytrelease(); + }, onShow() { // this.getData(); }, @@ -102,6 +103,20 @@ export default { console.log(e); }); }, + lytrelease() { + this.http + .request("/exhibition/list", {}, "get") + .then((res) => { + console.log(res.data); + // this.releasesNum[6].num = res.data.allCreateCount; + // this.releasesNum[6].time = res.data.lastUpdateAt; + // this.releasesNum[6].moon = res.data.monthReadCount; + // this.releasesNum[6].assemble = res.data.allReadCount; + }) + .catch((err) => { + console.log(err); + }); + }, }, };