From c0c29bab83c18e7900343c43bf7e2e28dd91471c Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期一, 24 十一月 2025 14:44:41 +0800
Subject: [PATCH] 调试
---
components/WorkOrderStatus.vue | 129 +++++++++++++++++++++++++++++-------------
1 files changed, 89 insertions(+), 40 deletions(-)
diff --git a/components/WorkOrderStatus.vue b/components/WorkOrderStatus.vue
index f1e7766..fa3d7d4 100644
--- a/components/WorkOrderStatus.vue
+++ b/components/WorkOrderStatus.vue
@@ -224,19 +224,24 @@
}
/* 鍒锋柊鎸夐挳鏍峰紡 */
- .refresh-btn {
- position: absolute;
- top: 10px;
- right: 10px;
- background-color: #00A2E9;
- /* 钃濊壊鑳屾櫙 */
- color: white;
- padding: 10px 20px;
- border: none;
- border-radius: 5px;
- font-size: 35px;
- cursor: pointer;
- }
+ .refresh-btn {
+ position: absolute;
+ top: 10px;
+ right: 10px;
+ background-color: #00A2E9;
+ /* 钃濊壊鑳屾櫙 */
+ color: white;
+ height: 60px;
+ border: none;
+ border-radius: 5px;
+ font-size: 35px;
+ cursor: pointer;
+ width: 90px !important; /* 鏇寸獎 */
+ height: 60px !important; /* 鏇撮珮 */
+ font-size: 22px !important;
+ padding: 0 !important;
+ border-radius: 8px !important;
+ }
/* 涓婂崐閮ㄥ垎锛氬乏鍙冲竷灞� */
.top-section {
@@ -253,18 +258,23 @@
flex-direction: column;
}
- .item {
- display: flex;
- align-items: center;
- margin-bottom: 1.5vh;
- }
+ .item {
+ display: flex;
+ align-items: center;
+ margin-bottom: 3vh; /* 鍘�1.5vh锛屾敼涓�3vh锛屾寜閽棿璺濇洿澶� */
+ }
/* 缁熶竴鎸夐挳鍜岃緭鍏ユ鐨勯珮搴� */
- button,
- .input-box {
- height: 5vh;
- /* Adjusted for larger, consistent height */
- }
+ button,
+ .input-box {
+ width: 55% !important; /* 鍘�70%锛屾敼涓�50%锛屾洿绐� */
+ height: 4vh !important; /* 鍘�6vh锛屾敼涓�4vh锛屾洿鐭� */
+ font-size: 1.2vw !important; /* 瀛椾綋鏇村皬 */
+ padding: 0 0.8vw !important; /* 鍐呰竟璺濈暐鍑� */
+ border: 2px solid #999 !important;
+ border-radius: 5px !important;
+ box-sizing: border-box;
+ }
button {
width: 30%;
@@ -342,25 +352,28 @@
}
/* 涓嬪崐閮ㄥ垎锛氫繚瀛樺拰鍙栨秷鎸夐挳 */
- .bottom-section {
- display: flex;
- justify-content: space-between;
- margin-top: 1vh;
- height: 100%;
+ .bottom-section {
+ display: flex;
+ margin-top: 1vh;
+ height: 100%;
+ justify-content: flex-end; /* 璁╂寜閽潬鍙冲榻愶紙鍙�夛級 */
+ gap: 16px; /* 鎸夐挳闂磋窛 */
}
- .save-btn,
- .cancel-btn {
- width: 48%;
- padding: 1.5vh;
- background-color: #00A2E9;
- color: white;
- border: none;
- text-align: center;
- font-size: 1.8vw;
- /* Larger font for buttons */
- height: 100%;
- }
+ .save-btn,
+ .cancel-btn {
+ background-color: #00A2E9;
+ color: white;
+ border: none;
+ text-align: center;
+
+ width: 90px !important; /* 鏇寸獎 */
+ height: 60px !important; /* 鏇撮珮 */
+ font-size: 22px !important;
+ padding: 0 !important;
+ border-radius: 8px !important;
+ display: inline-block;
+ }
/* 璁╁彸渚у伐鍗曞彿杈撳叆妗嗗彉闀� */
.status-title input.status-title {
@@ -370,4 +383,40 @@
box-sizing: border-box;
}
+ .button,
+ .input-box {
+ font-size: 2.2vw !important; /* 瀛椾綋鏇村ぇ */
+ height: 6vh !important; /* 楂樺害鐣ュ */
+ }
+
+ .input-box {
+ border: 2.5px solid #999 !important; /* 杈规鏇寸矖鏇存槑鏄� */
+ border-radius: 6px !important; /* 鍦嗚鐣ュぇ */
+ padding: 0 1.5vw !important;
+ }
+
+ button {
+ border: 2.5px solid #999 !important; /* 鎸夐挳杈规鍔犵矖 */
+ border-radius: 6px !important;
+ }
+
+ .left-section .item button {
+ border-width: 1px !important; /* 杈规鏇寸矖 */
+ border-style: solid !important;
+ border-color: #999 !important; /* 淇濇寔鍘熸湁鑹茶皟 */
+ font-size: 2.6vw !important; /* 瀛椾綋鏇村ぇ */
+ font-weight: bold;
+ height: 7vh !important; /* 鎸夐挳楂樺害鍔犲ぇ */
+ width: 32% !important; /* 鍘�55%锛屾敼涓�40%锛屾寜閽洿绐� */
+ min-width: 80px;
+ margin-right: 2%; /* 涓庤緭鍏ユ闂磋窛 */
+ box-sizing: border-box;
+ }
+
+ .left-section .item .input-box {
+ width: 66% !important; /* 杈撳叆妗嗗搴﹁嚜閫傚簲鍓╀綑绌洪棿 */
+ min-width: 120px;
+ box-sizing: border-box;
+ }
+
</style>
\ No newline at end of file
--
Gitblit v1.9.3