Commit 762638277e32d9df2ed69fba6482e32bc60f7e87

Authored by 后端开发-许程
1 parent 459c7310

商品结算

pages/cart/cart2/cart2.js
... ... @@ -81,7 +81,7 @@ Page({
81 81 is_express:0,//选中物流的属性
82 82 expres_name:"",//点击选定
83 83 isopen:0,//券的说明
84   - is_coupon:0,//选择券的控制属性
  84 + is_coupon:55555,//选择券的控制属性
85 85 is_shipping_code:"",//插入用户默认地址
86 86 },
87 87 onLoad: function(t) {
... ...
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>
... ...