wangxl@jiinfo.cn 2 周之前
父節點
當前提交
c46f4bedff
共有 4 個文件被更改,包括 18 次插入16 次删除
  1. 1 1
      src/components/banner/index.vue
  2. 2 2
      src/components/homeHeader.vue
  3. 2 2
      src/router/routerList.js
  4. 13 11
      src/view/home/index.vue

+ 1 - 1
src/components/banner/index.vue

@@ -54,7 +54,7 @@ export default {
           width: 1200px;
           margin: 15px auto 0;
           font-size: 48px;
-          text-align: center;
+          // text-align: center;
         }
       }
       .backout_img_move{

+ 2 - 2
src/components/homeHeader.vue

@@ -9,7 +9,7 @@
         <div class="input_box">
 
           <el-menu :default-active="activeIndex" class="el-menu-demo" mode="horizontal" text-color="#065BA9" active-text-color="#065BA9" @select="handleSelect">
-            <el-menu-item index="overView">{{ $t("nav.Overview") }}</el-menu-item>
+            <el-menu-item index="configuration">Configuration</el-menu-item>
             <!-- <el-menu-item index="article">{{ $t("nav.RelatedArticles") }}</el-menu-item> -->
             <el-menu-item index="product">{{ $t("nav.ProductDetails") }}</el-menu-item>
             <!-- <el-menu-item index="promotion">Promotion</el-menu-item> -->
@@ -35,7 +35,7 @@
           </div>
           <!-- 移动端菜单 -->
           <el-menu class="el-menu-demo" default-active="1" background-color="#005bab" text-color="#ffffff" active-text-color="#ffffff" @select="handleSelect">
-            <el-menu-item index="overView">{{ $t("nav.Overview") }}</el-menu-item>
+            <el-menu-item index="configuration">Configuration</el-menu-item>
             <!-- <el-menu-item index="article">{{ $t("nav.RelatedArticles") }}</el-menu-item> -->
             <el-menu-item index="product">{{ $t("nav.ProductDetails") }}</el-menu-item>
             <el-menu-item index="antibody">{{ $t("nav.AntibodyDatabase") }}</el-menu-item>

+ 2 - 2
src/router/routerList.js

@@ -20,8 +20,8 @@ export default [
     }
   }, 
   {
-    path: "/overView",
-    name: "overView",
+    path: "/configuration",
+    name: "configuration",
     component: () => import("@/view/overView/index"),
     hidden: true,
     meta: {

+ 13 - 11
src/view/home/index.vue

@@ -4,10 +4,10 @@
         <div class="hoem_box">
           <img class="backout_img" src="@/assets/img/home/home5.jpg" alt="" srcset="" />
           <img class="backout_img_move" src="@/assets/img/home/home4.jpg" alt="" srcset="" />
-          <!-- <div class="banner_content">
+          <div class="banner_content">
             <p class="banner_t">SY-CRS-BsAb</p>
-            <p class="banner_c">Sanyou Bispecific Reference Antibody Catalog is generated through our proprietary high-quality bispecific antibody preparation platform, which include majority bispecific antibody drugs that have been approved for market release, and representative drugs in different clinical stages.</p>
-          </div> -->
+            <!-- <p class="banner_c">Sanyou Bispecific Reference Antibody Catalog is generated through our proprietary high-quality bispecific antibody preparation platform, which include majority bispecific antibody drugs that have been approved for market release, and representative drugs in different clinical stages.</p> -->
+          </div>
         </div>
       </div>
       <!-- 数据 -->
@@ -53,9 +53,9 @@ export default {
       tabList: [
         {
           id: 1,
-          url: "overView",
+          url: "configuration",
           img: require("@/assets/img/home/home1.png"),
-          name: "Overview"
+          name: "Configuration"
         },
         {
           id: 2,
@@ -99,7 +99,7 @@ export default {
       .banner_content{
         width: 1200px;
         position: absolute;
-        top: 150px;
+        top: 120px;
         left: 50%;
         transform: translateX(-50%);
         color: #fff;
@@ -292,13 +292,15 @@ export default {
       }
       .banner_content{
         position: absolute;
-        left: 0.2rem;
-        right: 0.2rem;
-        top: 50%;
-        transform: translate(0%,-50%);
+        // left: 0.2rem;
+        // right: 0.2rem;
+        // top: 50%;
+        // transform: translate(0%,-50%);
+        top: 20%;
+        left: 3%;
         color: #fff;
         .banner_t{
-          font-size: 0.28rem;
+          font-size: 0.2rem;
         }
         .banner_c{
           font-size: 0.1rem;