|
|
@ -1,6 +1,6 @@ |
|
|
<!--pages/info/museumInfo/index.wxml--> |
|
|
<!--pages/info/museumInfo/index.wxml--> |
|
|
<wxs src="../../../utils/filter.wxs" module="tool" /> |
|
|
<wxs src="../../../utils/filter.wxs" module="tool" /> |
|
|
<title title="场馆团体预约" wx:if="{{info.team_order}}"></title> |
|
|
<title title="场馆团体预约" wx:if="{{info.team_order && isGroup}}"></title> |
|
|
<title title="场馆详情" wx:else></title> |
|
|
<title title="场馆详情" wx:else></title> |
|
|
<view class="iconfont icon-fenxiang" bindtap="share"></view> |
|
|
<view class="iconfont icon-fenxiang" bindtap="share"></view> |
|
|
<swiper class="swiper" indicator-dots="{{true}}" wx:if="{{info}}" autoplay="{{true}}" interval="{{2000}}" |
|
|
<swiper class="swiper" indicator-dots="{{true}}" wx:if="{{info}}" autoplay="{{true}}" interval="{{2000}}" |
|
|
@ -10,16 +10,16 @@ |
|
|
<image src="{{item}}" mode="aspectFill"></image> |
|
|
<image src="{{item}}" mode="aspectFill"></image> |
|
|
</swiper-item> |
|
|
</swiper-item> |
|
|
</block> |
|
|
</block> |
|
|
<view class="title" wx:if="{{info && info.team_order}}">{{info.title}}(团体预约)</view> |
|
|
<view class="title" wx:if="{{info && info.team_order && isGroup}}">{{info.title}}(团体预约)</view> |
|
|
</swiper> |
|
|
</swiper> |
|
|
<!-- 普通详情样式 --> |
|
|
<!-- 普通详情样式 --> |
|
|
<view class="info" wx:if="{{info && !info.team_order}}"> |
|
|
<view class="info" wx:if="{{info && !info.team_order && isGroup}}"> |
|
|
<view class="title">{{info.title}}</view> |
|
|
<view class="title">{{info.title}}</view> |
|
|
<view class="location"><text class="iconfont icon-location"></text>{{info.address}}</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 class="location" style="margin-bottom:0"><text class="iconfont icon-dianhua2"></text>{{info.tel}}</view> |
|
|
</view> |
|
|
</view> |
|
|
<!-- 团体预约的详情样式 --> |
|
|
<!-- 团体预约的详情样式 --> |
|
|
<view class="team_info" wx:if="{{info && info.team_order}}"> |
|
|
<view class="team_info" wx:if="{{info && info.team_order && isGroup}}"> |
|
|
<view class="location"><text class="iconfont icon-location"></text>{{info.address}}</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 class="location" style="margin-bottom:0"><text class="iconfont icon-dianhua2"></text>{{info.tel}}</view> |
|
|
</view> |
|
|
</view> |
|
|
@ -31,7 +31,7 @@ |
|
|
<view id="content"> |
|
|
<view id="content"> |
|
|
<view wx:if="{{type==1}}"> |
|
|
<view wx:if="{{type==1}}"> |
|
|
<date wx:if="{{isLogin && product && product.sku && product.product}}" bind:onChangeDate="changeDate" |
|
|
<date wx:if="{{isLogin && product && product.sku && product.product}}" bind:onChangeDate="changeDate" |
|
|
bind:onChangeTime="changeTime" product="{{product}}" isTeam="{{info.team_order}}"></date> |
|
|
bind:onChangeTime="changeTime" product="{{product}}" isTeam="{{info.team_order && isGroup}}"></date> |
|
|
<view class="detail-title">预订须知</view> |
|
|
<view class="detail-title">预订须知</view> |
|
|
<rich-text wx:if="{{info}}" class="detail" nodes="{{tool.formateRichText(info.book_info)}}"></rich-text> |
|
|
<rich-text wx:if="{{info}}" class="detail" nodes="{{tool.formateRichText(info.book_info)}}"></rich-text> |
|
|
<view class="detail-title">场馆介绍</view> |
|
|
<view class="detail-title">场馆介绍</view> |
|
|
@ -56,9 +56,9 @@ |
|
|
wx:if="{{info.product_venue && info.product_venue.sku && info.product_venue.sku.length>0}}"></view> |
|
|
wx:if="{{info.product_venue && info.product_venue.sku && info.product_venue.sku.length>0}}"></view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="fixed-btn" wx:if="{{info.product_venue && info.product_venue.sku && info.product_venue.sku.length>0}}"> |
|
|
<view class="fixed-btn" wx:if="{{info.product_venue && info.product_venue.sku && info.product_venue.sku.length>0}}"> |
|
|
<view bindtap="order" class="btn {{info && info.team_order ? 'team' : ''}}">参观预约</view> |
|
|
<view bindtap="order" class="btn {{info && info.team_order && isGroup ? 'team' : ''}}">参观预约</view> |
|
|
</view> |
|
|
</view> |
|
|
<view style="position:absolute;right:0;left:-10000rpx;top:-200rpx;z-index:-1"> |
|
|
<view style="position:absolute;right:0;left:-10000rpx;top:-20000rpx;z-index:-1"> |
|
|
<canvas canvas-id='imageCanvas' class='imageCanvas' style="width:551rpx;height:643rpx;" disable-scroll='true'> |
|
|
<canvas canvas-id='imageCanvas' class='imageCanvas' style="width:551rpx;height:643rpx;" disable-scroll='true'> |
|
|
</canvas> |
|
|
</canvas> |
|
|
<canvas class="canvasCode" style="opacity:0;width:500px;height:500px" canvas-id="myQrcode"></canvas> |
|
|
<canvas class="canvasCode" style="opacity:0;width:500px;height:500px" canvas-id="myQrcode"></canvas> |
|
|
|