From 524e0c7ea42376ef25f3c512cb3bfbf0f368e27d Mon Sep 17 00:00:00 2001 From: shaojing <2901156235@qq.com> Date: Fri, 1 Mar 2024 15:15:57 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=8E=A5=E5=8F=A3=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 4 ++-- pages/index/index.wxss | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app.js b/app.js index 1502125..072f326 100644 --- a/app.js +++ b/app.js @@ -21,11 +21,11 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest99? true : false; + data.isTest = data.isTest100? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 - commonApi._post("adv/get_home_ui", {}).then(res => { + commonApi._post("adv/get_home_ui", {type_id: 3}).then(res => { let obj = {} res.data.content.forEach(item => { obj[item.id] = item.image diff --git a/pages/index/index.wxss b/pages/index/index.wxss index 92da428..06c0e4f 100644 --- a/pages/index/index.wxss +++ b/pages/index/index.wxss @@ -5,7 +5,8 @@ page { padding-bottom: 36.67rpx; /* background-image: url("https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/indexBg.png"); */ background-size: 100% 100%; - /* background: #FFF6E8; */ + background: url("https://static.ticket.sz-trip.com/uploads/20240227/0c1fbee84d17f1089aabb3ee81ddbfec.png"); + background-repeat: round; } .swiper,.swiper image { width: 690rpx;