From 3ad191c65a4bcdf214509322a92590b0cb45d37e Mon Sep 17 00:00:00 2001 From: "han\\hanst" Date: Thu, 17 Jul 2025 17:48:57 +0800 Subject: [PATCH] init --- src/views/main.vue | 386 +++++++++++++++-------- src/views/modules/recv/po-recv.vue | 11 +- src/views/modules/sales-return/index.vue | 11 +- 3 files changed, 268 insertions(+), 140 deletions(-) diff --git a/src/views/main.vue b/src/views/main.vue index 71d54b5..d1142ef 100644 --- a/src/views/main.vue +++ b/src/views/main.vue @@ -1,91 +1,146 @@ diff --git a/src/views/modules/recv/po-recv.vue b/src/views/modules/recv/po-recv.vue index 20d47eb..efb07bd 100644 --- a/src/views/modules/recv/po-recv.vue +++ b/src/views/modules/recv/po-recv.vue @@ -74,10 +74,11 @@ export default { .menu-item { background: white; border-radius: 12px; - padding: 20px 10px; + padding: 12px 6px; text-align: center; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); transition: transform 0.2s; + cursor: pointer; } .menu-item:active { @@ -85,13 +86,13 @@ export default { } .menu-icon { - width: 50px; - height: 50px; + width: 40px; + height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; - margin: 0 auto 10px; + margin: 0 auto 6px; color: white; } @@ -108,7 +109,7 @@ export default { } .menu-text { - font-size: 13px; + font-size: 11px; color: #333; font-weight: bold; /* 加粗字体 */ white-space: nowrap; /* 防止文字换行 */ diff --git a/src/views/modules/sales-return/index.vue b/src/views/modules/sales-return/index.vue index 6262b91..602338d 100644 --- a/src/views/modules/sales-return/index.vue +++ b/src/views/modules/sales-return/index.vue @@ -75,10 +75,11 @@ export default { .menu-item { background: white; border-radius: 12px; - padding: 20px 10px; + padding: 12px 6px; text-align: center; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); transition: transform 0.2s; + cursor: pointer; } .menu-item:active { @@ -86,13 +87,13 @@ export default { } .menu-icon { - width: 50px; - height: 50px; + width: 40px; + height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; - margin: 0 auto 10px; + margin: 0 auto 6px; color: white; } @@ -109,7 +110,7 @@ export default { } .menu-text { - font-size: 13px; + font-size: 11px; color: #333; font-weight: bold; /* 加粗字体 */ white-space: nowrap; /* 防止文字换行 */