Browse Source

酒景套餐

master
jiazhipeng 2 years ago
parent
commit
c18af5a02c
  1. 2
      app.js
  2. 246
      pages/index/index.wxml
  3. 26
      pages/info/postProductInfo/index.js
  4. 48
      pages/info/postProductInfo/index.wxml
  5. 95
      pages/info/postProductInfo/index.wxss
  6. 34
      pages/map/index.js
  7. 31
      pages/map/index.wxml
  8. 41
      pages/map/index.wxss
  9. 2
      pages/order/orderList/index.wxml
  10. 2
      pages/order/postOrder/index.wxml

2
app.js

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

246
pages/index/index.wxml

@ -4,8 +4,9 @@
<!-- <image class="top-bg-img" src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/spring22/flowerbg.png" mode="widthFix"></image> --> <!-- <image class="top-bg-img" src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/spring22/flowerbg.png" mode="widthFix"></image> -->
<!-- <image class="top-bg-img" src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/spring22/flower.gif" mode="widthFix"></image> --> <!-- <image class="top-bg-img" src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/spring22/flower.gif" mode="widthFix"></image> -->
<!-- 后台获取的季节动图 --> <!-- 后台获取的季节动图 -->
<image class="top-bg-img" src="{{indexSeason.topBac}}" mode="widthFix"></image> <view wx:if="{{!isTest}}">
<view wx:if="{{weather}}" class="top-box" style="height: 63rpx"> <image class="top-bg-img" src="{{indexSeason.topBac}}" mode="widthFix"></image>
<view wx:if="{{weather}}" class="top-box" style="height: 63rpx">
<image src="{{weather.icon2}}" style="margin-left:0" mode="aspectFill"></image> <image src="{{weather.icon2}}" style="margin-left:0" mode="aspectFill"></image>
<view class="weather-num">{{weather.max_temp}}°</view> <view class="weather-num">{{weather.max_temp}}°</view>
<view class="weather">{{weather.weather}}</view> <view class="weather">{{weather.weather}}</view>
@ -16,14 +17,14 @@
mode="aspectFill"></image> mode="aspectFill"></image>
<image bindtap="gotoPath" data-event="message_click" data-path="/pages/list/message/index" <image bindtap="gotoPath" data-event="message_click" data-path="/pages/list/message/index"
src="https://static.ticket.sz-trip.com/xcxImages/spring22/msg.png" mode="aspectFill"></image> --> src="https://static.ticket.sz-trip.com/xcxImages/spring22/msg.png" mode="aspectFill"></image> -->
</view> </view>
<view class="top-box" style="padding:0;margin-bottom:18rpx" wx:if="{{!isTest}}"> <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"> <navigator url="/pages/search/index" catchtap="pagePoint" data-event="search_click" class="search-box textOver">
<view class="iconfont icon-sousuo"></view> <view class="iconfont icon-sousuo"></view>
<view class="textOver">搜索想要的旅游产品或服务</view> <view class="textOver">搜索想要的旅游产品或服务</view>
</navigator> </navigator>
</view> </view>
<view style="position:relative;z-index: 1;"> <view style="position:relative;z-index: 1;">
<swiper class="swiper" autoplay="{{true}}" interval="{{5000}}" duration="{{300}}" bindchange="changeBannerIndex" circular> <swiper class="swiper" autoplay="{{true}}" interval="{{5000}}" duration="{{300}}" bindchange="changeBannerIndex" circular>
<block wx:for="{{banner}}" wx:key="*this"> <block wx:for="{{banner}}" wx:key="*this">
<swiper-item bindtap="bannerClick" data-item="{{item}}"> <swiper-item bindtap="bannerClick" data-item="{{item}}">
@ -34,17 +35,17 @@
<view class="com-flex dot-list"> <view class="com-flex dot-list">
<view class="dot{{index===activeBannerIndex?' active':''}}" wx:for="{{banner}}" wx:key="this"></view> <view class="dot{{index===activeBannerIndex?' active':''}}" wx:for="{{banner}}" wx:key="this"></view>
</view> </view>
</view> </view>
<!-- <swiper class="swiper" indicator-dots="{{true}}" <!-- <swiper class="swiper" indicator-dots="{{true}}"
autoplay="{{true}}" interval="{{5000}}" duration="{{300}}"> autoplay="{{true}}" interval="{{5000}}" duration="{{300}}">
<block wx:for="{{banner}}" wx:key="*this"> <block wx:for="{{banner}}" wx:key="*this">
<swiper-item bindtap="bannerClick2" data-item="{{item}}"> <swiper-item bindtap="bannerClick2" data-item="{{item}}">
<image src="{{item.img}}" mode="aspectFill"></image> <image src="{{item.img}}" mode="aspectFill"></image>
</swiper-item> </swiper-item>
</block> </block>
</swiper> --> </swiper> -->
<view class="top-icons" wx:if="{{!isTest}}"> <view class="top-icons" wx:if="{{!isTest}}">
<view bindtap="gotoPath" data-event="activity_click" data-title="活动日历" data-path="/pages/list/activitynew/index" class="top-icon-item"> <view bindtap="gotoPath" data-event="activity_click" data-title="活动日历" data-path="/pages/list/activitynew/index" class="top-icon-item">
<!-- 夏季修改 --> <!-- 夏季修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240606/ebe723260a0d46550c77307472180586.png" mode="widthFix"></image> <image src="https://static.ticket.sz-trip.com/uploads/20240606/ebe723260a0d46550c77307472180586.png" mode="widthFix"></image>
@ -115,8 +116,8 @@
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/icon10New.png" mode="widthFix"></image> --> <!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/icon10New.png" mode="widthFix"></image> -->
<view class="top-icon-text">研学游</view> <view class="top-icon-text">研学游</view>
</view> </view>
</view> </view>
<view class="content"> <view class="content">
<view class="sale-road-boxes" wx:if="{{false}}"> <view class="sale-road-boxes" wx:if="{{false}}">
<view class="sale-box" bindtap="gotoPath" data-event="discount_click" data-title="特惠新品" data-path="/pages/list/{{isTest==false?'sale':'scene'}}/index"> <view class="sale-box" bindtap="gotoPath" data-event="discount_click" data-title="特惠新品" data-path="/pages/list/{{isTest==false?'sale':'scene'}}/index">
<view class="sale-title"><text>特惠新品</text>超值商品限时抢购</view> <view class="sale-title"><text>特惠新品</text>超值商品限时抢购</view>
@ -172,7 +173,7 @@
</view> </view>
<!-- 2024年 夏季改UI新增景区舒适度和实时路况 --> <!-- 2024年 夏季改UI新增景区舒适度和实时路况 -->
<view style="display: flex;"> <view style="display: flex;">
<view bindtap="gotoUrl" data-event="comfort_click" data-title="景区舒适度" data-url="https://test.m.cloud.sz-trip.com/aiPlay" class="jqssd"> <view bindtap="gotoUrl" data-event="comfort_click" data-title="景区舒适度" data-url="https://m.cloud.sz-trip.com/aiPlay" class="jqssd">
<!-- <view bindtap="gotoUrl" data-event="comfort_click" data-title="景区舒适度" data-url="https://m.cloud.sz-trip.com/ScenicComfort" class="jqssd"> --> <!-- <view bindtap="gotoUrl" data-event="comfort_click" data-title="景区舒适度" data-url="https://m.cloud.sz-trip.com/ScenicComfort" class="jqssd"> -->
<image src="{{indexSeason.ai}}" mode=""/> <image src="{{indexSeason.ai}}" mode=""/>
</view> </view>
@ -522,8 +523,8 @@
</view> </view>
<view wx:if="{{listMore && isTest==false}}" class="more-btn-text" bindtap="getList">查看更多</view> <view wx:if="{{listMore && isTest==false}}" class="more-btn-text" bindtap="getList">查看更多</view>
<view wx:else class="more-btn-text" bindtap="getList">暂无更多推荐</view> <view wx:else class="more-btn-text" bindtap="getList">暂无更多推荐</view>
</view> </view>
<view class="mask prizeMask" wx:if="{{videoPrize}}"> <view class="mask prizeMask" wx:if="{{videoPrize}}">
<view class="mask-bg"></view> <view class="mask-bg"></view>
<view class="mask-content" style="width:100%;display:flex;flex-direction:column;background:none;border-radius:0;align-items:center"> <view class="mask-content" style="width:100%;display:flex;flex-direction:column;background:none;border-radius:0;align-items:center">
<!-- 中奖的卡券 --> <!-- 中奖的卡券 -->
@ -572,10 +573,10 @@
</view> </view>
<image bindtap="closePrice" style="width:80rpx;margin-top:40rpx" src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/videoprize/allclose.png" mode="widthFix"></image> <image bindtap="closePrice" style="width:80rpx;margin-top:40rpx" src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/videoprize/allclose.png" mode="widthFix"></image>
</view> </view>
</view> </view>
<!-- 广告弹窗 --> <!-- 广告弹窗 -->
<view class="zzc" bindtap="closeAdv" wx:if="{{showAdv}}"></view> <view class="zzc" bindtap="closeAdv" wx:if="{{showAdv}}"></view>
<view class="alertavd" wx:if="{{showAdv}}"> <view class="alertavd" wx:if="{{showAdv}}">
<swiper class="alertsp" indicator-dots='{{true}}' indicator-color="rgba(255,255,255,0.5)" autoplay="{{true}}" interval="{{3000}}" duration="{{300}}" indicator-active-color="white"> <swiper class="alertsp" indicator-dots='{{true}}' indicator-color="rgba(255,255,255,0.5)" autoplay="{{true}}" interval="{{3000}}" duration="{{300}}" indicator-active-color="white">
<block wx:for="{{alertSwipeList}}" wx:key="*this"> <block wx:for="{{alertSwipeList}}" wx:key="*this">
<swiper-item data-item="{{item}}" bindtap="bannerJumpNew"> <swiper-item data-item="{{item}}" bindtap="bannerJumpNew">
@ -584,9 +585,9 @@
</block> </block>
</swiper> </swiper>
<image bindtap="closeAdv" style="width: 100rpx; height: 100rpx;transform: translate(200rpx,6rpx);" src="https://static.ticket.sz-trip.com/uploads/20220810/f4bb1a4f0b5eb394e6ca6e4f03aaa1e0.png"></image> <image bindtap="closeAdv" style="width: 100rpx; height: 100rpx;transform: translate(200rpx,6rpx);" src="https://static.ticket.sz-trip.com/uploads/20220810/f4bb1a4f0b5eb394e6ca6e4f03aaa1e0.png"></image>
</view> </view>
<!-- 广告弹窗结束 --> <!-- 广告弹窗结束 -->
<view class="fullavd" wx:if="{{showFullAdv && startList.head_img}}" style="opacity: {{opacity}}"> <view class="fullavd" wx:if="{{showFullAdv && startList.head_img}}" style="opacity: {{opacity}}">
<view class="time" bindtap="closeFullAdv" wx:if="{{showTime && startList.media_type}}">{{time}}s跳过</view> <view class="time" bindtap="closeFullAdv" wx:if="{{showTime && startList.media_type}}">{{time}}s跳过</view>
<view class="Qtop" style="min-height:100vh" wx:if="{{showTime && startList.media_type}}"> <view class="Qtop" style="min-height:100vh" wx:if="{{showTime && startList.media_type}}">
<image src="{{startList.head_img}}" mode="widthFix" style="width: 100%;height: 100%;"></image> <image src="{{startList.head_img}}" mode="widthFix" style="width: 100%;height: 100%;"></image>
@ -603,8 +604,8 @@
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/startPage/play.png" class="playImg" mode="widthFix" wx:if="{{videoPlay}}" bindtap="videoPlay"></image> <image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/startPage/play.png" class="playImg" mode="widthFix" wx:if="{{videoPlay}}" bindtap="videoPlay"></image>
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/startPage/pause.png" class="playImg" mode="widthFix" wx:else bindtap="videoPause"></image> <image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/startPage/pause.png" class="playImg" mode="widthFix" wx:else bindtap="videoPause"></image>
</view> </view>
</view> </view>
<!-- <view class="topBox"> <!-- <view class="topBox">
<view class="Qtop" :style="{height:height}"> <view class="Qtop" :style="{height:height}">
<image style="width: 100%;height:{{height}}" src="{{startList.head_img}}" mode=""/> <image style="width: 100%;height:{{height}}" src="{{startList.head_img}}" mode=""/>
</view> </view>
@ -612,4 +613,199 @@
<view class="time">{{time}}s</view> <view class="time">{{time}}s</view>
<view bind:tap="gotoIndex">跳过</view> <view bind:tap="gotoIndex">跳过</view>
</view> </view>
</view> --> </view> -->
</view>
<view wx:else>
<image class="top-bg-img" src="{{indexSeason.topBac}}" mode="widthFix"></image>
<view style="position:relative;z-index: 1;">
<swiper class="swiper" autoplay="{{true}}" interval="{{5000}}" duration="{{300}}" bindchange="changeBannerIndex" circular>
<block wx:for="{{banner}}" wx:key="*this">
<swiper-item bindtap="bannerClick" data-item="{{item}}">
<image src="{{item.head_img}}" mode="scaleToFill"></image>
</swiper-item>
</block>
</swiper>
<view class="com-flex dot-list">
<view class="dot{{index===activeBannerIndex?' active':''}}" wx:for="{{banner}}" wx:key="this"></view>
</view>
</view>
<view class="top-icons">
<view bindtap="gotoPath" data-event="activity_click" data-title="活动日历" data-path="/pages/list/activitynew/index" class="top-icon-item">
<!-- 夏季修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240606/ebe723260a0d46550c77307472180586.png" mode="widthFix"></image>
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/icon1New.png" mode="widthFix"></image> -->
<view class="top-icon-text">活动日历</view>
</view>
<view bindtap="gotoPath" data-event="museum" data-title="场馆预约" data-path="/pages/list/{{isTest?'scene':'museum'}}/index" class="top-icon-item">
<!-- 夏季修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240606/106ed983a3641f27a13c41cc2b977af2.png" mode="widthFix"></image>
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/icon2New.png" mode="widthFix"></image> -->
<view class="top-icon-text">场馆预约</view>
</view>
<view bindtap="gotoPath" data-event="show" data-title="剧场演出" data-path="/pages/list/{{isTest?'activity':'theatre'}}/index" class="top-icon-item">
<!-- 夏季修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240606/3db989129660f5de29b0f617375f0672.png" mode="widthFix"></image>
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/icon4New.png" mode="widthFix"></image> -->
<view class="top-icon-text">剧场演出</view>
</view>
<view bindtap="gotoPath" data-event="night_sz" data-title="夜游苏州" data-path="/pages/list/night/index" class="top-icon-item">
<!-- 夏季修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240606/1d8d45eab5735103ed2d1342f84b615a.png" mode="widthFix"></image>
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/icon8New.png" mode="widthFix"></image> -->
<view class="top-icon-text">夜游苏州</view>
</view>
</view>
<view class="content">
<!-- 五一修改 一张banner不滚动 -->
<view class="small-swiper-box" wx:if="{{xiaobanner.length === 1}}">
<image bindtap="bannerClick" data-item="{{xiaobanner[0]}}" style="border-radius:13rpx;width: 100%" src="{{xiaobanner[0].head_img}}" mode="widthFix"></image>
</view>
<view class="small-swiper-box" wx:else>
<swiper class="small-swiper" autoplay="{{true}}" interval="{{5000}}" duration="{{300}}" bindchange="changeSmBannerIndex">
<block wx:for="{{xiaobanner}}" wx:key="*this">
<swiper-item bindtap="bannerClick" data-item="{{item}}">
<!-- 原 圆角77rpx,现改为13rpx -->
<image style="border-radius:13rpx" src="{{item.head_img}}" mode="aspectFill"></image>
</swiper-item>
</block>
</swiper>
<view class="dot-list com-flex sm-dot-list">
<view class="dot{{smBannerIndex==index?' active':''}}" wx:for="{{xiaobanner}}" wx:key="this"></view>
</view>
</view>
<!-- 2024年 夏季改UI新增景区舒适度和实时路况 -->
<view style="display: flex;">
<view bindtap="gotoUrl" data-event="comfort_click" data-title="景区舒适度" data-url="https://m.cloud.sz-trip.com/aiPlay" class="jqssd">
<!-- <view bindtap="gotoUrl" data-event="comfort_click" data-title="景区舒适度" data-url="https://m.cloud.sz-trip.com/ScenicComfort" class="jqssd"> -->
<image src="{{indexSeason.ai}}" mode=""/>
</view>
<view bindtap="gotoUrls" data-event="xlqc" class="sslk">
<image src="{{indexSeason.avoid}}" mode=""/>
</view>
</view>
<view class="sale-road-boxes" style="margin-top:0">
<image mode="heightFix" style="height:86rpx" src="{{indexSeason.wlcx}}"></image>
<image class="rmtj-right" src="https://static.ticket.sz-trip.com/uploads/20240606/479dad06e6cf67bc45f7cf605d982184.png" mode="" />
</view>
<!-- 五一修改 .slide-out-box 增加背景色-->
<view class="slide-out-box">
<!-- 元旦修改 .slide-box的原样式 height:360rpx-->
<scroll-view scroll-x style="height:343.33rpx" bindscroll="listenScroll" class="slide-box">
<view class="pbservice" style="margin-bottom:30rpx">
<view bindtap="gotoUrl" data-title="非遗鉴赏" style="margin-left: 20rpx;" data-url="https://m.cloud.sz-trip.com/IntangibleCultural2" class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/uploads/20240606/97844beceebd503256bebae5afd6820b.png" mode="widthFix"></image>
<view class="text">数字非遗</view>
</view>
<view bindtap="goH5" data-title="数字博物馆" data-path="BwsInfo" class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/uploads/20240606/27acb48002369a8203762acc783c7492.png" mode="widthFix"></image>
<view class="text">数字博物馆</view>
</view>
<view bindtap="gotoUrl" data-event="cloud_click" data-title="云上观展" data-url="https://m.cloud.sz-trip.com/CloudPerform2022" class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/uploads/20240606/5711260f02772eebaba9dba9dfda2b4f.png" mode="widthFix"></image>
<view>云上观展</view>
</view>
<view bindtap="goH5" data-event="book_click" data-title="文博会" data-path="CloudExpo" class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/uploads/20240606/4a3804f24e034e15f19c27a85d0a8ac4.png" mode="widthFix"></image>
<view class="text">云上文博会</view>
</view>
<view bindtap="goH5" data-title="文化场馆查询" data-path="Museum" class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/uploads/20240606/29b2954718fe7b7232fe352eb503fbf0.png" mode="widthFix"></image>
<view class="text">文化场馆查询</view>
</view>
<view bindtap="gotoPath" data-event="book_click" data-title="书仓" data-path="/pages/pbService/library/index" class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/uploads/20240606/92ddf619960de959f760d5690ed5007a.png" mode="widthFix"></image>
<view class="text">书仓</view>
</view>
<view bindtap="gotoUrl" data-event="book_click" data-title="公共文化资源库" data-url="https://m.cloud.sz-trip.com/PublicCulture2022" class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/uploads/20240606/0f422cb2026f42c772ab12d384f5b7ef.png" mode="widthFix"></image>
<view class="text">数字公共文化</view>
</view>
<!-- <view bindtap="gotoPath" data-event="institution_click" data-title="文旅单位"
data-path="/pages/list/culturalUnit/index" class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/uploads/20240606/5b0b1be9942bfae84ddbd218421e098f.png" mode="widthFix"></image>
<view class="text">文旅单位</view>
</view> -->
<!-- <view bindtap="gotoPath" data-event="book_click" data-title="书仓" data-path="/pages/pbService/library/index"
class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/uploads/20240606/92ddf619960de959f760d5690ed5007a.png" mode="widthFix"></image>
<view class="text">书仓</view>
</view> -->
<view bindtap="gotoUrl" data-event="appreciate_click" data-title="云游苏州" data-url="https://speed.web.yunyouyizhan.com/downloadApp/index.html#/" class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/uploads/20240717/fab990ef40d7424c9f4616a229b03777.png" mode="widthFix"></image>
<view class="text">云游苏州</view>
</view>
<view bindtap="gotoPath" data-event="appreciate_click" data-title="美图鉴赏" data-path="/pages/pbService/appreciate/index" class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/uploads/20240606/61aac5403bb54bb4cea6a9587da6863b.png" mode="widthFix"></image>
<view class="text">美图鉴赏</view>
</view>
<!-- <view bindtap="gotoPath" data-event="culture_search_click" data-title="文物查询"
data-path="/pages/pbService/wwcx/index" class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/xcxImages/index/newpb3.png" mode="widthFix"></image>
<view>文物查询</view>
</view> -->
<!-- <view bindtap="gotoPath" data-event="museum_search_click" data-title="博物馆查询"
data-path="/pages/pbService/museum/index" class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/xcxImages/index/newpb6.png" mode="widthFix"></image>
<view>博物馆查询</view>
</view> -->
<!-- <view bindtap="gotoUrl" data-event="book_click" data-title="文博会" data-url="https://yscbh.sz-trip.com/"
class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/uploads/20220810/ceb07b75aa3df20d7f1de22e2588332a.png" mode="widthFix"></image>
<view>云上文博会</view>
</view> -->
<!-- <view bindtap="gotoUrl" data-event="investment_click" data-title="投资导引图" data-url="https://hot-map.sz-trip.com/"
class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/uploads/20240606/c66d07e172fe3dd66afc0c69340a7b7d.png" mode="widthFix"></image>
<view class="text">投资导引图</view>
</view> -->
<!-- <view bindtap="gotoUrl" data-title="数字文物"
data-url="https://foxnut-gffcu6t2.pai.tcloudbase.com/suzhouguobao/index.html#/" class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/xcxImages/index/newpb12.png" mode="widthFix"></image>
<view>数字文物</view>
</view> -->
<!-- <view bindtap="gotoPath" data-event="team_click" data-title="团体预约" data-path="/pages/pbService/group/index"
class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/xcxImages/index/newpb9.png" mode="widthFix"></image>
<view>团体预约</view>
</view> -->
<!-- <view bindtap="gotoUrl" data-title="廉洁地图"
data-url="https://ljwhdt.lianshi.gov.cn:8443/Web/WebChatJCW/Mobile/EduBase/MobileMap.aspx"
class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/xcxImages/index/newpb10.png" mode="widthFix"></image>
<view>廉洁地图</view>
</view> -->
<!-- <view bindtap="gotoPath" data-event="book_click" data-title="文化配送" data-path="/pages/culture/index"
class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/uploads/20220818/e02af6e8bf9170060ed7295d367d72c1.png" mode="widthFix"></image>
<view>文化配送</view>
</view> -->
</view>
</scroll-view>
<view class="scroll-line">
<!-- <view class="scroll-line-bg" style="width:{{4 / 5 * 100}}%;margin-left:{{scrollLeft}}px"></view> -->
<!-- 元旦修改 以下两行都是改的 .scroll-line-bg .scroll-line-bg2-->
<view class="scroll-line-bg" wx:if="{{scrollLeft == 0}}" style="width:37rpx;"></view>
<view class="scroll-line-bg2" wx:else style="width:37rpx;"></view>
</view>
</view>
</view>
</view>

