fix(miniprogram): unify nav headers to dashboard style with tall workbench bar

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
wuzilongandCursor committed 2026-09-12 19:06:51 +08:00
1 parent aa2da07c99
commit ddff1212ae
21 files changed
+202 -131

No files matched your search

@@ -23,12 +23,14 @@ onLoad(() => {})
<template>
<view class="mp-page">
<view class="mp-header" :style="safeAreaStyle">
<view class="bx-ph__nav" @click="goBack">
<text class="bx-ph__back">← 工作台</text>
<view class="sq-nav-header" :style="safeAreaStyle">
<view class="sq-nav-header__nav">
<view class="sq-nav-header__left">
<text class="sq-nav-header__back" @click="goBack">←</text>
<text class="sq-nav-header__title">{{ title }}</text>
</view>
<view /><!-- 胶囊占位 -->
</view>
<text class="mp-header__title" style="margin-top: 16rpx">{{ title }}</text>
<text class="mp-header__meta">报销管理 · 业务迁移中</text>
</view>
<view class="mp-placeholder">
<view class="mp-placeholder__icon" />
@@ -39,14 +41,3 @@ onLoad(() => {})
</view>
</view>
</template>
<style lang="scss" scoped>
.bx-ph__nav {
min-height: 44rpx;
}
.bx-ph__back {
color: #fff;
font-size: 26rpx;
opacity: 0.95;
}
</style>
@@ -2,9 +2,7 @@
<view class="bx-page">
<view class="topbar" :style="safeAreaStyle">
<view class="topbar-left">
<view class="topbar-back" @click="onBack">
<text class="topbar-back-icon">‹</text>
</view>
<text class="topbar-back" @click="onBack">←</text>
<text class="topbar-title">{{ pageTitle }}</text>
</view>
<view class="topbar-right" />