重构首页自适应布局
This commit is contained in:
@@ -46,7 +46,6 @@
|
||||
<view class="no-more" v-if="noMoreData && noticeList.length">没有更多通知了</view>
|
||||
<view class="empty" v-if="noticeList.length === 0 && !loading">
|
||||
暂无通知
|
||||
<!-- <button class="refresh-btn" @click="loadNotices">刷新试试</button> -->
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
@@ -207,6 +206,7 @@ page {
|
||||
text-align: center;
|
||||
padding: 20rpx;
|
||||
color: #999;
|
||||
font-size: 24rpx;
|
||||
}
|
||||
.empty {
|
||||
text-align: center;
|
||||
|
||||
@@ -166,8 +166,6 @@ onLoad(() =>{
|
||||
height: var(--status-bar-height);
|
||||
width: 100%;
|
||||
flex-shrink: 0;
|
||||
/* height: 32px;
|
||||
width: 100%; */
|
||||
}
|
||||
/* 顶部标题 */
|
||||
.top-bar {
|
||||
|
||||
@@ -230,8 +230,9 @@ onUnload(() =>{
|
||||
padding: 0 40rpx;
|
||||
}
|
||||
.status_bar {
|
||||
height: 32px;
|
||||
height: var(--status-bar-height);
|
||||
width: 100%;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
/* 顶部导航栏 */
|
||||
.nav-bar {
|
||||
|
||||
@@ -176,8 +176,10 @@ const addInvitation = () => {
|
||||
padding: 0 40rpx;
|
||||
}
|
||||
.status_bar {
|
||||
height: 32px;
|
||||
height: var(--status-bar-height);
|
||||
/* height: 32px; */
|
||||
width: 100%;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
/* 顶部导航栏 */
|
||||
.nav-bar {
|
||||
@@ -203,7 +205,7 @@ const addInvitation = () => {
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
font-size: 32rpx;
|
||||
font-weight: 600;
|
||||
font-weight: 400;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
|
||||
Reference in New Issue
Block a user