26
pages/info/postProductInfo/index.js

@ -73,8 +73,22 @@ Page({
res.data.sku = [sku]; res.data.sku = [sku];
} }
res.data.flag = res.data.sku.find(item => item.flag == 'on') ? res.data.flag : 0 res.data.flag = res.data.sku.find(item => item.flag == 'on') ? res.data.flag : 0
let resData = res.data
if (resData.product_data) {
if (resData.product_data["住"]) {
resData.product_data["住"] = JSON.parse(resData.product_data["住"])
}
if (resData.product_data["游"]) {
resData.product_data["游"] = JSON.parse(resData.product_data["游"])
}
if (resData.product_data["食"]) {
resData.product_data["食"] = JSON.parse(resData.product_data["食"])
}
}
this.setData({ this.setData({
info: res.data, info: resData,
supplierId: res.data.supplier_id, supplierId: res.data.supplier_id,
iShop: res.data.supplier_id ? true : false iShop: res.data.supplier_id ? true : false
}) })
@ -686,6 +700,16 @@ Page({
util.gotoDetail(item); util.gotoDetail(item);
} }
}, },
gotolocation: function () {
let info = this.data.info;
wx.openLocation({
latitude: Number(info.scene_lat),
longitude: Number(info.scene_lon),
name:info.scene_name,
address:info.scene_address
})
},
/** /**
* 生命周期函数--监听页面初次渲染完成 * 生命周期函数--监听页面初次渲染完成
*/ */

