From 5ce0d76154bf4c1d70543476cdfad9a30195b0f8 Mon Sep 17 00:00:00 2001
From: shinnosuke <tantao@1hoper.com>
Date: 星期六, 10 十月 2026 16:44:38 +0800
Subject: [PATCH] fix(miniapp): 调整首页圆角布局并隐藏滚动条
---
rencaika/pages/news-detail/news-detail.uvue | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/rencaika/pages/news-detail/news-detail.uvue b/rencaika/pages/news-detail/news-detail.uvue
index 82dda02..749512a 100644
--- a/rencaika/pages/news-detail/news-detail.uvue
+++ b/rencaika/pages/news-detail/news-detail.uvue
@@ -3,14 +3,14 @@
<view class="nav-shell">
<view class="safe-space" :style="'height:' + navTop + 'px'"></view>
<view class="nav-row" :style="'height:' + navHeight + 'px;padding-right:' + navRight + 'px'">
- <view class="back" @tap="goBack"><image src="/static/news-assets/arrow-left.svg" mode="aspectFit"></image></view>
+ <view class="nav-back" @tap="goBack"><image src="/static/news-assets/arrow-left.svg" mode="aspectFit"></image></view>
<text class="nav-title">资讯详情</text>
<view class="capsule-reserve" :style="'width:' + navWidth + 'px'"></view>
</view>
<view class="nav-bottom-space"></view>
</view>
- <scroll-view class="article-scroll" scroll-y>
+ <scroll-view :show-scrollbar="false" class="article-scroll" scroll-y>
<view v-if="isLoading" class="state-panel">
<view class="loading-spinner"></view>
<text class="state-title">正在加载资讯</text>
@@ -243,9 +243,9 @@
.page { display: flex; flex-direction: column; width: 100%; height: 100vh; background-color: #FFFFFF; }
.nav-shell { flex-shrink: 0; background-image: linear-gradient(180deg, #FFF0B8 0%, #FFF8E4 58%, #FFFFFF 100%); }
.safe-space { height: 28px; }
- .nav-row { display: flex; position: relative; height: 32px; align-items: center; justify-content: flex-end; box-sizing: border-box; }
- .back { display: flex; position: absolute; z-index: 2; left: 24rpx; top: 0; width: 72rpx; height: 100%; justify-content: center; align-items: center; }
- .back image { width: 38rpx; height: 38rpx; }
+ .nav-row { display: flex; position: relative; height: 32px; box-sizing: border-box; align-items: center; justify-content: flex-end; }
+ .nav-back { display: flex; position: absolute; z-index: 9; left: 16rpx; top: 0; bottom: 0; width: 88rpx; min-height: 64rpx; justify-content: center; align-items: center; }
+ .nav-back image { width: 40rpx; height: 40rpx; }
.nav-title { position: absolute; left: 190rpx; right: 190rpx; color: #171717; font-size: 35rpx; font-weight: 700; text-align: center; white-space: nowrap; }
.capsule-reserve { width: 88px; height: 100%; flex-shrink: 0; }
.nav-bottom-space { height: 34rpx; }
--
Gitblit v1.7.1