Commit afc1d2e6728dfa07d7ede91c66042b74d41a6e9c

Authored by vking
1 parent 0dda5719

blue ui other

... ... @@ -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>
... ...
... ... @@ -4,9 +4,28 @@
position: fixed;
bottom: 0;
left: 0;
width: 100%;
z-index: 9;
}
.close-x:after{left:-20rpx;}
.min-but{
padding: 10rpx 20rpx;
min-width: 160rpx;
box-sizing: border-box;
height: 62rpx;
}
.min-but:after{
border-radius: 20rpx;
}
.min-but+.min-but{
margin-left: 40rpx;
}
.big-but{
height: 84rpx;
}
.big-but+.big-but{
margin-left: 50rpx;
}
.page{
width: 90%;
margin: 0 5%;
... ... @@ -229,11 +248,13 @@
margin-right: 10rpx;
}
.subscribe-close{
width:21rpx;
height:22rpx;
background-size: 100% 100%;
width:31rpx;
height:32rpx;
background-size: 21rpx 22rpx;
background-image: url("http://nosqn.colorcun.com/subscribe/close.png");
background-color: #8dc63f;
background-color: #FF7A0055;
background-repeat: no-repeat;
background-position: center;
}
.subscribe-yd{
position: fixed;
... ...
... ... @@ -224,8 +224,8 @@ Page({
this.param={
offset:this.offset,
size:this.size,
code:this.city.code,
pid:this.city.pid,
code:this.city?this.city.code:'',
pid:this.city?this.city.pid:'',
keyword:this.options.keyword||'',
...this.findSellerData.paramObj,
}
... ...