From 62bcd93bba898876aa8d88fd38a1292604fde9ba Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期五, 21 十一月 2025 14:23:27 +0800
Subject: [PATCH] 添加注释
---
components/machine.vue | 48 ++++++++++++++++++++++++++++--------------------
1 files changed, 28 insertions(+), 20 deletions(-)
diff --git a/components/machine.vue b/components/machine.vue
index 65d476d..6095314 100644
--- a/components/machine.vue
+++ b/components/machine.vue
@@ -19,11 +19,11 @@
</view>
<view class="item">
<!-- 璋冩満寮�濮嬫寜閽紝maStartTime鏈夊�兼椂绂佺敤 -->
- <button :class="maStartTime ? 'btn-disabled' : 'btn-blue'"
- :disabled="!!maStartTime"
- @click="handleMaStartTime">
- 璋冩満寮�濮�
- </button>
+ <button :class="maStartTime ? 'btn-disabled' : 'btn-blue'"
+ :disabled="!!maStartTime"
+ @click="handleMaStartTime">
+ 璋冩満寮�濮�(=涓婂垁瀹屾垚)
+ </button>
<!-- 鏄剧ず璋冩満寮�濮嬫椂闂� -->
<input class="txt-inp" v-model="maStartTime" placeholder="鐐瑰嚮鎸夐挳甯﹀嚭璋冩満鏃堕棿" disabled="true" />
</view>
@@ -303,13 +303,13 @@
background-color: #00A2E9;
color: white;
border: none;
- font-size: 28px;
+ font-size: 24px;
border-radius: 5px;
}
label {
margin-right: 10px;
- font-size: 26px;
+ font-size: 24px;
}
/* 涓棿鐘舵�侀儴鍒嗗竷灞� */
@@ -328,7 +328,7 @@
}
.item h4 {
- font-size: 22px;
+ font-size: 24px;
line-height: 1.4;
margin: 0;
padding: 5px 0;
@@ -338,10 +338,10 @@
width: 50%;
flex-shrink: 0;
padding: 10px;
- font-size: 28px;
+ font-size: 24px;
border: none;
text-align: center;
- min-height: 70px;
+ min-height: 40px;
}
.btn-disabled {
@@ -357,11 +357,19 @@
input {
margin-top: 0;
padding: 8px;
- font-size: 28px;
+ font-size: 24px;
border: 1px solid #ccc;
width: 50%;
flex-grow: 1;
box-sizing: border-box;
+ }
+
+ /* 搴曢儴淇濆瓨/鍙栨秷鎸夐挳甯冨眬 */
+ .bottom-section {
+ display: flex;
+ justify-content: space-between;
+ margin-top: 10px;
+ padding-top: 10px;
}
.save-btn,
@@ -370,16 +378,16 @@
padding: 12px;
background-color: #00A2E9;
color: white;
- font-size: 28px;
+ font-size: 24px;
border: none;
text-align: center;
- min-height: 70px;
+ min-height: 45px;
}
.txt-inp {
- height: 70px;
- padding: 12px;
- font-size: 28px;
+ height: 80px; /* 澧炲ぇ楂樺害 */
+ padding: 12px; /* 澧炲ぇ鍐呰竟璺� */
+ font-size: 24px; /* 澧炲ぇ瀛椾綋 */
width: 50%;
flex-grow: 1;
box-sizing: border-box;
@@ -401,14 +409,14 @@
}
.item h4 {
- font-size: 18px;
+ font-size: 24px;
padding: 3px 0;
}
button {
padding: 8px;
font-size: 24px;
- min-height: 46px;
+ min-height: 38px;
}
.txt-inp {
@@ -426,7 +434,7 @@
.cancel-btn {
padding: 10px;
font-size: 24px;
- min-height: 46px;
+ min-height: 42px;
}
input {
@@ -438,7 +446,7 @@
}
label {
- font-size: 22px;
+ font-size: 24px;
}
}
</style>
\ No newline at end of file
--
Gitblit v1.9.3