update
This commit is contained in:
@@ -32,12 +32,17 @@ defineExpose({
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
|
||||||
|
<template v-if="!$slots.default">
|
||||||
<!-- #ifndef MP-WEIXIN -->
|
<!-- #ifndef MP-WEIXIN -->
|
||||||
<image @click="open" v-bind="$attrs" :src="src" mode="aspectFill"></image>
|
<image @click="open" v-bind="$attrs" :src="src" mode="aspectFill"></image>
|
||||||
<!-- #endif -->
|
<!-- #endif -->
|
||||||
<!-- #ifdef MP-WEIXIN -->
|
<!-- #ifdef MP-WEIXIN -->
|
||||||
<image @click="open" :class="imageClass" :src="src" mode="aspectFill"></image>
|
<image @click="open" :class="imageClass" :src="src" mode="aspectFill"></image>
|
||||||
<!-- #endif -->
|
<!-- #endif -->
|
||||||
|
</template>
|
||||||
|
<view v-else @click="open">
|
||||||
|
<slot></slot>
|
||||||
|
</view>
|
||||||
|
|
||||||
<view
|
<view
|
||||||
v-if="show"
|
v-if="show"
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ import Api from "../../../api/index.js";
|
|||||||
import {showToast} from "../../../utils/uils.js";
|
import {showToast} from "../../../utils/uils.js";
|
||||||
import dayjs from "dayjs";
|
import dayjs from "dayjs";
|
||||||
import XCountdown from "../../../components/XCountdown.vue";
|
import XCountdown from "../../../components/XCountdown.vue";
|
||||||
|
import XImage from "../../../components/XImage.vue";
|
||||||
|
|
||||||
const {data} = defineProps({
|
const {data} = defineProps({
|
||||||
data: {
|
data: {
|
||||||
@@ -56,7 +57,10 @@ watch(
|
|||||||
回填指引:
|
回填指引:
|
||||||
</view>
|
</view>
|
||||||
<view class="block-info">
|
<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-link>查看指引</x-link>
|
||||||
|
</x-image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user