소스 검색

修改logo

zs 10 달 전
부모
커밋
f712635912
4개의 변경된 파일27개의 추가작업 그리고 7개의 파일을 삭제
  1. BIN
      public/images/logo.png
  2. 8 4
      src/layout/index.vue
  3. 18 2
      src/layout/site.js
  4. 1 1
      src/views/index/index.vue

BIN
public/images/logo.png


+ 8 - 4
src/layout/index.vue

@@ -34,7 +34,7 @@
       <div class="w_1200">
         <el-col :span="24" class="top_3">
           <el-col :span="24" class="list">
-            <span
+            <div
               class="text"
               v-for="(item, index) in data"
               :key="index"
@@ -46,8 +46,8 @@
               @mouseover="handleMouseOver(index)"
               @mouseleave="handleMouseLeave(index)"
             >
-              {{ item.title }}
-            </span>
+              <div>{{ item.title }}</div>
+            </div>
           </el-col>
         </el-col>
       </div>
@@ -107,6 +107,7 @@ import { UserStore } from '@/store/user'
 const userStore = UserStore()
 const user = computed(() => userStore.user)
 const data = ref([])
+const info = ref({})
 const configInfo = ref({ logoUrl: [], Unit: [], Code: [] })
 const foot = ref({})
 // 请求
@@ -158,9 +159,11 @@ const toCommon = (type) => {
 }
 const handleMouseOver = (index) => {
   data.value[index].hover = true
+  info.value = data.value[index]
 }
 const handleMouseLeave = (index) => {
   data.value[index].hover = false
+  info.value = {}
   const arr = data.value.every((i) => i.hover === false)
   if (arr) {
     for (const val of data.value) {
@@ -217,7 +220,7 @@ provide('selectMenu', selectMenu)
 
       .image {
         height: 40px;
-        width: 40px;
+        width: 140px;
         margin: 0 5px 0 0;
       }
       .images {
@@ -268,6 +271,7 @@ provide('selectMenu', selectMenu)
     .top_3 {
       margin: 5px 0 0 0;
       .list {
+        display: flex;
         padding: 10px 0;
         .text {
           margin: 0 2px 0 0;

+ 18 - 2
src/layout/site.js

@@ -1,5 +1,5 @@
 // 图片引入
-import logo from '/images/logo.jpg'
+import logo from '/images/logo.png'
 import home from '/images/home.jpg'
 import Code from '/images/code.jpg'
 // 网站基本设置
@@ -113,7 +113,23 @@ export const menuList = [
     title: '信息库',
     route: 'ten',
     English: 'Innovation Competition',
-    label: '信息库'
+    label: '信息库',
+    children: [
+      { key: '10-3-1', route: 'supply', title: '技术支持', label: '技术支持', value: '0' },
+      { key: '3-3-2', route: 'supply', title: '培训教育', label: '培训教育', value: '1' },
+      { key: '3-3-3', route: 'supply', title: '资金支持', label: '资金支持', value: '2' },
+      { key: '3-3-4', route: 'supply', title: '合作机会', label: '合作机会', value: '3' },
+      {
+        key: '3-3-5',
+        route: 'supply',
+        title: '知识产权管理',
+        label: '知识产权管理',
+        value: '4'
+      },
+      { key: '3-3-6', route: 'supply', title: '市场推广', label: '市场推广', value: '5' },
+      { key: '3-3-7', route: 'supply', title: '政策支持', label: '政策支持', value: '6' },
+      { key: '3-3-8', route: 'supply', title: '其他', label: '其他', value: '7' }
+    ]
   },
   { key: '11', title: '孵化器', route: 'eleven', English: 'Achievement Display', label: '孵化器' },
   {

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

@@ -159,7 +159,7 @@ const toLogout = () => {
 
       .image {
         height: 45px;
-        width: 45px;
+        width: 140px;
         margin: 0 10px 0 0;
       }