设置拨打电话权限、修改定位

This commit is contained in:
zhouyanli
2026-05-25 09:50:28 +08:00
parent c4d91787b5
commit 1b0e47e79e
4 changed files with 32 additions and 14 deletions

View File

@@ -44,9 +44,10 @@
<!-- 加载中 / 无更多 / 空布局 -->
<view class="load-more" v-if="loadingMore">加载中...</view>
<view class="no-more" v-if="noMoreData && noticeList.length">没有更多通知了</view>
<view class="empty" v-if="noticeList.length === 0 && !loading">
暂无通知
</view>
<view v-if="noticeList.length === 0 && !loading" class="empty-state">
<uni-icons type="info" size="30" color="#ccc"></uni-icons>
<text class="empty-text">暂无通知</text>
</view>
</view>
</scroll-view>
</view>
@@ -208,10 +209,20 @@ page {
color: #999;
font-size: 24rpx;
}
.empty {
text-align: center;
padding: 100rpx 0;
color: #999;
.empty-state {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 100rpx 0;
color: #ccc;
}
.empty-text {
font-size: 28rpx;
color: #999;
margin-top: 20rpx;
margin-bottom: 10rpx;
}
.refresh-btn {
background: #007AFF;