Commit 762638277e32d9df2ed69fba6482e32bc60f7e87
1 parent
459c7310
商品结算
Showing
3 changed files
with
3 additions
and
3 deletions
pages/cart/cart2/cart2.js
pages/goods/categoryList/categoryList.js
| ... | ... | @@ -296,7 +296,7 @@ Page({ |
| 296 | 296 | var cid= t.currentTarget.dataset.cid; |
| 297 | 297 | var pid = t.currentTarget.dataset.pid; |
| 298 | 298 | console.log("是这个吗", pid); |
| 299 | - var lurl = "/pages/goods/goodsList/goodsList?cat_id=" + cid + "&pid=" + pid; | |
| 299 | + var lurl = "/pages/goods/goodsList/goodsList?cat_id=" + cid + "&parent_id="+pid; | |
| 300 | 300 | wx.navigateTo({ url: lurl}); |
| 301 | 301 | }, |
| 302 | 302 | ... | ... |
pages/goods/categoryList/categoryList.wxml
| ... | ... | @@ -216,7 +216,7 @@ |
| 216 | 216 | </view> |
| 217 | 217 | <view class="classify_content-frame flex-wrap"> |
| 218 | 218 | <block wx:for="{{goodslist}}"wx:for-item="goods"wx:for-index="indx"> |
| 219 | - | |
| 219 | + | |
| 220 | 220 | <view class="brand_img_frame t-c ib" data-cid="{{goods.items.id}}" data-pid="1" bindtap="go_cate"> |
| 221 | 221 | <image class="brand_img"src="{{goods.items.image==null||goods.items.image==''?iurl+'/miniapp/images/no_cate_def.png':goods.items.image}}"binderror="goods_bnerr" data-err="goodslist[{{index}}].logo"></image> |
| 222 | 222 | <view class="brand_img_name fs24">{{goods.items.name}}</view> | ... | ... |