feat: 消息的样式调整

This commit is contained in:
2026-05-29 15:40:34 +08:00
parent 87fd075226
commit eafe997fa2
3 changed files with 9 additions and 1 deletions

View File

@@ -8,7 +8,7 @@
<!-- 滚动区域 -->
<scroll-view class="flex-full overflow-hidden" scroll-y >
<view class="pb-24 border-box overflow-hidden">
<image v-if="coverImage" class="w-full block" :src="coverImage" mode="aspectFill" />
<image v-if="coverImage" class="w-full h-auto block" :src="coverImage" mode="widthFix" />
<view class="pt-16 px-12 pb-24 border-box">
<view class="color-171717 font-size-16 font-weight-600">{{ detailTitle }}</view>

View File

@@ -6,6 +6,10 @@
height: 100%;
}
.h-auto {
height: auto;
}
.h-1 {
height: 1px;
}

View File

@@ -6,6 +6,10 @@
width: 100vw;
}
.w-auto {
width: auto;
}
.w-vw-24 {
width: calc(100vw - 24px);
}