From 03bcdfbc9dd10e473686bbe27a8e615f5a22a283 Mon Sep 17 00:00:00 2001
From: web <candymxq888@outlook.com>
Date: 星期三, 02 七月 2025 16:11:04 +0800
Subject: [PATCH] fix:小程序界面

---
 components/navbar/navbar.vue |   15 ++++-----------
 1 files changed, 4 insertions(+), 11 deletions(-)

diff --git a/components/navbar/navbar.vue b/components/navbar/navbar.vue
index 1012d2c..c7999c7 100644
--- a/components/navbar/navbar.vue
+++ b/components/navbar/navbar.vue
@@ -1,7 +1,7 @@
 <template>
 	<view class="navbar">
-		<image src="../../static/images/other/navBack.svg" alt="" @click="navBackTo()"></image>
-		<text>{{title}}</text>
+		<image class="img" src="../../static/images/navBack.svg" alt="" @click="navBackTo()"></image>
+		<text class="title">{{title}}</text>
 	</view>
 </template>
 
@@ -14,13 +14,6 @@
 			default:''
 		}
 	})
-	
-	const pageTitle = ref(props.title)
-	
-	watch(props.title, (New, Old)=>{
-			pageTitle.value = New
-		},{immediate: true},
-	)
 	
 	const navBackTo = () => {
 		uni.navigateBack()
@@ -37,12 +30,12 @@
 	   box-sizing: border-box;
 	   position: relative;
 	   padding:0 32rpx 24rpx;
-	   image{
+	   .img{
 		   width:40rpx;
 		   height:40rpx;
 		   transform: rotate(180deg);
 	   }
-	   text{
+	   .title{
 		   font-weight: 400;
 		   font-size: 36rpx;
 		   color: #000000;

--
Gitblit v1.9.3