|
|
@ -21,7 +21,6 @@ |
|
|
alt="" |
|
|
alt="" |
|
|
style="width: 80rpx;height: 14rpx;position: absolute;bottom: 4rpx;left: 32rpx;" /> |
|
|
style="width: 80rpx;height: 14rpx;position: absolute;bottom: 4rpx;left: 32rpx;" /> |
|
|
</view> |
|
|
</view> |
|
|
<view v-if="tab1Checked == 'daisong'" style="font-size:24rpx;color:#0b9b73;line-height:60rpx;margin-left:10rpx;" @tap.stop="refreshCurrentTab">刷新</view> |
|
|
|
|
|
<!-- <view class="tabs1" @tap="checkTab1('zhuandan')" |
|
|
<!-- <view class="tabs1" @tap="checkTab1('zhuandan')" |
|
|
:style="{'color':tab1Checked == 'zhuandan'?'#000':'#777','font-size':tab1Checked== 'zhuandan'?'36rpx':'30rpx'}"> |
|
|
:style="{'color':tab1Checked == 'zhuandan'?'#000':'#777','font-size':tab1Checked== 'zhuandan'?'36rpx':'30rpx'}"> |
|
|
转单<text>()</text> |
|
|
转单<text>()</text> |
|
|
@ -60,6 +59,9 @@ |
|
|
<uni-icons type="info" size="10"></uni-icons> |
|
|
<uni-icons type="info" size="10"></uni-icons> |
|
|
接单规则 |
|
|
接单规则 |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
<view class="refresh-box" @tap.stop="refreshCurrentTab"> |
|
|
|
|
|
刷新 |
|
|
|
|
|
</view> |
|
|
<view class=""> |
|
|
<view class=""> |
|
|
<view @tap="changeOnline(0)" class="shangxia-btn shangxian-btn" v-if="isOnLine==1"> |
|
|
<view @tap="changeOnline(0)" class="shangxia-btn shangxian-btn" v-if="isOnLine==1"> |
|
|
<text>已上线</text> |
|
|
<text>已上线</text> |
|
|
@ -334,7 +336,7 @@ |
|
|
<uni-popup ref="productPopup" background-color="transparent"> |
|
|
<uni-popup ref="productPopup" background-color="transparent"> |
|
|
<view class="product-popup-content"> |
|
|
<view class="product-popup-content"> |
|
|
<view class="product-popup-header"> |
|
|
<view class="product-popup-header"> |
|
|
<view class="product-popup-title">商品详情</view> |
|
|
<view class="product-popup-title">订单详情</view> |
|
|
<view class="product-popup-subtitle">请核对商品规格和数量</view> |
|
|
<view class="product-popup-subtitle">请核对商品规格和数量</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="product-popup-list" v-if="productData != null && productData.length > 0"> |
|
|
<view class="product-popup-list" v-if="productData != null && productData.length > 0"> |
|
|
@ -634,7 +636,8 @@ |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
productDetail(item) { |
|
|
productDetail(item) { |
|
|
this.productData = item.goodsList || item.mallOrderGoodsList || item.orderGoodsList || []; |
|
|
const goodsList = item.goodsList || item.mallOrderGoodsList || item.orderGoodsList || []; |
|
|
|
|
|
this.productData = goodsList; |
|
|
this.$refs.productPopup.open() |
|
|
this.$refs.productPopup.open() |
|
|
}, |
|
|
}, |
|
|
buchong() { |
|
|
buchong() { |
|
|
@ -811,7 +814,11 @@ |
|
|
this.tui.toast(res.message, 200) |
|
|
this.tui.toast(res.message, 200) |
|
|
this.$forceUpdate() |
|
|
this.$forceUpdate() |
|
|
} else { |
|
|
} else { |
|
|
this.tui.toast(res.message, 200) |
|
|
uni.showToast({ |
|
|
|
|
|
title: res.message || '取餐码错误', |
|
|
|
|
|
icon: 'none', |
|
|
|
|
|
duration: 2500 |
|
|
|
|
|
}) |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
@ -1241,6 +1248,18 @@ |
|
|
padding-left: 10rpx; |
|
|
padding-left: 10rpx; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.refresh-box { |
|
|
|
|
|
font-size: 20rpx; |
|
|
|
|
|
font-weight: 700; |
|
|
|
|
|
background: rgba(223, 255, 176, 1); |
|
|
|
|
|
color: #0b6b5a; |
|
|
|
|
|
width: 90rpx; |
|
|
|
|
|
height: 50rpx; |
|
|
|
|
|
border-radius: 50rpx; |
|
|
|
|
|
margin-right: 15rpx; |
|
|
|
|
|
text-align: center; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
.guize-box1 { |
|
|
.guize-box1 { |
|
|
font-size: 20rpx; |
|
|
font-size: 20rpx; |
|
|
font-weight: 700; |
|
|
font-weight: 700; |
|
|
|