48
pages/info/postProductInfo/index.wxml

@ -21,7 +21,50 @@
<view class="com-price two">¥{{ allowance_data.mini_price / 100 }}起</view> <view class="com-price two">¥{{ allowance_data.mini_price / 100 }}起</view>
<view class="yellow">单品最高补贴{{ allowance_data.max_price / 100 }}元</view> <view class="yellow">单品最高补贴{{ allowance_data.max_price / 100 }}元</view>
</view> </view>
<view class="top-info" wx:if="{{info}}">
<view wx:if="{{info}}">
<!-- 酒景套餐 -->
<view class="top-info" style="padding: 0;" wx:if="{{info.is_package===1}}">
<div class="wineScene-price-container" >
<div class="wineSecne-price">{{info.price/100}}<span class="wineSecne-money">¥{{info.market_price/100}}</span></div>
<div>已售{{info.sales_number||0}}份</div>
</div>
<view style="padding: 26rpx 26rpx 0;">
<view class="title" style="font-weight: bold;">{{info.title}}</view>
<view class="hotel-custom" style="padding:26rpx 0">
<view class="hotel-custom-detail" wx:for="{{info.product_data}}" wx:key="item">
<view class="tip-info">
<view class="tip">{{index}}</view>
<view class="info"></view>
</view>
<view class="hotel-custom-right" style="padding-left: 8rpx;flex:1;width: 1rpx;" >
<view style="display: flex;align-items: center;justify-content: space-between;" wx:for="{{item}}" wx:key="data" wx:for-item="str" wx:for-index="i">
<view class="textOver" style="flex:1;">
{{str.title}}
</view>
<view style="flex-shrink: 0;width: 60rpx;text-align: right;">{{str.unit}}</view>
</view>
</view>
</view>
</view>
</view>
<view style="width: 100%;background:#f2f2f2;padding-top: 16rpx;margin-bottom: -8rpx;" bindtap="gotolocation">
<view class="map-container">
<view>
<view class="textOver" style="font-weight: 500;font-size: 28rpx;color: #000000;width: 600rpx;">{{info.scene_name}}</view>
<view style="padding-top: 17rpx;">{{info.scene_address}}</view>
</view>
<view style="text-align: center;">
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/wineScene/navigation.png"></image>
<view style="padding-top: 14rpx;">去这里</view>
</view>
</view>
</view>
</view>
<view class="top-info" wx:else>
<view class="title">{{info.title}}</view> <view class="title">{{info.title}}</view>
<view class="subtitle">{{info.subtitle}}</view> <view class="subtitle">{{info.subtitle}}</view>
<view class="tags-box textOver"> <view class="tags-box textOver">
@ -29,7 +72,10 @@
</view> </view>
<view class="tags-price"><text>¥</text><text>{{info.price/100}}</text><text>起</text></view> <view class="tags-price"><text>¥</text><text>{{info.price/100}}</text><text>起</text></view>
</view> </view>
</view>
</view> </view>
<view class="scroll-all-box" id="menus" wx:if="{{info}}"> <view class="scroll-all-box" id="menus" wx:if="{{info}}">
<view class="scroll-menus{{fixed?' fixed-menus':''}}" style="top:{{top}}px"> <view class="scroll-menus{{fixed?' fixed-menus':''}}" style="top:{{top}}px">
<view class="scroll-menu-item{{type==1?' active':''}}" bindtap="changeMenu" data-index="1">产品特色</view> <view class="scroll-menu-item{{type==1?' active':''}}" bindtap="changeMenu" data-index="1">产品特色</view>

