addfallbackimg

This commit is contained in:
WanP
2025-11-14 16:07:02 +08:00
parent c8aea3138c
commit d18aeaae0f
7 changed files with 60 additions and 10 deletions

View File

@@ -82,7 +82,7 @@
<view v-else class="nocomments">
<image src="/static/imgs/nocomments/nocomments@3x.webp" mode="aspectFit" alt="暂无评论"></image>
<image src="/static/imgs/empty-img/b-empty-img@3x.webp" mode="aspectFit" alt="暂无评论"></image>
<text class="nocommentstext">空空如也~</text>
</view>
@@ -528,11 +528,19 @@ main {
.nocomments {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
margin: 0 auto;
max-width: 100%;
gap: 12px;
gap: 8px;
padding: 12px;
height: 200px;
}
.nocomments image {
display: block;
margin: 0 auto;
}
.nocommentstext {

View File

@@ -28,7 +28,7 @@ const common = useCommonStore()
.openapptext {
width: 96px;
height: 22px;
font-size: 16px;
font-size: 1em;
font-weight: 600;
font-stretch: normal;
font-style: normal;

View File

@@ -300,23 +300,23 @@ page,
.page {
width: 100%;
max-width: 430px;
height: auto;
height: 100vh;
display: flex;
flex-direction: column;
margin: 0 auto;
position: relative;
/* position: relative; */
}
.content {
flex-shrink: 0;
overflow: hidden;
/* overflow: hidden; */
display: flex;
flex-direction: column;
}
.moment {
width: 100%;
flex-shrink: 0;
/* flex-shrink: 0; */
display: flex;
flex-direction: column;
box-sizing: border-box;