丸子 9 meses atrás
pai
commit
8fe99dc32b
3 arquivos alterados com 6 adições e 6 exclusões
  1. 2 2
      .env
  2. 2 2
      src/components/LeftPanel.vue
  3. 2 2
      src/views/AIDevelop.vue

+ 2 - 2
.env

@@ -2,8 +2,8 @@
 VITE_APP_TITLE=AI课程网
 
 # 请求路径
-# VITE_BASE_URL='http://59.110.91.129/admin-api'
-VITE_BASE_URL='http://192.168.110.8:8080/admin-api'
+VITE_BASE_URL='http://59.110.91.129/admin-api'
+# VITE_BASE_URL='http://192.168.110.8:8080/admin-api'
 
 # 默认账户密码
 VITE_APP_DEFAULT_LOGIN_TENANT = 博雅智算

+ 2 - 2
src/components/LeftPanel.vue

@@ -5,7 +5,7 @@
       <el-row class="tac">
         <el-col :span="12">
           <el-menu
-            default-active="3"
+            default-active="2"
             class="el-menu-vertical-demo"
             @open="handleOpen"
             @close="handleClose"
@@ -21,7 +21,7 @@
             >
               <!-- 根据状态切换图片currentActiveIndex === index.toString() || item.isHover ? item.hoverIcon :  -->
                <img
-                :src="item.icon"
+                :src="currentActiveIndex === index.toString() || item.isHover ? item.hoverIcon : item.icon"
                 alt=""
                 class="menu-icon"
               />

+ 2 - 2
src/views/AIDevelop.vue

@@ -1901,8 +1901,8 @@ video::-webkit-media-controls-panel {
   border-radius: rpx(15);
   background: rgb(255, 255, 255, 0.8); // 柔和的蓝紫色渐变
   overflow: hidden;
-  padding: rpx(15);
-  width: 40%;
+  padding: rpx(5);
+  // width: 40%;
   // height: 60%;
   position: relative;
 }