Commit 32c1254c873c6e3222d79c27c068f3bc122a1320

Authored by yiren
1 parent 5abd97d5

邀请函

... ... @@ -194,14 +194,6 @@ Page({
})
}
},
noopen(e) {
let mark = e.currentTarget.dataset.mark;
wx.showToast({
title: '该商家未开通' + (mark == 'buy' ? '提前点餐' : '在线买单'),
duration: 2000,
mask: true
})
},
sharesetting() {
wx.reportMonitor('1017', 1)
let parmdata = {
... ... @@ -260,7 +252,7 @@ Page({
console.log('store', store);
if(store.images.length>0) store.images = JSON.parse(store.images)
if(signboard && signboard.images) signboard.images = JSON.parse(signboard.images)
if (marketing.is_online && marketing.is_arrival && marketing.is_transpond) {
if (marketing.is_online_book=='1' && marketing.is_transpond =='1') {
this.setData({
between: true
})
... ...
... ... @@ -34,7 +34,7 @@
</view>
<view class="flex-11" wx:if="{{detail.actual_pum || tableNum}}">
<view class="label">【人数】</view>
<view class="contentData">{{detail.actual_pum?detail.actual_pum:tableNum}}位</view>
<view class="contentData">{{detail.actual_pum?detail.actual_pum:tableNum}}位</view>
</view>
<!-- <view class="flex-11" wx:if="{{reserve.park_info || detail.seller.map_address}}">
<view class="label">【地址】</view>
... ... @@ -177,7 +177,7 @@
</view>
</view>
</view>
<view class="specialServices" wx:if="{{detail.seller.is_open_order==1 && !detail.hasOvered && !detail.hasCancel && is_display}}">
<view class="specialServices" wx:if="{{detail && detail.seller.is_open_order==1 && marketing.is_order=='1'}}">
<view class="rubric">
特供服务
</view>
... ... @@ -185,18 +185,11 @@
本店特为贵宾提供提前点餐服务,您现在可以选菜下单,到店就餐时无需等待服务员点餐,可以直接享受就餐服务^_^
</view>
<view class="endStyle">
<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 orderingFood" bindtap="cookbook">
<view class="white-font font30r smooth">去点餐</view>
</view>
</block>
<block wx:else>
<view class="last-book-food flex-ll orderingFood" bindtap="noopen" data-mark="buy">
<view class="white-font font30r smooth">去点餐</view>
</view>
</block>
</block>
<view class="book-item-font second-book-button flex-cc font30r cook" style="position: relative;">
<view wx:if="{{detail && detail.seller.is_open_order==1 && marketing.is_order=='1'}}" class="menu-item menu-seller-item flex-ll" bindtap="cookbook">
去点餐
</view>
</view>
</view>
</view>
<view class="preferential" wx:if="{{marketing && (marketing.is_coupon=='1' || marketing.is_recharge=='1')}}">
... ... @@ -244,13 +237,13 @@
{{seller.name?seller.name:reserve.seller_name}}
</view>
<text style="color: #999; font-size: 26rpx;font-family: PingFang SC;">
\n
周到安排提供技术支持 400 000 9690
\n
周到安排提供技术支持 400 000 9690
</text>
</view>
</scroll-view>
<view wx:if="{{marketing.is_transpond=='1'}}" class="{{between?'all-button flex-lr between':'all-button flex-lr sharewidth'}}">
<view wx:if="{{marketing.is_online=='1'}}" class="book-item-font second-book-button flex-cc font30r" bindtap="secondbook" style="position: relative;">再次预订
<view wx:if="{{marketing.is_transpond=='1' || marketing.is_online_book=='1'}}" class="{{between?'all-button flex-lr between':'all-button flex-lr sharewidth'}}">
<view wx:if="{{marketing.is_online_book=='1'}}" class="book-item-font second-book-button flex-cc font30r" bindtap="secondbook" style="position: relative;">再次预订
</view>
<!-- <view wx:if="{{marketing.is_arrival}}" class="book-item-font second-book-button flex-cc font30r centerBtn" bindtap="secondbook" style="position: relative;">确认赴约
</view> -->
... ...
... ... @@ -423,6 +423,8 @@
.endStyle {
display: flex;
justify-content: flex-end;
height: 60rpx;
margin: 20rpx 0;
}
... ... @@ -568,6 +570,7 @@
color: #0143A3;
height: 46%;
border-radius: 42rpx;
font-weight: 600;
}
.shareItem {
... ... @@ -576,6 +579,26 @@
background: linear-gradient(104.24deg, #4c8dad -57.47%, #0143a3 55.72%, #42a5ff 148.72%);
color: #fff;
}
.sharewidth .shareItem{
width: 100% !important;
}
.between .shareItem{
width: 65%;
width: 65% !important;
}
.book-item-font {
width: 40% !important;
}
.menu-item{
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.cook{
height: 100% !important;
background: linear-gradient(104.24deg, rgba(76, 141, 173, 1) -57.47%, rgba(1, 67, 163, 1) 55.72%, rgba(66, 165, 255, 1) 148.72%);
color: #fff !important;
font-weight: normal;
width: 27% !important;
}
\ No newline at end of file
... ...