From 2e032c055b47c00011d744ed43133d12b688c529 Mon Sep 17 00:00:00 2001
From: heyujie <516346543@qq.com>
Date: 星期三, 09 六月 2021 14:44:43 +0800
Subject: [PATCH] 更新提示图标

---
 src/pages/ai/index/App.vue |   23 +++++++++++++++++++----
 src/assets/img/更新提示.png    |    0 
 vue.config.js              |    2 +-
 3 files changed, 20 insertions(+), 5 deletions(-)

diff --git "a/src/assets/img/\346\233\264\346\226\260\346\217\220\347\244\272.png" "b/src/assets/img/\346\233\264\346\226\260\346\217\220\347\244\272.png"
new file mode 100644
index 0000000..0b6404f
--- /dev/null
+++ "b/src/assets/img/\346\233\264\346\226\260\346\217\220\347\244\272.png"
Binary files differ
diff --git a/src/pages/ai/index/App.vue b/src/pages/ai/index/App.vue
index 8285b7b..094649f 100644
--- a/src/pages/ai/index/App.vue
+++ b/src/pages/ai/index/App.vue
@@ -33,7 +33,8 @@
                             :element-loading-text="item.progressMsg"
                             element-loading-background="rgba(0,0,0,.8)"
                           >
-                            <i class="iconfont iconupdate" v-if="item.isUpgrade"></i>
+                            <!-- <i class="iconfont iconupdate" v-if="item.isUpgrade"></i> -->
+                            <img class="update-icon" v-if="item.isUpgrade" src="../../../assets/img/鏇存柊鎻愮ず.png" alt="">
                             <div class="mask" v-if="!item.isDefault || item.isUpgrade">
                               <div class="left-top">
                                 <div>褰撳墠鐗堟湰:{{ item.version }}</div>
@@ -158,7 +159,9 @@
                             :element-loading-text="item.progressMsg"
                             element-loading-background="rgba(0,0,0,.8)"
                           >
-                            <i class="iconfont iconupdate" v-if="item.isUpgrade"></i>
+                            <!-- <i class="iconfont iconupdate" v-if="item.isUpgrade"></i> -->
+                            <img class="update-icon" v-if="item.isUpgrade" src="../../../assets/img/鏇存柊鎻愮ず.png" alt="">
+
                             <div class="mask">
                               <div class="left-top">
                                 <div>褰撳墠鐗堟湰:{{ item.version }}</div>
@@ -444,7 +447,9 @@
                             :element-loading-text="item.progressMsg"
                             element-loading-background="rgba(0,0,0,.8)"
                           >
-                            <i class="iconfont iconupdate" v-if="item.isUpgrade"></i>
+                            <!-- <i class="iconfont iconupdate" v-if="item.isUpgrade"></i> -->
+                            <img class="update-icon" v-if="item.isUpgrade" src="../../../assets/img/鏇存柊鎻愮ず.png" alt="">
+
                             <div class="mask" v-if="!item.isDefault || item.isUpgrade">
                               <div class="left-top">
                                 <div>褰撳墠鐗堟湰:{{ item.version }}</div>
@@ -510,7 +515,9 @@
                             :element-loading-text="item.progressMsg"
                             element-loading-background="rgba(0,0,0,.8)"
                           >
-                            <i class="iconfont iconupdate" v-if="item.isUpgrade"></i>
+                            <!-- <i class="iconfont iconupdate" v-if="item.isUpgrade"></i> -->
+                            <img class="update-icon" v-if="item.isUpgrade" src="../../../assets/img/鏇存柊鎻愮ず.png" alt="">
+
                             <div class="mask">
                               <div class="left-top">
                                 <div>褰撳墠鐗堟湰:{{ item.version }}</div>
@@ -2516,6 +2523,13 @@
         }
       }
       .willUpGrade {
+        .update-icon {
+           position: absolute;
+          top: -8px;
+          right: -8px;
+          z-index: 999;
+
+        }
         .iconupdate {
           color: #01e667;
           position: absolute;
@@ -2523,6 +2537,7 @@
           right: 5px;
           font-weight: 550;
           font-size: 26px;
+          z-index: 999;
         }
       }
       &.uninstall {
diff --git a/vue.config.js b/vue.config.js
index a0cb604..54707a5 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -91,7 +91,7 @@
       },
       "/data/api-v/app/findAllApp": {
         // target: '/',
-        target: 'http://localhost:8080/',
+        target: 'http://localhost:8081/',
         changeOrigin: true,
         pathRewrite: {
           '^/data/api-v/app/findAllApp': 'apps.json'

--
Gitblit v1.8.0