营销:适配商城装修组件【列表导航】
parent
4af42e2949
commit
b050edae8d
|
@ -7,7 +7,7 @@
|
||||||
<!-- 基础组件:菜单导航 -->
|
<!-- 基础组件:菜单导航 -->
|
||||||
<s-menu-button v-if="type === 'menuButton'" :data="data" :styles="styles" />
|
<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" />
|
<s-menu-grid v-if="type === 'menuGrid'" :data="data" />
|
||||||
|
|
||||||
|
|
|
@ -11,25 +11,25 @@
|
||||||
<template v-slot:header>
|
<template v-slot:header>
|
||||||
<view class="ss-flex ss-col-center">
|
<view class="ss-flex ss-col-center">
|
||||||
<image
|
<image
|
||||||
v-if="item.src"
|
v-if="item.iconUrl"
|
||||||
class="list-icon"
|
class="list-icon"
|
||||||
:src="sheep.$url.cdn(item.src)"
|
:src="sheep.$url.cdn(item.iconUrl)"
|
||||||
mode="aspectFit"
|
mode="aspectFit"
|
||||||
></image>
|
></image>
|
||||||
<view
|
<view
|
||||||
class="title-text ss-flex ss-row-center ss-col-center ss-m-l-20"
|
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>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
<template v-slot:footer>
|
<template v-slot:footer>
|
||||||
<view
|
<view
|
||||||
class="notice-text ss-flex ss-row-center ss-col-center"
|
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>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
</uni-list-item>
|
</uni-list-item>
|
||||||
|
|
Loading…
Reference in New Issue