营销:增加商城装修组件【图片展示】

pull/12/head
owen 2023-11-05 20:42:49 +08:00
parent e55218330c
commit 75d0f7511d
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
<template>
<view>
<s-image-block v-if="type === 'imageBlock'" :data="data" :styles="styles" />
<s-image-block v-if="type === 'ImageBar'" :data="data" :styles="styles" />
<s-image-banner v-if="type === 'imageBanner'" :data="data" :styles="styles" />
<s-video-block v-if="type === 'videoPlayer'" :data="data" :styles="styles" />
<s-image-cube v-if="type === 'imageCube'" :data="data" :styles="styles" />

View File

@ -1,6 +1,6 @@
<template>
<view @tap="sheep.$router.go(data?.url)">
<su-image :src="sheep.$url.cdn(data.src)" mode="widthFix"></su-image>
<su-image :src="sheep.$url.cdn(data.imgUrl)" mode="widthFix"></su-image>
</view>
</template>