This commit is contained in:
wtq
2026-08-03 15:05:42 +08:00
parent abfd0fe66a
commit 2b0c3e534f
5 changed files with 56 additions and 14 deletions

View File

@@ -70,11 +70,11 @@ const grindListData = ref([
icon: '/static/merchant-icon/2.png',
title: '营业资质',
},
{
id: 3,
icon: '/static/merchant-icon/3.png',
title: '平台管理',
},
// {
// id: 3,
// icon: '/static/merchant-icon/3.png',
// title: '平台管理',
// },
{
id: 4,
icon: '/static/merchant-icon/4.png',
@@ -179,9 +179,9 @@ function grindData(title: number) {
url: '/subPages/merchantChild/businessLicense/businessLicense',
}) // 营业资质
break
case 3:
uni.navigateTo({ url: '/subPages/merchantChild/platformM/platformM' }) // 平台管理
break
// case 3:
// uni.navigateTo({ url: '/subPages/merchantChild/platformM/platformM' }) // 平台管理
// break
case 4:
uni.navigateTo({
url: `/subPages/merchantChild/bill/bill?billList=${JSON.stringify(

View File

@@ -11,6 +11,7 @@
</view>
<view class="timer" v-if="!item.buyerComment.includes('支付方式')">预计{{ expectedDeliveredTime }}前送达</view>
</view>
<span class="rushOrder" v-if="isShowRushOrder"></span>
<view v-if="isSrestPickTime" v-html="restPickTime"></view>
<view v-if="isCancelTime">
@@ -177,6 +178,18 @@ const isCancelTime = computed(() => {
)
})
/**
* 是否显示急送 美团 饿百
*/
const isShowRushOrder = computed(() => {
return (props.item.vendorID === 1 || props.item.vendorID === 3)
&& props.item.status <=20 ?
(props.item.couponIDs && props.item.couponIDs.includes('11002') || props.item.couponIDs.includes('11003') )
: false
})
/**
* 是否显示预计送达时间
*/
@@ -386,6 +399,24 @@ const isShow = computed(() => {
}
}
.rushOrder{
height: 30px;
padding: 0 5px;
line-height: 30px;
background-color: rgba(245, 108, 108, .1);
border-color: rgba(245, 108, 108, .2);
color: #f56c6c;
font-size: 20px;
border-radius: 50%;
box-sizing: border-box;
// border: 1px solid rgba(64, 158, 255, .2);
border: 1px solid rgba(245, 108, 108, .2);
white-space: nowrap;
position: fixed;
left: 50%;
animation: blink 1.8s infinite; /* 1秒循环无限播放 */
}
.index-color {
color: rgb(0, 0, 0);
}
@@ -429,6 +460,15 @@ const isShow = computed(() => {
font-weight: bold;
}
}
/* 定义动画 */
@keyframes blink {
0% { opacity: 1; }
50% { opacity: 0; }
100% { opacity: 1; }
}
// 顶部标题
.order-title {
display: flex;

View File

@@ -348,7 +348,8 @@ export default function orderRealTime() {
return '实际支付'
} else {
//报价
return '实际收入'
// return '实际收入'
return '预计收益'
}
}
} else {
@@ -357,7 +358,8 @@ export default function orderRealTime() {
return '平台结算'
} else {
//报价
return '实际收入'
// return '实际收入'
return '预计收益'
}
}
})

View File

@@ -5,7 +5,7 @@
</view>
<!-- 订单拣货提醒 -->
<view class="picking-root">
<!-- <view class="picking-root">
<picker
:value="smsNotify"
:range="smsNotifyData"
@@ -18,7 +18,7 @@
</view>
</view>
</picker>
</view>
</view> -->
<!-- 默认使用打印机设备 -->
<view class="picking-root">

View File

@@ -156,7 +156,7 @@
<jx-price
v-else
color="#4fb433"
:price="sku.salePrice * sku.count * 0.7"
:price="sku.salePrice * sku.count * 0.6"
/>
</view>
<view class="price" v-else>
@@ -165,7 +165,7 @@
color="#f84a82"
:price="sku.salePrice"
/>
<jx-price v-else color="#f84a82" :price="sku.salePrice * 0.7" />
<jx-price v-else color="#f84a82" :price="sku.salePrice * 0.6" />
</view>
</view>
</view>