95
pages/info/postProductInfo/index.wxss

@ -939,3 +939,98 @@ page {
justify-content: space-between; justify-content: space-between;
height: 70rpx; height: 70rpx;
} }
.wineScene-price-container {
width: 750rpx;
height: 100rpx;
background: linear-gradient(-90deg,#FF413B, #FFAB2E);
border-radius: 20rpx 20rpx 0rpx 0rpx;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 26rpx;
box-sizing: border-box;
color: #FFFFFF;
font-size: 24rpx;
}
.wineScene-price-container .wineSecne-price {
font-weight: bold;
font-size: 36rpx;
color: #FFFFFF;
}
.wineScene-price-container .wineSecne-money {
font-size: 24rpx;
font-weight: 500;
text-decoration-line: line-through;
padding-left: 14rpx;
}
.wineScene-price-container .wineSecne-price::before {
font-size: 24rpx;
content: '¥';
}
.hotel-custom-detail{
display: flex;
/* justify-content: space-between; */
height: fit-content;
font-family: PingFang SC;
font-weight: 500;
font-size: 24rpx;
color: #666666;
margin-bottom: 20rpx;
}
.hotel-custom-detail .tip-info{
width: 33rpx;
position: relative;
display: flex;
justify-content: center;
flex-shrink: 0;
}
.hotel-custom-detail .tip-info .tip{
font-family: PingFang SC;
font-weight: 500;
font-size: 23rpx;
color: #FFFFFF;
width: 33rpx;
height: 33rpx;
background: #6394FD;
border-radius: 50%;
position: absolute;
top: 0;
left: 0;
text-align: center;
line-height: 33rpx;
}
.hotel-custom-detail .tip-info .info{
width: 11rpx;
height: 100%;
background: #D0DFFE;
border-radius: 5rpx;
}
.hotel-custom-right>view{
margin-bottom: 20rpx;
}
.hotel-custom-right>view:last-of-type{
margin-bottom: 0;
}
.map-container{
background-image: url('https://static.ticket.sz-trip.com/jundaosuzhou/images/wineScene/locationBg.png');
background-size: 100% 100%;
width: 100%;
height: 128rpx;
padding: 30rpx 26rpx;
display: flex;
align-items: center;
justify-content: space-between;
font-family: PingFang SC;
font-weight: 500;
font-size: 24rpx;
color: #666666;
box-sizing: border-box;
}
.map-container image{
width: 29rpx;
height: 29rpx;
}

34
pages/map/index.js

@ -759,6 +759,40 @@ Page({
}) })
}, },
// 位页面 gotoUrl 和 gotourls
gotoUrl: function(e) {
let url = e.currentTarget.dataset.url;
app.globalData.weburl = url;
wx.navigateTo({
// url: '/pages/pbService/web/index?weburl='+encodeURIComponent('https://m.cloud.sz-trip.com/Cloudperform2022'),
url: '/pages/pbService/web/index?weburl=' + encodeURIComponent(url),
})
},
// 实时路况跳转外链
gotoUrls() {
// 判断是否登录
var token = wx.getStorageSync("jstrip_token"), userId = wx.getStorageSync("jstrip_userid");
if(!token || !userId) {
let url = 'https://wlsjzx.zdhxwl.cn/kt_h5/index.html'
app.globalData.weburl = url;
wx.navigateTo({
url: '/pages/pbService/web/index?weburl=' + encodeURIComponent(url),
})
}else {
commonApi.user_post("uservice/user/userEncry").then(res => {
if(res.code == 1) {
let url = 'https://wlsjzx.zdhxwl.cn/kt_h5/index.html?userEncry=' + res.data
app.globalData.weburl = url;
wx.navigateTo({
url: '/pages/pbService/web/index?weburl=' + encodeURIComponent(url),
})
}
})
}
},
/** /**
* 生命周期函数--监听页面初次渲染完成 * 生命周期函数--监听页面初次渲染完成
*/ */

