Merged
Merge Request #1094 · created by 后端研发-苏明海


Test


From test into qa

Merged by 后端研发-苏明海

1 participants

pages/goods/categoryList/categoryList.js
... ... @@ -376,15 +376,21 @@ Page({
376 376 var item=arr[0];
377 377  
378 378 var name = item.items.name;
379   - var cid = item.items.cid;
  379 + var cid = item.items.id;
380 380 var arr = item.array;
381 381  
  382 + console.log("11111",item);
  383 +
382 384  
383 385 if (arr.length == 0) {
384 386 t.setData({
385   - select_classify_on: indexs, index: indexs, classify_name: name, cat_id: cid,
  387 + select_classify_on: 0, index: 0, classify_name: name, cat_id: cid,
386 388 goodslist: null, is_level_three: 0
387 389 });
  390 +
  391 + if(t.data.is_used_share == 2)
  392 + t.style(t.data.stylePage, cid)
  393 +
388 394 return false;
389 395 }
390 396 if (arr.length != 0) {
... ...