update
This commit is contained in:
@@ -4,10 +4,10 @@ import linkIcon from '../../../static/icons/link.png';
|
||||
import XImage from "../../../components/XImage.vue";
|
||||
import XSquareCarouselImage from "../../../components/XSquareCarouselImage.vue";
|
||||
import HF_ICON from "../../../static/icons/icon-wrapper.png";
|
||||
import {copy} from "../../../utils/uils.js";
|
||||
import {computed} from "vue";
|
||||
import { copy } from "../../../utils/uils.js";
|
||||
import { computed } from "vue";
|
||||
|
||||
const {data, home} = defineProps({
|
||||
const { data, home } = defineProps({
|
||||
data: {
|
||||
type: Object,
|
||||
default: null,
|
||||
@@ -36,8 +36,8 @@ const list = computed(() => data.comment_arr?.flatMap(v => v.children ? [v, ...v
|
||||
{{ data.case_url }}
|
||||
</text>
|
||||
<view @click="copy(data.case_url)"
|
||||
class="nowrap flex-shrink !py-[7rpx] !px-[32rpx] rounded-full bg-[#E8F3FF]"
|
||||
style="font-size: 24rpx">
|
||||
class="nowrap flex-shrink !py-[7rpx] !px-[32rpx] rounded-full bg-[#E8F3FF]"
|
||||
style="font-size: 24rpx">
|
||||
复制
|
||||
</view>
|
||||
</view>
|
||||
@@ -46,9 +46,7 @@ const list = computed(() => data.comment_arr?.flatMap(v => v.children ? [v, ...v
|
||||
<view class="block">
|
||||
<view class="block-title">素材案例:</view>
|
||||
<view class="block-info !grid grid-cols-3 gap-[20rpx]">
|
||||
<x-square-carousel-image
|
||||
v-if="data.case_images_arr.length > 0"
|
||||
:list="data.case_images_arr"
|
||||
<x-square-carousel-image v-if="data.case_images_arr.length > 0" :list="data.case_images_arr"
|
||||
:show-s-y="true">
|
||||
</x-square-carousel-image>
|
||||
</view>
|
||||
@@ -69,13 +67,10 @@ const list = computed(() => data.comment_arr?.flatMap(v => v.children ? [v, ...v
|
||||
</view>
|
||||
<view class="!flex gap-[20rpx] flex-wrap !my-[10rpx]">
|
||||
<view class="!w-[96rpx] !h-[96rpx] !aspect-square" v-for="k in v.image_arr">
|
||||
<x-image
|
||||
:style="{
|
||||
width: '96rpx',
|
||||
height: '96rpx',
|
||||
}"
|
||||
:src="k"
|
||||
:list="v.image_arr">
|
||||
<x-image :style="{
|
||||
width: '96rpx',
|
||||
height: '96rpx',
|
||||
}" :src="k" :list="v.image_arr">
|
||||
</x-image>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user