From 0c8f85d16c97a8fd4ba381dce13ea9f0b051e6c1 Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期三, 03 十二月 2025 15:26:56 +0800
Subject: [PATCH] 只更新第一行 currentCjNum
---
components/WorkOrderStatus.vue | 62 ++++++++++++++++--------------
1 files changed, 33 insertions(+), 29 deletions(-)
diff --git a/components/WorkOrderStatus.vue b/components/WorkOrderStatus.vue
index 6cecef7..6d604a9 100644
--- a/components/WorkOrderStatus.vue
+++ b/components/WorkOrderStatus.vue
@@ -216,12 +216,12 @@
</script>
<style scoped>
- .page {
- padding: 2vh;
- display: flex;
- flex-direction: column;
- box-sizing: border-box;
- }
+ .page {
+ padding: 1vh; /* 鍘�2vh锛岀缉灏忔暣浣撲笂涓嬮棿璺� */
+ display: flex;
+ flex-direction: column;
+ box-sizing: border-box;
+ }
/* 鍒锋柊鎸夐挳鏍峰紡 */
.refresh-btn {
@@ -239,12 +239,12 @@
}
/* 涓婂崐閮ㄥ垎锛氬乏鍙冲竷灞� */
- .top-section {
- display: flex;
- justify-content: space-between;
- flex-grow: 1;
- margin-bottom: 4vh;
- }
+ .top-section {
+ display: flex;
+ justify-content: space-between;
+ flex-grow: 1;
+ margin-bottom: 1.5vh; /* 鍘�4vh锛岀缉灏忎笂涓嬮棿闅� */
+ }
/* 宸﹁竟鎸夐挳鍜岃緭鍏ユ閮ㄥ垎锛堝乏鍙冲竷灞�锛� */
.left-section {
@@ -256,10 +256,8 @@
.item {
display: flex;
align-items: center;
- margin-bottom: 2.2vh;
- height: 7vh;
- width: 100%; /* 淇濊瘉涓�琛屽崰婊$埗瀹瑰櫒 */
- box-sizing: border-box;
+ margin-bottom: 1vh; /* 鍘�2.2vh锛岀缉灏忔瘡琛岄棿闅� */
+ height: 6vh; /* 鍙�傚綋缂╁皬楂樺害 */
}
/* 缁熶竴鎸夐挳鍜岃緭鍏ユ鐨勯珮搴� */
@@ -269,8 +267,11 @@
}
button {
- width: 32%;
+ width: 32%; /* 鎸夐挳鐣ュ */
+ padding: 0;
+ font-size: 2.2vw; /* 瀛椾綋鏇村ぇ */
margin-right: 1vw;
+ line-height: 6vh;
}
.btn-disabled {
@@ -286,7 +287,11 @@
}
.input-box {
- width: calc(68% - 1vw); /* 鍑忓幓鎸夐挳鐨刴argin-right */
+ width: 68%; /* 杈撳叆妗嗙暐缂╁皬锛岄厤鍚堟寜閽彉瀹� */
+ padding: 0 1vw;
+ font-size: 1.8vw; /* 瀛椾綋鏇村ぇ */
+ border: 1px solid #ccc;
+ box-sizing: border-box;
}
/* 鍙宠竟宸ュ崟鐘舵�侀儴鍒� */
@@ -303,11 +308,10 @@
margin-top: -44px;
}
- .status-title {
- margin-bottom: 2vh;
- font-size: 2vw;
- /* Larger font size for titles */
- }
+ .status-title {
+ margin-bottom: 1vh; /* 鍘�2vh锛岀缉灏忔爣棰橀棿闅� */
+ font-size: 2vw;
+ }
.status-circle {
width: 11vw;
@@ -334,12 +338,12 @@
}
/* 涓嬪崐閮ㄥ垎锛氫繚瀛樺拰鍙栨秷鎸夐挳 */
- .bottom-section {
- display: flex;
- justify-content: space-between;
- margin-top: 1vh;
- height: 100%;
- }
+ .bottom-section {
+ display: flex;
+ justify-content: space-between;
+ margin-top: 0.5vh; /* 鍘�1vh锛岀缉灏忎笌涓婃柟闂撮殧 */
+ height: 100%;
+ }
.save-btn,
.cancel-btn {
--
Gitblit v1.9.3