|
|
@ -13,7 +13,7 @@ |
|
|
<scroll-view class="cate-left" scroll-y="true"> |
|
|
<scroll-view class="cate-left" scroll-y="true"> |
|
|
<view class="type-nav" :class="{ selected: curIndex == index }" v-for="(item, index) in menus" :key="index" |
|
|
<view class="type-nav" :class="{ selected: curIndex == index }" v-for="(item, index) in menus" :key="index" |
|
|
@click="handleSelectNav(index)"> |
|
|
@click="handleSelectNav(index)"> |
|
|
<image class="cate-left-image" :src="'./static/tabbar/recommend-cate.png'"></image> |
|
|
<image class="cate-left-image" :src="'./static/tabbar/'+item.image"></image> |
|
|
<text class="cate-left-text">{{ item.name }}</text> |
|
|
<text class="cate-left-text">{{ item.name }}</text> |
|
|
</view> |
|
|
</view> |
|
|
</scroll-view> |
|
|
</scroll-view> |
|
|
@ -77,9 +77,9 @@ import Search from '@/components/search' |
|
|
|
|
|
|
|
|
// 左侧菜单(固定) |
|
|
// 左侧菜单(固定) |
|
|
const menus = [ |
|
|
const menus = [ |
|
|
{id: 'all', name: '标的推荐', type: 0}, |
|
|
{id: 'all', name: '标的推荐', type: 0, 'image': 'label-recommend.jpg'}, |
|
|
{id: 'rs', name: '销售排行', type: 1}, |
|
|
{id: 'rs', name: '销售排行', type: 1, 'image': 'sale-sort.png'}, |
|
|
{id: 'rd', name: '店铺排行', type: 2}, |
|
|
{id: 'rd', name: '店铺排行', type: 2, 'image': 'store-sort.jpg'}, |
|
|
] |
|
|
] |
|
|
|
|
|
|
|
|
// 最后一次刷新时间 |
|
|
// 最后一次刷新时间 |
|
|
|