add empty tips

This commit is contained in:
Timi
2026-01-29 12:29:33 +08:00
parent ca9eb0e33d
commit 7d758d642a
2 changed files with 11 additions and 1 deletions

View File

@ -100,6 +100,13 @@
} }
} }
} }
.empty-state {
display: flex;
min-height: 60vh;
align-items: center;
justify-content: center;
}
} }
.t-popup--bottom { .t-popup--bottom {

View File

@ -49,6 +49,9 @@
>删除已选</t-button> >删除已选</t-button>
</view> </view>
</view> </view>
<view wx:if="{{!canUpload && list.length === 0}}" class="empty-state">
<t-empty icon="image-error" description="暂无临时照片或视频" />
</view>
<view wx:if="{{canUpload && isUploading}}" class="uploading"> <view wx:if="{{canUpload && isUploading}}" class="uploading">
<progress <progress
class="progress" class="progress"