营销:增加商城装修组件【图片展示】
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<view>
|
<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-image-banner v-if="type === 'imageBanner'" :data="data" :styles="styles" />
|
||||||
<s-video-block v-if="type === 'videoPlayer'" :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" />
|
<s-image-cube v-if="type === 'imageCube'" :data="data" :styles="styles" />
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<view @tap="sheep.$router.go(data?.url)">
|
<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>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user