@ -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(() => {
@ -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({
@ -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;
@ -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/";
// const baseUrl = "https://test.api.cloud.sz-trip.com/api/";
// let baseUrl = "https://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/"