31
pages/map/index.wxml

@ -1,6 +1,8 @@
<!--pages/map/index.wxml--> <!--pages/map/index.wxml-->
<!-- <search bind:onload="search"></search> --> <!-- <search bind:onload="search"></search> -->
<title title="图游"></title> <title title="图游"></title>
<view wx:if="{{!isTest}}">
<map class="map" id="map" style="height:100%" wx:if="{{areas.length>0}}" longitude="{{areas[areaIndex]?areas[areaIndex].lon:longitude}}" latitude="{{areas[areaIndex]?areas[areaIndex].lat:latitude}}" show-location markers="{{list}}" bindmarkertap="onTapMarker" bindregionchange="changeRegion" scale='13'> <map class="map" id="map" style="height:100%" wx:if="{{areas.length>0}}" longitude="{{areas[areaIndex]?areas[areaIndex].lon:longitude}}" latitude="{{areas[areaIndex]?areas[areaIndex].lat:latitude}}" show-location markers="{{list}}" bindmarkertap="onTapMarker" bindregionchange="changeRegion" scale='13'>
</map> </map>
<view style="height:{{topHeight}}px"></view> <view style="height:{{topHeight}}px"></view>
@ -308,3 +310,32 @@
<view class="mask" wx:if="{{showAllMask}}" bindtap="closeMask" catchtouchmove="preventTouchMove"> <view class="mask" wx:if="{{showAllMask}}" bindtap="closeMask" catchtouchmove="preventTouchMove">
<image src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/map/arrow.png" mode="widthFix" class="returnImg"></image> <image src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/map/arrow.png" mode="widthFix" class="returnImg"></image>
</view> </view>
</view>
<view wx:else>
<view style="overflow-x:auto;background: #FFFED6;border-radius: 20rpx;background:url('https://static.ticket.sz-trip.com/uploads/20240617/e1c3f60baf65787d593c6a7c79f881c7.png');background-size: 100% 100%;height: 199.33rpx;">
<!-- 元旦修改 ggfw为新增类名 -->
<view class="pbservice ggfw-list" style="width:100%;margin-top: 43rpx;">
<view bindtap="gotoUrl" data-event="sbk" data-title="电子社保卡" data-url="https://m.cloud.sz-trip.com/sbkLogin" class="pbservice-item ggfw" style="margin-right: 32.33rpx;">
<image src="https://static.ticket.sz-trip.com/uploads/20240624/28e0cadbb7363dec9b51b1174bd2c5a5.png" mode="widthFix"></image>
<view>电子社保卡</view>
</view>
<view bindtap="gotoUrl" data-event="comfort_click" data-title="景区舒适度" data-url="https://m.cloud.sz-trip.com/ScenicComfort" class="pbservice-item ggfw" style="margin-right: 32.33rpx;">
<image src="https://static.ticket.sz-trip.com/uploads/20240606/55bbad2e7dcec9bd9753fc848488b8f2.png" 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" style="margin-right: 32.33rpx;">
<image src="https://static.ticket.sz-trip.com/uploads/20240606/311deeac7cd4dbf821b9b394e69431ed.png" mode="widthFix"></image>
<view>行李寄存</view>
</view>
<view bindtap="gotoUrl" data-event="xlqc" data-url="https://jiaotonghao2.amap.com/?channel=amap&unitId=257&src=app_share#/" class="pbservice-item ggfw" style="margin-right: 0;">
<image src="https://static.ticket.sz-trip.com/uploads/20240606/a6ab539577b9003e35061a888ec4aa27.png" mode="widthFix"></image>
<view>实时路况</view>
</view>
</view>
</view>
</view>

