|
...
|
...
|
@@ -24,15 +24,87 @@ |
|
|
|
|
|
|
|
<detail-status detail="{{detail}}" ></detail-status>
|
|
|
|
<detail-card detail="{{detail}}"></detail-card>
|
|
|
|
<view class="flex padding justify-end align-center">
|
|
|
|
|
|
|
|
<view class="flex padding justify-end align-center margin-top">
|
|
|
|
<navigator url="/pages/reserve/reserve?id={{detail.sid}}&activeTab=reserve"
|
|
|
|
wx:if="{{detail.hasCancel || detail.status==6}}"
|
|
|
|
hover-class="navigator-hover">
|
|
|
|
<view class="min-but flex align-center justify-center txt-30-h solid">再次预订</view>
|
|
|
|
</navigator>
|
|
|
|
<navigator url="./cancel?id={{detail.id}}"
|
|
|
|
wx:if="{{(detail.hasRunning || detail.status==0) && checkout.status!=3}}"
|
|
|
|
hover-class="navigator-hover">
|
|
|
|
<view class="min-but flex align-center justify-center txt-30-h solid">取消预订</view>
|
|
|
|
</navigator>
|
|
|
|
<navigator url="/pages/customer/detail_owner_invitation?id={{detail.id}}&hasInvitation=1&hasSellerShare=1&tplid=1"
|
|
|
|
wx:if="{{detail.hasRunning}}"
|
|
|
|
class="share-but-view">
|
|
|
|
<view class="min-but flex align-center justify-center txt-30-h solid line-blue">通知好友</view>
|
|
|
|
</navigator>
|
|
|
|
<navigator url="/pages/pinglun/create?sid={{detail.seller.id}}&oid={{detail.id}}&sellername={{detail.seller.sellername}}"
|
|
|
|
wx:if="{{detail.hasFinished && hasComment}}"
|
|
|
|
hover-class="navigator-hover">
|
|
|
|
<view class="min-but flex align-center justify-center txt-30-h solid line-blue">评价</view>
|
|
|
|
</navigator>
|
|
|
|
</view>
|
|
|
|
<view class="margin-lr-lg padding-tb-lg view solid-top" wx:if="{{true || detail.customers.length>1}}">
|
|
|
|
<navigator url="./detail_owner_part?id={{detail.id}}" hover-class="navigator-hover" wx:if="{{detail.customers.length>0}}">
|
|
|
|
<view class="flex-lr customers_view">
|
|
|
|
<view class="customers flex-ll">
|
|
|
|
<block wx:for="{{detail.customers}}" wx:key="detail.customers.key">
|
|
|
|
<image src="{{item.headimgurl}}" class="avatar" mode="aspectFill" wx:if="{{index<3}}"></image>
|
|
|
|
</block>
|
|
|
|
<view style="margin-left: 12rpx;">等{{detail.customers.length}}人已参加</view>
|
|
|
|
</view>
|
|
|
|
<image src="http://nosqn.colorcun.com/custom/lite-yd/image/click.png" class="more"></image>
|
|
|
|
</view>
|
|
|
|
</navigator>
|
|
|
|
</view>
|
|
|
|
<view class="fixed-buttons flex justify-center align-center">
|
|
|
|
<view class="fixed-buttons flex justify-between align-center padding-lg view bg-white">
|
|
|
|
<view wx:if="{{detail.hasRunning && detail.seller.is_open_order==1}}"
|
|
|
|
class="view flex-treble big-but flex align-center justify-center txt-34-h solid line-blue round">
|
|
|
|
<userinfo
|
|
|
|
binduserinfo="cookbook"
|
|
|
|
bindshare="share"
|
|
|
|
share="{{detail}}"
|
|
|
|
share-act="invitation">
|
|
|
|
<view wx:if="{{detail.order && detail.order.cookbooklist.length>0}}">
|
|
|
|
查看菜品
|
|
|
|
</view>
|
|
|
|
<view wx:else="">提前点餐</view>
|
|
|
|
</userinfo>
|
|
|
|
</view>
|
|
|
|
<block wx:if="{{detail.status==6}}">
|
|
|
|
<view bindtap="gotoList"
|
|
|
|
class="view flex-treble big-but flex align-center justify-center txt-34-h solid line-blue round">
|
|
|
|
帮我推荐餐厅
|
|
|
|
</view>
|
|
|
|
<chatbot class="big-but view flex-treble align-center justify-center" params="{{chatbotParams}}">
|
|
|
|
<view class="view flex-treble big-but flex align-center justify-center txt-34-h solid line-blue round">
|
|
|
|
帮我
|
|
|
|
<image src="http://nosqn.colorcun.com/detail/qiang-2%403x.png"
|
|
|
|
style="width: 56rpx;height: 56rpx; margin: 0 6rpx;"></image>
|
|
|
|
订
|
|
|
|
</view>
|
|
|
|
</chatbot>
|
|
|
|
</block>
|
|
|
|
|
|
|
|
<view class="view flex-treble big-but flex align-center justify-center txt-34-h solid line-blue round"
|
|
|
|
wx:if="{{detail.hasRunning && detail.seller.isopen_md==1}}">
|
|
|
|
<userinfo
|
|
|
|
binduserinfo="checkout"
|
|
|
|
share="{{detail}}"
|
|
|
|
share-act="invitation">
|
|
|
|
<view style="position: relative;">
|
|
|
|
在线买单
|
|
|
|
<seller-discount id="seller-discount" seller="{{detail.seller}}" wx:if="{{detail.seller}}"
|
|
|
|
cla="money-tips detail_owner"></seller-discount>
|
|
|
|
</view>
|
|
|
|
</userinfo>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</block>
|
|
|
|
|
|
|
|
|
|
|
|
<!--
|
|
|
|
<view class="page">
|
|
|
|
<view class="flex-vc success" wx:if="{{hasCancel}}">
|
|
|
|
<view class="icon">
|
|
...
|
...
|
@@ -286,6 +358,7 @@ |
|
|
|
</block>
|
|
|
|
<view style="height: 50rpx;"></view>
|
|
|
|
</view>
|
|
|
|
-->
|
|
|
|
</page>
|
|
|
|
|
|
|
|
<manager manager="{{detail}}" id="manager"></manager>
|
...
|
...
|
|