营销:适配商城装修组件【列表导航】

pull/14/head
owen 2023-11-08 21:10:04 +08:00
parent 4af42e2949
commit b050edae8d
2 changed files with 7 additions and 7 deletions

View File

@ -7,7 +7,7 @@
<!-- 基础组件菜单导航 -->
<s-menu-button v-if="type === 'menuButton'" :data="data" :styles="styles" />
<!-- 基础组件列表导航 -->
<s-menu-list v-if="type === 'menuList'" :data="data" />
<s-menu-list v-if="type === 'MenuList'" :data="data" />
<!-- 基础组件宫格导航 -->
<s-menu-grid v-if="type === 'menuGrid'" :data="data" />

View File

@ -11,25 +11,25 @@
<template v-slot:header>
<view class="ss-flex ss-col-center">
<image
v-if="item.src"
v-if="item.iconUrl"
class="list-icon"
:src="sheep.$url.cdn(item.src)"
:src="sheep.$url.cdn(item.iconUrl)"
mode="aspectFit"
></image>
<view
class="title-text ss-flex ss-row-center ss-col-center ss-m-l-20"
:style="[{ color: item.title.color }]"
:style="[{ color: item.titleColor }]"
>
{{ item.title.text }}
{{ item.title }}
</view>
</view>
</template>
<template v-slot:footer>
<view
class="notice-text ss-flex ss-row-center ss-col-center"
:style="[{ color: item.tip.color }]"
:style="[{ color: item.subtitleColor }]"
>
{{ item.tip.text }}
{{ item.subtitle }}
</view>
</template>
</uni-list-item>