We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30f8ac8 commit 3c613a5Copy full SHA for 3c613a5
src/pages/user/user.wxml
@@ -1,6 +1,6 @@
1
<view class="user-page-container">
2
<!-- 页面首次加载时的loading -->
3
- <view wx:if="{{!bIsReady}}" class="h-vh100 vh-parent fs-28 color-grey">
+ <view wx:if="{{!bIsReady}}" class="page-loading h-vh100 fs-28 color-grey">
4
<text class="vh">加载中...</text>
5
</view>
6
<view class="fadein-init {{bIsReady ? 'fadein' : ''}}">
src/pages/user/user.wxss
@@ -50,4 +50,10 @@
50
.topic-collection-list {
51
padding: 30rpx 20rpx;
52
font-size: 28rpx;
53
+}
54
+.page-loading {
55
+ position: fixed;
56
+ top: 0;
57
+ left: 0;
58
+ right: 0;
59
}
0 commit comments