|
|
@ -10,9 +10,9 @@ |
|
|
|
:barItemBadgeStyle="{right:'20px',top:'12px'}" |
|
|
|
@change="change"> |
|
|
|
<uv-vtabs-item> |
|
|
|
<view class="category-title"> |
|
|
|
<!-- <view class="category-title"> |
|
|
|
租赁 |
|
|
|
</view> |
|
|
|
</view> --> |
|
|
|
<view class="list"> |
|
|
|
<view class="item" v-for="(item,index) in list" :key="index" |
|
|
|
@click="$utils.navigateTo(`/pages_order/product/productDetail?id=${item.id}`)"> |
|
|
@ -61,7 +61,7 @@ |
|
|
|
methods: { |
|
|
|
// 获取分类列表 |
|
|
|
getCategory() { |
|
|
|
this.$api('getIcon', res => { |
|
|
|
this.$api('getClassify', res => { |
|
|
|
if(res.code == 200) { |
|
|
|
this.category = res.result |
|
|
|
if(this.category.length > 0) { |
|
|
@ -73,7 +73,7 @@ |
|
|
|
// 获取商品列表 |
|
|
|
getProductList(shopIconId) { |
|
|
|
this.$api('getProductList', { |
|
|
|
shopIconId: shopIconId, |
|
|
|
shopClassId: shopIconId, |
|
|
|
pageNo: 1, |
|
|
|
pageSize: 99999 |
|
|
|
}, res => { |
|
|
|