소스 검색

修改 样式

zs 10 달 전
부모
커밋
4dc620668c
5개의 변경된 파일25개의 추가작업 그리고 14개의 파일을 삭제
  1. 1 1
      .env.development
  2. 1 1
      .env.production
  3. 6 6
      src/layout/index.vue
  4. 2 2
      src/views/index/index.vue
  5. 15 4
      src/views/register/index.vue

+ 1 - 1
.env.development

@@ -5,7 +5,7 @@ NODE_ENV='development'
 VITE_APP_PORT = 3002
 
 # 代理前缀
-VITE_APP_BASE_API = '/ts/frame/api'
+VITE_APP_BASE_API = '/cxyy/api'
 
 VITE_APP_BASE_APIWS ='/websocket/api'
 

+ 1 - 1
.env.production

@@ -5,7 +5,7 @@ NODE_ENV='production'
 VITE_APP_PORT = 3002
 
 # 代理前缀
-VITE_APP_BASE_API = '/ts/frame/api'
+VITE_APP_BASE_API = '/cxyy/api'
 
 VITE_APP_BASE_APIWS ='/websocket/api'
 

+ 6 - 6
src/layout/index.vue

@@ -2,7 +2,7 @@
   <div class="common-layout">
     <div class="top">
       <el-row :gutter="20" align="middle">
-        <el-col :span="6" class="top_1">
+        <el-col :span="5" class="top_1">
           <el-image
             class="image"
             v-if="configInfo && configInfo.logoUrl && configInfo.logoUrl.length > 0"
@@ -15,7 +15,7 @@
             <!-- <text class="english">{{ siteInfo.zhBrief }}</text> -->
           </div>
         </el-col>
-        <el-col :span="13">
+        <el-col :span="14">
           <el-menu :default-active="current" mode="horizontal" @select="selectMenu">
             <template v-for="item in data" :key="item._id">
               <template v-if="item.type === '0'">
@@ -231,7 +231,7 @@ provide('selectMenu', selectMenu)
     position: sticky;
     top: 0;
     z-index: 100;
-    padding: 10px 80px;
+    padding: 10px 50px;
     background: #ffffff;
 
     .current {
@@ -247,8 +247,8 @@ provide('selectMenu', selectMenu)
       align-items: center;
 
       .image {
-        height: 45px;
-        width: 45px;
+        height: 40px;
+        width: 40px;
         margin: 0 5px 0 0;
       }
 
@@ -257,7 +257,7 @@ provide('selectMenu', selectMenu)
 
         .title {
           margin: 0 0 5px 0;
-          font-size: 23px;
+          font-size: 20px;
           font-weight: bold;
         }
 

+ 2 - 2
src/views/index/index.vue

@@ -242,7 +242,7 @@ const toLogout = () => {
         .two_1 {
           position: absolute;
           top: 45%;
-          left: 35%;
+          left: 30%;
           display: flex;
           flex-direction: column;
           align-items: center;
@@ -265,7 +265,7 @@ const toLogout = () => {
     }
     .thr {
       position: absolute;
-      left: 26%;
+      left: 20%;
       bottom: 90px;
       .list {
         margin: 10px 0;

+ 15 - 4
src/views/register/index.vue

@@ -6,8 +6,19 @@
           <div class="loginform">
             <el-col :span="24" class="content_1">
               <div class="type-list">
-                <el-tooltip v-for="(item, index) in typeList" :key="index" effect="dark" :content="item.remark" placement="top">
-                  <span class="span" :class="[item.value === type ? 'active' : '']" @click="toSelect(item.value)">{{ item.label }}</span>
+                <el-tooltip
+                  v-for="(item, index) in typeList"
+                  :key="index"
+                  effect="dark"
+                  :content="item.remark"
+                  placement="top"
+                >
+                  <span
+                    class="span"
+                    :class="[item.value === type ? 'active' : '']"
+                    @click="toSelect(item.value)"
+                    >{{ item.label }}</span
+                  >
                 </el-tooltip>
               </div>
             </el-col>
@@ -48,10 +59,10 @@ import association from './parts/association.vue'
 import company from './parts/company.vue'
 import competition from './parts/competition.vue'
 import expert from './parts/expert.vue'
-import incubator from './parts/Incubator.vue'
+import incubator from './parts/incubator.vue'
 import state from './parts/state.vue'
 import unit from './parts/unit.vue'
-import investment from './parts/Investment.vue'
+import investment from './parts/investment.vue'
 // 路由
 const router = useRouter()
 // 加载中