From 0375a599e25b7f27c57d8c00f801761d9cce8aa2 Mon Sep 17 00:00:00 2001 From: yiming <m13691596795@163.com> Date: 星期二, 05 三月 2024 18:12:17 +0800 Subject: [PATCH] revert: 阿斯顿 --- pages/aboutUs/index.js | 17 +++++++++-------- 1 files changed, 9 insertions(+), 8 deletions(-) diff --git a/pages/aboutUs/index.js b/pages/aboutUs/index.js index 7f5f5f5..135af2c 100644 --- a/pages/aboutUs/index.js +++ b/pages/aboutUs/index.js @@ -1,6 +1,6 @@ // pages/aboutUs/index.js const app = getApp() -import drawQrcode from './js/weapp.qrcode' +// import drawQrcode from './js/weapp.qrcode' Page({ /** @@ -9,7 +9,6 @@ data: { aboutText: null, swiperList: null, - qrcodeWidth: 0, current: 1,//杞挱鍥惧弬鏁� autoplay: true, //杞挱鍥惧弬鏁� duration: '500',//杞挱鍥惧弬鏁� @@ -104,22 +103,21 @@ }, getBanner() { + app.MG.resource.getItem({ path: 'jsek_banner\\jsek_aboutUsBanner', paging: { start: 0, size: 9 }, - coverSize: { - width: 250 - }, + fields: { jsek_link: [] } }).then(res => { - // console.log(res.datas[0].icon, 'res'); + this.setData({ bannerList: res.datas[0].icon, swiperList: res.datas[0].icon }) - // console.log(this.data.swiperList); + console.log(this.data.bannerList, 789); }) }, getAboutText() { @@ -128,6 +126,9 @@ fields: { content: [] }, + coverSize: { + width: 750 + }, }).then(res => { console.log(res); @@ -135,7 +136,7 @@ aboutText: res.datas[0].content }) - console.log(this.data.aboutText); + }) } }) \ No newline at end of file -- Gitblit v1.9.1