From ccb19f88b2583c7dadb18b6b2e9571ec120c6c61 Mon Sep 17 00:00:00 2001
From: YM <479443481@qq.com>
Date: 星期三, 24 四月 2024 22:34:38 +0800
Subject: [PATCH] 1

---
 src/components/headNav/headNav.vue |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/components/headNav/headNav.vue b/src/components/headNav/headNav.vue
index 65c390f..7dd5039 100644
--- a/src/components/headNav/headNav.vue
+++ b/src/components/headNav/headNav.vue
@@ -1,6 +1,6 @@
 <template>
   <view class="headNav">
-    <view class="NavTop flex" :style="{ backgroundImage: 'url(' + bg + ')' }">
+    <view class="NavTop flex" :style="{ backgroundImage: 'url(' + bg + ')' }" >
       <view
         class="santiaogang"
         style="width: 0.34rem; height: 0.34rem; margin-right: 3rem;cursor: pointer;"
@@ -163,7 +163,7 @@
     bg1: {
       type: String,
       default() {
-        return "/static/image/line.png";
+        return "@/static/image/line.png";
       }
     },
     idIndex: {
@@ -284,7 +284,7 @@
         });
       } else if (index === "1") {
         uni.navigateTo({
-          url: "/pages/characterRelation/characterRelation?id=" + 1
+          url: "/pages/character/index?id=" + 1
         });
       } else if (index === "2") {
         uni.navigateTo({
@@ -377,8 +377,7 @@
 }
 
 .NavTop {
-  /* background: url(@/static/image/topBg.png); */
-
+  /* background-image: url("../../static/image/topBg.png"); */
   background-size: 100% 100%;
   padding: 0.16rem 0.24rem;
   color: #fff !important;

--
Gitblit v1.9.1