shaogen1995 1 місяць тому
батько
коміт
ad9087dd51

+ 1 - 11
后台大场景编辑/src/assets/styles/base.css

@@ -39,7 +39,7 @@ textarea {
 }
 /* 主题色 */
 :root {
-  --themeColor: #00a0e6;
+  --themeColor: #165dff;
 }
 /* 找不到页面 */
 .noFindPage {
@@ -161,16 +161,6 @@ textarea {
   height: 70px;
   line-height: 70px;
 }
-.pageTitle::before {
-  position: absolute;
-  left: 20px;
-  top: 50%;
-  transform: translateY(-50%);
-  content: '';
-  width: 6px;
-  height: 20px;
-  background-color: var(--themeColor);
-}
 .mySorrl::-webkit-scrollbar {
   /*滚动条整体样式*/
   width: 5px;

+ 11 - 11
后台大场景编辑/src/assets/styles/base.less

@@ -50,7 +50,7 @@ textarea {
 
 /* 主题色 */
 :root {
-  --themeColor: #00a0e6;
+  --themeColor: #165dff;
 }
 
 /* 找不到页面 */
@@ -206,16 +206,16 @@ textarea {
   height: 70px;
   line-height: 70px;
 
-  &::before {
-    position: absolute;
-    left: 20px;
-    top: 50%;
-    transform: translateY(-50%);
-    content: '';
-    width: 6px;
-    height: 20px;
-    background-color: var(--themeColor);
-  }
+  // &::before {
+  //   position: absolute;
+  //   left: 20px;
+  //   top: 50%;
+  //   transform: translateY(-50%);
+  //   content: '';
+  //   width: 6px;
+  //   height: 20px;
+  //   background-color: var(--themeColor);
+  // }
 }
 
 // 滚动条

+ 14 - 17
后台大场景编辑/src/index.tsx

@@ -1,41 +1,38 @@
 // import 'default-passive-events';
 
-import App from "./App";
-import store from "./store/index";
+import App from './App'
+import store from './store/index'
 
-import { Provider } from "react-redux";
-import { createRoot } from "react-dom/client";
+import { Provider } from 'react-redux'
+import { createRoot } from 'react-dom/client'
 
-import { ConfigProvider } from "antd";
+import { ConfigProvider } from 'antd'
 
 // 兼容360浏览器
-import {
-  StyleProvider,
-  legacyLogicalPropertiesTransformer,
-} from "@ant-design/cssinjs";
+import { StyleProvider, legacyLogicalPropertiesTransformer } from '@ant-design/cssinjs'
 
-import "dayjs/locale/zh-cn";
-import locale from "antd/locale/zh_CN";
+import 'dayjs/locale/zh-cn'
+import locale from 'antd/locale/zh_CN'
 
-const container = document.getElementById("root") as HTMLElement;
-const root = createRoot(container);
+const container = document.getElementById('root') as HTMLElement
+const root = createRoot(container)
 
 root.render(
   <ConfigProvider
     locale={locale}
     theme={{
       token: {
-        colorPrimary: "#00A0E6",
-      },
+        colorPrimary: '#165dff'
+      }
     }}
   >
     <Provider store={store}>
       <StyleProvider
-        hashPriority="high"
+        hashPriority='high'
         transformers={[legacyLogicalPropertiesTransformer]}
       >
         <App />
       </StyleProvider>
     </Provider>
   </ConfigProvider>
-);
+)

+ 1 - 1
后台大场景编辑/src/pages/A1List/index.tsx

@@ -146,7 +146,7 @@ function A1List() {
           userInfo.isAdmin !== 1 ? 'pageTitleToLeft' : ''
         )}
       >
-        场景管理
+        数字孪生场景后台管理系统
       </div>
       <div className='A1Top'>
         <div className='selectBox'>

+ 12 - 23
后台大场景编辑/src/pages/Layout/index.module.scss

@@ -6,22 +6,21 @@
   position: relative;
 
   :global {
-
     .layoutLeft {
       position: relative;
       z-index: 30;
       width: 220px;
       height: 100%;
-      background-color: #234386;
+      background-color: #e9f2f9;
 
       .layoutLeftTop {
         height: 70px;
-        background-color: #1f3d7c;
+        background-color: var(--themeColor);
         display: flex;
         justify-content: center;
         align-items: center;
 
-        &>img {
+        & > img {
           width: 180px;
         }
       }
@@ -29,7 +28,6 @@
       .layoutLeftMain {
         height: calc(100% - 70px);
 
-
         .mainBoxL2Row {
           cursor: pointer;
           height: 50px;
@@ -50,21 +48,17 @@
           color: #fff;
           pointer-events: none;
           background-color: var(--themeColor);
-
         }
       }
-
-
     }
 
     .layoutRight {
       width: calc(100% - 220px);
       height: 100%;
 
-
       .layoutRightTop {
         height: 70px;
-        background-color: #1f3d7c;
+        background-color: var(--themeColor);
         display: flex;
         justify-content: flex-end;
         position: relative;
@@ -78,8 +72,8 @@
           padding-left: 55px;
           cursor: pointer;
           position: relative;
-          background: url('../../assets/img/user.png') no-repeat left center;
-          background-size: 40px 40px;
+          // background: url('../../assets/img/user.png') no-repeat left center;
+          // background-size: 40px 40px;
           font-size: 16px;
           color: #fff;
 
@@ -98,7 +92,7 @@
             width: 140px;
             opacity: 0;
             pointer-events: none;
-            transition: bottom .3s;
+            transition: bottom 0.3s;
             height: 120px;
             position: absolute;
             left: 50%;
@@ -107,13 +101,14 @@
             padding-top: 20px;
             color: rgb(226, 223, 223);
 
-            &>span {
-              background-color: #1f3d7c;
+            & > span {
+              background-color: var(--themeColor);
               display: block;
               width: 100%;
               height: 50px;
               line-height: 50px;
               text-align: center;
+              border-radius: 10px;
 
               &:first-child {
                 border-radius: 10px 10px 0 0;
@@ -139,8 +134,6 @@
             .userInco2 {
               display: none;
             }
-
-
           }
         }
       }
@@ -156,17 +149,13 @@
           background-color: #fff;
           border-radius: 10px;
 
-          &>div {
+          & > div {
             width: 100%;
             height: 100%;
             position: relative;
           }
         }
       }
-
     }
-
-
-
   }
-}
+}