first commit

This commit is contained in:
Your Name
2024-12-26 12:14:47 +08:00
commit 7dd5e5b259
121 changed files with 15759 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
<template>
<wd-navbar
:title="title"
custom-class="!bg-transparent"
:left-arrow="showBack"
:bordered="false"
safeAreaInsetTop
@click-left="handleClickLeft"
>
<template #right>
<slot name="right" />
</template>
</wd-navbar>
</template>
<script lang="ts" setup>
import { getLastPage } from '@/utils'
const title = getLastPage().$page.meta.navigationBar.titleText
const showBack = getCurrentPages().length > 1
const handleClickLeft = () => {
uni.navigateBack()
}
</script>
<style lang="scss">
:deep(.wd-navbar) {
--wot-navbar-title-font-size: 32rpx;
// --wot-navbar-title-font-weight: 400;
}
</style>