Browse Source

初步完工

shaogen1995 2 ngày trước cách đây
mục cha
commit
cf757a1fa5

+ 3 - 3
后台管理/README.md

@@ -1,9 +1,9 @@
 1.使用 yarn。 npm 有问题
 1.使用 yarn。 npm 有问题
 
 
-2.测试后端文档地址:
+2.测试后端文档地址:https://sit-jinanlsly.4dage.com/api/doc.html#/home
 
 
-3.测试堡垒机位置:
+3.测试堡垒机位置:/data/data01/museum_shangdong_jinan_lieshilingyuan_data
 
 
-4:测试网址:
+4:测试网址:https://sit-jinanlsly.4dage.com/backstage
 
 
 5:蓝湖地址:https://lanhuapp.com/web/#/item/project/product?tid=de3e5e3e-a489-4b19-862a-7c87ce113467&pid=ad933c2c-f106-4495-8393-98df8a3fc079&image_id=d1e2fd0d-fa26-4494-a40f-b119a0d176ba&docId=d1e2fd0d-fa26-4494-a40f-b119a0d176ba&docType=axure&versionId=86983a0b-977f-4808-82c8-43d54f773074&pageId=f92c3957af454884b7a1e0da86b72bd7&share_type=quickShare&parentId=0fd8353a-1464-402c-be92-6ce802d4fceb
 5:蓝湖地址:https://lanhuapp.com/web/#/item/project/product?tid=de3e5e3e-a489-4b19-862a-7c87ce113467&pid=ad933c2c-f106-4495-8393-98df8a3fc079&image_id=d1e2fd0d-fa26-4494-a40f-b119a0d176ba&docId=d1e2fd0d-fa26-4494-a40f-b119a0d176ba&docType=axure&versionId=86983a0b-977f-4808-82c8-43d54f773074&pageId=f92c3957af454884b7a1e0da86b72bd7&share_type=quickShare&parentId=0fd8353a-1464-402c-be92-6ce802d4fceb

BIN
后台管理/src/assets/img/bg.jpg


BIN
后台管理/src/assets/img/logo.png


BIN
后台管理/src/assets/img/logo2.png


BIN
后台管理/src/assets/img/tabAc.png


BIN
后台管理/src/assets/img/tabBg.png


BIN
后台管理/src/assets/img/title_2.png


+ 2 - 2
后台管理/src/assets/styles/base.css

@@ -35,8 +35,8 @@ textarea {
 }
 }
 /* 主题色 */
 /* 主题色 */
 :root {
 :root {
-  --themeColor: #8e0620;
-  --themeColor2: #272727;
+  --themeColor: #ac100a;
+  --themeColor2: #831712;
 }
 }
 /* 找不到页面 */
 /* 找不到页面 */
 .noFindPage {
 .noFindPage {

+ 2 - 2
后台管理/src/assets/styles/base.less

@@ -45,8 +45,8 @@ textarea {
 
 
 /* 主题色 */
 /* 主题色 */
 :root {
 :root {
-  --themeColor: #8e0620;
-  --themeColor2: #272727;
+  --themeColor: #ac100a;
+  --themeColor2: #831712;
 }
 }
 
 
 /* 找不到页面 */
 /* 找不到页面 */

+ 1 - 1
后台管理/src/index.tsx

@@ -22,7 +22,7 @@ root.render(
     locale={locale}
     locale={locale}
     theme={{
     theme={{
       token: {
       token: {
-        colorPrimary: '#8e0620'
+        colorPrimary: '#ac100a'
       }
       }
     }}
     }}
   >
   >

+ 8 - 6
后台管理/src/pages/Layout/index.module.scss

@@ -8,7 +8,8 @@
       position: relative;
       position: relative;
       width: 220px;
       width: 220px;
       height: 100%;
       height: 100%;
-      background-color: var(--themeColor);
+      background-image: url('../../assets/img/tabBg.png');
+      background-size: cover;
 
 
       .layoutLeftTop {
       .layoutLeftTop {
         text-align: center;
         text-align: center;
@@ -35,7 +36,6 @@
           }
           }
 
 
           .layoutLRowBoxRow {
           .layoutLRowBoxRow {
-            opacity: 0.8;
             color: #fff;
             color: #fff;
             text-align: center;
             text-align: center;
             cursor: pointer;
             cursor: pointer;
@@ -46,15 +46,17 @@
             margin-bottom: 20px;
             margin-bottom: 20px;
 
 
             &:hover {
             &:hover {
-              background-color: rgba(255, 255, 255, 0.3);
-              opacity: 1;
+              background-image: url('../../assets/img/tabAc.png');
+              background-size: 100% 100%;
+              color: var(--themeColor2);
             }
             }
           }
           }
 
 
           .active {
           .active {
-            opacity: 1;
+            background-image: url('../../assets/img/tabAc.png');
+            background-size: 100% 100%;
+            color: var(--themeColor2);
             pointer-events: none;
             pointer-events: none;
-            background-color: rgba(255, 255, 255, 0.3);
           }
           }
         }
         }
       }
       }

