Browse Source

首页接口参数调整

master
shaojing 2 years ago
parent
commit
524e0c7ea4
  1. 4
      app.js
  2. 3
      pages/index/index.wxss

4
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

3
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;

Loading…
Cancel
Save