|
@@ -16,10 +16,10 @@
|
|
<view class="card">
|
|
<view class="card">
|
|
<view class="Legendary-Information">
|
|
<view class="Legendary-Information">
|
|
<view class="info-name">
|
|
<view class="info-name">
|
|
- <view class="name-tex">剑仙居民宿</view>
|
|
|
|
|
|
+ <view class="name-tex">{{storeList[0].storeName}}</view>
|
|
<image class="name-pic" src="https://file-cloud.fmode.cn/EbxZUK5lBI/20241121/2gcp1e030048570.png"></image>
|
|
<image class="name-pic" src="https://file-cloud.fmode.cn/EbxZUK5lBI/20241121/2gcp1e030048570.png"></image>
|
|
</view>
|
|
</view>
|
|
- <view class="info-intr">剑仙居民宿描述剑仙居民宿描述剑仙居民宿描述剑仙居民宿描述剑仙居民宿描述剑仙居民宿描述剑仙居民宿描述剑仙居民宿描述剑仙居民宿描述剑仙居民宿描述</view>
|
|
|
|
|
|
+ <view class="info-intr">{{storeList[0].desc}}</view>
|
|
<view class="info-map">
|
|
<view class="info-map">
|
|
<view class="map"></view>
|
|
<view class="map"></view>
|
|
<view class="info-call">
|
|
<view class="info-call">
|
|
@@ -32,24 +32,24 @@
|
|
<van-sticky z-index='999' offset-top="{{statusBarHeight+customHeight-5}}">
|
|
<van-sticky z-index='999' offset-top="{{statusBarHeight+customHeight-5}}">
|
|
<view class="timebox">
|
|
<view class="timebox">
|
|
<view class="time">
|
|
<view class="time">
|
|
- <view class="time-tex">今天</view>
|
|
|
|
- <view class="time-time">11月11日</view>
|
|
|
|
|
|
+ <view class="time-tex" wx:if="{{istoday=='true'}}">今天</view>
|
|
|
|
+ <view class="time-time">{{decodedDateStart}}</view>
|
|
</view>
|
|
</view>
|
|
<van-icon name="minus" size='30rpx' custom-style='font-weight: 600;margin-bottom: 4rpx;margin-right: 6rpx;' />
|
|
<van-icon name="minus" size='30rpx' custom-style='font-weight: 600;margin-bottom: 4rpx;margin-right: 6rpx;' />
|
|
<view class="time">
|
|
<view class="time">
|
|
- <view class="time-tex">明天</view>
|
|
|
|
- <view class="time-time">11月12日</view>
|
|
|
|
|
|
+ <view class="time-tex" wx:if="{{istoday=='true'}}">明天</view>
|
|
|
|
+ <view class="time-time">{{decodedDateEnd}}</view>
|
|
</view>
|
|
</view>
|
|
- <view class="time_tex2">共1晚</view>
|
|
|
|
|
|
+ <view class="time_tex2">共{{daysBetween}}晚</view>
|
|
</view>
|
|
</view>
|
|
</van-sticky>
|
|
</van-sticky>
|
|
- <block wx:for="{{4}}">
|
|
|
|
- <view class="room-card">
|
|
|
|
|
|
+ <block wx:for="{{roomList}}" wx:key="index">
|
|
|
|
+ <view class="room-card" wx:if="{{item.remaining>0}}" >
|
|
<view class="room-card1">
|
|
<view class="room-card1">
|
|
- <image src="https://file-cloud.fmode.cn/EbxZUK5lBI/20241122/v5nu1u104043606.png"></image>
|
|
|
|
|
|
+ <image src="{{item.images[0]}}"></image>
|
|
<view class="room-card-textbox">
|
|
<view class="room-card-textbox">
|
|
<view class="room-card-textbox-titlebox">
|
|
<view class="room-card-textbox-titlebox">
|
|
- <view class="room-card-textbox-title">豪华标准房</view>
|
|
|
|
|
|
+ <view class="room-card-textbox-title">{{item.name}}</view>
|
|
<van-icon name="arrow" custom-style='margin-top: 8rpx;' />
|
|
<van-icon name="arrow" custom-style='margin-top: 8rpx;' />
|
|
</view>
|
|
</view>
|
|
<view class="room-card-textbox-info">
|
|
<view class="room-card-textbox-info">
|
|
@@ -69,17 +69,17 @@
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="room-card2">
|
|
<view class="room-card2">
|
|
- <view class="price">¥199900</view>
|
|
|
|
|
|
+ <view class="price">¥{{item.price*daysBetween}}</view>
|
|
<view class="submit">订</view>
|
|
<view class="submit">订</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<!-- 无房 -->
|
|
<!-- 无房 -->
|
|
- <view class="room-card" style="opacity: 0.5;">
|
|
|
|
|
|
+ <view class="room-card" style="opacity: 0.5;" wx:if="{{item.remaining==0}}" >
|
|
<view class="room-card1">
|
|
<view class="room-card1">
|
|
- <image src="https://file-cloud.fmode.cn/EbxZUK5lBI/20241122/v5nu1u104043606.png"></image>
|
|
|
|
|
|
+ <image src="{{item.images[0]}}"></image>
|
|
<view class="room-card-textbox">
|
|
<view class="room-card-textbox">
|
|
<view class="room-card-textbox-titlebox">
|
|
<view class="room-card-textbox-titlebox">
|
|
- <view class="room-card-textbox-title">豪华标准房</view>
|
|
|
|
|
|
+ <view class="room-card-textbox-title">{{item.name}}</view>
|
|
<van-icon name="arrow" custom-style='margin-top: 8rpx;' />
|
|
<van-icon name="arrow" custom-style='margin-top: 8rpx;' />
|
|
</view>
|
|
</view>
|
|
<view class="room-card-textbox-info">
|
|
<view class="room-card-textbox-info">
|