+ 1 - 2
后台管理/src/pages/Layout/index.tsx

@@ -154,8 +154,7 @@ function Layout() {
       {/* 左边 */}
       {/* 左边 */}
       <div className='layoutLeft'>
       <div className='layoutLeft'>
         <div className='layoutLeftTop'>
         <div className='layoutLeftTop'>
-          {/* 待完善 */}
-          <img src={logoImg} alt='' style={{ opacity: 0 }} />
+          <img src={logoImg} alt='' />
         </div>
         </div>
         {/* 左边主体 */}
         {/* 左边主体 */}
         <div className='layoutLeftMain'>
         <div className='layoutLeftMain'>

+ 9 - 9
后台管理/src/pages/Login/index.module.scss

@@ -4,22 +4,22 @@
   display: flex;
   display: flex;
   justify-content: space-between;
   justify-content: space-between;
   padding: 8%;
   padding: 8%;
+  background-image: url('../../assets/img/bg.jpg');
+  background-size: 100% 100%;
 
 
   :global {
   :global {
     .mainLeft {
     .mainLeft {
       width: calc(100% - 630px);
       width: calc(100% - 630px);
-      text-align: center;
-      display: flex;
-      flex-direction: column;
-      justify-content: space-between;
-      align-items: center;
-      .loLeImg1 {
-        height: 200px;
+      & > img {
+        object-fit: contain !important;
+        position: relative;
+        top: -15%;
+        left: -8%;
       }
       }
     }
     }
 
 
     .mainRight {
     .mainRight {
-      border: 2px solid var(--themeColor);
+      background-color: #fff;
       border-radius: 6px;
       border-radius: 6px;
       width: 530px;
       width: 530px;
       display: flex;
       display: flex;
@@ -35,7 +35,7 @@
       }
       }
 
 
       .inputBox {
       .inputBox {
-        margin: 40px 0 40px;
+        margin: 30px 0 30px;
         width: 100%;
         width: 100%;
 
 
         input::-webkit-input-placeholder {
         input::-webkit-input-placeholder {

+ 3 - 1
后台管理/src/pages/Login/index.tsx

@@ -73,7 +73,9 @@ export default function Login() {
 
 
   return (
   return (
     <div className={styles.Login}>
     <div className={styles.Login}>
-      <div className='mainLeft'>{/* 待完善 */}</div>
+      <div className='mainLeft'>
+        <img src={require('@/assets/img/logo2.png')} alt='' />
+      </div>
 
 
       <div className='mainRight'>
       <div className='mainRight'>
         {/* logg */}
         {/* logg */}

+ 1 - 1
后台管理/src/store/action/A6statistics.ts

@@ -7,7 +7,7 @@ export const A6_APIgetList = (): any => {
   return async (dispatch: AppDispatch) => {
   return async (dispatch: AppDispatch) => {
     const res = await http.get(`cms/visit/getRelic`)
     const res = await http.get(`cms/visit/getRelic`)
     if (res.code === 0) {
     if (res.code === 0) {
-      console.log(1231, res)
+      // console.log(1231, res)
 
 
       dispatch({ type: 'A6/getInfo', payload: { list: res.data || {}, flag: true } })
       dispatch({ type: 'A6/getInfo', payload: { list: res.data || {}, flag: true } })
     }
     }