fix: 分享页面隐藏原生导航栏,使用自定义标题栏
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Agent
2026-03-29 07:32:59 +00:00
parent 1c414036c7
commit 58fc2a9d90
2 changed files with 21 additions and 1 deletions

View File

@@ -105,7 +105,8 @@
{
"path": "pages/share/order",
"style": {
"navigationBarTitleText": "订单详情"
"navigationBarTitleText": "订单详情",
"navigationStyle": "custom"
}
}
],

View File

@@ -1,5 +1,10 @@
<template>
<view class="page">
<!-- 自定义导航 -->
<view class="custom-nav">
<text class="nav-title">订单详情</text>
</view>
<!-- 加载中 -->
<view class="loading" v-if="loading">
<text>加载中...</text>
@@ -159,6 +164,20 @@ export default {
background: #f5f5f5;
}
.custom-nav {
height: 88rpx;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.nav-title {
font-size: 32rpx;
color: #fff;
font-weight: bold;
}
.loading, .error {
display: flex;
flex-direction: column;