From 772190e7b2e3f6ef0695ba54d9209324acdcb30a Mon Sep 17 00:00:00 2001 From: 艺术家 <10819716+q100102@user.noreply.gitee.com> Date: 星期三, 04 六月 2025 13:57:17 +0800 Subject: [PATCH] 伸缩杆代码提交 --- 项目代码/伸缩杆/client/src/views/tts/Parametersettings/Parametersettings.vue | 157 +++++++++++++++++----------------------------------- 1 files changed, 51 insertions(+), 106 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/\344\274\270\347\274\251\346\235\206/client/src/views/tts/Parametersettings/Parametersettings.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/\344\274\270\347\274\251\346\235\206/client/src/views/tts/Parametersettings/Parametersettings.vue" index 6ba99b5..9f3608c 100644 --- "a/\351\241\271\347\233\256\344\273\243\347\240\201/\344\274\270\347\274\251\346\235\206/client/src/views/tts/Parametersettings/Parametersettings.vue" +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/\344\274\270\347\274\251\346\235\206/client/src/views/tts/Parametersettings/Parametersettings.vue" @@ -3,6 +3,7 @@ <div class="Parametersettings_l"> <div style="color: rgba(0, 9, 56, 1); font-size: 1.13rem; font-weight: bold" + class="title" > 浼稿嚭缂╁洖閫熷害璁剧疆 </div> @@ -18,72 +19,90 @@ > <el-form-item prop="extendSpeed"> <template #label> - <span style="color: rgba(0, 9, 56, 1); font-size: 0.88rem" - >宸LC鑷姩浼稿嚭缂╁洖閫熷害m/min锛�</span + <span + style="color: rgba(0, 9, 56, 1); font-size: 0.88rem" + class="title_span" + >PLC鑷姩浼稿嚭缂╁洖閫熷害m/min锛�</span > </template> <el-input style="height: 1.88rem" + class="title_input" placeholder="璇疯緭鍏�" v-model="ruleForm.extendSpeed" /> </el-form-item> - <el-form-item prop="retractionSpeed"> + <!-- <el-form-item prop="retractionSpeed"> <template #label> - <span style="color: rgba(0, 9, 56, 1); font-size: 0.88rem" + <span + style="color: rgba(0, 9, 56, 1); font-size: 0.88rem" + class="title_span" >鍙砅LC鑷姩浼稿嚭缂╁洖閫熷害m/min锛�</span > </template> <el-input style="height: 1.88rem" + class="title_input" placeholder="璇疯緭鍏�" v-model="ruleForm.retractionSpeed" /> - </el-form-item> + </el-form-item> --> <el-form-item prop="manualExtend"> <template #label> - <span style="color: rgba(0, 9, 56, 1); font-size: 0.88rem" - >宸LC鎵嬪姩浼稿嚭缂╁洖閫熷害m/min锛�</span + <span + style="color: rgba(0, 9, 56, 1); font-size: 0.88rem" + class="title_span" + >PLC鎵嬪姩浼稿嚭缂╁洖閫熷害m/min锛�</span > </template> <el-input style="height: 1.88rem" + class="title_input" placeholder="璇疯緭鍏�" v-model="ruleForm.manualExtend" /> </el-form-item> - <el-form-item prop="manualRetraction"> + <!-- <el-form-item prop="manualRetraction"> <template #label> - <span style="color: rgba(0, 9, 56, 1); font-size: 0.88rem" + <span + style="color: rgba(0, 9, 56, 1); font-size: 0.88rem" + class="title_span" >鍙砅LC鎵嬪姩浼稿嚭缂╁洖閫熷害m/min锛�</span > </template> <el-input style="height: 1.88rem" + class="title_input" placeholder="璇疯緭鍏�" v-model="ruleForm.manualRetraction" /> - </el-form-item> + </el-form-item> --> <el-form-item prop="leftPosition"> <template #label> - <span style="color: rgba(0, 9, 56, 1); font-size: 0.88rem" + <span + style="color: rgba(0, 9, 56, 1); font-size: 0.88rem" + class="title_span" >宸LC鑷姩浼稿埌浣嶏細</span > </template> <el-input style="height: 1.88rem" + class="title_input" placeholder="璇疯緭鍏�" v-model="ruleForm.leftPosition" /> </el-form-item> <el-form-item prop="rightPosition"> <template #label> - <span style="color: rgba(0, 9, 56, 1); font-size: 0.88rem" + <span + style="color: rgba(0, 9, 56, 1); font-size: 0.88rem" + class="title_span" >鍙砅LC鑷姩浼稿埌浣嶏細</span > </template> <el-input style="height: 1.88rem" + class="title_input" placeholder="璇疯緭鍏�" v-model="ruleForm.rightPosition" /> @@ -99,11 +118,7 @@ > <el-button style="height: 1.88rem; width: 5.63rem" - @click="resetForm(ruleFormRef)" - >鍙栨秷</el-button - > - <el-button - style="height: 1.88rem; width: 5.63rem" + class="title_button" type="primary" @click="submitForm(ruleFormRef)" > @@ -113,93 +128,6 @@ </el-form-item> </el-form> </div> - <!-- <div class="Parametersettings_c"> - <div - style="color: rgba(0, 9, 56, 1); font-size: 1.13rem; font-weight: bold" - > - PLC淇″彿鐩戞帶 - </div> - <div - class="box" - style=" - display: flex; - justify-content: space-between; - flex-wrap: wrap; - padding: 0 5.25rem; - margin-top: 3.03rem; - " - > - <el-row> - <el-col style="display: flex; justify-content: space-between"> - <div class="box_item"></div> - <div class="box_item"></div> - <div class="box_item"></div> - </el-col> - <el-col - style=" - display: flex; - justify-content: space-between; - margin-top: 2.78rem; - " - ><div class="box_item"></div> - <div class="box_item"></div> - <div style="width: 6.25rem; height: 6.25rem"></div - ></el-col> - </el-row> - </div> - </div> - <div class="Parametersettings_r"> - <div - style="color: rgba(0, 9, 56, 1); font-size: 1.13rem; font-weight: bold" - > - 鏁呴殰澶勭悊 - </div> - <div - style=" - display: flex; - flex-direction: column; - margin-top: 4.19rem; - align-items: center; - justify-content: space-around; - height: 40%; - " - > - <el-button - type="primary" - style=" - width: 7.38rem; - height: 2.75rem; - background-color: rgba(230, 160, 0, 1); - color: rgba(255, 255, 255, 1); - font-size: 1rem; - margin-left: 1rem; - " - >鍥炲師鐐�</el-button - > - <el-button - type="primary" - style=" - width: 7.38rem; - height: 2.75rem; - background-color: rgba(0, 207, 55, 1); - color: rgba(255, 255, 255, 1); - font-size: 1rem; - " - >澶嶄綅</el-button - > - <el-button - type="primary" - style=" - width: 7.38rem; - height: 2.75rem; - background-color: rgba(255, 0, 0, 1); - color: rgba(255, 255, 255, 1); - font-size: 1rem; - " - >娓呴櫎鏁呴殰</el-button - > - </div> - </div> --> </div> </template> <script setup> @@ -224,8 +152,8 @@ }); //淇濆瓨 const submitForm = () => { - console.log(ruleForm.value); - + ruleForm.value.retractionSpeed = ruleForm.value.extendSpeed; + ruleForm.value.manualRetraction = ruleForm.value.manualExtend; AddData(ruleForm.value).then((res) => { if (res.code == 0) { ElMessage.success("淇濆瓨鎴愬姛"); @@ -288,4 +216,21 @@ padding: 1.44rem 1.25rem; } } +@media screen and (max-width: 1080px) { + .title { + font-size: 3rem !important; + } + .title_span { + font-size: 2rem !important; + } + .title_input { + height: 4rem !important; + font-size: 3rem !important; + } + .title_button { + height: 5rem !important; + width: 14rem !important; + font-size: 3rem !important; + } +} </style> -- Gitblit v1.9.3