瀏覽代碼

公共样式

dengrui 2 月之前
父節點
當前提交
485f7196a9
共有 2 個文件被更改,包括 9 次插入2 次删除
  1. 1 1
      .env.development
  2. 8 1
      src/styles/variables.scss

+ 1 - 1
.env.development

@@ -11,7 +11,7 @@ VITE_APP_BASE_API = '/dev-api'
 VITE_APP_UPLOAD_URL = 'http://192.168.1.4:9000'
 
 # 开发接口地址
-VITE_APP_API_URL = 'http://10.88.11.200:8079'
+VITE_APP_API_URL = 'http://121.41.179.41:8079'
 # Websocket地址
 VITE_WEBSOCKET_URL = 'ws://192.168.101.178:8079'
 ``

+ 8 - 1
src/styles/variables.scss

@@ -7,6 +7,13 @@
   --menu-hover: #263445;
   --sidebar-logo-background: #2d3748;
   --el-mask-color: #f1f3f5;
+  //ohos 颜色样式更改
+  --ohos-bg: #000;
+  --ohos-text: #ffffff;
+  --ohos-area-bg: #191919;
+  --ohos-box-bg: #ffffff20;
+  --ohos-area-active-bg: #e5e5e5;
+  --ohos-text-green: #3d0158;
 }
 
 /** 暗黑主题 */
@@ -29,7 +36,7 @@ $sidebar-width-collapsed: 54px; // 侧边栏收缩宽度
 $navbar-height: 80px; // 导航栏高度
 $tags-view-height: 34px; // TagsView 高度
 
-$animation-duration:1.5s;
+$animation-duration: 1.5s;
 $select-hover: #0a59f7; //选中主题色
 $font-default-black: #303030; //字体默认黑
 $font-default-60: #00000060; //黑字体透明60%