更新:增加“我的”相关功能

This commit is contained in:
2025-11-06 13:33:41 +08:00
parent d908b049fa
commit 33f861fa14
24 changed files with 4413 additions and 43 deletions

View File

@@ -0,0 +1,40 @@
<template>
<view class="navbar">
<view class="statusBar" :style="{height:getStatusBarHeight()+'px'}"></view>
<view class="titleBar" :style="{height:getTitleBarHeight()+'px'}">
<wd-navbar :title="title" :left-arrow="leftArrow" @click="handleClickLeft"></wd-navbar>
</view>
</view>
<view :style="{height:getNavBarHeight() +'px'}"></view>
</template>
<script setup>
import { ref } from 'vue';
import { getStatusBarHeight, getTitleBarHeight, getNavBarHeight, getLeftIconLeft} from "@/utils/system"
defineProps({
title:{
type:String,
default:""
},
leftArrow:{
type:Boolean,
default:true
}
})
const handleClickLeft = () => {
uni.navigateBack()
}
</script>
<style lang="scss">
.navbar{
position: fixed;
top: 0;
left: 0;
width: 100%;
background: var(--wot-navbar-background);
z-index: 9;
}
</style>