Browse Source

feat: save

gemercheung 1 year ago
parent
commit
471e46d111
1 changed files with 15 additions and 13 deletions
  1. 15 13
      src/views/setting/index.vue

+ 15 - 13
src/views/setting/index.vue

@@ -148,15 +148,15 @@
               </a>
               </a>
             </Tooltip>
             </Tooltip>
 
 
-            <!-- <ui-icon
+            <ui-icon
               v-if="!back.sys"
               v-if="!back.sys"
               type="close"
               type="close"
               class="del"
               class="del"
               @click.stop="delBack(back)"
               @click.stop="delBack(back)"
-            /> -->
-            <ui-button type="primary" class="del" @click.stop="delBack(back)">
+            />
+            <!-- <ui-button type="primary" class="del" @click.stop="delBack(back)">
               删除
               删除
-            </ui-button>
+            </ui-button> -->
           </div>
           </div>
           <ui-input
           <ui-input
             class="input"
             class="input"
@@ -544,16 +544,18 @@ const iconUpload = async (data: any) => {
 
 
   .del {
   .del {
     position: absolute;
     position: absolute;
-    // background: #ef4347;
-    // width: 20px;
-    // height: 20px;
-    // top: -10px;
-    // right: -10px;
-    top: 60px;
-    left: 0;
+    background: #ef4347;
+    width: 20px;
+    height: 20px;
+    top: -10px;
+    right: -10px;
+    border-radius: 50%;
     opacity: 0;
     opacity: 0;
+    // top: 60px;
+    // left: 0;
+
     // opacity: 1;
     // opacity: 1;
-    // border-radius: 50%;
+
     :global(.ui-button) {
     :global(.ui-button) {
       height: 28px;
       height: 28px;
       border-top-left-radius: 0;
       border-top-left-radius: 0;
@@ -571,7 +573,7 @@ const iconUpload = async (data: any) => {
   }
   }
 
 
   &:hover .del {
   &:hover .del {
-    opacity: 0.9;
+    opacity: 1;
   }
   }
 
 
   .iconfont {
   .iconfont {