fix: bizhi detail

This commit is contained in:
zzc
2026-02-26 11:00:19 +08:00
parent a1658ad0ea
commit fe562ecec9

View File

@@ -34,7 +34,7 @@
<view class="preview-card"> <view class="preview-card">
<view class="preview-badge">PREVIEW</view> <view class="preview-badge">PREVIEW</view>
<image <image
:src="detailData.imageUrl" :src="getThumbUrl(detailData.imageUrl)"
mode="widthFix" mode="widthFix"
class="main-image" class="main-image"
@tap="previewImage" @tap="previewImage"
@@ -223,11 +223,11 @@ const goToFortune = () => {
}; };
const previewImage = () => { const previewImage = () => {
// if (detailData.value.imageUrl) { if (detailData.value.imageUrl) {
// uni.previewImage({ uni.previewImage({
// urls: [detailData.value.imageUrl], urls: [detailData.value.imageUrl],
// }); });
// } }
}; };
const onRecommendClick = () => { const onRecommendClick = () => {
@@ -450,10 +450,12 @@ const downloadWallpaper = async () => {
} }
.main-image { .main-image {
width: 100%; width: 460rpx;
margin: 0 auto;
border-radius: 12px; border-radius: 12px;
display: block; display: block;
background-color: #fafafa; // Placeholder color background-color: #fafafa; // Placeholder color
box-shadow: 0 12rpx 32rpx rgba(0, 0, 0, 0.1);
} }
} }