|
|
@ -33,7 +33,7 @@ |
|
|
</view> |
|
|
</view> |
|
|
</picker> |
|
|
</picker> |
|
|
</view> |
|
|
</view> |
|
|
<view class="product-item" wx:for="{{products}}"> |
|
|
<view wx:if="{{sceneInfo && sceneInfo.third_supplier_type!='mt'}}" class="product-item" wx:for="{{products}}"> |
|
|
<image src="{{item.headimg}}" mode="aspectFill"></image> |
|
|
<image src="{{item.headimg}}" mode="aspectFill"></image> |
|
|
<view class="product-info textOver"> |
|
|
<view class="product-info textOver"> |
|
|
<view class="title textOver">{{item.product.title+item.sku_name}}</view> |
|
|
<view class="title textOver">{{item.product.title+item.sku_name}}</view> |
|
|
@ -47,6 +47,30 @@ |
|
|
<view class="btn" bindtap="order" data-item="{{item}}">预订</view> |
|
|
<view class="btn" bindtap="order" data-item="{{item}}">预订</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
<view wx:if="{{sceneInfo && sceneInfo.third_supplier_type=='mt'}}" wx:for="{{products}}" class="product-item1"> |
|
|
|
|
|
<view class="product-item" style="align-items:center"> |
|
|
|
|
|
<common-image src="{{item.img_list[0]}}" mode="aspectFill"></common-image> |
|
|
|
|
|
<view class="product-info textOver"> |
|
|
|
|
|
<view class="title textOver"><view class="textOver">{{item.room_name}}</view></view> |
|
|
|
|
|
<view class="subtitle textOver2">{{item.useable_area?(item.useable_area+'m²'):''}} <text wx:for="{{item.bed_info}}">{{item.bedDesc}}{{item.bedType}}x{{item.bedCount}}</text> {{item.window?item.window:''}}</view> |
|
|
|
|
|
<view class="mt-price">{{item.low_price/100}}</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="product-right"> |
|
|
|
|
|
<image class="product-arrow-img" bindtap="getSkuList" data-id="{{item.real_room_id}}" data-index="{{index}}" src="https://fastadmin.oss-cn-shenzhen.aliyuncs.com/xcxImages/info/arrow{{activeSkuIndex==index?'1':''}}.png" mode="widthFix"></image> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="sku-item" wx:if="{{activeSkuIndex==index && skuList.length>0}}" wx:for="{{skuList}}" wx:for-index="skuIndex" wx:for-item="sku"> |
|
|
|
|
|
<view class="sku-info"> |
|
|
|
|
|
<view class="sku-title textOver" bindtap="showRoomInfo" data-sku="{{sku}}" data-info="{{item}}" style="display:flex;align-items:center;"><view class="textOver">{{sku.breakfast}} {{sku.bed_type}} {{sku.max_room_num}}人入住</view><text style="font-size:20rpx;margin-left:10rpx" class="iconfont icon-you"></text></view> |
|
|
|
|
|
<view class="sku-tip">{{sku.refund_policy}}</view> |
|
|
|
|
|
<view class="sku-price">{{sku.price/100}}</view> |
|
|
|
|
|
<view class="sku-info">{{sku.breakfast}} {{sku.bed_type}} {{sku.max_room_num}}人入住</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="product-right"> |
|
|
|
|
|
<view class="btn" bindtap="orderMt" data-item="{{sku}}" data-product="{{products[index]}}">预订</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
<view class="box" wx:if="{{isTest==false}}"> |
|
|
<view class="box" wx:if="{{isTest==false}}"> |
|
|
<view class="box-top"> |
|
|
<view class="box-top"> |
|
|
<text class="iconfont icon-tiwen1"></text><text>问大家</text> |
|
|
<text class="iconfont icon-tiwen1"></text><text>问大家</text> |
|
|
@ -63,13 +87,6 @@ |
|
|
<view class="ques-num" wx:if="{{item.answer.total!=0}}">{{item.answer.total}}个回答</view> |
|
|
<view class="ques-num" wx:if="{{item.answer.total!=0}}">{{item.answer.total}}个回答</view> |
|
|
<view class="ques-num" wx:if="{{item.answer.total==0}}">暂无回答</view> |
|
|
<view class="ques-num" wx:if="{{item.answer.total==0}}">暂无回答</view> |
|
|
</view> |
|
|
</view> |
|
|
<!-- <view class="item-ques"> |
|
|
|
|
|
<image class="item-icon" src="https://fastadmin.oss-cn-shenzhen.aliyuncs.com/xcxImages/ask/ans.png" mode="widthFix"></image> |
|
|
|
|
|
<view class="ans">{{item.answer && item.answer.lastest_answer?item.answer.lastest_answer.answer:"暂无回答"}}</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="ques-tip"> |
|
|
|
|
|
<view class="ques-time">{{item.created_time}}提问</view> |
|
|
|
|
|
</view> --> |
|
|
|
|
|
</navigator> |
|
|
</navigator> |
|
|
<navigator style="border-top:1rpx solid #ccc" url="/pages/ask/index?id={{sceneInfo.id}}" class="more-comment-btn">查看全部问答<text class="iconfont icon-you"></text></navigator> |
|
|
<navigator style="border-top:1rpx solid #ccc" url="/pages/ask/index?id={{sceneInfo.id}}" class="more-comment-btn">查看全部问答<text class="iconfont icon-you"></text></navigator> |
|
|
</view> |
|
|
</view> |
|
|
@ -95,4 +112,70 @@ |
|
|
<view class="comment-content">{{item.content}}</view> |
|
|
<view class="comment-content">{{item.content}}</view> |
|
|
</navigator> |
|
|
</navigator> |
|
|
<navigator url="/pages/list/comments/index?sceneid={{id}}" wx:if="{{comment.length>0}}" class="more-comment-btn">查看全部点评<text class="iconfont icon-you"></text></navigator> |
|
|
<navigator url="/pages/list/comments/index?sceneid={{id}}" wx:if="{{comment.length>0}}" class="more-comment-btn">查看全部点评<text class="iconfont icon-you"></text></navigator> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="mask" wx:if="{{showInfoFlag}}"> |
|
|
|
|
|
<view class="mask-bg" bindtap="hideRoomInfo"></view> |
|
|
|
|
|
<view class="mask-content hotel-info-mask" wx:if="{{roomInfo}}"> |
|
|
|
|
|
<swiper class="swiper" indicator-dots="{{true}}" wx:if="{{roomInfo && roomInfo.productInfo.img_list.length>0}}" |
|
|
|
|
|
autoplay="{{true}}" interval="{{2000}}" duration="{{300}}"> |
|
|
|
|
|
<block wx:for="{{roomInfo.productInfo.img_list}}" wx:key="*this"> |
|
|
|
|
|
<swiper-item> |
|
|
|
|
|
<common-image src="{{item}}" mode="aspectFill"></common-image> |
|
|
|
|
|
</swiper-item> |
|
|
|
|
|
</block> |
|
|
|
|
|
</swiper> |
|
|
|
|
|
<view class="iconfont icon-ic_searchclosed" bindtap="hideRoomInfo"></view> |
|
|
|
|
|
<view class="hotel-info-mask-title">房间信息</view> |
|
|
|
|
|
<view class="info-table"> |
|
|
|
|
|
<view class="textOver">{{roomInfo.skuInfo.bed_type}}</view> |
|
|
|
|
|
<view class="textOver">可住{{roomInfo.skuInfo.max_room_num}}人</view> |
|
|
|
|
|
<view class="textOver">{{roomInfo.productInfo.useable_area}}m²</view> |
|
|
|
|
|
<view class="textOver">{{roomInfo.productInfo.window}}</view> |
|
|
|
|
|
<view class="textOver">{{roomInfo.productInfo.floor}}层</view> |
|
|
|
|
|
<view class="textOver">{{roomInfo.skuInfo.goodsStatusText}}</view> |
|
|
|
|
|
<view class="textOver">{{roomInfo.skuInfo.breakfast}}</view> |
|
|
|
|
|
<view class="textOver">{{roomInfo.skuInfo.goodsTypeText}}</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="hotel-info-tips"> |
|
|
|
|
|
<text>费用政策</text> |
|
|
|
|
|
<view class="hotel-info-tip"> |
|
|
|
|
|
<view>加床:该房型{{roomInfo.productInfo.extra_bed==0?'不可':'可以'}}加床</view> |
|
|
|
|
|
<view>{{roomInfo.skuInfo.confirmTypeText}}</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="hotel-info-tips"> |
|
|
|
|
|
<text>是否需要身份证</text> |
|
|
|
|
|
<view class="hotel-info-tip"> |
|
|
|
|
|
<view>{{roomInfo.skuInfo.needIdentityCard==false?'否':'是'}}</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="hotel-info-tips"> |
|
|
|
|
|
<text>开票</text> |
|
|
|
|
|
<view class="hotel-info-tip"> |
|
|
|
|
|
<view>{{invoiceModes[roomInfo.skuInfo.invoiceInfo.invoiceMode]}}</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="info-border"></view> |
|
|
|
|
|
<view class="hotel-info-tips" style="font-size:30rpx;margin-top:20rpx">预订规则</view> |
|
|
|
|
|
<view wx:for="{{roomInfo.skuInfo.BookRule}}"> |
|
|
|
|
|
<view class="hotel-info-tips" style="font-size:26rpx;color:#666">{{item.ruleDateRangeText}}</view> |
|
|
|
|
|
<view class="hotel-info-tips" style="display:block;color:#666"> |
|
|
|
|
|
<view>连续入住最少天数 <text style="color:#666">{{item.serialCheckinMin==0?"不限制":(item.serialCheckinMin+"天")}}</text></view> |
|
|
|
|
|
<view>连续入住最多天数 <text style="color:#666">{{item.serialCheckinMax==0?"不限制":(item.serialCheckinMax+"天")}}</text></view> |
|
|
|
|
|
<view>最少预订间数 <text style="color:#666">{{item.roomCountMin==0?"不限制":(item.roomCountMin+"间")}}</text></view> |
|
|
|
|
|
<view>最多预订间数 <text style="color:#666">{{item.roomCountMax==0?"不限制":(item.roomCountMax+"间")}}</text></view> |
|
|
|
|
|
<view>最早预订时间 <text style="color:#666">{{item.earliestBookingText}}</text></view> |
|
|
|
|
|
<view>最晚预订时间 <text style="color:#666">{{item.latestBookingText}}</text></view> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="hotel-info-tips" style="font-size:30rpx;margin-top:20rpx">取消政策</view> |
|
|
|
|
|
<view class="hotel-info-tips" wx:for="{{roomInfo.skuInfo.BookRule}}" style="display:block;color:#666"> |
|
|
|
|
|
{{roomInfo.skuInfo.refund_policy}} |
|
|
|
|
|
</view> |
|
|
|
|
|
<view style="height:120rpx"></view> |
|
|
|
|
|
<view class="fixed-bottom" wx:if="{{roomInfo && roomInfo.skuInfo}}"> |
|
|
|
|
|
<view class="fixed-bottom-left">价格:<text>¥{{roomInfo.skuInfo.price/100}}</text></view> |
|
|
|
|
|
<view class="fixed-bottom-btn" bindtap="orderMt" data-item="{{roomInfo.sku}}" data-product="{{roomInfo.productInfo}}">立即预订</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
</view> |
|
|
</view> |