From 07ffc364bf90b369eac610627a33b973bf0dc260 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期三, 10 四月 2024 11:54:14 +0800
Subject: [PATCH] 查看提取码字体大小、居中调整

---
 src/views/system/oss/index.vue |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/src/views/system/oss/index.vue b/src/views/system/oss/index.vue
index ae0398b..9ce71fd 100644
--- a/src/views/system/oss/index.vue
+++ b/src/views/system/oss/index.vue
@@ -79,8 +79,10 @@
       </template>
     </el-dialog>
     <el-dialog :title="titleDownload" v-model="visibleCode" width="500px" append-to-body>
-      <p style="color: red">鎻愬彇鐮佸皢浼氬湪24灏忔椂鍚庡け鏁堣灏藉揩涓嬭浇!</p>
-      <span v-show="titleDownload=='鏌ョ湅鎻愬彇鐮�'" style="font-size: 32px;">{{testtxt}}</span>
+      <div style="width: 100%;text-align: center">
+        <p style="color: red; font-size: 20px">鎻愬彇鐮佸皢浼氬湪24灏忔椂鍚庡け鏁堣灏藉揩涓嬭浇!</p>
+        <span v-show="titleDownload=='鏌ョ湅鎻愬彇鐮�'" style="font-size: 80px;">{{testtxt}}</span>
+      </div>
       <el-input style="margin: 10px 0" ref="inputRef" :style="inputSty" v-show="titleDownload=='杈撳叆鎻愬彇鐮�'"  v-model="pasTxt" v-if="isContains(useUserStore().permissions, 'system:oss:download')" placeholder="璇疯緭鍏ユ枃浠舵彁鍙栫爜"></el-input>
       <el-input style="margin: 10px 0" ref="inputRef" :style="inputSty" v-show="titleDownload=='璇疯緭鍏ユ彁鍙栫爜'"  v-model="pasTxt"  placeholder="璇疯緭鍏ユ枃浠舵彁鍙栫爜"></el-input>
       <!--      <el-button link type="primary"   v-show="titleDownload=='杈撳叆鎻愬彇鐮�'" icon="Download" @click="handleDownloadFile()" v-if="isContains(useUserStore().permissions, 'system:oss:download')">涓嬭浇</el-button>-->
@@ -98,14 +100,14 @@
     <el-dialog
     v-model="dialogVisible"
     title=""
-    width="30%"
+    width="37%"
     :close-on-click-modal = "false"
     :close-on-press-escape = "false"
     :show-close = "false"
 
   >
     <span @closePopup1="lookPawsd1()">
-    <el-progress type="dashboard" :percentage="percentage2" :color="colors" />
+    <el-progress type="dashboard" :percentage="percentage2" style="display: flex;justify-content: center" :color="colors" />
     </span>
     </el-dialog>
   </div>
@@ -324,7 +326,7 @@
 /** 浠诲姟鏃ュ織鍒楄〃鏌ヨ */
 /** 鏂囦欢鎸夐挳鎿嶄綔 */
 const handleFile = () => {
-
+  percentage2.value = 0;
   reset();
   type.value = 0;
   dialog.visible = true;
@@ -351,7 +353,7 @@
 }
 const lookPawsd = async (row: any) => {
   console.log(row, row.ossId);
-  percentage2.value = 0;
+
   clearInterval(state.mytime);
     state.mytime = 0;
   if(row == '123123'){

--
Gitblit v1.8.0