Kaynağa Gözat

j加进度条

duy 2 yıl önce
ebeveyn
işleme
68b382d013
1 değiştirilmiş dosya ile 15 ekleme ve 0 silme
  1. 15 0
      src/views/archives/rolling.vue

+ 15 - 0
src/views/archives/rolling.vue

@@ -27,6 +27,15 @@
                   </div>
                 </template> -->
                 <template  #extra>
+                    <div class="demo-progress">
+                        <el-progress
+                        :text-inside="true"
+                        :stroke-width="30"
+                        :percentage="88"
+                        status="success"
+                        />
+                    </div>
+                
                     <HcTooltip keys="archives_rolling_btn_update">
                         <el-button type="primary" hc-btn @click="updateArchive" :loading="updateArchiveLoad">
                             <HcIcon name="git-pull-request"/>
@@ -242,5 +251,11 @@ const updateArchive=async()=>{
  font-size: 1.125rem;
 line-height: 1.75rem;
 }
+.demo-progress .el-progress--line {
+  margin-bottom: 15px;
+  width: 350px;
+  margin-top: 15px;
+  margin-right: 15px;
+}
 
 </style>