fix: bizhi detail
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user