feat: 首页主题样式调整

This commit is contained in:
duanshuwen
2025-10-15 20:21:32 +08:00
parent 6c35146b36
commit 44a3b16eb1
9 changed files with 22 additions and 23 deletions

View File

@@ -2,7 +2,7 @@
<view class="container">
<ModuleTitle :title="recommendTheme.themeName" />
<view class="container-scroll font-size-0 scroll-x whitescape-nowrap">
<view class="container-scroll font-size-0 scroll-x whitespace-nowrap">
<view
class="card-item bg-white inline-block rounded-20 mr-8"
v-for="(item, index) in recommendTheme.recommendPostsList"
@@ -19,10 +19,13 @@
<view class="shadow absolute rounded-16"></view>
</view>
<view
class="card-text color-171717 font-size-14 line-height-20 border-box"
>
{{ item.topic }}
<view class="card-text border-box">
<view class="color-171717 font-size-14 line-height-20">
{{ item.topic }}
</view>
<view class="font-size-11 color-99A0AE">
{{ item.userInputContent }}
</view>
</view>
</view>
</view>

View File

@@ -4,7 +4,6 @@
.card-item {
width: 128px;
height: 164px;
}
.card-img {