Browse Source

Merge branch 'dev_temp'

master
jiazhipeng 1 year ago
parent
commit
a512cb6b49
  1. 11
      pages/index/imgSource.js
  2. 22
      pages/index/index.wxml
  3. 24
      pages/index/index.wxss

11
pages/index/imgSource.js

@ -11,6 +11,17 @@ const imageSource = {
"https://static.ticket.sz-trip.com/uploads/20241225/f0e901bc9ab4c988295e4a2f88cb3ffe.png",
"https://static.ticket.sz-trip.com/uploads/20241225/ebb4be1738d227f6deb3f895db663eed.png",
"https://static.ticket.sz-trip.com/uploads/20250313/11f63fdb6dea69c4f1b29677d74d1b3e.png",
"https://static.ticket.sz-trip.com/uploads/20250312/2453c4f3e932172905ed883190ef1356.png",
"https://static.ticket.sz-trip.com/uploads/20250312/c69cdbafb16ed468fef68eb77865e6ff.png",
"https://static.ticket.sz-trip.com/uploads/20250312/05dd30d02e74178134242cc64aaa11ac.png",
"https://static.ticket.sz-trip.com/uploads/20250312/e93e655b524001d25d7d4fd848f5bb3b.png",
"https://static.ticket.sz-trip.com/uploads/20250312/8e675fc57ea4b9e45f2fa7736bc03e7d.png",
"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/uploads/20250312/a094d635976194782fbdcf2bc596b082.png",
"https://static.ticket.sz-trip.com/uploads/20250312/11b1ab7ec62cc4022d4ce2f7c6ac0727.png",
],
// 数字文旅
SZWL: [

22
pages/index/index.wxml

@ -21,8 +21,8 @@
<view class="top-box" style="padding:0;margin-bottom:18rpx" wx:if="{{!isTest}}">
<navigator url="/pages/search/index" catchtap="pagePoint" data-event="search_click" class="search-box textOver">
<!-- <view class="iconfont icon-sousuo"></view> -->
<image src="https://static.ticket.sz-trip.com/uploads/20241225/59b88ab6ae2800ebe02f8c25eaf29636.png" class="iconfont" style="width: 26rpx;height: 26rpx;"></image>
<view class="textOver" style="color:rgba(41, 48, 90, 0.5);">搜索想要的旅游产品或服务</view>
<image src="https://static.ticket.sz-trip.com/uploads/20250312/656b4dde65f4237b2d7fe0ef65baa850.png" class="iconfont" style="width: 26rpx;height: 26rpx;"></image>
<view class="textOver" >搜索想要的旅游产品或服务</view>
</navigator>
</view>
<view style="position:relative;z-index: 1;">
@ -206,8 +206,8 @@
<!-- 数字文旅-->
<view class="sale-road-boxes" style="margin-top:0">
<image mode="heightFix" style="height:100rpx" src="{{indexSeason.wlcx}}"></image>
<image class="rmtj-right" src="{{imageSourceList.CBTP[0]}}" mode="" />
<image mode="heightFix" style="height:68rpx" src="{{indexSeason.wlcx}}"></image>
<image class="rmtj-right" src="{{imageSourceList.CBTP[0]}}" mode="" style="width: 346rpx;height: 88rpx;"/>
</view>
<view class="slide-out-box">
<!-- 元旦修改 .slide-box的原样式 height:360rpx-->
@ -278,7 +278,7 @@
<!-- 旅游助手 -->
<view class="sale-road-boxes" style="margin-top:0">
<image mode="heightFix" style="height:100rpx" src="{{indexSeason.lyzs}}"></image>
<image class="rmtj-right" src="{{imageSourceList.CBTP[1]}}" mode="" />
<image class="rmtj-right" src="{{imageSourceList.CBTP[1]}}" mode="" style="width: 276rpx;height: 76rpx;"/>
</view>
<view class="pic-list" style="margin-top:20rpx" wx:if="{{!isTest}}">
<image class="new-pic" bindtap="gotoUrl" data-event="dou_click" data-title="抖in苏州" data-url="https://m.cloud.sz-trip.com/ShakeInDetailList?id=350&class_id=27&index=1"
@ -314,17 +314,17 @@
<view>实时路况</view>
</view>
<view bindtap="xlzs" class="pbservice-item ggfw" >
<image src="https://static.ticket.sz-trip.com/uploads/20250115/18e8e2274a8191d0be0b8c63884ebe04.png" mode="widthFix"></image>
<image src="{{imageSourceList.GGFW[2]}}" mode="widthFix"></image>
<view>行李直送</view>
</view>
<view bindtap="gotoUrl" data-event="xlqc"
data-url="https://weixin.2500sz.net/zt/2023/07/luggage_storage/" class="pbservice-item ggfw" >
<image src="{{imageSourceList.GGFW[2]}}" mode="widthFix"></image>
<image src="{{imageSourceList.GGFW[3]}}" mode="widthFix"></image>
<view>行李寄存</view>
</view>
<view class="pbservice-item ggfw" data-event="toilet_public_click" data-title="找厕所" bindtap="gotoPath"
data-path="/pages/pbService/bike/index?type=1">
<image src="{{imageSourceList.GGFW[3]}}" mode="widthFix"></image>
<image src="{{imageSourceList.GGFW[4]}}" mode="widthFix"></image>
<view>找厕所</view>
</view>
</view>
@ -333,7 +333,7 @@
<!-- 十全十美 -->
<view class="sale-road-boxes">
<image mode="heightFix" style="height:100rpx" src="{{indexSeason.sqj}}"></image>
<image class="rmtj-right" src="{{imageSourceList.CBTP[2]}}" mode="" />
<!-- <image class="rmtj-right" src="{{imageSourceList.CBTP[2]}}" mode="" /> -->
</view>
<view class="six-box-new" wx:if="{{!isTest}}">
<image bindtap="gotoPath" data-event="{{area_ids[index]}}_click" data-title="苏城六纪" data-path="/pages/list/six/index?area={{area_ids[index]}}" wx:for="{{imageSourceList.SQSM}}" src="{{item}}" mode="widthFix" wx:key="index">
@ -343,7 +343,7 @@
<!-- 长三角文旅平台 -->
<view class="sale-road-boxes" style="margin-top:0" wx:if="{{otherPlat}}">
<image mode="heightFix" style="height:100rpx" src="{{indexSeason.csjwlpt}}"></image>
<image class="rmtj-right" src="{{imageSourceList.CBTP[3]}}" mode="" />
<image class="rmtj-right" src="{{imageSourceList.CBTP[3]}}" mode="" style="width: 180rpx;height: 144rpx;"/>
</view>
<view class="other-plats" wx:if="{{otherPlat&&!isTest}}">
<view class="other-plat" wx:for="{{otherPlat}}" bindtap="gotoOther" data-item="{{item}}" wx:key="index">
@ -355,7 +355,7 @@
<!-- 热门推荐 -->
<view class="sale-road-boxes" style="margin-top:0">
<image mode="heightFix" style="height:100rpx" src="{{indexSeason.rmtj}}"></image>
<image class="rmtj-right" src="{{imageSourceList.CBTP[4]}}" mode="" />
<image class="rmtj-right" src="{{imageSourceList.CBTP[4]}}" mode="" style="width: 188rpx;height: 80rpx;"/>
</view>
<view class="hot-list" wx:if="{{isTest==false}}">
<view class="hot-list-item" wx:for="{{2}}" wx:for-index="number" wx:key="number">

24
pages/index/index.wxss

@ -4,9 +4,10 @@ page {
/* background: #9DDCF5; */
padding-bottom: 36.67rpx;
background-image: url('https://static.ticket.sz-trip.com/uploads/20241225/79918a9171dcf85365935419e4717519.jpg');
/* background-image: url('https://static.ticket.sz-trip.com/uploads/20241225/79918a9171dcf85365935419e4717519.jpg');
background-repeat: repeat-y;
background-size: 100% 100%;
background-size: 100% 100%; */
background: #F3FBFB;
}
.swiper,.swiper image {
width: 697rpx;
@ -39,22 +40,13 @@ page {
.search-box {
flex: 1;
width: 100%;
/* height: 64rpx; */
/* background: rgba(255, 255, 255, 0.6); */
/* border-radius: 32rpx; */
/* color: #666; */
/* height: 70.67rpx; */
height: 64rpx;
/* background: rgba(255,255,255,0.7); */
border-radius: 0rpx;
/* color: #72674E; */
color: #333333;
/* background-image: url("https://static.ticket.sz-trip.com//uploads/20240228/10b93c1389ef5dfc02d07c4091af8f2d.png");
background-size: 100% 100%; */
color: #15B593;
display: flex;
align-items: center;
font-size: 25rpx;
background-image: url("https://static.ticket.sz-trip.com/uploads/20241225/510a67a1e78a9eb1aeb6e049348d4701.png");
background-image: url("https://static.ticket.sz-trip.com/uploads/20250312/6cc354588441d7f89a36a91d7e1edd52.png");
background-size: 100% 100%;
padding: 2rpx 5rpx;
box-sizing: border-box;
@ -847,7 +839,7 @@ page {
font-size: 27rpx;
font-family: DIN;
font-weight: 500;
color: #FF6A57;
color: #D62828;
text-align: center;
}
.time-box text {
@ -911,7 +903,7 @@ page {
border-radius: 0rpx;
overflow: hidden;
position: relative;
background-image: url("https://static.ticket.sz-trip.com/uploads/20241225/ba525775a8361dd502c88a4e46552483.png");
background-image: url("https://static.ticket.sz-trip.com/uploads/20250312/004153a812042b46ca750146f5259ef7.png");
background-size: 100% 100%;
padding: 3rpx;
}
@ -952,7 +944,7 @@ page {
height: 153rpx;
display: flex;
margin-bottom: 13rpx;
background-image: url("https://static.ticket.sz-trip.com/uploads/20241225/d469064b1bcf6c2f7cd59786e66fc249.png");
background-image: url("https://static.ticket.sz-trip.com/uploads/20250312/a41b881279749fba4c506c164914b601.png");
background-size: 100% 100%;
padding: 1rpx;
}

Loading…
Cancel
Save