Karsa 1 year ago
parent
commit
fb048c0a50
2 changed files with 6 additions and 33 deletions
  1. 0 3
      package.json
  2. 6 30
      src/views/Home.vue

+ 0 - 3
package.json

@@ -81,11 +81,8 @@
     "extract-text-webpack-plugin": "^2.1.2",
     "file-loader": "^0.10.0",
     "friendly-errors-webpack-plugin": "^1.1.3",
-    "function-bind": "^1.0.2",
     "html-webpack-plugin": "^2.28.0",
     "http-proxy-middleware": "^0.17.3",
-    "json-loader": "^0.5.4",
-    "less": "^4.1.0",
     "moment": "^2.22.2",
     "node-sass": "^4.5.0",
     "opn": "^4.0.2",

+ 6 - 30
src/views/Home.vue

@@ -199,18 +199,6 @@
           </div>
 
           <div class="right_section">
-            <!-- AI问答 -->
-            <!-- <img
-              src="~@/assets/img/icons/ai.png"
-              @click="toOperation('AIQA')"
-              style="
-                display: inline-block;
-                width: 30px;
-                height: 30px;
-                margin: 4px 28px 0 0;
-                cursor: pointer;
-              "
-            /> -->
             <div class="userinfo">
               <div class="userinfo-fingerpost">
                 <el-button
@@ -218,7 +206,7 @@
                   v-for="item in linkSystems"
                   :key="item.path"
                   type="text"
-                  style="margin-right: 20px;"
+                  style="margin-right: 20px;color:#333"
                 >
                   <img :src="item.icon" v-if="item.icon" width="20" height="20" style="vertical-align: middle;">
                   {{item.name}}
@@ -226,7 +214,7 @@
 
                 <el-tooltip effect="dark" content="帮助文档" placement="bottom">
                   <div class="icon-box-item" v-if="isShowRole" @click="toOperation('fingerpost')">
-                    <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
+                    <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg" style="color:#333">
                       <path d="M9.24255 14.5C9.24255 14.0858 9.57834 13.75 9.99255 13.75C10.4068 13.75 10.7426 14.0858 10.7426 14.5C10.7426 14.9142 10.4068 15.25 9.99255 15.25C9.57834 15.25 9.24255 14.9142 9.24255 14.5Z" fill="currentColor"/>
                       <path d="M9.99261 5.00763C8.32056 5.00763 6.96136 6.36682 6.96136 8.03888H8.21136C8.21136 7.05718 9.01092 6.25763 9.99261 6.25763C10.9743 6.25763 11.7739 7.05718 11.7739 8.03888C11.7739 8.71106 11.2183 9.3851 10.4931 9.67971L10.4899 9.68101C9.82793 9.95419 9.36767 10.6052 9.36767 11.3656V12.5H10.6177V11.3656C10.6177 11.1228 10.7618 10.9216 10.9655 10.837C11.9996 10.4161 13.0239 9.37337 13.0239 8.03888C13.0239 6.36682 11.6647 5.00763 9.99261 5.00763Z" fill="currentColor"/>
                       <path d="M18.7427 10C18.7427 5.16751 14.8252 1.25 9.99268 1.25C5.16019 1.25 1.24268 5.16751 1.24268 10C1.24267 14.8325 5.16018 18.75 9.99267 18.75C14.8252 18.75 18.7427 14.8325 18.7427 10ZM17.4927 10C17.4927 14.1421 14.1348 17.5 9.99267 17.5C5.85054 17.5 2.49267 14.1421 2.49268 10C2.49268 5.85786 5.85054 2.5 9.99268 2.5C14.1348 2.5 17.4927 5.85787 17.4927 10Z" fill="currentColor"/>
@@ -278,12 +266,6 @@
 
     <!-- //重置初始密码 -->
     <pwd-dlg :dialogVisiblePwd="dialogVisiblePwd" />
-
-    <!-- 路演反馈弹窗 -->
-    <!-- <feedback-dialog
-      :isShow.sync="isFeedbackDialog"
-      :data="roadshowFeedbackList"
-    /> -->
     
   </div>
 </template>
@@ -291,20 +273,16 @@
 <script>
 import {
   checkPwd,
-  getnavlist,
-  positionlist,
   departInterence,
   customInterence,
   roadshowInterence,
 } from "api/api.js";
 import PwdDlg from "@/components/pwdDlg.vue";
-// import feedbackDialog from "@/components/todo/roadShowFeedbackDia.vue";
 import questionMsgDia from "@/components/questionMsgDia.vue";
 import EventBus from "@/api/bus.js";
 export default {
   components: {
     PwdDlg,
-    // feedbackDialog,
     questionMsgDia,
   },
   inject: ["reload"],
@@ -1203,15 +1181,13 @@ export default {
         .userinfo-inner {
           cursor: pointer;
           color: #666 !important;
-          overflow: hidden;
-          line-height: 60px;
+          display: flex;
+          align-items: center;
           font-size: 16px;
           img {
-            width: 40px;
-            height: 40px;
-            border-radius: 20px;
+            width: 25px;
+            height: 25px;
             margin: 10px;
-            float: left;
           }
         }
         .userinfo-inner:hover {