Commit 25afed5d57e3c420b1caa1c39478e6c855c27aae

Authored by DESKTOP-QHAFKU5\iceling
1 parent cf77c4c5

把log日志删除掉

pages/goods/categoryList/categoryList.js
... ... @@ -215,8 +215,6 @@ Page({
215 215 }
216 216  
217 217 }
218   -
219   - console.log("现在是1级与2级所有的数据", arr)
220 218 t.setData({one_level_classify:arr});
221 219  
222 220 }
... ... @@ -303,8 +301,6 @@ Page({
303 301 lettersPosition = this.data.lettersPosition,
304 302 eachLetterHeight = this.data.eachLetterHeight,
305 303 letters = this.data.letters;
306   - console.log(lettersPosition);
307   - console.log(y);
308 304 // 判断触摸点是否在字母导航栏上
309 305 if (x >= lettersPosition[0][0]) {
310 306 for (let i = 0, len = lettersPosition.length; i < len; i++) {
... ... @@ -358,7 +354,6 @@ Page({
358 354 },
359 355 success: function (e) {
360 356 var dda = e.data.data.pageData;
361   - console.log("国家的数据", dda);
362 357 s.setData({ nationlist:dda})
363 358 }
364 359 });
... ... @@ -388,7 +383,6 @@ Page({
388 383 success: function (e) {
389 384 var arr=new Array();
390 385 var dda = e.data.data.pageData;
391   - console.log("商品数据",dda);
392 386 s.setData({brand_list:dda});
393 387 for (var i = 0; i < dda.length; i++) {
394 388  
... ... @@ -414,7 +408,6 @@ Page({
414 408 }
415 409 //进行排序
416 410 arr.sort(compare("zm"));
417   - console.log(arr);
418 411 s.setData({ groups: arr });
419 412  
420 413 }
... ... @@ -452,8 +445,6 @@ Page({
452 445 //图片失败,默认图片
453 446 bind_bnerr2: function (e) {
454 447 var _errImg = e.target.dataset.errorimg;
455   - console.log('bind_bnerr2');
456   - console.log(_errImg);
457 448 var _errObj = {};
458 449 _errObj[_errImg] = "/public/images/category.png";
459 450 this.setData(_errObj) //注意这里的赋值方式,只是将数据列表中的此项图片路径值替换掉 ;
... ... @@ -507,7 +498,6 @@ Page({
507 498 select_more:function(e){
508 499 var cid = e.currentTarget.dataset.cid;
509 500 var pid = e.currentTarget.dataset.pid;
510   - console.log("选择更多"+cid);
511 501 var lurl = "/pages/goods/goodsList/goodsList?cat_id=" + cid + "&pid=" + pid;
512 502 wx.navigateTo({ url: lurl });
513 503  
... ...
pages/goods/goodsInfo/goodsInfo.js
... ... @@ -2622,8 +2622,6 @@ Page({
2622 2622  
2623 2623 //---产品名称---
2624 2624 //文本换行 参数:1、canvas对象,2、文本 3、距离左侧的距离 4、距离顶部的距离 5、6、文本的宽度
2625   - console.log("ssssssss", th.data.data.goods_name);
2626   -
2627 2625 context.setFillStyle("black");
2628 2626 context.setFontSize(21.3 * unit)
2629 2627 th.draw_Text(context, th.data.data.goods_name,
... ... @@ -3127,9 +3125,6 @@ Page({
3127 3125 var index = th.data.sec_pick_index;
3128 3126 item = th.data.sec_sto.s_arr[index];
3129 3127 }
3130   -
3131   - //th.setData({fir_pick_index:0});
3132   - console.log("选择门店刷新", "def_pick_store", item);
3133 3128 th.setData({
3134 3129 def_pick_store: item,
3135 3130 sto_sele_name: item.pickup_name,
... ... @@ -3212,10 +3207,8 @@ Page({
3212 3207 if (th.data.choice_sort_store == 0) th.setData({
3213 3208 fir_pick_index: 0
3214 3209 });
3215   - //s.showWarning("设置门店地址成功", null, 500, !1);
3216 3210 getApp().globalData.pk_store = item;
3217 3211 } else {
3218   - console.log("门店地址失败");
3219 3212 //s.showWarning("设置默认门店地址失败", null, 500, !1);
3220 3213 getApp().my_warnning("设置默认门店地址失败",0,th)
3221 3214 }
... ...
pages/goods/search/search.js
... ... @@ -25,8 +25,6 @@ Page({
25 25 onLoad: function(t) {
26 26 var th=this;
27 27 a.getConfig2(function(rs){
28   - console.log("onload");
29   - console.log(rs);
30 28 var arr=new Array(),arr2=new Array();
31 29 if (rs.hot_keywords != null && ut.trim(rs.hot_keywords)!="" ){
32 30 var arr1 = rs.hot_keywords.split('|');
... ... @@ -96,9 +94,6 @@ Page({
96 94 changeTab: function(t) {
97 95 var ord = t.currentTarget.dataset.href;
98 96 var ad = t.currentTarget.dataset.ad;
99   -
100   - console.log("changeTab");
101   - console.log(ord + ":" + ad + ":" + this.data.requestUrl);
102 97  
103 98 var url = this.data.requestUrl;
104 99  
... ... @@ -115,8 +110,6 @@ Page({
115 110 //-----------真的调用地址进行搜索------------
116 111 requestSearch: function(t) {
117 112 var a = this;
118   - console.log('requestSearch');
119   - console.log(t,"扫描商品的搜索商品1111111111111111111111111111");
120 113  
121 114 this.data.requestUrl = t,
122 115 //t += "&orderField=" + a.data.tabname;
... ... @@ -179,7 +172,6 @@ Page({
179 172  
180 173 //-----点击搜索按钮----
181 174 search: function(t) {
182   - console.log(t,"是什么的");
183 175 if ("string" != typeof t || "" == t) return a.showWarning("请输入搜索关键词");
184 176 this.resetData(), this.requestSearch(this.data.baseUrl + "&key_str=" + encodeURIComponent(t));
185 177 },
... ...