diff --git a/app.js b/app.js index d1c771c..6573851 100644 --- a/app.js +++ b/app.js @@ -38,7 +38,7 @@ App({ // 获取前端配置文件 commonApi._post("pbservice/Other/getClientConfig", {unique_key: "wechatxcx"}).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest127? true : false; + data.isTest = data.isTest129? true : false; data.indexSeason = null this.globalData.configJson = data }).then(() => { diff --git a/pages/index/index.js b/pages/index/index.js index 0d7ca12..df7cf23 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -437,6 +437,7 @@ Page({ onReady: function() { this.getHeight() + this.getWeather() // 天气 this.getIndexSeason() this.getBanner() @@ -445,7 +446,7 @@ Page({ this.getList() // 回购榜 this.getRepurchaseList() - this.getWeather() // 2025-5-26首页改版不需要天气了 + // this.getFourProduct() // 活动日历 wx.getLocation({ diff --git a/pages/index/index.wxss b/pages/index/index.wxss index 1921768..ecd979b 100644 --- a/pages/index/index.wxss +++ b/pages/index/index.wxss @@ -65,7 +65,7 @@ justify-content: space-between; padding: 0rpx 20rpx 30rpx; box-sizing: border-box; - background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.2)) + /* background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.2)) */ } .banner-main image{ width: 173.33rpx; diff --git a/utils/https.js b/utils/https.js index 9dbc3ee..4ecfe51 100644 --- a/utils/https.js +++ b/utils/https.js @@ -1,8 +1,8 @@ var app = getApp(); import util from "../utils/util" // import userApi from "../utils/https/user.js"; -const baseUrl = "https://test.api.cloud.sz-trip.com/api/"; -// let baseUrl = "https://api.cloud.sz-trip.com/api/"; +// const baseUrl = "https://test.api.cloud.sz-trip.com/api/"; +let baseUrl = "https://api.cloud.sz-trip.com/api/"; const env = wx.getAccountInfoSync().miniProgram.envVersion if (env == 'develop1') { baseUrl = "https://test.api.cloud.sz-trip.com/api/"