This commit is contained in:
2025-06-24 20:55:09 +08:00
parent b98de4746d
commit 3ac2bbcf07
13 changed files with 116 additions and 146 deletions

View File

@@ -4,6 +4,7 @@ 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";
const {data, home} = defineProps({
data: {
@@ -31,7 +32,8 @@ const {data, home} = defineProps({
<text class="ellipsis-1 flex-grow">
{{ data.case_url }}
</text>
<view class="nowrap flex-shrink !py-[7rpx] !px-[32rpx] rounded-full bg-[#E8F3FF]"
<view @click="copy(data.case_url)"
class="nowrap flex-shrink !py-[7rpx] !px-[32rpx] rounded-full bg-[#E8F3FF]"
style="font-size: 24rpx">
复制
</view>
@@ -44,7 +46,7 @@ const {data, home} = defineProps({
<x-square-carousel-image
v-if="data.case_images_arr.length > 0"
:list="data.case_images_arr"
:show-s-y="home">
:show-s-y="true">
</x-square-carousel-image>
</view>
</view>