|
@@ -1,13 +1,13 @@
|
|
|
<template>
|
|
|
<view class="custom-nav">
|
|
|
- <view v-if="showBackBtn" @click="handleBack"><</view>
|
|
|
+ <view v-if="showBackBtn" @click="handleBack">返回</view>
|
|
|
<!-- 状态栏填充(兼容刘海屏) -->
|
|
|
<view class="status-bar" :style="{ height: statusBarHeight + 'px' }"></view>
|
|
|
<!-- 标题区域 -->
|
|
|
<view class="nav-content">
|
|
|
- <text class="nav-title" :style="{ fontSize: titleSize + 'px', color: titleColor }">
|
|
|
+ <view class="nav-title" :style="{fontSize: titleSize + 'px', color: titleColor}">
|
|
|
{{ title }}
|
|
|
- </text>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</template>
|