Commit 762638277e32d9df2ed69fba6482e32bc60f7e87
1 parent
459c7310
商品结算
Showing
3 changed files
with
3 additions
and
3 deletions
pages/cart/cart2/cart2.js
@@ -81,7 +81,7 @@ Page({ | @@ -81,7 +81,7 @@ Page({ | ||
81 | is_express:0,//选中物流的属性 | 81 | is_express:0,//选中物流的属性 |
82 | expres_name:"",//点击选定 | 82 | expres_name:"",//点击选定 |
83 | isopen:0,//券的说明 | 83 | isopen:0,//券的说明 |
84 | - is_coupon:0,//选择券的控制属性 | 84 | + is_coupon:55555,//选择券的控制属性 |
85 | is_shipping_code:"",//插入用户默认地址 | 85 | is_shipping_code:"",//插入用户默认地址 |
86 | }, | 86 | }, |
87 | onLoad: function(t) { | 87 | onLoad: function(t) { |
pages/goods/categoryList/categoryList.js
@@ -296,7 +296,7 @@ Page({ | @@ -296,7 +296,7 @@ Page({ | ||
296 | var cid= t.currentTarget.dataset.cid; | 296 | var cid= t.currentTarget.dataset.cid; |
297 | var pid = t.currentTarget.dataset.pid; | 297 | var pid = t.currentTarget.dataset.pid; |
298 | console.log("是这个吗", pid); | 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 | wx.navigateTo({ url: lurl}); | 300 | wx.navigateTo({ url: lurl}); |
301 | }, | 301 | }, |
302 | 302 |
pages/goods/categoryList/categoryList.wxml
@@ -216,7 +216,7 @@ | @@ -216,7 +216,7 @@ | ||
216 | </view> | 216 | </view> |
217 | <view class="classify_content-frame flex-wrap"> | 217 | <view class="classify_content-frame flex-wrap"> |
218 | <block wx:for="{{goodslist}}"wx:for-item="goods"wx:for-index="indx"> | 218 | <block wx:for="{{goodslist}}"wx:for-item="goods"wx:for-index="indx"> |
219 | - | 219 | + |
220 | <view class="brand_img_frame t-c ib" data-cid="{{goods.items.id}}" data-pid="1" bindtap="go_cate"> | 220 | <view class="brand_img_frame t-c ib" data-cid="{{goods.items.id}}" data-pid="1" bindtap="go_cate"> |
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> | 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 | <view class="brand_img_name fs24">{{goods.items.name}}</view> | 222 | <view class="brand_img_name fs24">{{goods.items.name}}</view> |