|
|
@@ -56,27 +56,27 @@ function clearSearch() {
|
|
|
<view class="box-border px24rpx">
|
|
|
<scroll-view scroll-y type="custom">
|
|
|
<grid-view type="masonry" cross-axis-count="2" main-axis-gap="10" cross-axis-gap="10">
|
|
|
- <view v-for="item in videoDataList" :key="item.id" class="mt-18rpx rounded-16rpx bg-#FFF" @click="router.push({ name: 'video-rights-detail', params: { id: item.id } })">
|
|
|
+ <view v-for="item in videoDataList" :key="item?.id" class="mt-18rpx rounded-16rpx bg-#FFF" @click="router.push({ name: 'video-rights-detail', params: { id: item.id } })">
|
|
|
<view>
|
|
|
<image
|
|
|
class="h-342rpx w-342rpx rounded-16rpx"
|
|
|
- :src="`${StaticUrl}/list-page-img.png`"
|
|
|
+ :src="item.productImg ? item.productImg : `${StaticUrl}/list-page-img.png`"
|
|
|
/>
|
|
|
</view>
|
|
|
<view class="mx20rpx my-24rpx">
|
|
|
<view class="text-28rpx font-bold">
|
|
|
{{ item.productName }}
|
|
|
</view>
|
|
|
- <view class="mt-30rpx flex items-center gap-18rpx">
|
|
|
+ <view class="mt-30rpx flex items-center justify-between">
|
|
|
<view class="text-#FF4D3A">
|
|
|
<text class="text-22rpx font-500">
|
|
|
¥
|
|
|
</text>
|
|
|
- <text class="text-36rpx font-800">
|
|
|
+ <text class="text-34rpx font-800">
|
|
|
{{ item.price }}
|
|
|
</text>
|
|
|
</view>
|
|
|
- <view class="text-24rpx text-#AAA decoration-line-through">
|
|
|
+ <view class="text-22rpx text-#AAA decoration-line-through">
|
|
|
市场价¥{{ item.faceValue }}
|
|
|
</view>
|
|
|
</view>
|