From df499252aa425d30cd9ae4697e8f6ceeacb62098 Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期二, 23 十二月 2025 13:53:12 +0800
Subject: [PATCH] 添加上刀下刀记录界面
---
components/mold.vue | 26 ++++++++++++++++++++------
1 files changed, 20 insertions(+), 6 deletions(-)
diff --git a/components/mold.vue b/components/mold.vue
index 037aa32..6f3e30b 100644
--- a/components/mold.vue
+++ b/components/mold.vue
@@ -48,7 +48,7 @@
<view class="button-row">
<button class="save-btn" @click="handleUpTool" :disabled="submitting || loadingForm">涓婂垁鎻愪氦(=璋冩満寮�濮�)</button>
<button class="save-btn" @click="handleDownTool" :disabled="submitting || loadingForm">涓嬪垁鎻愪氦</button>
- <button class="cancel-btn" @click="cancel" :disabled="submitting || loadingForm">鍙栨秷</button>
+ <button class="cancel-btn" @click="cancel" :disabled="submitting || loadingForm">娓呯┖鍒�鍏烽�夋嫨</button>
</view>
<!-- 鍒�鍏风洰褰曞脊绐� -->
@@ -110,7 +110,13 @@
<!-- 鍙湁绗竴琛屾樉绀� currentCjNum锛屽叾瀹冭鏄剧ず downCount -->
<td class="num">
<template v-if="idx === 0">
- {{ item.currentCjNum != null ? item.currentCjNum : '' }}
+ <!-- 绗竴琛岋細涓嬫満鏃朵笉瀹炴椂鏄剧ず currentCjNum锛屾樉绀� downCount -->
+ <template v-if="!item.downTime">
+ {{ item.currentCjNum != null ? item.currentCjNum : '' }}
+ </template>
+ <template v-else>
+ {{ item.downCount != null ? item.downCount : '' }}
+ </template>
</template>
<template v-else>
{{ item.downCount != null ? item.downCount : '' }}
@@ -783,11 +789,12 @@
.form-label {
width: auto;
- font-weight: bold;
+ font-weight: 500;
color: #333;
white-space: nowrap;
margin-right: 4px;
flex-shrink: 0;
+ font-size: 22px;
}
.input {
@@ -800,6 +807,7 @@
min-width: 0;
height: 56px !important;
box-sizing: border-box;
+ font-size: 22px;
}
.input.small-font {
@@ -897,12 +905,15 @@
color: white;
border: none;
text-align: center;
- border-radius: 6px;
- transition: background 0.2s;
+ border-radius: 4px;
+ transition: all 0.3s;
+ font-size: 22px;
+ font-weight: 500;
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.cancel-btn {
- background-color: #eee;
+ background-color: #f5f5f5;
color: #333;
}
@@ -1023,6 +1034,7 @@
.dialog-actions .btn-blue {
padding: 10px 24px;
min-width: 120px;
+ font-size: 22px;
}
.btn-disabled {
@@ -1064,6 +1076,7 @@
padding: 16px 10px;
font-weight: bold;
text-align: center;
+ font-size: 22px;
}
table.styled-table tbody td {
@@ -1071,6 +1084,7 @@
padding: 14px 10px;
vertical-align: middle;
text-align: center;
+ font-size: 22px;
}
.table-section table th:first-child, .table-section table td:first-child {
--
Gitblit v1.9.3