101 lines
3.8 KiB
Plaintext
101 lines
3.8 KiB
Plaintext
<!--pages/gymnasium/index.wxml-->
|
|
<header title="{{venues.name}}" isGoHome="{{isGoHome}}"></header>
|
|
<view class='container' wx:if="{{venues.name}}">
|
|
<swiper class='header' indicator-dots="{{venues.images.length > 1}}" autoplay="{{true}}" circular="{{true}}">
|
|
<block wx:for="{{venues.images}}" wx:key="{{index}}">
|
|
<swiper-item>
|
|
<image src="{{item.url}}" mode='aspectFill'></image>
|
|
</swiper-item>
|
|
</block>
|
|
</swiper>
|
|
<view class='cell-box'>
|
|
<view class='cell'>
|
|
<image src='../../images/42@3x.png' mode='aspectFit'></image>
|
|
<text>{{venues.businessTime}}</text>
|
|
</view>
|
|
<view class='cell' bindtap='opnGPS'>
|
|
<image src='../../images/41@3x.png' mode='aspectFit'></image>
|
|
<text>{{venues.address}}</text>
|
|
<view class='cell-right'>
|
|
<image src='../../images/34@3x.png' class='gps-img'></image>
|
|
<text>导航</text>
|
|
</view>
|
|
</view>
|
|
<view class='cell unline'>
|
|
<image src='../../images/36@3x.png' mode='aspectFit'></image>
|
|
<text>{{venues.contact}}</text>
|
|
<view class='phone-number' bindtap='callPhone'>{{venues.phone}}</view>
|
|
</view>
|
|
</view>
|
|
<view class='cell-box' wx:if="{{venues.cards.length > 0}}">
|
|
<view class='cell'>
|
|
<image src='../../images/40@3x.png' mode='aspectFit'></image>
|
|
<view class='title'>
|
|
<text>VIP会员享受专属特权</text>
|
|
<image src='../../images/5@3x.png' wx:if="{{venues.cardContent}}" bindtap='showCardContent'></image>
|
|
</view>
|
|
</view>
|
|
<view class='cell unline' wx:for="{{venues.cards}}" wx:key="{{index}}">
|
|
<view class='tip'>{{item.cardName}}</view>
|
|
<text>¥{{item.price}}</text>
|
|
<view class='buy-btn' bindtap='nowBuy' data-index='{{index}}'>立即购买</view>
|
|
</view>
|
|
</view>
|
|
<view class='cell-box'>
|
|
<view class='cell'>
|
|
<image src='../../images/35@3x.png' mode='aspectFit'></image>
|
|
<view class='title'>
|
|
<text>项目介绍</text>
|
|
</view>
|
|
</view>
|
|
<view class='rich-box'>
|
|
<rich-text nodes="{{venues.description}}"></rich-text>
|
|
</view>
|
|
</view>
|
|
|
|
<view class='footer-btn' bindtap='pushBookClasses'>预约</view>
|
|
</view>
|
|
|
|
<view class='buyVIPPopup' catchtouchmove='unMove' wx:if="{{isShowBuyVip}}">
|
|
<view class='popup-body'>
|
|
<view class='popup-header'>
|
|
<text>会员卡购买</text>
|
|
<image src='../../images/23@3x.png' catchtap='closeBuyVipPopup'></image>
|
|
</view>
|
|
<view class='popup-center'>
|
|
<view class='popup-cell'>
|
|
<text>会员卡类型</text>
|
|
<text>{{buyVipObj.cardName}}</text>
|
|
</view>
|
|
<view class='popup-cell'>
|
|
<text>价格</text>
|
|
<text>¥{{buyVipObj.price}}</text>
|
|
</view>
|
|
</view>
|
|
<view class='popup-btn' catchtap='buyVip'>确认支付</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class='unclick-mask' wx:if="{{showUnclickMask}}"></view>
|
|
|
|
<view class='card-mask' catchtouchmove='unMove' wx:if="{{showCardMask}}" bindtap='cancelCardMask'>
|
|
<view class='card-box' catchtap='unMove'>
|
|
<view class='close' catchtap='cancelCardMask'>
|
|
<image src='../../images/23@3x.png'></image>
|
|
</view>
|
|
<view class='title'>VIP会员享受专属特权</view>
|
|
<rich-text class='info-rich' nodes="{{venues.cardContent}}"></rich-text>
|
|
</view>
|
|
</view>
|
|
|
|
<confirm-dialog title="提示" message="请先绑定微信" confirmBtnTitle="绑定" isUserInfo="{{true}}" bindcancelselect="cancelDeleteDialog" bindgetuserinfo="getUserInfo" wx:if="{{isWxLogin}}"></confirm-dialog>
|
|
|
|
<view wx:if="{{ venues.status == 0 }}" class='share-btn-box'>
|
|
<button open-type='share'></button>
|
|
<image src='../../images/10@3x.png' style='width:100%; height: 100%'></image>
|
|
</view>
|
|
<view wx:else class='newplot'>
|
|
<image src='../../images/noContent.png'></image>
|
|
<text>场馆维护中,请等待场馆恢复 ~</text>
|
|
</view>
|