From d537a23660aafc1c9627f0e166998193396f4886 Mon Sep 17 00:00:00 2001 From: hwj Date: Fri, 3 Apr 2026 17:39:21 +0800 Subject: [PATCH] =?UTF-8?q?style=EF=BC=9A=E4=BF=AE=E6=94=B9=E6=A8=A1?= =?UTF-8?q?=E5=85=B7=E5=87=BA=E5=BA=93=E3=80=81=E6=A8=A1=E5=85=B7=E5=85=A5?= =?UTF-8?q?=E5=BA=93=E3=80=81=E4=B8=8A=E4=B8=8B=E6=A8=A1=E5=8D=A1=E7=89=87?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages_function/pages/moldget/index.vue | 86 +-- .../pages/moldoperate/index.vue | 544 +++++++++++++--- src/pages_function/pages/moldreturn/index.vue | 599 +++++++++++++++--- 3 files changed, 1010 insertions(+), 219 deletions(-) diff --git a/src/pages_function/pages/moldget/index.vue b/src/pages_function/pages/moldget/index.vue index 936757a..1c4e385 100644 --- a/src/pages_function/pages/moldget/index.vue +++ b/src/pages_function/pages/moldget/index.vue @@ -22,11 +22,11 @@ - - - - {{ textValue(item.no) }} - {{ t('moldGet.moldName') }}: {{ textValue(item.productNames) }} + + + + {{ textValue(item.no) }} + {{ t('moldGet.moldName') }}: {{ textValue(item.productNames) }} {{ statusLabel(item.status) }} @@ -46,13 +46,13 @@ - + - + - 🗑 + @@ -658,26 +658,33 @@ onShow(async () => { .list-wrap { padding: 0 24rpx 130rpx; } -.card { - background: #fff; - border-radius: 16rpx; - padding: 20rpx; - margin-bottom: 16rpx; +.type-card { + background: #ffffff; + border-radius: 18rpx; + padding: 24rpx; + margin-bottom: 18rpx; + box-shadow: 0 4rpx 18rpx rgba(0, 0, 0, 0.05); } -.card-head { +.card-header { display: flex; justify-content: space-between; - gap: 10rpx; + align-items: center; + padding-bottom: 18rpx; + border-bottom: 1rpx solid #edf0f3; } -.card-title { - font-size: 30rpx; +.header-left { + display: flex; + flex-direction: column; + gap: 8rpx; +} +.type-name { + font-size: 32rpx; font-weight: 700; - color: #1a3a5c; + color: #1f2d3d; } -.card-sub { - margin-top: 8rpx; - color: #606266; +.type-code { font-size: 24rpx; + color: #8a9099; } .status-chip { padding: 6rpx 16rpx; @@ -697,51 +704,46 @@ onShow(async () => { color: #096dd9; } .card-body { - margin-top: 14rpx; + padding-top: 16rpx; } .row { display: flex; justify-content: space-between; - margin-bottom: 10rpx; + align-items: center; + margin-top: 12rpx; } .label { - color: #909399; - font-size: 24rpx; + font-size: 26rpx; + color: #8a9099; } .value { - color: #303133; - font-size: 24rpx; - max-width: 66%; + font-size: 27rpx; + color: #30363d; + max-width: 62%; text-align: right; } .card-actions { - margin-top: 8rpx; + margin-top: 24rpx; display: flex; justify-content: flex-end; - gap: 10rpx; + gap: 14rpx; } .action-btn { - width: 56rpx; - height: 56rpx; - border-radius: 10rpx; + width: 60rpx; + height: 60rpx; + border-radius: 12rpx; display: flex; align-items: center; justify-content: center; } -.action-icon { - font-size: 26rpx; -} .edit-btn { - background: rgba(24, 144, 255, 0.12); - color: #096dd9; + background: #1a3a5c; } .approve-btn { - background: rgba(82, 196, 26, 0.14); - color: #389e0d; + background: #18a058; } .delete-btn { - background: rgba(245, 34, 45, 0.12); - color: #cf1322; + background: #e34d59; } .hint { text-align: center; diff --git a/src/pages_function/pages/moldoperate/index.vue b/src/pages_function/pages/moldoperate/index.vue index 00f1535..e5f4d37 100644 --- a/src/pages_function/pages/moldoperate/index.vue +++ b/src/pages_function/pages/moldoperate/index.vue @@ -4,8 +4,10 @@ - {{ t('moldOperate.tabUp') }} - {{ t('moldOperate.tabDown') }} + {{ + t('moldOperate.tabUp') }} + {{ + t('moldOperate.tabDown') }} @@ -13,30 +15,32 @@ - + {{ t('functionCommon.search') }} - + {{ moldFilterLabel }} - + - - - {{ textValue(item.moldName) }} + + + + {{ textValue(item.moldName) }} + {{ t('moldOperate.deviceName') }}: {{ textValue(item.deviceName) }} + {{ typeLabel(item.operateType) }} - - {{ t('moldOperate.deviceName') }} - {{ textValue(item.deviceName) }} - {{ t('moldOperate.creatorName') }} {{ textValue(item.creatorName) }} @@ -48,10 +52,10 @@ - + - + @@ -75,27 +79,32 @@ - {{ formMode === 'create' ? t('moldOperate.createTitle') : t('moldOperate.editTitle') }} + {{ formMode === 'create' ? t('moldOperate.createTitle') : t('moldOperate.editTitle') + }} × *{{ t('moldOperate.operateType') }} - {{ t('moldOperate.tabUp') }} - {{ t('moldOperate.tabDown') }} + {{ t('moldOperate.tabUp') }} + {{ t('moldOperate.tabDown') }} *{{ t('moldOperate.device') }} - + {{ formDeviceLabel || t('moldOperate.placeholderDevice') }} - *{{ String(formData.operateType) === '2' ? t('moldOperate.lowerMold') : t('moldOperate.mold') }} + *{{ String(formData.operateType) === '2' ? + t('moldOperate.lowerMold') : t('moldOperate.mold') }} {{ t('moldOperate.selectMold') }} {{ t('moldOperate.noSelectedMold') }} @@ -109,7 +118,8 @@ {{ t('moldOperate.remark') }} -