Browse Source

fix: admin-h5用户列表页移除冗余的红色自定义标题栏

pages.json 已配置了导航栏标题,页面内自定义 header-nav 多余。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
skyline 2 weeks ago
parent
commit
2330bf686e
1 changed files with 0 additions and 27 deletions
  1. 0 27
      admin-h5/src/pages/user/list.vue

+ 0 - 27
admin-h5/src/pages/user/list.vue

@@ -1,14 +1,5 @@
 <template>
   <view class="user-container">
-    <!-- 顶部导航栏 -->
-    <view class="header-nav">
-      <view class="nav-left" @click="goBack">
-        <AppIcon name="chevron-left" size="20" color="#FFFFFF" />
-      </view>
-      <text class="nav-title">用户列表</text>
-      <view class="nav-right"></view>
-    </view>
-
     <!-- 搜索栏 -->
     <view class="search-bar">
       <view class="search-input-wrapper">
@@ -146,10 +137,6 @@ const showRefundModal = ref(false)
 const refundUser = ref(null)
 const refundReason = ref('')
 
-const goBack = () => {
-  uni.navigateBack()
-}
-
 const getStatusStyle = (status) => {
   const color = getDictColor('User.status', status)
   if (color) return { color, backgroundColor: `${color}1A` }
@@ -257,20 +244,6 @@ onMounted(async () => {
   padding-bottom: 100rpx;
 }
 
-.header-nav {
-  display: flex;
-  align-items: center;
-  justify-content: space-between;
-  padding-top: calc(24rpx + var(--status-bar-height));
-  padding-right: 30rpx;
-  padding-bottom: 24rpx;
-  padding-left: 30rpx;
-  background: #C6171E;
-}
-.nav-left, .nav-right { width: 120rpx; }
-.back-btn { font-size: 36rpx; color: #FFFFFF; }
-.nav-title { font-size: 34rpx; color: #FFFFFF; font-weight: 600; }
-
 .search-bar {
   display: flex;
   align-items: center;