Jelajahi Sumber

森语样式

jbb 2 tahun lalu
induk
melakukan
e8fa8f9b60

+ 8 - 6
public/index.html

@@ -6,10 +6,10 @@
   <meta http-equiv="X-UA-Compatible" content="IE=edge">
   <meta name="viewport" content="width=device-width,initial-scale=1.0">
   <!-- 技能博物馆 -->
-  <title>OA办公系统</title>
-  <link rel="icon" href="<%= BASE_URL %>logo-cd-left1.png">
-  <!-- <title>宁波森语国际贸易有限公司</title>
-  <link rel="icon" href="<%= BASE_URL %>logo-SY.png"> -->
+  <!-- <title>OA办公系统</title>
+  <link rel="icon" href="<%= BASE_URL %>logo-cd-left1.png"> -->
+  <title>宁波森语国际贸易有限公司</title>
+  <link rel="icon" href="<%= BASE_URL %>logo-SY.png">
  <!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/babel-polyfill/7.2.5/polyfill.js"></script> -->
   <style>
     html,
@@ -263,12 +263,14 @@
          border-radius: 5px;
        }
      }
-      #home .ccfullCalendar .fc-scrollgrid-sync-inner a{
+      
+      /* 技能博物馆 */
+      /* #home .ccfullCalendar .fc-scrollgrid-sync-inner a{
         color: black !important;
       }
       #home .ccfullCalendar[data-v-3ca0fc72] .fc-day-today{
       background-color: #f0eff4 !important;
-}
+      } */
     /* 滚动条优化 end */
   </style>
   <!-- 全局配置 -->

+ 2 - 2
src/assets/less/mytodo.less

@@ -98,8 +98,8 @@
 
   // 日历
   .ccfullCalendar {
-    // background-image: url('../date03.jpg');
-    background-color: white;
+    background-image: url('../date03.jpg');
+    // background-color: white; //技能博物馆
     opacity: 0.8;
     background-size: cover;
     background-repeat: no-repeat;

+ 4 - 1
src/components/tools/HeaderNotice.vue

@@ -83,7 +83,10 @@
     </template>
     <span @click="fetchNotice" class="header-notice">
       <a-badge :count="msgTotal"><StepBackwardOutlined />
-        <a-icon style="color:grey; font-size: 16px; padding: 4px" type="bell" />
+        <!-- 技能博物馆 -->
+        <!-- <a-icon style="color:grey; font-size: 16px; padding: 4px" type="bell" /> -->   
+        <!-- 森语 -->
+        <a-icon style="font-size: 16px; padding: 4px" type="bell" />
       </a-badge>
     </span>
     <show-announcement ref="ShowAnnouncement" @ok="modalFormOk"></show-announcement>

+ 4 - 1
src/components/tools/Logo.vue

@@ -14,7 +14,10 @@
       <!-- <img src="~@/assets/logo-cd-left1.png" alt="logo">
       <h1 >OA办公系统</h1>  -->
       <img :src="this.$store.state.logoUrl" alt="logo">
-      <h1 style="color:grey">{{this.$store.state.topTitle}}</h1>
+      <!-- 技能博物馆 -->
+      <!-- <h1 style="color:grey">{{this.$store.state.topTitle}}</h1> -->
+      <!-- 森语 -->
+      <h1>{{this.$store.state.topTitle}}</h1>
       <!-- <h1 >{{ dashboard }}</h1> -->
     </router-link>
   </div>

+ 3 - 2
src/components/tools/UserMenu.vue

@@ -265,7 +265,8 @@
     color: inherit;
     text-decoration: none;
   }
