From 2ff1e1a4bfdb4a21df448a2bfb3e333eb05aeef3 Mon Sep 17 00:00:00 2001 From: guonan <guonan201020@163.com> Date: 星期一, 21 四月 2025 17:31:00 +0800 Subject: [PATCH] 修改仿真详情的样式 --- src/components/monifangzhen/schemeInfo.vue | 28 ++++++++++++++++++++-------- 1 files changed, 20 insertions(+), 8 deletions(-) diff --git a/src/components/monifangzhen/schemeInfo.vue b/src/components/monifangzhen/schemeInfo.vue index 95a392f..6523022 100644 --- a/src/components/monifangzhen/schemeInfo.vue +++ b/src/components/monifangzhen/schemeInfo.vue @@ -1,6 +1,6 @@ <template> <div class="listCard"> - <div class="left-top"> + <div class="top"> <span>鏂规璇︽儏</span> <!-- <el-button class="clickable-text" @click="handleBack">缁撴潫妯℃嫙</el-button> --> </div> @@ -38,7 +38,7 @@ </div> </div> <div v-else> - <p style="text-align: center;">鏆傛棤鏂规淇℃伅</p> + <p style="text-align: center">鏆傛棤鏂规淇℃伅</p> </div> </div> </div> @@ -53,7 +53,7 @@ <script setup> import { defineProps, defineEmits, inject } from "vue"; import dayjs from "dayjs"; -import { ElMessage } from 'element-plus' +import { ElMessage } from "element-plus"; // 瀹氫箟 emit 鏂规硶 const emit = defineEmits(["back"]); @@ -62,9 +62,9 @@ // 杩斿洖鎸夐挳鐐瑰嚮浜嬩欢 function handleBack() { ElMessage({ - message: '妯℃嫙杩涚▼姝e湪鍏抽棴涓�...', - type: 'success', - }) + message: "妯℃嫙杩涚▼姝e湪鍏抽棴涓�...", + type: "success", + }); emit("back", false); // 鍚戠埗缁勪欢浼犻�� false 鍊� endSimulate(); } @@ -123,7 +123,7 @@ } .details { - padding: 8px; + padding: 8px; .input-group { display: flex; @@ -155,4 +155,16 @@ left: 100%; z-index: 5000; } -</style> \ No newline at end of file +.top { + width: 100%; + height: 41px; + color: white; + line-height: 41px; + font-size: 16px; + font-weight: 700; + cursor: pointer; + text-indent: 7px; + letter-spacing: 2px; + font-weight: bolder; +} +</style> -- Gitblit v1.9.3