This commit is contained in:
2025-12-25 08:26:09 +08:00
parent ab5c01bf5c
commit 964e4f9c33
72 changed files with 2474 additions and 1065 deletions

View File

@@ -6,8 +6,8 @@
<view class="nav-content">
<!-- 左侧返回 -->
<view class="nav-left">
<u-icon name="arrow-left" size="44" color="#333" @click="onBack"></u-icon>
<u-icon name="home" size="44" color="#333" @click="goHome"></u-icon>
<u-icon name="arrow-left" size="44" color="#333" @click="onBack" v-if="showBack"></u-icon>
<u-icon name="home" size="44" color="#333" @click="goHome" v-if="showHome"></u-icon>
</view>
<!-- 中间标题 -->
@@ -51,6 +51,14 @@ export default {
type: Function,
default: null,
},
showBack: {
type: Boolean,
default: true // 左侧返回按钮默认显示
},
showHome: {
type: Boolean,
default: true // 回首页按钮默认显示
}
},
data() {
return {