|
@@ -6,7 +6,7 @@
|
|
|
</view>
|
|
|
<!-- 商品 -->
|
|
|
<view class="goods">
|
|
|
- <view v-for="(item,index) in goodsList" :key="item.type.id" v-if="goodsList.length&&item.list.length">
|
|
|
+ <view v-for="(item,index) in goodsList" :key="index" v-if="goodsList.length&&item.list.length">
|
|
|
<u-section :title="item.type.name" font-size="35" line-color="#01c9b2" sub-title="更多" @click="toGoods(item.type)"></u-section>
|
|
|
<view class="goods-list">
|
|
|
<uni-coods :list="item.list"></uni-coods>
|
|
@@ -94,7 +94,7 @@
|
|
|
// 更多商品
|
|
|
toGoods(item){
|
|
|
uni.navigateTo({
|
|
|
- url:"/pages/goods/goods?goodsTypeNo="+ item.goodsTypeNo + "&goldLimit="+ item.goldLimit
|
|
|
+ url:"/pages/goods/goods?goodsTypeNo="+ item.goodsTypeNo + "&goldLimit="+ item.goldLimit + "&name=" + item.name
|
|
|
})
|
|
|
},
|
|
|
// 查询商品
|