Skip to content

Commit 3c613a5

Browse files
committed
update: adjust loading text display mode in the user profile page
1 parent 30f8ac8 commit 3c613a5

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/pages/user/user.wxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<view class="user-page-container">
22
<!-- 页面首次加载时的loading -->
3-
<view wx:if="{{!bIsReady}}" class="h-vh100 vh-parent fs-28 color-grey">
3+
<view wx:if="{{!bIsReady}}" class="page-loading h-vh100 fs-28 color-grey">
44
<text class="vh">加载中...</text>
55
</view>
66
<view class="fadein-init {{bIsReady ? 'fadein' : ''}}">

src/pages/user/user.wxss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,10 @@
5050
.topic-collection-list {
5151
padding: 30rpx 20rpx;
5252
font-size: 28rpx;
53+
}
54+
.page-loading {
55+
position: fixed;
56+
top: 0;
57+
left: 0;
58+
right: 0;
5359
}

0 commit comments

Comments
 (0)