From 9e70b4a1f3969a2c1e0354f8b4c36eb922ce8f9c Mon Sep 17 00:00:00 2001
From: xuan <1359774872@qq.com>
Date: Thu, 8 Oct 2026 18:22:17 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E5=A4=8D=E5=B7=A5=E4=BD=9C?=
=?UTF-8?q?=E5=8F=B0=E5=8D=A1=E7=89=87=E8=83=8C=E6=99=AF=E5=9B=BE=E5=B9=B6?=
=?UTF-8?q?=E8=B0=83=E6=95=B4=E6=B0=B4=E5=8D=B0=E5=B1=95=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages/sys/workbench/index.vue | 33 ++++++++++++++----
.../static}/workbench/finished-goods.png | Bin
.../static}/workbench/processing-in.png | Bin
.../static}/workbench/processing-out.png | Bin
.../static}/workbench/purchase-entry.png | Bin
.../static}/workbench/return-entry.png | Bin
6 files changed, 27 insertions(+), 6 deletions(-)
rename {static => src/static}/workbench/finished-goods.png (100%)
rename {static => src/static}/workbench/processing-in.png (100%)
rename {static => src/static}/workbench/processing-out.png (100%)
rename {static => src/static}/workbench/purchase-entry.png (100%)
rename {static => src/static}/workbench/return-entry.png (100%)
diff --git a/src/pages/sys/workbench/index.vue b/src/pages/sys/workbench/index.vue
index 4bcc4a4..d901a91 100644
--- a/src/pages/sys/workbench/index.vue
+++ b/src/pages/sys/workbench/index.vue
@@ -26,7 +26,8 @@
hover-class="menu-card--active"
@click="navTo(item.url)"
>
-
+
+
“
{{ item.name }}
@@ -147,6 +148,13 @@ export default {
}
},
methods: {
+ staticSrc(path) {
+ let base = '';
+ // #ifdef H5
+ base = (process.env.BASE_URL || '/').replace(/\/$/, '');
+ // #endif
+ return `${base}${path}`;
+ },
// 自定义扫码处理回调 - 处理本页面特有的扫码逻辑
handleScanCode(scanResult) {
console.log('工作台-扫码结果:', scanResult);
@@ -327,16 +335,29 @@ page {
.card-background {
position: absolute;
+ z-index: 0;
+ top: 18rpx;
+ right: -4rpx;
+ width: 150rpx;
+ height: 120rpx;
+ opacity: 0.72;
+ pointer-events: none;
+}
+
+.card-scrim {
+ position: absolute;
+ z-index: 1;
top: 0;
right: 0;
- width: 100%;
- height: 100%;
- opacity: 0.72;
+ bottom: 0;
+ left: 0;
+ background: linear-gradient(105deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0.02) 58%);
pointer-events: none;
}
.card-mark {
position: absolute;
+ z-index: 2;
top: 10rpx;
left: 18rpx;
color: rgba(255, 255, 255, 0.2);
@@ -348,7 +369,7 @@ page {
.card-content {
position: absolute;
- z-index: 1;
+ z-index: 2;
right: 16rpx;
bottom: 42rpx;
left: 22rpx;
@@ -374,7 +395,7 @@ page {
.card-arrow {
position: absolute;
- z-index: 2;
+ z-index: 3;
right: 0;
bottom: 0;
display: flex;
diff --git a/static/workbench/finished-goods.png b/src/static/workbench/finished-goods.png
similarity index 100%
rename from static/workbench/finished-goods.png
rename to src/static/workbench/finished-goods.png
diff --git a/static/workbench/processing-in.png b/src/static/workbench/processing-in.png
similarity index 100%
rename from static/workbench/processing-in.png
rename to src/static/workbench/processing-in.png
diff --git a/static/workbench/processing-out.png b/src/static/workbench/processing-out.png
similarity index 100%
rename from static/workbench/processing-out.png
rename to src/static/workbench/processing-out.png
diff --git a/static/workbench/purchase-entry.png b/src/static/workbench/purchase-entry.png
similarity index 100%
rename from static/workbench/purchase-entry.png
rename to src/static/workbench/purchase-entry.png
diff --git a/static/workbench/return-entry.png b/src/static/workbench/return-entry.png
similarity index 100%
rename from static/workbench/return-entry.png
rename to src/static/workbench/return-entry.png