qiushang 1 rok pred
rodič
commit
939bcc61dd
2 zmenil súbory, kde vykonal 3 pridanie a 4 odobranie
  1. 2 3
      src/renderer/components/update.vue
  2. 1 1
      static/start.html

+ 2 - 3
src/renderer/components/update.vue

@@ -28,11 +28,10 @@
         <!-- 下载进度 -->
 		<el-dialog title="软件更新" :visible.sync="isShow" width="400px" :show-close="false">
 			<div style="text-align: center;">
-				<div class="demo-Circle-custom">
+				<div class="demo-Circle-custom" style="margin-bottom: 10px;">
 					文件大小:<i>{{$utils.handleSize(Number(softInfo.totalSize))}}</i>
-					<p>下载进度</p>
 				</div>
-				<el-progress type="circle" :stroke-width="10" :percentage="Number(softInfo.percent)" :width="220"></el-progress>
+				<el-progress :text-inside="true" :stroke-width="30" :percentage="Number(softInfo.percent)"></el-progress>
 				<div>
 					<el-button type="primary" style="margin-top: 30px;" @click="isShow = false">后台下载</el-button>
 				</div>

+ 1 - 1
static/start.html

@@ -2,7 +2,7 @@
 <html>
 <head>
     <meta charset=utf-8>
-    <title>优软件</title>
+    <title>优软件</title>
     <style type="text/css">
         body{
             margin: 0;