营销:增加商城装修组件【图片展示】
parent
e55218330c
commit
75d0f7511d
|
@ -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" />
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue