This commit is contained in:
wtq
2026-06-09 11:29:00 +08:00
parent 241f127945
commit 385b96788d
6 changed files with 87 additions and 20 deletions

38
package-lock.json generated
View File

@@ -36,7 +36,7 @@
"@dcloudio/uni-stacktracey": "3.0.0-3061820230117001", "@dcloudio/uni-stacktracey": "3.0.0-3061820230117001",
"@dcloudio/vite-plugin-uni": "3.0.0-3061820230117001", "@dcloudio/vite-plugin-uni": "3.0.0-3061820230117001",
"@types/js-md5": "^0.4.3", "@types/js-md5": "^0.4.3",
"@types/node": "^18.11.11", "@types/node": "^25.5.2",
"sass": "^1.56.1", "sass": "^1.56.1",
"typescript": "^4.8.4", "typescript": "^4.8.4",
"vite": "3.2.4" "vite": "3.2.4"
@@ -1195,10 +1195,14 @@
"dev": true "dev": true
}, },
"node_modules/@types/node": { "node_modules/@types/node": {
"version": "18.11.11", "version": "25.5.2",
"resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.11.tgz", "resolved": "https://registry.npmjs.org/@types/node/-/node-25.5.2.tgz",
"integrity": "sha512-KJ021B1nlQUBLopzZmPBVuGU9un7WJd/W4ya7Ih02B4Uwky5Nja0yGYav2EfYIk0RR2Q9oVhf60S2XR1BCWJ2g==", "integrity": "sha512-tO4ZIRKNC+MDWV4qKVZe3Ql/woTnmHDr5JD8UI5hn2pwBrHEwOEMZK7WlNb5RKB6EoJ02gwmQS9OrjuFnZYdpg==",
"devOptional": true "devOptional": true,
"license": "MIT",
"dependencies": {
"undici-types": "~7.18.0"
}
}, },
"node_modules/@vitejs/plugin-legacy": { "node_modules/@vitejs/plugin-legacy": {
"version": "2.3.1", "version": "2.3.1",
@@ -3743,6 +3747,13 @@
"node": ">=4.2.0" "node": ">=4.2.0"
} }
}, },
"node_modules/undici-types": {
"version": "7.18.2",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.18.2.tgz",
"integrity": "sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w==",
"devOptional": true,
"license": "MIT"
},
"node_modules/universalify": { "node_modules/universalify": {
"version": "2.0.0", "version": "2.0.0",
"resolved": "https://registry.npmmirror.com/universalify/-/universalify-2.0.0.tgz", "resolved": "https://registry.npmmirror.com/universalify/-/universalify-2.0.0.tgz",
@@ -4959,10 +4970,13 @@
"dev": true "dev": true
}, },
"@types/node": { "@types/node": {
"version": "18.11.11", "version": "25.5.2",
"resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.11.tgz", "resolved": "https://registry.npmjs.org/@types/node/-/node-25.5.2.tgz",
"integrity": "sha512-KJ021B1nlQUBLopzZmPBVuGU9un7WJd/W4ya7Ih02B4Uwky5Nja0yGYav2EfYIk0RR2Q9oVhf60S2XR1BCWJ2g==", "integrity": "sha512-tO4ZIRKNC+MDWV4qKVZe3Ql/woTnmHDr5JD8UI5hn2pwBrHEwOEMZK7WlNb5RKB6EoJ02gwmQS9OrjuFnZYdpg==",
"devOptional": true "devOptional": true,
"requires": {
"undici-types": "~7.18.0"
}
}, },
"@vitejs/plugin-legacy": { "@vitejs/plugin-legacy": {
"version": "2.3.1", "version": "2.3.1",
@@ -6837,6 +6851,12 @@
"integrity": "sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg==", "integrity": "sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg==",
"dev": true "dev": true
}, },
"undici-types": {
"version": "7.18.2",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.18.2.tgz",
"integrity": "sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w==",
"devOptional": true
},
"universalify": { "universalify": {
"version": "2.0.0", "version": "2.0.0",
"resolved": "https://registry.npmmirror.com/universalify/-/universalify-2.0.0.tgz", "resolved": "https://registry.npmmirror.com/universalify/-/universalify-2.0.0.tgz",

View File

@@ -64,7 +64,7 @@
"@dcloudio/uni-stacktracey": "3.0.0-3061820230117001", "@dcloudio/uni-stacktracey": "3.0.0-3061820230117001",
"@dcloudio/vite-plugin-uni": "3.0.0-3061820230117001", "@dcloudio/vite-plugin-uni": "3.0.0-3061820230117001",
"@types/js-md5": "^0.4.3", "@types/js-md5": "^0.4.3",
"@types/node": "^18.11.11", "@types/node": "^25.5.2",
"sass": "^1.56.1", "sass": "^1.56.1",
"typescript": "^4.8.4", "typescript": "^4.8.4",
"vite": "3.2.4" "vite": "3.2.4"

View File

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

View File

@@ -11,6 +11,7 @@
</view> </view>
<view class="timer" v-if="!item.buyerComment.includes('支付方式')">预计{{ expectedDeliveredTime }}前送达</view> <view class="timer" v-if="!item.buyerComment.includes('支付方式')">预计{{ expectedDeliveredTime }}前送达</view>
</view> </view>
<span class="rushOrder" v-if="isShowRushOrder"></span>
<view v-if="isSrestPickTime" v-html="restPickTime"></view> <view v-if="isSrestPickTime" v-html="restPickTime"></view>
<view v-if="isCancelTime"> <view v-if="isCancelTime">
@@ -183,6 +184,17 @@ 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
})
/** /**
* 是否显示预计送达时间 * 是否显示预计送达时间
*/ */
@@ -392,6 +404,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 { .index-color {
color: rgb(0, 0, 0); color: rgb(0, 0, 0);
} }
@@ -435,6 +465,21 @@ const isShow = computed(() => {
font-weight: bold; font-weight: bold;
} }
} }
// /* 使用动画 */
// .blink {
// width: 20% !important;
// margin-top: 10px;
// animation: blink 1.8s infinite; /* 1秒循环无限播放 */
// }
/* 定义动画 */
@keyframes blink {
0% { opacity: 1; }
50% { opacity: 0; }
100% { opacity: 1; }
}
// 顶部标题 // 顶部标题
.order-title { .order-title {
display: flex; display: flex;

View File

@@ -28,6 +28,7 @@ function weixinFn() {
const activeItem: Ref<number> = ref(0); const activeItem: Ref<number> = ref(0);
onShow(() => { onShow(() => {
setStorage('token','')
store.commit('serveInfo/setIsAgreement', false) store.commit('serveInfo/setIsAgreement', false)
store.commit('serveInfo/setIsAgreementIf', false) store.commit('serveInfo/setIsAgreementIf', false)
}) })

View File

@@ -18,6 +18,7 @@ export default {
setup() { setup() {
onShow(() => { onShow(() => {
setStorage('token','')
store.commit('serveInfo/setIsAgreement', false) store.commit('serveInfo/setIsAgreement', false)
store.commit('serveInfo/setIsAgreementIf', false) store.commit('serveInfo/setIsAgreementIf', false)
}) })