update
This commit is contained in:
@@ -2,11 +2,16 @@
|
||||
import fmt from "../../../static/images/fmt.png";
|
||||
import linkIcon from '../../../static/icons/link.png';
|
||||
import XImage from "../../../components/XImage.vue";
|
||||
import XSquareCarouselImage from "../../../components/XSquareCarouselImage.vue";
|
||||
|
||||
const {data} = defineProps({
|
||||
const {data, home} = defineProps({
|
||||
data: {
|
||||
type: Object,
|
||||
default: null,
|
||||
},
|
||||
home: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
}
|
||||
});
|
||||
</script>
|
||||
@@ -35,14 +40,11 @@ const {data} = defineProps({
|
||||
<view class="block">
|
||||
<view class="block-title">素材案例:</view>
|
||||
<view class="block-info !grid grid-cols-3 gap-[20rpx]">
|
||||
<x-image
|
||||
<x-square-carousel-image
|
||||
v-if="data.case_images_arr.length > 0"
|
||||
class="!size-[160rpx]"
|
||||
:src="data.case_images_arr[0]"
|
||||
:list="data.case_images_arr"
|
||||
:cur="0" mode="aspectFill"
|
||||
:draggable="false">
|
||||
</x-image>
|
||||
:show-s-y="home">
|
||||
</x-square-carousel-image>
|
||||
</view>
|
||||
</view>
|
||||
<view class="block">
|
||||
|
||||
Reference in New Issue
Block a user