bt-lcyd/pages/detail/detail.wxml
dong_bo0602 4458f60375 0614
2022-06-14 10:56:41 +08:00

99 lines
3.7 KiB
Plaintext

<view class="swiper-box">
<swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" class="swiper">
<swiper-item wx:for="{{swiperList}}" wx:key="idx" wx:for-index="idx">
<image src="{{requestIp}}route/file/downloadfile/true/{{item}}" class="swiper-image"></image>
</swiper-item>
</swiper>
</view>
<view class="venue-detail">
<view class="venue-title">
<view class="venue-name">
<view class="name-text">{{venueInfo.venueName}}</view>
</view>
</view>
<!-- <view class="venue-book">
<text class="book">已有0人预定</text>
<text class="type">国营</text>
</view> -->
<view class="venue-location location-box" bindtap="goMap" data-long="{{venueInfo.longitude}}" data-lng="{{venueInfo.latitude}}">
<view class="location-text">
<image src="../../images/location.png"></image>
{{venueInfo.venuePosition}}
</view>
<view class="go-there">到这去</view>
</view>
<view class="venue-location">
<!-- <image src="../../images/phone.png" class="phone"></image> -->
营业时间:{{venueInfo.businessHours}}
</view>
<view class="venue-location" bindtap="callPhone" data-phone="{{venueInfo.venueTelephone}}">
<image src="../../images/phone.png" class="phone"></image>
{{venueInfo.venueTelephone}}
</view>
<view class="venue-transportation">
<view class="left">
<image src="../../images/address.png"></image>
交通方式:
</view>
<view class="right">{{venueInfo.venueRoute}}</view>
</view>
<view class="project">
<view class="project-tab">
<view class="project-btn {{item.venuesProjectId == selectedTab?'active': ''}}" bindtap="changeTab" data-type="{{item.bookingType}}" data-id="{{item.venuesProjectId}}" data-idx="{{index}}" data-name="{{item.projectCategory}}" wx:for="{{facilitiesList}}" wx:key="index">{{item.projectCategory}}</view>
</view>
<view class="desc">{{desc}}</view>
<view class="project-title">场地设施</view>
<view class="project-content">{{project}}</view>
</view>
<view class="facilities service">
<view class="facilities-title">
场馆服务
</view>
<view class="facilities-detail">
<view class="row" >
<view class="service-item" wx:for="{{serviceList}}" wx:key="idx">{{item}}</view>
</view>
</view>
</view>
<view class="facilities service">
<view class="facilities-title">
其他服务
</view>
<view class="service-item">{{other}}</view>
</view>
<view class="facilities service">
<view class="facilities-title">
注意事项
</view>
<view class="service-item">{{venueInfo.bookingTips}}</view>
</view>
<view class="venue-intro">
<text bindtap="goVenueDetail">[更多]</text>
</view>
</view>
<!-- <view class="venue-info" wx:if="{{selectedTab}}">
<view class="venue-time">
<view class="title">营业时间:</view>
<view class="desc">{{tabContent.businessHours}}</view>
</view>
<view class="venue-desc">
<view class="title">项目描述:</view>
<view class="desc">{{tabContent.projectDescription}}</view>
</view>
</view>
<view class="date" wx:if="{{selectedTab}}">
<view class="date-container">
<view class="date-box" wx:for="{{dayList}}" wx:key="idx" wx:for-index="idx">
<view class="today">{{item.week}}</view>
<view class="day">{{item.dateFormat}}</view>
<view style="text-align: center" class="book-btn-box">
<view class="book-btn" wx:if="{{item.bookingType}}" bindtap="goBook" data-week="{{item.week}}" data-date="{{item.date}}">预定</view>
<view class="book-btn" wx:else>预定已满</view>
</view>
</view>
</view>
</view> -->
<view class="bottom-btn" bindtap="goBook" wx:if="{{bookingType == 1}}">
<view class="bottom-btn-box">预定</view>
</view>