From bb914b0cbf1f151eebc70e806df7e825786ab495 Mon Sep 17 00:00:00 2001
From: ZZJ <zzjdsg2300@163.com>
Date: 星期五, 10 十二月 2021 18:47:39 +0800
Subject: [PATCH] 改

---
 src/pages/ai/index/detail.vue |   36 +++++++++++++++++++++++-------------
 1 files changed, 23 insertions(+), 13 deletions(-)

diff --git a/src/pages/ai/index/detail.vue b/src/pages/ai/index/detail.vue
index c8fa510..ae5b132 100644
--- a/src/pages/ai/index/detail.vue
+++ b/src/pages/ai/index/detail.vue
@@ -76,17 +76,17 @@
       </div>
       <div class="text-area">
         <div class="text-line">
-          <span class="icon iconfont">{{ "\ue6b1" }}</span>
+          <span class="icon iconfont" >&#xe710;</span>
           <span class="title">鐗堟湰锛�</span>
           <span class="desc">{{ productDetail.productVersion }}</span>
         </div>
         <div class="text-line">
-          <span class="icon iconfont">{{ "\ue6b1" }}</span>
+          <span class="icon iconfont">&#xe75b;</span>
           <span class="title">姒傝堪锛�</span>
           <span class="desc">{{ productDetail.description || "鏆傛棤" }}</span>
         </div>
         <div class="text-line">
-          <span class="icon iconfont">{{ "\ue6b1" }}</span>
+          <span class="icon iconfont">&#xe716;</span>
           <span class="title">璇﹁堪锛�</span>
           <span class="desc">{{ productDetail.summary || "鏆傛棤" }}</span>
         </div>
@@ -144,6 +144,7 @@
           class="rec-item"
           v-for="(item, index) in otherProducts"
           :key="index"
+            @click="checkInWindow(item)"
         >
           <div class="icon-img">
             <img
@@ -164,6 +165,7 @@
             <el-button
               size="small"
               type="primary"
+             
               round
               @click="checkInWindow(item)"
               >鏌ョ湅</el-button
@@ -273,7 +275,6 @@
       isSDKDetail: true,
       actType: "",
       actId: "",
-      input3: "",
       select: "",
       activedSdkOrApp: {
         activateCode: "",
@@ -544,7 +545,8 @@
             .then((res) => {
               if (res && res.success) {
                 app.unloadLoading = false;
-                _this.getAllApps();
+                // _this.getAllApps();
+                this.$emit("flushApp")
                 window.parent.postMessage(
                   {
                     msg: "AppUpdate",
@@ -556,6 +558,7 @@
                   message: "鍗歌浇搴旂敤鎴愬姛",
                   type: "success",
                 });
+                this.goback()
               }
             })
             .catch((e) => {
@@ -764,8 +767,10 @@
               if (res && res.success) {
                 sdk.unloadLoading = false;
                 this.$notify.success("鍗歌浇瀹屾垚");
-                _this.getAllSdk();
+                // _this.getAllSdk();
+                this.$emit("flushSdk")
                 window.parent.postMessage({ msg: "AppUpdate" }, "*");
+                this.goback()
               }
             })
             .catch((e) => {
@@ -1007,7 +1012,8 @@
         height: 25px;
         .icon {
           font-size: 14px;
-          margin-right: 2px;
+           margin-right: 4px;
+
         }
         .title {
           font-size: 12px;
@@ -1093,6 +1099,7 @@
   }
   .rec-items {
     .rec-item {
+      cursor: pointer;
       float: left;
       display: flex;
       margin: 0 15px;
@@ -1131,14 +1138,17 @@
         padding: 5px 0;
         .el-button {
           padding: 3px 12px;
-          background-color: #1dd4ec !important;
-          border-color: #1dd4ec !important;
           border-radius: 22px;
+            background-color: #f2f2f7 !important;
+                border-color: #f2f2f7 !important;
+                color: #4f4f4f;
+                font-size: 12px;
+                font-weight: bold;
         }
-        .el-button--primary:hover {
-          background: #089fb3 !important;
-          border-color: #089fb3 !important;
-        }
+        // .el-button--primary:hover {
+        //   background: #089fb3 !important;
+        //   border-color: #089fb3 !important;
+        // }
       }
     }
   }

--
Gitblit v1.8.0