UI-Project/src/views/Caching/cachingbefore.vue
@@ -411,6 +411,7 @@ <el-icon><WarnTriangleFilled /></el-icon> <span class="alert-text"> {{ alertText }} (id:{{ alertMessage }}) <span class="confirm-text">{{ $t('hellow.pleaseConfirm') }}</span> </span> </div> <button @click="showAlert = false" class="close-btn">×</button> @@ -686,4 +687,11 @@ max-width: 80%; /* 防止小屏幕溢出 */ min-width: 400px; /* 最小宽度保证 */ } .confirm-text { color: rgb(242, 121, 8); display: block; /* 强制换行 */ text-align: center; /* 水平居中 */ margin-top: 4px; /* 与上一行保持间距 */ font-weight: 500; /* 加粗突出 */ } </style>