From 94ee7c17a591b164f982a2d76c02b17efd41f384 Mon Sep 17 00:00:00 2001 From: kola-web Date: Mon, 21 Jul 2025 14:58:38 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=8E=A5=E5=8F=A3=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/home/index.ts | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/pages/home/index.ts b/src/pages/home/index.ts index 1083a58..88afb2c 100644 --- a/src/pages/home/index.ts +++ b/src/pages/home/index.ts @@ -102,7 +102,7 @@ Page({ }, handleSwiperChange(e) { const current = e.detail.current; - const { Id } = this.data.bannerList[current]; + const { Id } = this.data.notice[current]; app.mpBehavior({ PositionId: '4', OperateType: '4', OperateId: Id }); this.setData({ current: e.detail.current, @@ -136,7 +136,7 @@ Page({ getBriefingList() { wx.ajax({ method: 'GET', - url: '?r=xd/doctor/index/get-latest-material', + url: '?r=xd/doctor/index/get-material-list', data: { count: 10, ContentType: 1, @@ -153,7 +153,7 @@ Page({ getSopList() { wx.ajax({ method: 'GET', - url: '?r=xd/doctor/index/get-latest-material', + url: '?r=xd/doctor/index/get-material-list', data: { count: 10, ContentType: 2, @@ -171,10 +171,7 @@ Page({ wx.ajax({ method: 'GET', url: '?r=xd/doctor/index/get-latest-material', - data: { - ContentType: 3, - count: 10, - }, + data: {}, }).then((res) => { res.list.forEach((item) => { item.PublishTime = dayjs(item.PublishTime).format('YYYY-MM-DD');