|
|
@@ -7,7 +7,7 @@
|
|
|
<uni-icons type="back" size="20" color="#333"></uni-icons>
|
|
|
</template>
|
|
|
<template v-else-if="leftTypeComputed === 'home'">
|
|
|
- <text class="home-text">首页</text>
|
|
|
+ <text class="home-text">返回首页</text>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
<!-- 占位,保持左右对称 -->
|
|
|
@@ -74,14 +74,15 @@ const handleLeft = () => {
|
|
|
}
|
|
|
|
|
|
.nav-content {
|
|
|
+ margin-top: 2px;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
height: 44px; /* increased to give more vertical space */
|
|
|
- padding: 0 15px;
|
|
|
+ padding: 3px 15px;
|
|
|
}
|
|
|
|
|
|
.nav-left {
|
|
|
- width: 40px;
|
|
|
+ width: 80px;
|
|
|
display: flex;
|
|
|
justify-content: center;
|
|
|
align-items: center;
|
|
|
@@ -102,6 +103,6 @@ const handleLeft = () => {
|
|
|
}
|
|
|
|
|
|
.nav-right {
|
|
|
- width: 40px;
|
|
|
+ width: 80px;
|
|
|
}
|
|
|
</style>
|