From 74bf1bbdcc099280b53e900adf67670ed7e3dd8f Mon Sep 17 00:00:00 2001
From: 安瑾然 <m17681517455@outlook.com>
Date: 星期五, 03 三月 2023 17:18:12 +0800
Subject: [PATCH] 修改首页公共宣传页面进入列表会被图片隐藏的bug
---
miniprogram/pages/user/pubulicty/index.ts | 37 ++++++++++++++++++-------------------
1 files changed, 18 insertions(+), 19 deletions(-)
diff --git a/miniprogram/pages/user/pubulicty/index.ts b/miniprogram/pages/user/pubulicty/index.ts
index 691b34d..7f880b5 100644
--- a/miniprogram/pages/user/pubulicty/index.ts
+++ b/miniprogram/pages/user/pubulicty/index.ts
@@ -3,24 +3,23 @@
const userCause = getApp()
Page({
- data: {
- causeList:[],
- isShow:false
- },
- // 浜嬩欢澶勭悊鍑芥暟
- onLoad() {
- wx.request(
- {
- url:userCause.globalData.url+"/wx/publicity",
- method:"GET",
- header:{'token':wx.getStorageSync('token')},
- success:(res)=>{
- console.log(res)
- this.setData({
- causeList:res.data.data
- })
-
- }
- })
+ data: {
+ causeList: [],
+ isShow: false
+ },
+ // 浜嬩欢澶勭悊鍑芥暟
+ onLoad() {
+ wx.request(
+ {
+ url: userCause.globalData.url + "/wx/publicity",
+ method: "GET",
+ header: { 'token': wx.getStorageSync('token') },
+ success: (res) => {
+ console.log(res)
+ this.setData({
+ causeList: res.data.data
+ })
+ }
+ })
}
})
--
Gitblit v1.8.0