营销:适配商城装修组件【列表导航】
parent
4af42e2949
commit
b050edae8d
|
@ -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" />
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue