|
|
|
<!--pages/customer/detail_owner.wxml-->
|
|
|
|
<wxs src="../../utils/util.wxs" module="util" />
|
|
|
|
<import src="../tpl/invitation"></import>
|
|
|
|
<nav backgroundColor="rgba(0,0,0,0)" hasHome style="position: fixed;z-index: 1;" class="navhome">
|
|
|
|
<nav backgroundColor="rgba(0,0,0,0)" hasHome style="position: fixed;z-index: 1;" class="navhome" place="{{true}}">
|
|
|
|
<!--
|
|
|
|
<service class="flex-rr" style="display: flex;flex-direction: row;" catchtap="catchtap">
|
|
|
|
<view class="service-view flex-vc">
|
|
...
|
...
|
@@ -10,23 +10,136 @@ |
|
|
|
</service>
|
|
|
|
-->
|
|
|
|
</nav>
|
|
|
|
<view class="pages bg-{{options.tplid}} flex-vc" style="height:{{height}}px;" wx:if="{{options.tplid}}">
|
|
|
|
<template is="tpl-{{options.tplid}}" data="{{seller,options,hasOwner,animation}}"></template>
|
|
|
|
<view class="opt-view flex-vc">
|
|
|
|
<block wx:if="{{!detail.hasOvered && !detail.hasCancel}}">
|
|
|
|
<button open-type="share" class="button-none flex-vc" catchtap="setUserInfoSuccess">
|
|
|
|
<view class="buts-share"></view>
|
|
|
|
</button>
|
|
|
|
</block>
|
|
|
|
<block wx:elif="{{detail.hasCancel}}">
|
|
|
|
<view class="opt-view-tip Medium">订座已取消</view>
|
|
|
|
</block>
|
|
|
|
<block wx:else="">
|
|
|
|
<view class="opt-view-tip Medium">订座已完成</view>
|
|
|
|
</block>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="bottom flex-lr" wx:if="{{!detail.hasOvered && !detail.hasCancel}}">
|
|
|
|
<!-- 内部预定 -->
|
|
|
|
<block wx:if="{{detail.type==0}}">
|
|
|
|
<!-- <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>
|
|
|
|
<view class="cover-conent flex-vc">
|
|
|
|
<view class="staff-info flex-lr">
|
|
|
|
<view class="staff-image" style="background: url({{staffinfo.photo}}) center center no-repeat;background-size: 100% auto;"></view>
|
|
|
|
<view class="flex-vl" style="padding-top: 16rpx;">
|
|
|
|
<view class="brown-font font34r font-bold" style="margin-bottom: 6rpx;">{{staffinfo.name}}</view>
|
|
|
|
<view class="brown-font font26r" style="margin-bottom: 6rpx;">{{staffinfo.position}}</view>
|
|
|
|
<view class="brown-font font26r" style="margin-bottom: 44rpx;">{{staffinfo.phone}}</view>
|
|
|
|
<view class="bg-light-brown book-concat flex-cc" style="margin-bottom: 20rpx;" bindtap="call">
|
|
|
|
<image src="http://sellershare.colorcun.com/share-call.png" class="book-concat-icon"></image>
|
|
|
|
<view class="brown-font font24r">电话</view>
|
|
|
|
</view>
|
|
|
|
<view class="bg-light-brown book-concat flex-cc" bindtap="addwechat">
|
|
|
|
<image src="http://sellershare.colorcun.com/share-wechat.png" class="book-concat-icon"></image>
|
|
|
|
<view class="brown-font font24r">微信</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<swiper class="seller-coupon" wx:if="{{list && list.length>0}}">
|
|
|
|
<swiper-item wx:for="{{list}}">
|
|
|
|
<view class="new-coupon-item flex-vl" data-id="{{item.id}}" catchtap="todetail">
|
|
|
|
<view class="font22r font-more font-bold" style="width:140rpx;display: block;">{{item.aname}}</view>
|
|
|
|
</view>
|
|
|
|
</swiper-item>
|
|
|
|
</swiper>
|
|
|
|
<block wx:else>
|
|
|
|
<view class="mask-line"></view>
|
|
|
|
</block>
|
|
|
|
</view>
|
|
|
|
<view class="order-info flex-vc">
|
|
|
|
<view class="order-decrote top-decrote" style="margin-bottom: 60rpx;"></view>
|
|
|
|
<view class="seller-name font34r font-bold brown-font">{{seller.name}}</view>
|
|
|
|
<view class="font26r smooth light-brown-font" style="margin-bottom: 12rpx;">已为您安排在包间</view>
|
|
|
|
<view class="room-info flex-cc">
|
|
|
|
<view class="room-decrote left-decrote"></view>
|
|
|
|
<view class="room-name font42r font-bold brown-font" style="font-size:42rpx;">{{seller.room}}</view>
|
|
|
|
<view class="room-decrote right-decrote"></view>
|
|
|
|
</view>
|
|
|
|
<view class="font24r smooth brown-font book-button bg-light-brown flex-cc" wx:if="{{roomimage && roomimage.length>0}}" bindtap="lookroom">浏览照片</view>
|
|
|
|
<view class="font28r smooth brown-font" style="margin-top: 60rpx;margin-bottom: 20rpx;">时间:{{seller.date}}</view>
|
|
|
|
<view class="font28r smooth brown-font">地址:{{seller.addr}}</view>
|
|
|
|
<view class="font24r smooth brown-font book-button bg-light-brown flex-cc" style="margin-bottom: 60rpx;" bindtap="lookLocation">一键导航</view>
|
|
|
|
<view class="order-decrote bottom-decrote"></view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<button open-type="share" class="font32r font-bold main-button book-button font-bold flex-cc" 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="font34r smooth flex-cc font-bold" style="width:140rpx;color:#ECC88F;margin: 0 auto;" bindtap="secondbook">再次预订</view>
|
|
|
|
</view> -->
|
|
|
|
<view class="last-bg" style="padding-top: {{statusBarHeight+titleBarHeight}}px;line-height: 1.4;padding-bottom: {{detail.seller.is_open_order==1 && !detail.hasOvered && !detail.hasCancel ? 150 : 60}}rpx;">
|
|
|
|
<view class="last-book-title"></view>
|
|
|
|
<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;">
|
|
|
|
<view class="white-font font60r">{{staffinfo.name}}</view>
|
|
|
|
<view class="white-font font32r">{{staffinfo.phone}}</view>
|
|
|
|
<view class="white-font font34r" style="margin-bottom: 20rpx;">{{staffinfo.position}}</view>
|
|
|
|
<view class="last-button-item flex-ll" style="margin-bottom: 20rpx;" bindtap="call">
|
|
|
|
<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">
|
|
|
|
<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>
|
|
|
|
</view>
|
|
|
|
<swiper class="last-seller-coupon" wx:if="{{list && list.length>0}}">
|
|
|
|
<swiper-item wx:for="{{list}}">
|
|
|
|
<view class="last-new-coupon-item flex-vl" data-id="{{item.id}}" catchtap="todetail">
|
|
|
|
<view class="font22r font-more font-bold last-coupon-content" style="width:290rpx;display: block;">{{item.aname}}</view>
|
|
|
|
<view class="black-font font24r flex-cc last-use-button">立即使用</view>
|
|
|
|
</view>
|
|
|
|
</swiper-item>
|
|
|
|
</swiper>
|
|
|
|
</view>
|
|
|
|
<view class="last-order-info flex-vc">
|
|
|
|
<view class="font42r last-yellow-font" style="margin-bottom: 14rpx;">{{seller.name}}</view>
|
|
|
|
<view class="font42r last-yellow-font" style="margin-bottom: 26rpx;">{{seller.date}}</view>
|
|
|
|
<view class="white-font font32r" style="margin-bottom: 28rpx;">已为您安排在包间</view>
|
|
|
|
<view class="last-room-rect flex-cc">
|
|
|
|
<view class="font52r last-yellow-font font-bold">{{seller.room}}</view>
|
|
|
|
<view class="last-look-button last-comoon-button black-font font22r flex-cc" wx:if="{{roomimage && roomimage.length>0}}" bindtap="lookroom">浏览照片</view>
|
|
|
|
</view>
|
|
|
|
<view class="font28r last-yellow-font" style="margin-bottom: 10rpx;">{{seller.addr}}</view>
|
|
|
|
<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="secondbook">再次预订</view>
|
|
|
|
</view>
|
|
|
|
<!-- wx:if="{{detail.seller.is_open_order==1 && !detail.hasOvered && !detail.hasCancel}}" -->
|
|
|
|
<userinfo binduserinfo="cookbook" class="last-diancan flex-vc" wx:if="{{detail.seller.is_open_order==1 && !detail.hasOvered && !detail.hasCancel}}">
|
|
|
|
<view class="last-buts-text flex-cc font30r">
|
|
|
|
<image src="http://nosqn.colorcun.com/manager-invitation/wx2/%E6%8F%90%E5%89%8D%E7%82%B9%E9%A4%90.png" class="icon"></image>
|
|
|
|
提前点餐
|
|
|
|
</view>
|
|
|
|
</userinfo>
|
|
|
|
</block>
|
|
|
|
<block wx:else>
|
|
|
|
<view class="pages bg-{{options.tplid}} flex-vc" style="height:{{height}}px;" wx:if="{{options.tplid}}">
|
|
|
|
<template is="tpl-{{options.tplid}}" data="{{seller,options,hasOwner,animation}}"></template>
|
|
|
|
<view class="opt-view flex-vc">
|
|
|
|
<block wx:if="{{!detail.hasOvered && !detail.hasCancel}}">
|
|
|
|
<button open-type="share" class="button-none flex-vc" catchtap="setUserInfoSuccess">
|
|
|
|
<view class="buts-share"></view>
|
|
|
|
</button>
|
|
|
|
</block>
|
|
|
|
<block wx:elif="{{detail.hasCancel}}">
|
|
|
|
<view class="opt-view-tip Medium">订座已取消</view>
|
|
|
|
</block>
|
|
|
|
<block wx:else="">
|
|
|
|
<view class="opt-view-tip Medium">订座已完成</view>
|
|
|
|
</block>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</block>
|
|
|
|
<view class="bottom flex-lr" wx:if="{{detail.type!=0 && !detail.hasOvered && !detail.hasCancel}}">
|
|
|
|
<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>
|
|
|
|
<view class="text">订包间</view>
|
|
...
|
...
|
@@ -67,7 +180,7 @@ |
|
|
|
<ddate id="ddate" order="{{detail}}" wx:if="{{detail}}" bindevent="ddateEvent"></ddate>
|
|
|
|
<a2l bindshow="a2lshow" bindhide="a2lshow" key="INVIT-OWNER"></a2l>
|
|
|
|
|
|
|
|
<view class="coupon" wx:if="{{list && list.length>0}}" hidden="{{couponhidden}}" bindtap="close">
|
|
|
|
<!-- <view class="coupon" wx:if="{{list && list.length>0}}" hidden="{{couponhidden}}" bindtap="close">
|
|
|
|
<view class="coupon-content flex-vc" style="margin-top: -{{360+(list.length>2 ? 180 : 75*list.length+1)}}rpx;">
|
|
|
|
<view class="coupon-bg"></view>
|
|
|
|
<view class="coupon-info">
|
|
...
|
...
|
@@ -92,9 +205,6 @@ |
|
|
|
</view>
|
|
|
|
</block>
|
|
|
|
<block wx:else>
|
|
|
|
<!-- <userinfo binduserinfo="setcoupon">
|
|
|
|
|
|
|
|
</userinfo> -->
|
|
|
|
<view class="flex-cc" style="padding-right: 15rpx;">
|
|
|
|
<view class="use-button flex-cc font20r">领取</view>
|
|
|
|
</view>
|
|
...
|
...
|
@@ -112,12 +222,10 @@ |
|
|
|
</userinfo>
|
|
|
|
|
|
|
|
</block>
|
|
|
|
|
|
|
|
<!-- <official-account class="care flex-ll" bindload="load"></official-account> -->
|
|
|
|
</view>
|
|
|
|
<view class="" style="padding: 20rpx;position: relative;top: -94rpx;" catchtap="close">
|
|
|
|
<image src="http://nosqn.colorcun.com/book-close.png" style="width: 60rpx;height: 60rpx;"></image>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view> -->
|
|
|
|
|
...
|
...
|
|