zs 1 tahun lalu
induk
melakukan
11fe0a024a
2 mengubah file dengan 62 tambahan dan 2 penghapusan
  1. 2 2
      src/layout/index.vue
  2. 60 0
      src/views/home/index.vue

+ 2 - 2
src/layout/index.vue

@@ -9,7 +9,7 @@
             <text class="english">{{ siteInfo.zhBrief }}</text>
           </div>
         </el-col>
-        <el-col :span="12">
+        <el-col :span="10">
           <a-tabs v-model:activeKey="current" size="large" @tabClick="selectMenu">
             <a-tab-pane v-for="item in menuList" :key="item.href" :tab="item.title"> </a-tab-pane>
           </a-tabs>
@@ -145,7 +145,7 @@ provide('selectMenu', selectMenu)
   .top {
     position: sticky;
     top: 0;
-    z-index: 1;
+    z-index: 100;
     padding: 10px 80px;
     background: #ffffff;
 

+ 60 - 0
src/views/home/index.vue

@@ -107,6 +107,66 @@
               </el-col>
             </el-col>
           </el-col>
+          <el-col :span="24" class="one">
+            <el-col :span="24" class="one_1">
+              <el-col :span="12" class="left">汇聚各类优质的企业</el-col>
+              <el-col :span="12" class="right" @click="toeMore">查看更多企业</el-col>
+            </el-col>
+            <el-col :span="24" class="one_3">
+              <el-col :span="24" class="table_1">
+                <el-col :span="2" class="title">姓名</el-col>
+                <el-col :span="3" class="title">所在地</el-col>
+                <el-col :span="3" class="title">学历/职称</el-col>
+                <el-col :span="3" class="title">技术领域</el-col>
+                <el-col :span="3" class="title">工作单位</el-col>
+                <el-col :span="6" class="title">研究方向</el-col>
+                <el-col :span="4" class="title">操作</el-col>
+              </el-col>
+              <el-col :span="24" class="table_2">
+                <vue3-seamless-scroll
+                  :list="exportList"
+                  :hover="true"
+                  :step="0.5"
+                  :wheel="true"
+                  :isWatch="true"
+                >
+                  <el-col
+                    :span="24"
+                    class="list"
+                    v-for="(item, index) in exportList"
+                    :key="index"
+                    @click="toeView(item)"
+                  >
+                    <el-col :span="2" class="content textOver">
+                      <el-tooltip effect="dark" :content="item.name" placement="top">
+                        {{ item.name || '暂无名称' }}
+                      </el-tooltip>
+                    </el-col>
+                    <el-col :span="3" class="content textOver">
+                      {{ getArea(item.area || '暂无地区') }}
+                    </el-col>
+                    <el-col :span="3" class="content textOver">
+                      {{ getDict(item.education || '学历/职称', 'maturity') }}
+                    </el-col>
+                    <el-col :span="3" class="content textOver">
+                      {{ getDict(item.field || '暂无技术领域', 'maturity') }}
+                    </el-col>
+                    <el-col :span="3" class="content textOver">
+                      {{ item.unit || '暂无工作单位' }}
+                    </el-col>
+                    <el-col :span="6" class="content textOver">
+                      {{ item.direction || '暂无研究方向' }}
+                    </el-col>
+                    <el-col :span="4" class="content textOver">
+                      <el-button @click="toChat(item)" type="primary" size="small">
+                        联络专家
+                      </el-button>
+                    </el-col>
+                  </el-col>
+                </vue3-seamless-scroll>
+              </el-col>
+            </el-col>
+          </el-col>
         </div>
       </el-col>
     </el-row>