|
|
|
@ -1,20 +1,28 @@ |
|
|
|
<!--pages/info/museumInfo/index.wxml--> |
|
|
|
<wxs src="../../../utils/filter.wxs" module="tool" /> |
|
|
|
<title title="场馆详情"></title> |
|
|
|
<title title="场馆团体预约" wx:if="{{info.team_order}}"></title> |
|
|
|
<title title="场馆详情" wx:else></title> |
|
|
|
<view class="iconfont icon-fenxiang" bindtap="share"></view> |
|
|
|
<swiper class="swiper" indicator-dots="{{true}}" wx:if="{{info}}" |
|
|
|
autoplay="{{true}}" interval="{{2000}}" duration="{{300}}"> |
|
|
|
<swiper class="swiper" indicator-dots="{{true}}" wx:if="{{info}}" autoplay="{{true}}" interval="{{2000}}" |
|
|
|
duration="{{300}}"> |
|
|
|
<block wx:for="{{info.listimg}}" wx:key="*this"> |
|
|
|
<swiper-item> |
|
|
|
<image src="{{item}}" mode="aspectFill"></image> |
|
|
|
</swiper-item> |
|
|
|
</block> |
|
|
|
<view class="title" wx:if="{{info && info.team_order}}">{{info.title}}(团体预约)</view> |
|
|
|
</swiper> |
|
|
|
<view class="info" wx:if="{{info}}"> |
|
|
|
<!-- 普通详情样式 --> |
|
|
|
<view class="info" wx:if="{{info && !info.team_order}}"> |
|
|
|
<view class="title">{{info.title}}</view> |
|
|
|
<view class="location"><text class="iconfont icon-location"></text>{{info.address}}</view> |
|
|
|
<view class="location" style="margin-bottom:0"><text class="iconfont icon-dianhua2"></text>{{info.tel}}</view> |
|
|
|
</view> |
|
|
|
<!-- 团体预约的详情样式 --> |
|
|
|
<view class="team_info" wx:if="{{info && info.team_order}}"> |
|
|
|
<view class="location"><text class="iconfont icon-location"></text>{{info.address}}</view> |
|
|
|
<view class="location" style="margin-bottom:0"><text class="iconfont icon-dianhua2"></text>{{info.tel}}</view> |
|
|
|
</view> |
|
|
|
<view class="menu-box{{fixed?' menu-fixed':''}}" style="top:{{top}}px" wx:if="{{isGroup!=1}}"> |
|
|
|
<view class="menu-item{{type==1?' active':''}}" bindtap="changeType" data-type="1">场馆介绍</view> |
|
|
|
<view class="menu-item{{type==2?' active':''}}" bindtap="changeType" data-type="2">场馆活动</view> |
|
|
|
@ -22,7 +30,8 @@ |
|
|
|
<view style="height:102rpx;" wx:if="{{fixed}}"></view> |
|
|
|
<view id="content"> |
|
|
|
<view wx:if="{{type==1}}"> |
|
|
|
<date wx:if="{{isLogin && product && product.sku && product.product}}" bind:onChangeDate="changeDate" bind:onChangeTime="changeTime" product="{{product}}"></date> |
|
|
|
<date wx:if="{{isLogin && product && product.sku && product.product}}" bind:onChangeDate="changeDate" |
|
|
|
bind:onChangeTime="changeTime" product="{{product}}" isTeam="{{info.team_order}}"></date> |
|
|
|
<view class="detail-title">预订须知</view> |
|
|
|
<rich-text wx:if="{{info}}" class="detail" nodes="{{tool.formateRichText(info.book_info)}}"></rich-text> |
|
|
|
<view class="detail-title">场馆介绍</view> |
|
|
|
@ -43,12 +52,13 @@ |
|
|
|
</navigator> |
|
|
|
<view style="font-size:26rpx;text-align:center;line-height:200rpx;" wx:if="{{actList.length==0}}">暂无活动</view> |
|
|
|
</view> |
|
|
|
<view style="height:104rpx" wx:if="{{info.product_venue && info.product_venue.sku && info.product_venue.sku.length>0}}"></view> |
|
|
|
<view style="height:104rpx" |
|
|
|
wx:if="{{info.product_venue && info.product_venue.sku && info.product_venue.sku.length>0}}"></view> |
|
|
|
</view> |
|
|
|
<view class="fixed-btn" wx:if="{{info.product_venue && info.product_venue.sku && info.product_venue.sku.length>0}}"> |
|
|
|
<view bindtap="order" class="btn">参观预约</view> |
|
|
|
<view bindtap="order" class="btn {{info && info.team_order ? 'team' : ''}}">参观预约</view> |
|
|
|
</view> |
|
|
|
<view style="position:absolute;right:0;left:-10000rpx;top:-200rpx;"> |
|
|
|
<view style="position:absolute;right:0;left:-10000rpx;top:-200rpx;z-index:-1"> |
|
|
|
<canvas canvas-id='imageCanvas' class='imageCanvas' style="width:551rpx;height:643rpx;" disable-scroll='true'> |
|
|
|
</canvas> |
|
|
|
<canvas class="canvasCode" style="opacity:0;width:500px;height:500px" canvas-id="myQrcode"></canvas> |
|
|
|
@ -59,15 +69,22 @@ |
|
|
|
<image class="share-img" src="{{shareImg}}" mode="widthFix"></image> |
|
|
|
<view class="share-tips"> |
|
|
|
<view style="position:relative"> |
|
|
|
<image class="img" src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/info/img.png" mode="widthFix"></image> |
|
|
|
<image class="img" src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/info/img.png" mode="widthFix"> |
|
|
|
</image> |
|
|
|
<view>保存图片到相册</view> |
|
|
|
<view class="tipimg"><image src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/info/ok.png" mode="widthFix"></image></view> |
|
|
|
<view class="tipimg"> |
|
|
|
<image src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/info/ok.png" mode="widthFix"></image> |
|
|
|
</view> |
|
|
|
<image style="width:36rpx" src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/info/arrow2.png" mode="widthFix"></image> |
|
|
|
</view> |
|
|
|
<image style="width:36rpx" src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/info/arrow2.png" |
|
|
|
mode="widthFix"></image> |
|
|
|
<view style="position:relative"> |
|
|
|
<image class="img" src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/info/code.png" mode="widthFix"></image> |
|
|
|
<image class="img" src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/info/code.png" mode="widthFix"> |
|
|
|
</image> |
|
|
|
<view>微信识别二维码</view> |
|
|
|
<view class="tipimg"><image src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/info/ok1.png" mode="widthFix"></image></view> |
|
|
|
<view class="tipimg"> |
|
|
|
<image src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/info/ok1.png" mode="widthFix"></image> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="save-btn" bindtap="save">保存到相册</view> |
|
|
|
|