web
2025-07-02 03bcdfbc9dd10e473686bbe27a8e615f5a22a283
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;