-  .layout .header .user-wrapper .action .avatar, .layout .top-nav-header-index .user-wrapper .action .avatar{
+  /* 技能博物馆 */
+  /* .layout .header .user-wrapper .action .avatar, .layout .top-nav-header-index .user-wrapper .action .avatar{
     background: grey;
-  }
+  } */
 </style>

+ 7 - 7
src/defaultSettings.js

@@ -24,18 +24,18 @@ export default {
   colorWeak: false,
   multipage: true, //默认多页签模式
   //登陆界面logo
-  // imgUrl : require("@assets/logo-new.png"),
-  imgUrl : require("@assets/logo-cd-left1.png"),
+  imgUrl : require("@assets/logo-new.png"),
+  // imgUrl : require("@assets/logo-cd-left1.png"),
   //首页左上角logo
-   logoUrl : require("@assets/logo-cd-left1.png"),
-  // logoUrl : require("@assets/logo-new.png"),
+  //  logoUrl : require("@assets/logo-cd-left1.png"),
+  logoUrl : require("@assets/logo-new.png"),
    //菜单样式
    mode:'vertical',
    //文字信息
-  //  bottonTitle:'宁波森语国际贸易有限公司',
-   bottonTitle:'OA办公系统',
+   bottonTitle:'宁波森语国际贸易有限公司',
+  //  bottonTitle:'OA办公系统',
   //  topTitle:'森语',
-   topTitle:'OA办公系统',
+  //  topTitle:'OA办公系统',
   // vue-ls options
   storageOptions: {
     namespace: 'pro__', // key prefix

+ 25 - 19
src/views/dashboard/MyToDo.vue

@@ -3,12 +3,12 @@
     <!-- 第一行 -->
     <a-row :gutter="24" class="firstLine">
       <!-- 我的 -->
-      <!-- <a-col :xs="24" :sm="24" :md="24" :lg="7" :style="{ marginBottom: '8px', paddingRight: 0 }"> -->
+      <a-col :xs="24" :sm="24" :md="24" :lg="7" :style="{ marginBottom: '8px', paddingRight: 0 }">
         <!-- 等高设置 -->
-        <!-- <a-card title="我的" style="width: 100%;" :bordered="false" :style="{ marginBottom: '8px', height: '250px' }">
-          <a-row :gutter="24"> -->
+        <a-card title="我的" style="width: 100%;" :bordered="false" :style="{ marginBottom: '8px', height: '250px' }">
+          <a-row :gutter="24">
             <!-- 头像 -->
-            <!-- <a-col :xs="24" :sm="24" :md="12" :lg="14">
+            <a-col :xs="24" :sm="24" :md="12" :lg="14">
               <a-row :gutter="24">
                 <a-col :xs="24" :sm="24" :md="12" :lg="8">
                   <div class="userImg">
@@ -23,10 +23,10 @@
                   </div>
                 </a-col>
               </a-row>
-            </a-col> -->
+            </a-col>
 
             <!-- 数量 -->
-            <!-- <a-col :xs="24" :sm="24" :md="12" :lg="10" class="msgBox">
+            <a-col :xs="24" :sm="24" :md="12" :lg="10" class="msgBox">
               <span> {{ todoList.length }}</span>
               <p>我的待办</p>
               <span>{{ msgTotal }}</span>
@@ -34,15 +34,19 @@
             </a-col>
           </a-row>
         </a-card>
-      </a-col> -->
+      </a-col>
 
       <!--  待办 -->
-      <a-col :xs="24" :sm="24" :md="24" :lg="11" :style="{ marginBottom: '8px', paddingRight: 0,    width: '66.6%' }">
+      <!-- 技能博物馆 -->
+      <!-- <a-col :xs="24" :sm="24" :md="24" :lg="11" :style="{ marginBottom: '8px', paddingRight: 0,    width: '66.6%' }"> -->    
+      <a-col :xs="24" :sm="24" :md="24" :lg="11" :style="{ marginBottom: '8px', paddingRight: 0, }">
         <MyoaTabs />
       </a-col>
 
       <!-- 按钮 -->
-      <a-col :xs="24" :sm="24" :md="24" :lg="6" :style="{ marginBottom: '8px',    width: '33%' }">
+      <!-- 技能博物馆
+      <a-col :xs="24" :sm="24" :md="24" :lg="6" :style="{ marginBottom: '8px',    width: '33%' }"> -->
+      <a-col :xs="24" :sm="24" :md="24" :lg="6" :style="{ marginBottom: '8px',}">
         <!-- 等高设置 -->
         <a-card title="常用流程" :bordered="false" style="height: 250px;">
           <div v-for="(item, index) in activeKeyAll.slice(5, 10)" :key="index" class="oaBig">
@@ -59,7 +63,9 @@
     <!-- 第二行-->
     <a-row :gutter="24" class="secondLine">
       <!-- 企业公告 -->
-      <a-col :xs="24" :sm="24" :md="24" :lg="24" :xl="9" :style="{ marginBottom: '8px', paddingRight: 0,width: '66.6%' }">
+      <!-- 技能博物馆 -->
+      <!-- <a-col :xs="24" :sm="24" :md="24" :lg="24" :xl="9" :style="{ marginBottom: '8px', paddingRight: 0,width: '66.6%' }"> -->
+      <a-col :xs="24" :sm="24" :md="24" :lg="24" :xl="9" :style="{ marginBottom: '8px', paddingRight: 0, }">
         <a-card title="企业公告" :bordered="false" style="height:400px;">
           <template #extra>
             
@@ -75,8 +81,8 @@
 
       <!-- 计划  友情链接 -->
       <div>
-        <!-- <a-col :xs="24" :sm="24" :md="24" :lg="24" :xl="7" :style="{ marginBottom: '8px' }">
-          <a-row :gutter="24"> -->
+        <a-col :xs="24" :sm="24" :md="24" :lg="24" :xl="7" :style="{ marginBottom: '8px' }">
+          <a-row :gutter="24">
             <!-- 我的计划 -->
             <!-- <a-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24" :style="{ marginBottom: '8px', paddingRight: 0 }"> -->
               <!-- <a-card title="我的计划" :bordered="false" style="width:100%;height:176px">
@@ -108,11 +114,11 @@
               </a-card> -->
             <!-- </a-col> -->
             <!-- 友情链接 -->
-            <!-- <a-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24" :style="{ marginBottom: '8px', paddingRight: 0 }">
+            <a-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24" :style="{ marginBottom: '8px', paddingRight: 0 }">
               <a-card title="友情链接" :bordered="false" style="width:100%;height:400px">
-                <template #extra><a href="javascript:void(0);"  @click="()=>modal1.visible=true">更多</a></template> -->
-                <!-- <template #extra><a href="javascript:void(0);" @click="openMyLinks">更多</a></template> -->
-                <!-- <div v-for="item in linksList.slice(0, 8)" :key="item.id" class="links">
+                <template #extra><a href="javascript:void(0);"  @click="()=>modal1.visible=true">更多</a></template>
+                <template #extra><a href="javascript:void(0);" @click="openMyLinks">更多</a></template>
+                <div v-for="item in linksList.slice(0, 8)" :key="item.id" class="links">
                   <button class="itemLink">
                     <a href="#" @click="openItemLink(item)">
                       <span width="2em" style='color:#5c5c5c'> {{ item.name }}</span>
@@ -120,9 +126,9 @@
                   </button>
                 </div>
               </a-card>
-            </a-col> -->
-          <!-- </a-row>
-        </a-col> -->
+            </a-col>
+          </a-row>
+        </a-col>
 
         <!-- 日历 -->
         <a-col :xs="24" :sm="24" :md="24" :lg="24" :xl="8" :style="{ marginBottom: '8px' }">

+ 2 - 2
url.config.js

@@ -14,7 +14,7 @@ export function getProjctManageUrl(){
 }
 
 export function getProjctName(){
-    // let name="森语";
-    let name="技能博物馆";
+    let name="森语";
+    // let name="技能博物馆";
     return name;
 }

+ 10 - 10
vue.config.js

@@ -47,16 +47,16 @@ module.exports = {
           /* less 变量覆盖,用于自定义 ant design 主题 */
           // 'primary-color': '#2f2c6a', //技能博物馆
           'primary-color': '#6bc5f3', //森语-技能博物馆也可用
-          'top-b-color': '#fff', //技能博物馆
-          // 'top-b-color': '#6bc5f3', //森语
+          // 'top-b-color': '#fff', //技能博物馆
+          'top-b-color': '#6bc5f3', //森语
           'link-color': '#6bc5f3',
           'border-radius-base': '4px',
-          // 'menu-top-font-color':'#fff', //顶部菜单字体颜色-森语
-          'menu-top-font-color':'grey', //顶部菜单字体颜色 - 技能博物馆
-          'font-color':'#fff', //侧边栏字体颜色-技能博物馆
-          // 'font-color':'#595959', //侧边栏字体颜色
-          // 'layout-color':'#fff', //侧边栏背景颜色-森语
-          'layout-color':' #221140', //侧边栏背景颜色-技能博物馆
+          'menu-top-font-color':'#fff', //顶部菜单字体颜色-森语
+          // 'menu-top-font-color':'grey', //顶部菜单字体颜色 - 技能博物馆
+          // 'font-color':'#fff', //侧边栏字体颜色-技能博物馆
+          'font-color':'#595959', //侧边栏字体颜色
+          'layout-color':'#fff', //侧边栏背景颜色-森语
+          // 'layout-color':' #221140', //侧边栏背景颜色-技能博物馆
          
         },
         javascriptEnabled: true
@@ -76,8 +76,8 @@ module.exports = {
       }, */
       '/jeecg-boot': {
         // target: 'http://127.0.0.1:8090', // 请求本地 需要jeecg-boot后台项目
-        target: 'http://106.15.206.14:8087', // 测试环境
-        // target: 'http://220.191.168.86:18087', // 森语外网
+        // target: 'http://106.15.206.14:8087', // 测试环境
+        target: 'http://220.191.168.86:18087', // 森语外网
         // changeOrigin: true
       }
     }