feat(navBar): 新增自定义导航栏组件,接入详细报告与我的页面

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
17792275749
2026-08-20 08:42:21 +08:00
co-authored by Claude Opus 4.7
parent 48ac39f0e0
commit f13edf31b7
16 changed files with 714 additions and 8 deletions
+18
View File
@@ -0,0 +1,18 @@
<view class="nav-spacer" style="height: {{_spacerHeight}}; {{_navStyle}}">
<view class="nav-wrap" style="background-color: {{bgColor}};">
<view style="height: {{statusBarHeight}}px;"></view>
<view class="nav-content" style="height: {{navBarHeight}}px; padding-right: {{navPaddingRight}}px;">
<view class="nav-left">
<block wx:if="{{_showBack}}">
<view class="back-btn" bind:tap="onBack">
<view class="back-arrow" style="border-left-color: {{arrowColor}}; border-bottom-color: {{arrowColor}};"></view>
</view>
</block>
<slot name="left" />
</view>
<view class="nav-center">
<text class="nav-title" style="color: {{color}};">{{title}}</text>
</view>
</view>
</view>
</view>