Pārlūkot izejas kodu

删除多余的console打印

442384644@qq.com 4 gadi atpakaļ
vecāks
revīzija
ec68235a77

+ 1 - 2
template/uni-app/components/cus-previewImg/cus-previewImg.vue

@@ -46,13 +46,12 @@
 		},
 		watch: {
 			list(val) {
-				// console.log('图片预览', val)
+
 			}
 		},
 		methods: {
 			// 左右切换
 			changeSwiper(e) {
-				console.log(e.target.current)
 				this.currentIndex = e.target.current;
 				this.$emit('changeSwitch',e.target.current)
 			},

+ 2 - 2
template/uni-app/components/goodsWaterfall/goodsWaterfall.vue

@@ -105,7 +105,7 @@
 					that.lists2 = []
 				}
 				this.tmp_data.map((da, di) => {
-					console.log(that.list1Height,that.list2Height)
+
 					if (that.list1Height > that.list2Height) {
 						that.list2Height += da.img_height
 						that.lists2.push(da)
@@ -118,7 +118,7 @@
 			},
 			//图片加载完成补齐数据
 			imgLoad(e) {
-				console.log(e.target.id,e.detail.width,e.detail.height)
+
 				this.loaded.push(e.target.id)
 				//存储数据
 				// this.tmp_data[e.target.id]['img_width'] = e.detail.width

+ 0 - 1
template/uni-app/components/guide/index.vue

@@ -42,7 +42,6 @@
 			}
 		},
 		mounted() {
-			console.log(this.advData)
 			this.timer()
 		},
 		methods: {

+ 4 - 4
template/uni-app/components/lottery/js/grids_lottery.js

@@ -14,16 +14,16 @@ function LotteryDraw(obj, callback) {
 LotteryDraw.prototype = {
 	rollFn: function() {
 		var that = this;
-		// console.log(`获奖位置:${this.winingIndex}`)
+
 		// 活动index值增加,即移动到下一个格子
 		this.startIndex++;
-		
+
 		//startIndex是最后一个时一圈走完,重新开始
 		if (this.startIndex >= this.domData.length - 1) {
 			this.startIndex = 0;
 			this.count++;
 		}
-		
+
 		// 当跑的圈数等于设置的圈数,且活动的index值是奖品的位置时停止
 		if (this.count >= this.totalCount && this.startIndex === this.winingIndex) {
 			if (typeof this.callback === 'function') {
@@ -44,4 +44,4 @@ LotteryDraw.prototype = {
 	}
 }
 
-module.exports = LotteryDraw;
+module.exports = LotteryDraw;

+ 0 - 1
template/uni-app/components/skeleton/index.vue

@@ -93,7 +93,6 @@
 				const that = this;
 
 				uni.createSelectorQuery().selectAll(`.${this.selector}-radius`).boundingClientRect().exec(function(res) {
-					console.log(res)
 					that.skeletonCircleLists = res[0];
 				});
 			}

+ 10 - 12
template/uni-app/pages/activity/goods_combination_details/index.vue

@@ -480,7 +480,7 @@
 					try {
 						uni.setStorageSync('comGoodsId', options.id);
 					} catch (e) {}
-					// #endif 
+					// #endif
 					this.$Cache.set('login_back_url',
 						`/pages/activity/goods_combination_details/index?id=${options.id}`);
 					toLogin();
@@ -554,7 +554,7 @@
 			},
 			/**
 			 * 购物车手动填写
-			 * 
+			 *
 			 */
 			iptCartNum: function(e) {
 				this.$set(this.attribute.productSelect, 'cart_num', e);
@@ -691,7 +691,7 @@
 			// },
 			/**
 			 * 默认选中属性
-			 * 
+			 *
 			 */
 			DefaultSelect: function() {
 
@@ -803,7 +803,7 @@
 			},
 			/**
 			 * 购物车数量加和数量减
-			 * 
+			 *
 			 */
 			ChangeCartNum: function(changeValue) {
 				//changeValue:是否 加|减
@@ -867,7 +867,7 @@
 			},
 			/**
 			 * 属性变动赋值
-			 * 
+			 *
 			 */
 			ChangeAttr: function(res) {
 				this.$set(this, 'cart_num', 1);
@@ -957,7 +957,7 @@
 
 			/**
 			 * 分享打开
-			 * 
+			 *
 			 */
 			listenerActionSheet: function() {
 				if (this.isLogin == false) {
@@ -1022,7 +1022,7 @@
 			/**
 			 * 获取产品分销二维码
 			 * @param function successFn 下载完成回调
-			 * 
+			 *
 			 */
 			downloadFilePromotionCode: function(successFn) {
 				let that = this;
@@ -1245,11 +1245,9 @@
 			},
 			//滑动轮播图选择商品
 			changeSwitch(e) {
-				console.log(this.skuArr[e])
 			  let productSelect = this.skuArr[e];
 			  this.$set(this, "selectSku", productSelect);
 			  var skuList = productSelect.suk.split(",");
-				console.log(this.attribute.productAttr)
 			  this.$set(this.attribute.productAttr[0], "index", skuList[0]);
 			  if (skuList.length == 2) {
 			    this.$set(this.attribute.productAttr[0], "index", skuList[0]);
@@ -1766,7 +1764,7 @@
 	  display: block;
 	  margin-right: 14rpx;
 	}
-	
+
 	.switchTxt {
 	  height: 60rpx;
 	  flex: 1;
@@ -1777,7 +1775,7 @@
 	  border-radius: 8rpx;
 	  text-align: center;
 	}
-	
+
 	.attribute {
 	  padding: 10rpx 30rpx;
 	  .line1 {
@@ -1792,7 +1790,7 @@
 	.flexs {
 	  display: flex;
 	}
-	
+
 	.attr-txt {
 	  display: flex;
 	  flex-wrap: nowrap;

+ 11 - 13
template/uni-app/pages/activity/goods_seckill_details/index.vue

@@ -163,7 +163,7 @@
 		/>
 		<product-window :attr='attribute' :limitNum='1' @myevent="onMyEvent" @ChangeAttr="ChangeAttr" :type="'seckill'"
 			@ChangeCartNum="ChangeCartNum" @attrVal="attrVal" @iptCartNum="iptCartNum" @getImg="showImg"></product-window>
-	
+
 		<!-- #ifdef MP -->
 		<!-- <authorize @onLoadFun="onLoadFun" :isAuto="isAuto" :isShowAuth="isShowAuth"></authorize> -->
 		<!-- #endif -->
@@ -469,7 +469,7 @@
 			// #endif
 			/**
 			 * 购物车手动填写
-			 * 
+			 *
 			 */
 			iptCartNum: function(e) {
 				this.$set(this.attribute.productSelect, 'cart_num', e);
@@ -580,7 +580,7 @@
 			},
 			/**
 			 * 默认选中属性
-			 * 
+			 *
 			 */
 			DefaultSelect: function() {
 				let self = this
@@ -661,7 +661,7 @@
 			},
 			/**
 			 * 购物车数量加和数量减
-			 * 
+			 *
 			 */
 			ChangeCartNum: function(changeValue) {
 				//changeValue:是否 加|减
@@ -727,7 +727,7 @@
 			},
 			/**
 			 * 属性变动赋值
-			 * 
+			 *
 			 */
 			ChangeAttr: function(res) {
 				this.$set(this, 'cart_num', 1);
@@ -875,7 +875,7 @@
 			},
 			/**
 			 * 分享打开
-			 * 
+			 *
 			 */
 			listenerActionSheet: function() {
 				if (this.isLogin === false) {
@@ -924,7 +924,7 @@
 			/**
 			 * 获取产品分销二维码
 			 * @param function successFn 下载完成回调
-			 * 
+			 *
 			 */
 			downloadFilePromotionCode: function(successFn) {
 				let that = this;
@@ -1114,11 +1114,9 @@
 			},
 			//滑动轮播图选择商品
 			changeSwitch(e) {
-				console.log(this.skuArr[e])
 			  let productSelect = this.skuArr[e];
 			  this.$set(this, "selectSku", productSelect);
 			  var skuList = productSelect.suk.split(",");
-				console.log(this.attribute.productAttr)
 			  this.$set(this.attribute.productAttr[0], "index", skuList[0]);
 			  if (skuList.length == 2) {
 			    this.$set(this.attribute.productAttr[0], "index", skuList[0]);
@@ -1263,7 +1261,7 @@
 		padding: 0 30rpx;
 		box-sizing: border-box;
 	}
-	
+
 	.product-con .nav /deep/.time .styleAll {
 		padding: 0 6rpx;
 		font-size: 22rpx;
@@ -1551,7 +1549,7 @@
 	  display: block;
 	  margin-right: 14rpx;
 	}
-	
+
 	.switchTxt {
 	  height: 60rpx;
 	  flex: 1;
@@ -1562,7 +1560,7 @@
 	  border-radius: 8rpx;
 	  text-align: center;
 	}
-	
+
 	.attribute {
 	  padding: 10rpx 30rpx;
 	  .line1 {
@@ -1577,7 +1575,7 @@
 	.flexs {
 	  display: flex;
 	}
-	
+
 	.attr-txt {
 	  display: flex;
 	  flex-wrap: nowrap;

+ 0 - 1
template/uni-app/pages/activity/lottery/grids/index.vue

@@ -283,7 +283,6 @@
 			luck_draw_finish(param) {
 				this.aleartType = 2
 				this.aleartStatus = true
-				// console.log(`抽到第${param+1}个方格的奖品`)
 			},
 			qrR(res) {
 				this.codeSrc = res

+ 3 - 6
template/uni-app/pages/activity/presell_details/index.vue

@@ -720,7 +720,6 @@
 						  let obj = res.data.productValue[key];
 						  that.skuArr.push(obj);
 						}
-						console.log(that.skuArr)
 						that.$set(that, "selectSku", that.skuArr[0]);
 						var navList = ['商品', '评价', '详情'];
 						if (goodArray.length) {
@@ -1317,12 +1316,10 @@
 			},
 			//滑动轮播图选择商品
 			changeSwitch(e) {
-				console.log(this.skuArr,e)
 			  let productSelect = this.skuArr[e];
 			  this.$set(this, "selectSku", productSelect);
 			  var skuList = productSelect.suk.split(",");
 			  this.$set(this.attr.productAttr[0], "index", skuList[0]);
-				console.log(this.skuList)
 			  if (skuList.length == 2) {
 			    this.$set(this.attr.productAttr[0], "index", skuList[0]);
 			    this.$set(this.attr.productAttr[1], "index", skuList[1]);
@@ -1921,7 +1918,7 @@
 	  display: block;
 	  margin-right: 14rpx;
 	}
-	
+
 	.switchTxt {
 	  height: 60rpx;
 	  flex: 1;
@@ -1932,7 +1929,7 @@
 	  border-radius: 8rpx;
 	  text-align: center;
 	}
-	
+
 	.attribute {
 	  padding: 10rpx 30rpx;
 	  .line1 {
@@ -1947,7 +1944,7 @@
 	.flexs {
 	  display: flex;
 	}
-	
+
 	.attr-txt {
 	  display: flex;
 	  flex-wrap: nowrap;

+ 2 - 3
template/uni-app/pages/customer_list/chat.vue

@@ -236,7 +236,6 @@
 			// #endif
 			// 初始化
 			if (app.globalData.isWsOpen) {
-				console.log('2222')
 				this.$socket.send({
 					data: {
 						token: this.$store.state.app.token,
@@ -275,13 +274,13 @@
 				});
 				this.$nextTick(e => {
 					this.getChatList();
-				})	
+				})
 			});
 			// 监听客服转接
 			uni.$on('to_transfer', data => {
 				this.toUid = data.toUid;
 				this.$socket.send({
-					
+
 					data: {
 						id: this.toUid
 					},

+ 0 - 1
template/uni-app/pages/guide/index.vue

@@ -33,7 +33,6 @@
 					return
 				}
 				getOpenAdv().then(res => {
-					console.log(res)
 					if (!res.data.length) {
 						uni.switchTab({
 							url: '/pages/index/index'

+ 4 - 6
template/uni-app/pages/points_mall/integral_goods_details.vue

@@ -319,7 +319,7 @@
 			// #endif
 			/**
 			 * 购物车手动填写
-			 * 
+			 *
 			 */
 			iptCartNum: function(e) {
 				this.$set(this.attribute.productSelect, 'cart_num', e);
@@ -394,7 +394,7 @@
 			},
 			/**
 			 * 默认选中属性
-			 * 
+			 *
 			 */
 			DefaultSelect: function() {
 				let self = this
@@ -475,7 +475,7 @@
 			},
 			/**
 			 * 购物车数量加和数量减
-			 * 
+			 *
 			 */
 			ChangeCartNum: function(changeValue) {
 				//changeValue:是否 加|减
@@ -519,7 +519,7 @@
 			},
 			/**
 			 * 属性变动赋值
-			 * 
+			 *
 			 */
 			ChangeAttr: function(res) {
 				this.$set(this, 'cart_num', 1);
@@ -585,11 +585,9 @@
 			},
 			//滑动轮播图选择商品
 			changeSwitch(e) {
-				console.log(this.skuArr[e])
 				let productSelect = this.skuArr[e];
 				this.$set(this, "selectSku", productSelect);
 				var skuList = productSelect.suk.split(",");
-				console.log(this.attribute.productAttr)
 				this.$set(this.attribute.productAttr[0], "index", skuList[0]);
 				if (skuList.length == 2) {
 					this.$set(this.attribute.productAttr[0], "index", skuList[0]);