41
pages/map/index.wxss

@ -673,3 +673,44 @@
text-align: center; text-align: center;
line-height: 40rpx; line-height: 40rpx;
} }
/* // 位页面 */
.pbservice {
/* width: calc(175rpx * 6); */
/* 元旦修改 */
width: calc(190rpx * 7);
display: flex;
margin-top: 30rpx;
flex-wrap: wrap;
/* margin-bottom: 60rpx; */
/* 元旦修改 注释margin-bottom */
justify-content: center;
}
.pbservice-item {
/* 元旦修改 截止到注释的width*/
width: 120rpx;
margin-bottom: 33.33rpx;
margin-right: 62.33rpx;
/* width: 175rpx; */
text-align: center;
font-size: 25rpx;
/* color: #333; */
/* 春节调整颜色改版 */
color: #54504D;
line-height: 24rpx;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
.text {
width: 200rpx;
}
.pbservice-item image {
/* width: 60rpx;
margin-bottom: 20rpx;
margin-top: 50rpx; */
/* 元旦修改 以上都是之前的*/
width: 106rpx;
margin-bottom: 10rpx;
}

2
pages/order/orderList/index.wxml

@ -73,7 +73,7 @@
<view wx:if="{{coupon && coupon.activity.discount_type != 'pricebreak'}}"> <view wx:if="{{coupon && coupon.activity.discount_type != 'pricebreak'}}">
<text>合计:</text><text <text>合计:</text><text
class="price">¥{{((showPrice + postFee)* coupon.activity.fold/10)>0?((showPrice + postFee)* coupon.activity.fold/10)/100:0}}</text> class="price">¥{{((postFee+showPrice* coupon.activity.fold/10))/100}}</text>
</view> </view>
<view wx:else> <view wx:else>
<text>合计:</text> <text>合计:</text>

2
pages/order/postOrder/index.wxml

@ -58,7 +58,7 @@
</view> </view>
<view wx:else> <view wx:else>
<text>合计:</text><text <text>合计:</text><text
class="price">¥{{((showPrice + postFee)* coupon.activity.fold/10)>0?((showPrice + postFee)* coupon.activity.fold/10)/100:0}}</text> class="price">¥{{(postFee+showPrice* coupon.activity.fold/10)/100}}</text>
</view> </view>
</view> </view>
<view wx:else> <view wx:else>

Loading…
Cancel
Save