From 060c875b23539dc338e780ddfc187394a40743a9 Mon Sep 17 00:00:00 2001
From: 杨磊 <505174330@qq.com>
Date: 星期一, 28 四月 2025 21:06:46 +0800
Subject: [PATCH] bug修改

---
 src/views/home/index.vue |   21 ++++++++++++++++-----
 1 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/src/views/home/index.vue b/src/views/home/index.vue
index 7518d17..f4a952d 100644
--- a/src/views/home/index.vue
+++ b/src/views/home/index.vue
@@ -7,7 +7,7 @@
           <p>瀛︽湳鎬濇兂浼犳壙澶氱淮搴︽暟鎹簱</p>
         </div>
         <div class="searchBox">
-          <SearchBox />
+          <SearchBox @searchFun="handleSearch" />
         </div>
       </div>
       <div class="menuBox">
@@ -23,7 +23,7 @@
             </div>
             <div class="menuTitle">{{ item.title }}</div>
             <div class="menuSubTitle">{{ item.subTitle }}</div>
-            <div class="menuLine"><i class="el-icon-right"></i></div>
+            <div class="menuLine"><img class="autoImg" :src="arrow" alt="" /></div>
           </div>
         </div>
       </div>
@@ -47,7 +47,7 @@
 import rongyu from "@/assets/images/menuIcon/rongyu.png";
 import xueshu from "@/assets/images/menuIcon/xueshu.png";
 import homeBg from "@/assets/images/homeBg1.jpg";
-
+import arrow from "@/assets/images/right_arrow.svg";
 export default {
   components: {
     SearchBox,
@@ -55,6 +55,7 @@
 
   data() {
     return {
+      arrow,
       menuList: [
         {
           icon: nianpu1,
@@ -94,6 +95,10 @@
       console.log(row);
       this.$router.push(row.path);
     },
+
+    handleSearch(type, value) {
+      console.log(type, value);
+    },
     //鑾峰彇浜虹墿浠嬬粛
     getPersonInfo() {
       this.MG.resource
@@ -125,6 +130,7 @@
   background-size: 98% 95%;
   position: relative;
   box-sizing: border-box;
+  font-family: siyuan;
 }
 .bgBox {
   width: 100%;
@@ -202,12 +208,17 @@
   font-size: 40px;
   font-weight: 600;
   margin-top: 20px;
+  font-family: siyuan;
 }
 .menuSubTitle {
   font-size: 28px;
   margin-top: 20px;
+  font-family: siyuan;
 }
 .menuLine {
+  width: 30px;
+  height: 30px;
+  position: relative;
   margin-top: 40px;
   font-size: 40px;
 }
@@ -242,10 +253,10 @@
   text-align: center;
 }
 
-@media screen and (min-width: 1950px) {
+/* @media screen and (min-width: 1950px) {
   .textInfo {
     font-size: 20px;
     line-height: 24px;
   }
-}
+} */
 </style>

--
Gitblit v1.9.1