This commit is contained in:
2025-06-10 20:43:15 +08:00
parent 703ccc6e28
commit 2915645a92
2 changed files with 16 additions and 7 deletions

View File

@@ -32,12 +32,17 @@ defineExpose({
<template>
<template v-if="!$slots.default">
<!-- #ifndef MP-WEIXIN -->
<image @click="open" v-bind="$attrs" :src="src" mode="aspectFill"></image>
<!-- #endif -->
<!-- #ifdef MP-WEIXIN -->
<image @click="open" :class="imageClass" :src="src" mode="aspectFill"></image>
<!-- #endif -->
</template>
<view v-else @click="open">
<slot></slot>
</view>
<view
v-if="show"

View File

@@ -7,6 +7,7 @@ import Api from "../../../api/index.js";
import {showToast} from "../../../utils/uils.js";
import dayjs from "dayjs";
import XCountdown from "../../../components/XCountdown.vue";
import XImage from "../../../components/XImage.vue";
const {data} = defineProps({
data: {
@@ -56,7 +57,10 @@ watch(
回填指引:
</view>
<view class="block-info">
<x-image :src="data.task_content[current].ts_images_arr[0]"
:list="data.task_content[current].ts_images_arr">
<x-link>查看指引</x-link>
</x-image>
</view>
</view>