fix: wteail detail download

This commit is contained in:
zzc
2026-01-28 21:54:23 +08:00
parent fb68e87624
commit 30063429ba
2 changed files with 45 additions and 33 deletions

View File

@@ -168,7 +168,6 @@ import {
abilityCheck, abilityCheck,
} from "@/api/system.js"; } from "@/api/system.js";
import { import {
avatarDownloadRecord,
getAvatarSystemList, getAvatarSystemList,
getAvatarFrameList, getAvatarFrameList,
getAvatarDecorList, getAvatarDecorList,

View File

@@ -58,17 +58,23 @@
<text class="arrow"></text> <text class="arrow"></text>
</view> </view>
</view> </view>
<view class="more-grid"> <scroll-view scroll-x class="more-scroll" :show-scrollbar="false">
<view class="scroll-inner">
<view <view
v-for="(item, index) in recommendList" v-for="(item, index) in recommendList"
:key="index" :key="index"
class="grid-item" class="scroll-item"
@tap="onRecommendClick(item)" @tap="onRecommendClick(item)"
> >
<image :src="item.imageUrl" mode="aspectFill" class="grid-img" /> <image
:src="item.imageUrl"
mode="aspectFill"
class="scroll-img"
/>
<text class="item-title">{{ item.title || "新春壁纸" }}</text> <text class="item-title">{{ item.title || "新春壁纸" }}</text>
</view> </view>
</view> </view>
</scroll-view>
</view> </view>
<!-- Fortune Banner --> <!-- Fortune Banner -->
@@ -402,25 +408,33 @@ const goToAvatar = () => {
} }
} }
.more-grid { .more-scroll {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 12px;
.grid-item {
display: flex;
flex-direction: column;
.grid-img {
width: 100%; width: 100%;
aspect-ratio: 9/16; white-space: nowrap;
border-radius: 8px; }
margin-bottom: 8px;
.scroll-inner {
display: flex;
padding-right: 20px;
}
.scroll-item {
display: inline-flex;
flex-direction: column;
width: 200rpx;
margin-right: 20rpx;
flex-shrink: 0;
.scroll-img {
width: 100%;
height: 355rpx;
border-radius: 12rpx;
margin-bottom: 12rpx;
background-color: #f5f5f5; background-color: #f5f5f5;
} }
.item-title { .item-title {
font-size: 12px; font-size: 24rpx;
color: #333; color: #333;
text-align: center; text-align: center;
white-space: nowrap; white-space: nowrap;
@@ -429,7 +443,6 @@ const goToAvatar = () => {
} }
} }
} }
}
.fortune-banner-wrap { .fortune-banner-wrap {
margin-bottom: 40px; margin-bottom: 40px;