Browse Source

修改推荐一级分类图片

master
wanghongjun 2 years ago
parent
commit
ab3009f495
  1. 8
      pages/recommend/index.vue
  2. BIN
      static/tabbar/label-recommend.jpg
  3. BIN
      static/tabbar/sale-sort.png
  4. BIN
      static/tabbar/store-sort.jpg

8
pages/recommend/index.vue

@ -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'},
] ]
// //

BIN
static/tabbar/label-recommend.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
static/tabbar/sale-sort.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

BIN
static/tabbar/store-sort.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

Loading…
Cancel
Save