update
This commit is contained in:
@@ -32,12 +32,17 @@ defineExpose({
|
||||
|
||||
<template>
|
||||
|
||||
<!-- #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 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"
|
||||
|
||||
@@ -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-link>查看指引</x-link>
|
||||
<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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user