|
...
|
...
|
@@ -11,7 +11,7 @@ |
|
|
|
-->
|
|
|
|
</nav>
|
|
|
|
<!-- 内部预定 -->
|
|
|
|
<block wx:if="{{detail && detail.type==0 && detail.channel==2}}">
|
|
|
|
<block wx:if="{{detail && detail.type==0 && detail.channel==5}}">
|
|
|
|
<!-- <view class="pages bg-1" style="max-height:{{height}}px;overflow-y: scroll;padding-top: {{statusBarHeight+titleBarHeight}}px;line-height: 1.4;padding-bottom: 60rpx;">
|
|
|
|
<view class="book-image flex-cc">
|
|
|
|
</view>
|
|
...
|
...
|
@@ -67,8 +67,7 @@ |
|
|
|
</block>
|
|
|
|
<view class="font34r smooth flex-cc font-bold" style="width:140rpx;color:#ECC88F;margin: 0 auto;" bindtap="secondbook">再次预订</view>
|
|
|
|
</view> -->
|
|
|
|
<scroll-view class="last-bg" style="padding-top: {{statusBarHeight+titleBarHeight}}px;line-height: 1.4;height:{{height}}px;" scroll-y>
|
|
|
|
<!-- <view class="last-book-title"></view> -->
|
|
|
|
<!-- <scroll-view class="last-bg" style="padding-top: {{statusBarHeight+titleBarHeight}}px;line-height: 1.4;height:{{height}}px;" scroll-y>
|
|
|
|
<view class="last-staff-info flex-lr">
|
|
|
|
<view class="last-staff-image" style="background: url({{staffinfo.photo}}) center center no-repeat;background-size: 100% auto;"></view>
|
|
|
|
<view class="last-staff-detail flex-vr" style="align-items: flex-end;">
|
|
...
|
...
|
@@ -79,10 +78,6 @@ |
|
|
|
<image src="http://sellershare.colorcun.com/last-book-call.png" class="last-icon"></image>
|
|
|
|
<view class="black-font font22r last-button-content flex-cc" >拨打电话</view>
|
|
|
|
</view>
|
|
|
|
<!-- <button class="last-button-item flex-ll" open-type="contact" bindcontact="test" send-message-img="{{staffinfo.qrcode}}" show-message-card="{{true}}" send-message-path="pages/customer/index?qrcode={{staffinfo.qrcode}}&islover=customer">
|
|
|
|
<image src="http://sellershare.colorcun.com/last-book-wechat.png" class="last-icon"></image>
|
|
|
|
<view class="black-font font22r last-button-content flex-cc" >加我微信</view>
|
|
|
|
</button> -->
|
|
|
|
<button class="last-button-item flex-ll" bindtap="addwechat">
|
|
|
|
<image src="http://sellershare.colorcun.com/last-book-wechat.png" class="last-icon"></image>
|
|
|
|
<view class="black-font font22r last-button-content flex-cc" >加我微信</view>
|
|
...
|
...
|
@@ -109,39 +104,120 @@ |
|
|
|
<view class="last-comoon-button black-font font22r flex-cc" style="margin-bottom: 60rpx;" bindtap="lookLocation">一键导航</view>
|
|
|
|
</view>
|
|
|
|
<button class="last-share-button font38r flex-cc font-bold" open-type="share" wx:if="{{!detail.hasOvered && !detail.hasCancel}}" catchtap="setUserInfoSuccess">转发好友</button>
|
|
|
|
<!-- <block wx:elif="{{detail.hasCancel}}">
|
|
|
|
<view class="font32r white-font flex-cc" style="margin-bottom: 30rpx;">订座已取消</view>
|
|
|
|
</block>
|
|
|
|
<block wx:else="">
|
|
|
|
<view class="font32r white-font flex-cc" style="margin-bottom: 30rpx;">订座已完成</view>
|
|
|
|
</block> -->
|
|
|
|
<view class="font24r last-yellow-font" style="width:140rpx;padding: 0 20rpx;box-sizing: border-box;margin: 0 auto;" bindtap="sendmsg" wx:if="{{!detail.hasOvered && !detail.hasCancel}}">短信通知</view>
|
|
|
|
<view style="height:40rpx;"></view>
|
|
|
|
</scroll-view> -->
|
|
|
|
<showModal id="showModal" confirmText="知道了" bindshowModal="showModal" cla="checkout"></showModal>
|
|
|
|
<scroll-view class="last-book-bg" style="padding-top: {{statusBarHeight+titleBarHeight}}px;line-height: 1.4;height:{{height}}px;" scroll-y>
|
|
|
|
<view class="book-flower"></view>
|
|
|
|
<view style="padding-left: 40rpx;box-sizing: border-box;">
|
|
|
|
<view class="last-book-staff flex-vr" style="align-items: flex-end;">
|
|
|
|
<image src="{{staffinfo.photo}}" class="book-staff-headerimg" mode="aspectFit"></image>
|
|
|
|
<view class="flex-rr" style="margin-bottom: 20rpx;">
|
|
|
|
<view class="flex-rr font26r yellow-font">客户经理:{{staffinfo.name}}</view>
|
|
|
|
<view class="book-staff-item-button flex-cc" bindtap="addwechat">
|
|
|
|
<image src="http://nosqn.colorcun.com/book-wechat.png" class="book-header-icon"></image>
|
|
|
|
<view class="font22r brown-font">加我微信</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="flex-rr">
|
|
|
|
<view class="flex-rr font26r yellow-font">{{staffinfo.phone}}</view>
|
|
|
|
<view class="book-staff-item-button flex-cc" bindtap="call">
|
|
|
|
<image src="http://nosqn.colorcun.com/book-phone.png" class="book-header-icon"></image>
|
|
|
|
<view class="font22r brown-font">拨打电话</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="book-font"></view>
|
|
|
|
<view class="flex-lr" style="padding-right: 40rpx;box-sizing: border-box;align-items: flex-start;">
|
|
|
|
<view class="yellow-font font44r" style="max-width:428rpx;margin-bottom: 60rpx;">{{seller.name}}</view>
|
|
|
|
<block wx:if="{{detail.seller.is_open_order==1 && !detail.hasOvered && !detail.hasCancel}}">
|
|
|
|
<block wx:if="{{detail && detail.seller.is_open_order==1}}">
|
|
|
|
<view class="last-book-food flex-cc" bindtap="cookbook">
|
|
|
|
<view class="white-font font30r smooth" style="color: #043341;">提前点餐</view>
|
|
|
|
<image src="http://nosqn.colorcun.com/book-direction.png" style="width: 12rpx;height: 24rpx;margin-left: 10rpx;"></image>
|
|
|
|
</view>
|
|
|
|
</block>
|
|
|
|
<block wx:else>
|
|
|
|
<view class="last-book-food flex-ll" bindtap="noopen" data-mark="buy">
|
|
|
|
<view class="white-font font30r smooth">提前点餐</view>
|
|
|
|
<image src="http://nosqn.colorcun.com/book-direction.png" style="width: 12rpx;height: 24rpx;margin-left: 10rpx;"></image>
|
|
|
|
</view>
|
|
|
|
</block>
|
|
|
|
</block>
|
|
|
|
</view>
|
|
|
|
|
|
|
|
<view>
|
|
|
|
<view class="font26r" style="color: #C9BD89;margin-bottom: 20rpx;">已为您安排在包间</view>
|
|
|
|
<view class="book-room-rect flex-cc">
|
|
|
|
<view class="font44r yellow-font">{{seller.room}}</view>
|
|
|
|
<view class="book-look-button brown-font font22r flex-cc" wx:if="{{roomimage && roomimage.length>0}}" bindtap="lookroom">浏览照片</view>
|
|
|
|
</view>
|
|
|
|
<view class="yellow-font font30r" style="margin-bottom: 24rpx;">时间:{{seller.date}}</view>
|
|
|
|
<view class="flex-lr" style="line-height: 1.2;padding-right: 40rpx;box-sizing: border-box;">
|
|
|
|
<view class="yellow-font font30r">地址:{{seller.addr}}</view>
|
|
|
|
<view class="loaction-button black-font font22r flex-cc" bindtap="looklocation">一键导航</view>
|
|
|
|
</view>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
|
|
|
|
</scroll-view>
|
|
|
|
<!-- wx:if="{{detail.seller.is_open_order==1 && !detail.hasOvered && !detail.hasCancel}}" -->
|
|
|
|
<!-- <view class="last-bottom flex-lr">
|
|
|
|
<view class="booking-button last-buts-text flex-cc font30r" bindtap="secondbook" style="width:{{detail.seller.is_open_order==1 && !detail.hasOvered && !detail.hasCancel ? (detail && detail.seller.isopen_md==1 ? 33.33 : 50) : 100}}%;">
|
|
|
|
<image src="http://sellershare.colorcun.com/yuding.png" class="icon" style="width: 32rpx;height: 32rpx;"></image>
|
|
|
|
再次预订
|
|
|
|
<view class="all-button flex-lr">
|
|
|
|
<block wx:if="{{detail.hasCancel}}">
|
|
|
|
<view class="book-item-font flex-cc">
|
|
|
|
<image src="http://nosqn.colorcun.com/book-share-nouse-button.png" class="button-item-icon"></image>
|
|
|
|
<view class="font30r" style="color: #999999;">转发好友</view>
|
|
|
|
</view>
|
|
|
|
</block>
|
|
|
|
<block wx:else>
|
|
|
|
<button class="book-item-font flex-cc" open-type="share">
|
|
|
|
<image src="http://nosqn.colorcun.com/book-share-button.png" class="button-item-icon"></image>
|
|
|
|
<view class="font30r">转发好友</view>
|
|
|
|
</button>
|
|
|
|
</block>
|
|
|
|
<view class="book-item-font second-book-button flex-cc" bindtap="secondbook">
|
|
|
|
<image src="http://nosqn.colorcun.com/second-book.png" class="button-item-icon"></image>
|
|
|
|
<view class="font30r">再次预订</view>
|
|
|
|
</view>
|
|
|
|
<block wx:if="{{detail.seller.is_open_order==1 && !detail.hasOvered && !detail.hasCancel}}">
|
|
|
|
<userinfo binduserinfo="cookbook" class="last-diancan flex-vc" style="width:{{detail && detail.seller.isopen_md==1 ? 33.33 : 50}}%;">
|
|
|
|
<view class="last-buts-text flex-cc font30r" style="border-left:2rpx solid #D3BF9C;height: 50rpx;">
|
|
|
|
<image src="http://sellershare.colorcun.com/diancan.png" class="icon" style="width: 34rpx;height: 28rpx;"></image>
|
|
|
|
提前点餐
|
|
|
|
</view>
|
|
|
|
</userinfo>
|
|
|
|
<userinfo class="last-pay flex-cc" binduserinfo="checkout" share="{{detail}}" share-act="invitation" wx:if="{{detail && detail.seller.isopen_md==1}}">
|
|
|
|
<view class="last-buts-text font30r flex-cc" style="border-left:2rpx solid #D3BF9C;height: 50rpx;">
|
|
|
|
<image src="http://sellershare.colorcun.com/maidan.png" class="icon" style="width:30rpx;height: 24rpx;"></image>
|
|
|
|
在线买单
|
|
|
|
</view>
|
|
|
|
</userinfo>
|
|
|
|
<view class="line-border"></view>
|
|
|
|
<block wx:if="{{list}}">
|
|
|
|
<view class="book-notice flex-vc">
|
|
|
|
<view class="white-font font26r flex-cc">再次预订可享“{{list[0].aname}}”优惠</view>
|
|
|
|
<view class="angel"></view>
|
|
|
|
</view>
|
|
|
|
</block>
|
|
|
|
</view> -->
|
|
|
|
<showModal id="showModal" confirmText="知道了" bindshowModal="showModal" cla="checkout"></showModal>
|
|
|
|
<!-- <view bindtap="sendmsg">测试发送短信息</view> -->
|
|
|
|
</block>
|
|
|
|
</view>
|
|
|
|
<view class="book-mask" hidden="{{selecthidden}}" bindtap="closeselect"></view>
|
|
|
|
<view class="book-buttons">
|
|
|
|
<view class="select-button white-font font28r flex-cc" bindtap="showselect">选项</view>
|
|
|
|
<view hidden="{{selecthidden}}">
|
|
|
|
<navigator class="select-item-button flex-cc white-font font24r" style="left: 30rpx;bottom:328rpx;" open-type="redirect" url="/pages/customer/index?islove=custom">首页</navigator>
|
|
|
|
<navigator class="select-item-button flex-cc white-font font24r" style="left: 126rpx;bottom:242rpx;" open-type="redirect" url="/pages/me/index">我的</navigator>
|
|
|
|
<block wx:if="{{detail.hasCancel}}"><view class="select-item-button flex-cc gray-font font28r" style="left: 130rpx;bottom:110rpx;">取消订单</view>
|
|
|
|
<view class="select-item-button flex-cc white-font font24r" style="left: 130rpx;bottom:110rpx;" bindtap="cancelmodal">取消订单</view>
|
|
|
|
</block>
|
|
|
|
<block wx:else>
|
|
|
|
<view class="select-item-button flex-cc white-font font24r" style="left: 130rpx;bottom:110rpx;" bindtap="cancelmodal">取消订单</view>
|
|
|
|
</block>
|
|
|
|
<view class="select-item-button flex-cc white-font font24r" style="left: 42rpx;bottom:10rpx;" bindtap="closeselect">返回</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="book-mask" hidden="{{morehidden}}" bindtap="closemore"></view>
|
|
|
|
<view class="service-buttons">
|
|
|
|
<view class="more-button white-font font28r flex-vc" bindtap="showmore">更多<view>服务</view></view>
|
|
|
|
<view hidden="{{morehidden}}">
|
|
|
|
<view class="select-item-button flex-cc gray-font font24r" style="right: 0rpx;bottom:724rpx;">酒水</view>
|
|
|
|
<view class="select-item-button flex-cc gray-font font24r" style="right: 112rpx;bottom:660rpx;">代驾</view>
|
|
|
|
<view class="select-item-button flex-cc gray-font font24r" style="right: 152rpx;bottom:546rpx;">酒店</view>
|
|
|
|
<view class="select-item-button flex-cc gray-font font24r" style="right: 112rpx;bottom:430rpx;">茶楼沐足</view>
|
|
|
|
<view class="select-item-button flex-cc white-font font24r" style="right: 0rpx;bottom:368rpx;" bindtap="closemore">返回</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<block wx:if="{{detail.hasCancel}}">
|
|
|
|
<view class="cancel-mark"></view>
|
|
|
|
</block>
|
|
|
|
</block>
|
|
|
|
<block wx:else>
|
|
|
|
<block wx:if="{{detail}}">
|
|
|
|
<view class="pages bg-{{options.tplid}} flex-vc" style="height:{{height}}px;" wx:if="{{options.tplid}}">
|
|
...
|
...
|
@@ -163,8 +239,8 @@ |
|
|
|
</block>
|
|
|
|
|
|
|
|
</block>
|
|
|
|
<view class="menu" wx:if="{{detail && detail.type==0 && detail.channel==2}}" bindtap="showmenu"></view>
|
|
|
|
<view class="menu-list flex-vl" style="justify-content: flex-end;" wx:if="{{detail && detail.type==0 && detail.channel==2}}" hidden="{{menuhidden}}" catchtap="hidemenu">
|
|
|
|
<!-- <view class="menu" wx:if="{{detail && detail.type==0 && detail.channel==2}}" bindtap="showmenu"></view> -->
|
|
|
|
<view class="menu-list flex-vl" style="justify-content: flex-end;" wx:if="{{detail && detail.type==0 && detail.channel==5}}" hidden="{{menuhidden}}" catchtap="hidemenu">
|
|
|
|
<view class="menu-item menu-seller-item flex-ll" catchtap="secondbook">
|
|
|
|
<view class="menu-item-image" style="background: url({{detail.seller.seller_image}}) center center no-repeat;background-size: cover;"></view>
|
|
|
|
<view class="white-font font30r smooth">{{seller.name}}</view>
|
|
...
|
...
|
@@ -205,7 +281,7 @@ |
|
|
|
<view class="white-font font30r smooth">返回</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="bottom flex-lr" wx:if="{{!detail.hasOvered && !detail.hasCancel && detail.channel!=2}}">
|
|
|
|
<view class="bottom flex-lr" wx:if="{{!detail.hasOvered && !detail.hasCancel && detail.channel!=5}}">
|
|
|
|
|
|
|
|
<view bindtap="gotoHome" class="dingbaojian flex-vc">
|
|
|
|
<image src="http://nosqn.colorcun.com/reserve/images/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20191114105901.png" class="icon"></image>
|
...
|
...
|
|