Browse Source

首页改为水上游

master
chenkainan 1 year ago
parent
commit
f666595d4a
  1. 2
      app.js
  2. 2
      pages/index/imgSource.js
  3. 2
      pages/index/index.wxml
  4. 7
      pages/list/night/index.wxml
  5. 8
      pages/list/night/index.wxss

2
app.js

@ -21,7 +21,7 @@ App({
unique_key: "wechatxcx"
}).then(res => {
let data = JSON.parse(res.data);
data.isTest = data.isTest181? true : false;
data.isTest = data.isTest182? true : false;
this.globalData.configJson = data
}).then(() => {
// 获取ui配置文件

2
pages/index/imgSource.js

@ -9,7 +9,7 @@ const imageSource = {
"https://static.ticket.sz-trip.com/uploads/20250312/db946eebb863adc0bb020338c9edc271.png",
"https://static.ticket.sz-trip.com/uploads/20250312/e2cc47fa5a2d01d436dad0a85948f060.png",
"https://static.ticket.sz-trip.com/uploads/20250312/6d0c2112960ee56f5c15069e629dd5b4.png",
"https://static.ticket.sz-trip.com/jundaosuzhou/images/spring2025/ssy.png",
"https://static.ticket.sz-trip.com/uploads/20250312/a094d635976194782fbdcf2bc596b082.png",
"https://static.ticket.sz-trip.com/uploads/20250314/5238f9ee4762266abf0c279501ea4028.png",
],

2
pages/index/index.wxml

@ -76,7 +76,7 @@
</view> -->
<view bindtap="gotoPath" data-event="night_sz" data-title="夜游苏州" data-path="/pages/list/night/index" class="top-icon-item">
<image src="{{imageSourceList.mainFunImgs[7]}}" mode="widthFix"></image>
<view class="top-icon-text">夜游苏州</view>
<view class="top-icon-text">水上游</view>
</view>
<view bindtap="gotoUrl" data-event="card" data-title="一卡游苏州" data-url="https://m.cloud.sz-trip.com/OneDayTravelNew" class="top-icon-item">
<image src="{{imageSourceList.mainFunImgs[8]}}" mode="widthFix"></image>

7
pages/list/night/index.wxml

@ -1,13 +1,14 @@
<!--pages/list/night/index.wxml-->
<search bind:onload="search"></search>
<view class="night-types">
<!-- <view class="night-types">
<view class="night-type {{type=='10,11,12'?'active':''}}" bindtap="changeType" data-type="10,11,12">全部</view>
<view class="night-type {{type==10?'active':''}}" bindtap="changeType" data-type="10">线路</view>
<view class="night-type {{type==11?'active':''}}" bindtap="changeType" data-type="11">门票</view>
<view class="night-type {{type==12?'active':''}}" bindtap="changeType" data-type="12">演出</view>
</view>
<view style="height:87rpx"></view>
</view> -->
<!-- <view style="height:87rpx"></view> -->
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/shuishangyou.png" class="topImg"></image>
<view bindtap="gotoDetail" data-item="{{item}}" class="hotel-item" wx:for="{{list}}">
<image mode="widthFix" class="headimg" src="{{item.headimg}}"></image>
<view class="infos">

8
pages/list/night/index.wxss

@ -1,4 +1,8 @@
/* pages/list/night/index.wxss */
page {
background: #E6E5E3;
padding-bottom: 30rpx;
}
.night-types {
display: flex;
justify-content: space-around;
@ -38,6 +42,10 @@
margin-left: -23rpx;
bottom: 0;
}
.topImg {
width: 750rpx;
height: 333.33rpx;
}
.hotel-item {
width: 700rpx;
background: #FFFFFF;

Loading…
Cancel
Save