diff --git a/App.vue b/App.vue index 936cb2d..f056d68 100644 --- a/App.vue +++ b/App.vue @@ -78,7 +78,7 @@ switch (option.scene) { //扫描小程序码 case 1047: - console.log(option, 'val') + // console.log(option, 'val') let val = that.$util.getUrlParams(decodeURIComponent(option.query.scene)); that.globalData.code = val; that.globalData.uid = val diff --git a/api/store.js b/api/store.js index 7126853..1ef4e99 100644 --- a/api/store.js +++ b/api/store.js @@ -169,7 +169,7 @@ export function getGroomList(type, data) { * 获取商品收藏列表 * @param object data */ -export function getCollectUserList(data) { +export function getCollectUserList(data) { return request.get('user/relation/product/lst', data) } /** diff --git a/api/upload.js b/api/upload.js index 1c6e395..9f80f6e 100644 --- a/api/upload.js +++ b/api/upload.js @@ -22,7 +22,7 @@ function uploads(src, type) { }, fail: (err) => { reject(err) - console.log('upload-上传失败', err) + // console.log('upload-上传失败', err) } }); }) @@ -47,7 +47,7 @@ function oaUploads(src, type) { }, fail: (err) => { reject(err) - console.log('upload-上传失败', err) + // console.log('upload-上传失败', err) } }); }) diff --git a/components/Authorize.vue b/components/Authorize.vue index 3b1ccb3..1b17c7b 100644 --- a/components/Authorize.vue +++ b/components/Authorize.vue @@ -116,7 +116,7 @@ } }, created() { - console.log('title' + this.title) + // console.log('title' + this.title) this.top = uni.getSystemInfoSync().windowHeight / 2 - 70 if (wx.getUserProfile) { this.canUseGetUserProfile = true @@ -175,12 +175,12 @@ toLogin(true); }, getUserProfile() { - console.log(11); + // console.log(11); toLogin(true); uni.navigateTo({ url: '/pages/users/login/login_copy' }) - console.log(22); + // console.log(22); return let self = this; Routine.getUserProfile() diff --git a/components/comment.vue b/components/comment.vue index cae8642..7895e6d 100644 --- a/components/comment.vue +++ b/components/comment.vue @@ -132,7 +132,7 @@ if (this.loadend || this.loading) return; const query = uni.createSelectorQuery().in(this); query.select('#reply').boundingClientRect(data => { - console.log(data) + // console.log(data) if(data.bottom < 1500 && data.top < 0) { this.getList(); } diff --git a/components/eidtUserModal/index.vue b/components/eidtUserModal/index.vue index f857bd4..982e3ee 100644 --- a/components/eidtUserModal/index.vue +++ b/components/eidtUserModal/index.vue @@ -105,7 +105,7 @@ this.$util.uploadImgs('upload/image', avatarUrl, (res) => { this.userInfo.avatar = res.data.path }, (err) => { - console.log(err) + // console.log(err) }) }, closeAttr: function() { diff --git a/components/payment/index.vue b/components/payment/index.vue index 4a51563..27a9da1 100644 --- a/components/payment/index.vue +++ b/components/payment/index.vue @@ -172,7 +172,7 @@ jsConfig.timeStamp = jsConfig.timestamp; // #ifndef APP-PLUS that.$wechat.pay(jsConfig).then(res => { - console.log('测试支付数据无效的success:'+res.data) + // console.log('测试支付数据无效的success:'+res.data) this.$emit('onChangeFun', { action: 'payClose' }); @@ -185,7 +185,7 @@ url: goPages + 'status=1' }); }).catch(res => { - console.log('测试支付数据无效的catch:'+res.data) + // console.log('测试支付数据无效的catch:'+res.data) if (res.errMsg == 'chooseWXPay:cancel'){ if(that.isCall){ return that.$util.Tips({ diff --git a/components/plantWaterfallsFlowItem/WaterfallsFlowItem.vue b/components/plantWaterfallsFlowItem/WaterfallsFlowItem.vue index 3003193..8332f75 100644 --- a/components/plantWaterfallsFlowItem/WaterfallsFlowItem.vue +++ b/components/plantWaterfallsFlowItem/WaterfallsFlowItem.vue @@ -115,7 +115,7 @@ export default { }); }else{ let user = this.isAuth ? 1 : 0; - console.log(this.uid) + // console.log(this.uid) uni.navigateTo({ //#ifdef APP url: '/pages/short_video/appSwiper/index?id='+item.community_id+'&user='+user+'&uid='+this.uid+'&tab='+this.tab diff --git a/components/rightSlider/index.vue b/components/rightSlider/index.vue index a647dac..84a737d 100644 --- a/components/rightSlider/index.vue +++ b/components/rightSlider/index.vue @@ -111,7 +111,7 @@ confirm(){ this.arrFilter1() this.arrFilter2() - console.log(this.activeList) + // console.log(this.activeList) let obj = { storeTypeArr:this.selectList, merList: this.activeList, diff --git a/components/rightSlidera.vue b/components/rightSlidera.vue index 4063084..6826149 100644 --- a/components/rightSlidera.vue +++ b/components/rightSlidera.vue @@ -116,7 +116,7 @@ }, confirm(){ this.arrFilter() - console.log(this.activeList) + // console.log(this.activeList) let obj = { brandList:this.activeList, price_on:this.min, diff --git a/components/ucharts/ucharts.js b/components/ucharts/ucharts.js index fdafca7..c105080 100644 --- a/components/ucharts/ucharts.js +++ b/components/ucharts/ucharts.js @@ -5287,7 +5287,7 @@ Charts.prototype.updateData = function() { Charts.prototype.zoom = function() { var val = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.opts.xAxis.itemCount; if (this.opts.enableScroll !== true) { - console.log('请启用滚动条后使用!') + // console.log('请启用滚动条后使用!') return; } //当前屏幕中间点 @@ -5424,7 +5424,7 @@ Charts.prototype.showToolTip = function(e) { touches = e.mp.changedTouches[0]; } if (!touches) { - console.log("touchError"); + // console.log("touchError"); } var _touches$ = getTouches(touches, this.opts, e); var currentOffset = this.scrollOption.currentOffset; diff --git a/components/userEvaluation/index.vue b/components/userEvaluation/index.vue index d5af1b6..45df1b0 100644 --- a/components/userEvaluation/index.vue +++ b/components/userEvaluation/index.vue @@ -57,7 +57,7 @@ }, methods: { getpreviewImage: function(indexw, indexn) { - console.log(this.reply) + // console.log(this.reply) uni.previewImage({ urls: this.reply[indexw].pics, current: this.reply[indexw].pics[indexn] diff --git a/components/verify/verifyPoint/verifyPoint.vue b/components/verify/verifyPoint/verifyPoint.vue index cb372c6..7acb248 100644 --- a/components/verify/verifyPoint/verifyPoint.vue +++ b/components/verify/verifyPoint/verifyPoint.vue @@ -237,7 +237,7 @@ } }, mounted() { - console.log(this.defaultImg) + // console.log(this.defaultImg) } } diff --git a/libs/chat.js b/libs/chat.js index 8a8c17e..2dac6a7 100644 --- a/libs/chat.js +++ b/libs/chat.js @@ -26,7 +26,7 @@ const Socket = function() { }, method: 'GET', success: (res) => { - console.log(res, 'success'); + // console.log(res, 'success'); } }); this.ws.onOpen(this.onSocketOpen.bind(this)) @@ -73,7 +73,7 @@ Socket.prototype = { }); }, onMessage: function(res) { - console.log(JSON.parse(res.data), 'onMessage') + // console.log(JSON.parse(res.data), 'onMessage') const { type, data = {} @@ -87,7 +87,7 @@ Socket.prototype = { uni.$emit("socket_close"); }, onError: function(e) { - console.log(e); + // console.log(e); uni.$emit("socket_error", e); }, close: function() { diff --git a/libs/uniApi.js b/libs/uniApi.js index fb5c95d..612c4c8 100644 --- a/libs/uniApi.js +++ b/libs/uniApi.js @@ -175,7 +175,7 @@ export function GetUserInfo() { return new Promise((reslove, reject) => { uni.getUserInfo({ success(res) { - console.log(res); + // console.log(res); reslove(res); }, fail(rej) { diff --git a/libs/wechat.js b/libs/wechat.js index 34c2c04..b4f1a4a 100644 --- a/libs/wechat.js +++ b/libs/wechat.js @@ -67,7 +67,7 @@ class AuthWechat { resolve(this.instance); }) }).catch(err => { - console.log(err); + // console.log(err); this.status = false; reject(err); }); @@ -179,7 +179,7 @@ class AuthWechat { * @param {Object} code */ auth(code) { - console.log('授权登陆获取token'); + // console.log('授权登陆获取token'); return new Promise((resolve, reject) => { let loginType = Cache.get(LOGINTYPE); commonAuth({ @@ -256,7 +256,7 @@ class AuthWechat { return new Promise((resolve, reject) => { let configDefault = { fail(res) { - console.log(res, 11111); + // console.log(res, 11111); if (that.instance) return reject({ is_ready: true, wx: that.instance diff --git a/manifest.json b/manifest.json index cfbfae5..7d2f7f5 100644 --- a/manifest.json +++ b/manifest.json @@ -1,188 +1,188 @@ { - "name": "CRMEB", - "appid": "__UNI__3A527D1", - "description": "", - "versionName": "1.0.4", - "versionCode": 127, - "transformPx": false, - /* 5+App特有相关 */ - "app-plus": { - "titleNView": true, - "usingComponents": true, - "nvueCompiler": "uni-app", - "nvueStyleCompiler": "uni-app", - "compilerVersion": 3, - "splashscreen": { - "alwaysShowBeforeRender": true, - "waiting": true, - "autoclose": true, - "delay": 0 - }, - /* 模块配置 */ - "modules": { - "VideoPlayer": {}, - "iBeacon": {}, - "Geolocation": {}, - "Barcode": {}, - "Camera": {} - }, - "safearea": { - "bottom": { - "offset": "none" - } - }, - /* 应用发布信息 */ - "distribute": { - /* android打包配置 */ - "android": { - "resizeableActivity": true, - "permissions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "abiFilters": ["armeabi-v7a", "arm64-v8a", "x86"], - "permissionExternalStorage": { - "request": "none", - "prompt": "应用保存运行状态等信息,需要获取读写手机存储(系统提示为访问设备上的照片、媒体内容和文件)权限,请允许。" + "name" : "CRMEB", + "appid" : "__UNI__039BCFE", + "description" : "", + "versionName" : "1.0.4", + "versionCode" : 127, + "transformPx" : false, + /* 5+App特有相关 */ + "app-plus" : { + "titleNView" : true, + "usingComponents" : true, + "nvueCompiler" : "uni-app", + "nvueStyleCompiler" : "uni-app", + "compilerVersion" : 3, + "splashscreen" : { + "alwaysShowBeforeRender" : true, + "waiting" : true, + "autoclose" : true, + "delay" : 0 }, - "permissionPhoneState": { - "request": "none" //拨打电话权限关闭 + /* 模块配置 */ + "modules" : { + "VideoPlayer" : {}, + "iBeacon" : {}, + "Barcode" : {}, + "Camera" : {}, + "Geolocation" : {} + }, + "safearea" : { + "bottom" : { + "offset" : "none" + } + }, + /* 应用发布信息 */ + "distribute" : { + /* android打包配置 */ + "android" : { + "resizeableActivity" : true, + "permissions" : [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ], + "permissionExternalStorage" : { + "request" : "none", + "prompt" : "应用保存运行状态等信息,需要获取读写手机存储(系统提示为访问设备上的照片、媒体内容和文件)权限,请允许。" + }, + "permissionPhoneState" : { + "request" : "none" //拨打电话权限关闭 + } + }, + /* ios打包配置 */ + "ios" : { + "privacyDescription" : { + "NSPhotoLibraryUsageDescription" : "上传用户头像保存分享海报", + "NSPhotoLibraryAddUsageDescription" : "上传用户头像保存分享海报", + "NSCameraUsageDescription" : "上传用户头像保存分享海报", + "NSLocationWhenInUseUsageDescription" : "根据客户地理位置推荐最近门店", + "NSLocationAlwaysUsageDescription" : "根据客户地理位置推荐最近门店" + }, + "idfa" : false, + "dSYMs" : false + }, + /* SDK配置 */ + "sdkConfigs" : { + "maps" : { + "amap" : { + "appkey_ios" : "", + "appkey_android" : "" + } + }, + "payment" : { + "alipay" : { + "__platform__" : [ "ios", "android" ] + } + }, + "share" : { + "weixin" : { + "appid" : "", + "UniversalLinks" : "https://mer.crmeb.net/" + } + }, + "geolocation" : { + "system" : { + "__platform__" : [ "ios", "android" ] + } + }, + "push" : {}, + "oauth" : { + "apple" : {} + }, + "ad" : {} + }, + "icons" : { + "android" : { + "hdpi" : "unpackage/res/icons/72x72.png", + "xhdpi" : "unpackage/res/icons/96x96.png", + "xxhdpi" : "unpackage/res/icons/144x144.png", + "xxxhdpi" : "unpackage/res/icons/192x192.png" + }, + "ios" : { + "appstore" : "unpackage/res/icons/1024x1024.png", + "ipad" : { + "app" : "unpackage/res/icons/76x76.png", + "app@2x" : "unpackage/res/icons/152x152.png", + "notification" : "unpackage/res/icons/20x20.png", + "notification@2x" : "unpackage/res/icons/40x40.png", + "proapp@2x" : "unpackage/res/icons/167x167.png", + "settings" : "unpackage/res/icons/29x29.png", + "settings@2x" : "unpackage/res/icons/58x58.png", + "spotlight" : "unpackage/res/icons/40x40.png", + "spotlight@2x" : "unpackage/res/icons/80x80.png" + }, + "iphone" : { + "app@2x" : "unpackage/res/icons/120x120.png", + "app@3x" : "unpackage/res/icons/180x180.png", + "notification@2x" : "unpackage/res/icons/40x40.png", + "notification@3x" : "unpackage/res/icons/60x60.png", + "settings@2x" : "unpackage/res/icons/58x58.png", + "settings@3x" : "unpackage/res/icons/87x87.png", + "spotlight@2x" : "unpackage/res/icons/80x80.png", + "spotlight@3x" : "unpackage/res/icons/120x120.png" + } + } + }, + "splashscreen" : { + "useOriginalMsgbox" : true + } } - }, - /* ios打包配置 */ - "ios": { - "privacyDescription": { - "NSPhotoLibraryUsageDescription": "上传用户头像保存分享海报", - "NSPhotoLibraryAddUsageDescription": "上传用户头像保存分享海报", - "NSCameraUsageDescription": "上传用户头像保存分享海报", - "NSLocationWhenInUseUsageDescription": "根据客户地理位置推荐最近门店", - "NSLocationAlwaysUsageDescription": "根据客户地理位置推荐最近门店" + }, + /* 快应用特有相关 */ + "quickapp" : {}, + /* 小程序特有相关 */ + "mp-weixin" : { + "appid" : "wxfb4695444ab8d0d0", + "setting" : { + "urlCheck" : false, + "minified" : true, + "postcss" : true, + "es6" : true }, - "idfa": false, - "dSYMs": false - }, - /* SDK配置 */ - "sdkConfigs": { - "maps": { - "amap": { - "appkey_ios": "", - "appkey_android": "" - } + "permission" : { + "scope.userLocation" : { + "desc" : "获取您的位置" + } }, - "payment": { - "alipay": { - "__platform__": ["ios", "android"] - } + "requiredPrivateInfos" : [ "getLocation", "chooseAddress" ], + "usingComponents" : true + }, + "mp-alipay" : { + "usingComponents" : true + }, + "mp-baidu" : { + "usingComponents" : true + }, + "mp-toutiao" : { + "usingComponents" : true + }, + "h5" : { + "devServer" : { + "https" : false }, - "share": { - "weixin": { - "appid": "", - "UniversalLinks": "https://mer.crmeb.net/" - } + "router" : { + "mode" : "history", + "base" : "" }, - "geolocation": { - "system": { - "__platform__": ["ios", "android"] - } + "domain" : "", + "sdkConfigs" : { + "maps" : { + "qqmap" : { + "key" : "SMJBZ-WCHK4-ZPZUA-DSIXI-XDDVQ-XWFX7" + } + } }, - "push": {}, - "oauth": { - "apple": {} - }, - "ad": {} - }, - "icons": { - "android": { - "hdpi": "unpackage/res/icons/72x72.png", - "xhdpi": "unpackage/res/icons/96x96.png", - "xxhdpi": "unpackage/res/icons/144x144.png", - "xxxhdpi": "unpackage/res/icons/192x192.png" - }, - "ios": { - "appstore": "unpackage/res/icons/1024x1024.png", - "ipad": { - "app": "unpackage/res/icons/76x76.png", - "app@2x": "unpackage/res/icons/152x152.png", - "notification": "unpackage/res/icons/20x20.png", - "notification@2x": "unpackage/res/icons/40x40.png", - "proapp@2x": "unpackage/res/icons/167x167.png", - "settings": "unpackage/res/icons/29x29.png", - "settings@2x": "unpackage/res/icons/58x58.png", - "spotlight": "unpackage/res/icons/40x40.png", - "spotlight@2x": "unpackage/res/icons/80x80.png" - }, - "iphone": { - "app@2x": "unpackage/res/icons/120x120.png", - "app@3x": "unpackage/res/icons/180x180.png", - "notification@2x": "unpackage/res/icons/40x40.png", - "notification@3x": "unpackage/res/icons/60x60.png", - "settings@2x": "unpackage/res/icons/58x58.png", - "settings@3x": "unpackage/res/icons/87x87.png", - "spotlight@2x": "unpackage/res/icons/80x80.png", - "spotlight@3x": "unpackage/res/icons/120x120.png" - } - } - }, - "splashscreen": { - "useOriginalMsgbox": true - } + "title" : "加载中...", + "template" : "template.h5.html" } - }, - /* 快应用特有相关 */ - "quickapp": {}, - /* 小程序特有相关 */ - "mp-weixin": { - "appid": "wxfb4695444ab8d0d0", - "setting": { - "urlCheck": false, - "minified": true, - "postcss": true, - "es6": true - }, - "permission": { - "scope.userLocation": { - "desc": "获取您的位置" - } - }, - "requiredPrivateInfos": ["getLocation", "chooseAddress"], - "usingComponents": true - }, - "mp-alipay": { - "usingComponents": true - }, - "mp-baidu": { - "usingComponents": true - }, - "mp-toutiao": { - "usingComponents": true - }, - "h5": { - "devServer": { - "https": false - }, - "router": { - "mode": "history", - "base": "" - }, - "domain": "", - "sdkConfigs": { - "maps": { - "qqmap": { - "key": "SMJBZ-WCHK4-ZPZUA-DSIXI-XDDVQ-XWFX7" - } - } - }, - "title": "加载中...", - "template": "template.h5.html" - } -} \ No newline at end of file +} diff --git a/mixins/history.js b/mixins/history.js index 9945bf9..9ce4991 100644 --- a/mixins/history.js +++ b/mixins/history.js @@ -16,7 +16,7 @@ export default { }, methods: { getHistory() { - console.log(this.$util.getNowUrl(),'page') + // console.log(this.$util.getNowUrl(),'page') history({ page:this.$util.getNowUrl() }).then(res=>{}) diff --git a/pages/activity/assist/index.vue b/pages/activity/assist/index.vue index 6484a60..fabff7c 100644 --- a/pages/activity/assist/index.vue +++ b/pages/activity/assist/index.vue @@ -148,7 +148,7 @@ if (that.pageloading) return; this.pageloading = true getAssistList(data).then(res => { - console.log(res); + // console.log(res); var assistList = res.data.list; var loadend = assistList.length < that.limit; that.page++; diff --git a/pages/activity/assist_detail/index.vue b/pages/activity/assist_detail/index.vue index 4f4aedd..ad283bc 100644 --- a/pages/activity/assist_detail/index.vue +++ b/pages/activity/assist_detail/index.vue @@ -361,7 +361,7 @@ that.bargainUid = options.bargain || 0 } if (that.isLogin) { - console.log(that.bargainUid, 'that.bargainUid') + // console.log(that.bargainUid, 'that.bargainUid') if (that.bargainUid == 'undefined') { that.bargainUid = that.$store.state.app.uid } @@ -471,7 +471,7 @@ resolve(res.tempFilePath); }, fail: function(error) { - console.log(error) + // console.log(error) return that.$util.Tips({ title: `${error}` }); @@ -506,7 +506,7 @@ product_type: 3 }).then(async res => { that.codeImg = res.data.url; - console.log(this.codeImg) + // console.log(this.codeImg) that.$set(that, 'isDown', false); }).catch(err => { that.$util.Tips({ @@ -708,7 +708,7 @@ configTimeline ) .then(res => { - console.log(res); + // console.log(res); }) .catch(res => { if (res.is_ready) { diff --git a/pages/activity/combination_details/index.vue b/pages/activity/combination_details/index.vue index be32a96..b84ce84 100644 --- a/pages/activity/combination_details/index.vue +++ b/pages/activity/combination_details/index.vue @@ -581,11 +581,11 @@ phoneNumber: this.storeInfo.merchant.service_phone, // 成功回调 success: (res) => { - console.log('调用成功!') + // console.log('调用成功!') }, // 失败回调 fail: (res) => { - console.log('调用失败!') + // console.log('调用失败!') } }); }, @@ -614,7 +614,7 @@ this.$set(this.specsInfo, 'show', false); }, goProDetail(item) { - console.log(item, 'goProDetail') + // console.log(item, 'goProDetail') uni.redirectTo({ url: '/pages/goods_details/index?id=' + item.product_id }) @@ -1315,9 +1315,9 @@ "onMenuShareAppMessage", "onMenuShareTimeline" ], configAppMessage).then(res => { - console.log(res, '=============================>>WXAPI'); + // console.log(res, '=============================>>WXAPI'); }).catch(err => { - console.log(err); + // console.log(err); }) }); } diff --git a/pages/activity/combination_poster/index.vue b/pages/activity/combination_poster/index.vue index e0e40c2..8870898 100644 --- a/pages/activity/combination_poster/index.vue +++ b/pages/activity/combination_poster/index.vue @@ -190,7 +190,7 @@ uni.getImageInfo({ src: arr2[0], success: (res) => { - console.log(arr2) + // console.log(arr2) const WIDTH = res.width; const HEIGHT = res.height; ctx.drawImage(arr2[0], 0, 0, wd, hg); @@ -258,7 +258,7 @@ fileType: 'png', quality: 1, success: (res) => { - console.log(res) + // console.log(res) successFn && successFn(res.tempFilePath); uni.hideLoading(); } diff --git a/pages/activity/combination_status/index.vue b/pages/activity/combination_status/index.vue index 8451200..cb099a8 100644 --- a/pages/activity/combination_status/index.vue +++ b/pages/activity/combination_status/index.vue @@ -259,7 +259,7 @@ }, onShareTimeline: function() { let that = this; - console.log(app.globalData.openPages) + // console.log(app.globalData.openPages) return { title: '您的好友' + that.pinkAll[0].nickname + '邀请您参团' + that.storeCombination.store_name, query: { @@ -623,7 +623,7 @@ 'onMenuShareTimeline' ], configTimeline) .then(res => { - console.log(res); + // console.log(res); }) .catch(res => { if (res.is_ready) { diff --git a/pages/activity/goods_seckill/index.vue b/pages/activity/goods_seckill/index.vue index 03876f3..73f0b91 100644 --- a/pages/activity/goods_seckill/index.vue +++ b/pages/activity/goods_seckill/index.vue @@ -187,7 +187,7 @@ if (that.pageloading) return; this.pageloading = true getSeckillList(data).then(res => { - console.log(res); + // console.log(res); var seckillList = res.data.list; seckillList.map((item) => { item.percent = item.stock === 0 ? '0%' : (item.sales*100 / item.stock).toFixed(2) + '%'; diff --git a/pages/activity/goods_seckill_details/index.vue b/pages/activity/goods_seckill_details/index.vue index 8fe9b9c..73119f0 100644 --- a/pages/activity/goods_seckill_details/index.vue +++ b/pages/activity/goods_seckill_details/index.vue @@ -513,11 +513,11 @@ phoneNumber: this.storeInfo.merchant.service_phone, // 成功回调 success: (res) => { - console.log('调用成功!') + // console.log('调用成功!') }, // 失败回调 fail: (res) => { - console.log('调用失败!') + // console.log('调用失败!') } }); }, @@ -1153,7 +1153,7 @@ resolve(res.tempFilePath); }, fail: function(error) { - console.log(error) + // console.log(error) return that.$util.Tips({ title: `${error}` }); @@ -1266,7 +1266,7 @@ "onMenuShareAppMessage", "onMenuShareTimeline" ], configAppMessage).then(res => {}).catch(err => { - console.log(err); + // console.log(err); }) }); } diff --git a/pages/activity/lifeService/index.vue b/pages/activity/lifeService/index.vue index cd9876f..44d38b9 100644 --- a/pages/activity/lifeService/index.vue +++ b/pages/activity/lifeService/index.vue @@ -175,7 +175,7 @@ uni.getStorage({ key: 'GLOBAL_DATA', success: (res) => { - console.log(res); + // console.log(res); this.hide_mer_status = res.data.hide_mer_status this.storeList = [] if (res.data.mer_location == 1) { @@ -206,7 +206,7 @@ methods: { // 打开地图 showMaoLocation(lat, long) { - console.log(lat, long) + // console.log(lat, long) if (!lat || !long) return this.$util.Tips({ title: '请设置允许商城访问您的位置!' }); @@ -216,7 +216,7 @@ latitude: Number(lat), longitude: Number(long) }).then(res=>{ - console.log('success'); + // console.log('success'); }) }else{ //#endif @@ -225,7 +225,7 @@ longitude: parseFloat(long), scale: 8, success: function(res) { - console.log(res) + // console.log(res) }, }); // #ifdef H5 @@ -233,7 +233,7 @@ //#endif }, showStoreLocation(item) { - console.log(lat, long) + // console.log(lat, long) if (!item.lat || !item.long) return this.$util.Tips({ title: '请设置允许商城访问您的位置!' }); @@ -245,7 +245,7 @@ name: item.mer_name, address: item.mer_address ? item.mer_address: '', }).then(res=>{ - console.log('success'); + // console.log('success'); }) }else{ //#endif @@ -256,7 +256,7 @@ name: item.mer_name, address: item.mer_address ? item.mer_address: '', success: function(res) { - console.log(res) + // console.log(res) }, }); // #ifdef H5 @@ -277,7 +277,7 @@ lat: latitude, long: longitude }).then(res => { - console.log(res) + // console.log(res) this.detaile_address = res.data.address; this.recommend_address = res.data.address.length > 4 ? res.data.address.slice(0,4) + '...' : res.data.address }) @@ -330,7 +330,7 @@ //点击事件处理 set_where: function(e) { if (this.loading) return - console.log(this.downMenu, e) + // console.log(this.downMenu, e) this.storeList = [] this.firstKey = e this.sotreParam.page = 1 diff --git a/pages/activity/presell/index.vue b/pages/activity/presell/index.vue index 722f354..7ec4933 100644 --- a/pages/activity/presell/index.vue +++ b/pages/activity/presell/index.vue @@ -161,7 +161,7 @@ if (that.pageloading) return; this.pageloading = true getPresellList(data).then(res => { - console.log(res); + // console.log(res); var presellList = res.data.list; var loadend = presellList.length < that.limit; that.page++; diff --git a/pages/activity/presell_details/index.vue b/pages/activity/presell_details/index.vue index 4d1f7a4..f79f205 100644 --- a/pages/activity/presell_details/index.vue +++ b/pages/activity/presell_details/index.vue @@ -484,7 +484,7 @@ app.globalData.spid = options.spid; that.currSpid = options.spid } - console.log(that.currSpid) + // console.log(that.currSpid) var pages = getCurrentPages(); if (pages.length <= 1) { that.retunTop = false @@ -576,11 +576,11 @@ phoneNumber: this.storeInfo.merchant.service_phone, // 成功回调 success: (res) => { - console.log('调用成功!') + // console.log('调用成功!') }, // 失败回调 fail: (res) => { - console.log('调用失败!') + // console.log('调用失败!') } }); }, @@ -596,7 +596,7 @@ } }, goProDetail(item) { - console.log(item, 'goProDetail') + // console.log(item, 'goProDetail') uni.redirectTo({ url: '/pages/goods_details/index?id=' + item.product_id }) @@ -631,7 +631,7 @@ }); }, goActivity: function(e) { - console.log(e); + // console.log(e); let item = e; if (item.type === "1") { uni.navigateTo({ @@ -679,7 +679,7 @@ activeList.push(couponList[i]); } } - console.log(that.couponList) + // console.log(that.couponList) that.$set(that, 'couponList', activeList); }) }, @@ -866,7 +866,7 @@ */ ChangCoupons: function(e) { let coupon = e; - console.log(e); + // console.log(e); let couponList = this.$util.ArrayRemove(this.couponList, 'id', coupon.id); this.$set(this, 'couponList', couponList); this.getCouponList(); @@ -892,7 +892,7 @@ }); let that = this; getPresellProductDetail(that.id).then(async res => { - console.log(res) + // console.log(res) uni.hideLoading(); let storeInfo = res.data.product; let presellInfo = res.data @@ -996,7 +996,7 @@ let value = []; let arr = [] let unSortArr = [] - console.log(arr, 'arr') + // console.log(arr, 'arr') for (var key in this.productValue) { if (this.productValue[key].stock > 0) { value = this.attr.productAttr.length ? key.split(",") : []; @@ -1006,7 +1006,7 @@ for (let i = 0; i < productAttr.length; i++) { this.$set(productAttr[i], "index", value[i]); } - console.log(value, 'value') + // console.log(value, 'value') //sort();排序函数:数字-英文-汉字; let productSelect = this.productValue[value.join(",")]; if (productSelect && productAttr.length) { @@ -1436,9 +1436,9 @@ "onMenuShareAppMessage", "onMenuShareTimeline" ], configAppMessage).then(res => { - console.log(res, '=============================>>WXAPI'); + // console.log(res, '=============================>>WXAPI'); }).catch(err => { - console.log(err); + // console.log(err); }) }); } diff --git a/pages/activity/topic_detail/index.vue b/pages/activity/topic_detail/index.vue index 538fecc..6807ee1 100644 --- a/pages/activity/topic_detail/index.vue +++ b/pages/activity/topic_detail/index.vue @@ -171,7 +171,7 @@ if (that.pageloading) return; this.pageloading = true getTopicProLst(data).then(res => { - console.log(res); + // console.log(res); var activety_goods = res.data.list; var loadend = activety_goods.length < that.limit; that.page++; diff --git a/pages/admin/order/index.vue b/pages/admin/order/index.vue index 506c7d8..f249337 100644 --- a/pages/admin/order/index.vue +++ b/pages/admin/order/index.vue @@ -152,7 +152,7 @@ getOrderStatistics: function(mer_id) { let that = this; const data = { product_type: this.where.product_type } - console.log('data', data); + // console.log('data', data); orderStatistics(mer_id, data).then( res => { that.census = res.data.order; diff --git a/pages/admin/orderDetail/index.vue b/pages/admin/orderDetail/index.vue index 672b428..bee21b1 100644 --- a/pages/admin/orderDetail/index.vue +++ b/pages/admin/orderDetail/index.vue @@ -370,7 +370,7 @@ that.getIndex(); }, err => { - console.log(err, 'err') + // console.log(err, 'err') that.change = false; that.$util.Tips({ title: err @@ -394,7 +394,7 @@ that.getIndex(); }, err => { - console.log(err, 'err') + // console.log(err, 'err') that.change = false; that.$util.Tips({ title: err @@ -408,7 +408,7 @@ }) } // data.remark = remark; - console.log(data); + // console.log(data); setAdminOrderRemark(that.mer_id,data.order_id,{ remark: remark }).then( res => { that.change = false; @@ -450,7 +450,7 @@ uni.setClipboardData({ data: id, success: function() { - console.log('success'); + // console.log('success'); } }); }, @@ -458,20 +458,20 @@ uni.setClipboardData({ data: id, success: function() { - console.log('success'); + // console.log('success'); } }); }, // #ifdef H5 webCopy(item, index) { - console.log('yunxingle') + // console.log('yunxingle') let items = item let indexs = index let self = this if (self.clickNum == 1) { - console.log('22') + // console.log('22') self.clickNum += 1 self.webCopy(items, indexs) } diff --git a/pages/admin/order_cancellation/index.vue b/pages/admin/order_cancellation/index.vue index b0dde4d..beecab3 100644 --- a/pages/admin/order_cancellation/index.vue +++ b/pages/admin/order_cancellation/index.vue @@ -126,7 +126,7 @@ scanType: ["qrCode", "barCode"], success(res) { self.verify_code = res.result - console.log(self.verify_code); + // console.log(self.verify_code); verifierOrder(self.mer_id,self.verify_code) .then(res => { uni.navigateTo({ @@ -148,7 +148,7 @@ // } }, fail(res) { - console.log(res); + // console.log(res); }, }) // #endif diff --git a/pages/admin/refundDetail/index.vue b/pages/admin/refundDetail/index.vue index c11cb60..f89abd1 100644 --- a/pages/admin/refundDetail/index.vue +++ b/pages/admin/refundDetail/index.vue @@ -314,7 +314,7 @@ uni.setClipboardData({ data: id, success: function() { - console.log('success'); + // console.log('success'); } }); }, @@ -322,7 +322,7 @@ uni.setClipboardData({ data: id, success: function() { - console.log('success'); + // console.log('success'); } }); }, diff --git a/pages/admin/stockOut/index.vue b/pages/admin/stockOut/index.vue index 76d4db4..a783911 100644 --- a/pages/admin/stockOut/index.vue +++ b/pages/admin/stockOut/index.vue @@ -322,7 +322,7 @@ that.addCartGoods(res.result) }, fail(res) { - console.log(res); + // console.log(res); }, }) }, @@ -350,21 +350,21 @@ const data = { cart_id: selectValue } this.popUpShow = true createtApi(data).then(res => { - console.log("createtApi", res.data); + // console.log("createtApi", res.data); if (res.data.status == "error") return Toast('生成二维码失败') if (res.status === 200) { this.payCodeUrl = res.data.config; this.$refs.qrcode._makeCode() } }).catch(err => { - console.log('err-createtApi', err); + // console.log('err-createtApi', err); }) }, // 扫码结束 // 授权关闭 authColse: function(e) { - console.log(e, 'authColse') + // console.log(e, 'authColse') this.isShowAuth = e; }, onLoadFun() { @@ -472,7 +472,7 @@ that.goods = JSON.parse((JSON.stringify(goods))); that.currSku = goods.productAttr.sku.split(","); that.$set(that.attr, 'productAttr', goods.attr); - console.log(this.attr) + // console.log(this.attr) const sku = {} that.attrValue = goods.productAttr.sku that.attrImage = goods.product.image @@ -494,7 +494,7 @@ let productAttr = this.attr.productAttr; let value = []; let arr = [] - console.log(arr, 'arr') + // console.log(arr, 'arr') if (this.currSku) { value = this.currSku } else { @@ -754,7 +754,7 @@ getCartList: function(isChange) { let that = this; getCartList({ product_type: 100 }).then(res => { - console.log("购物车", res) + // console.log("购物车", res) res.data.list.forEach((item, index) => { item.allCheck = true item.list.forEach((goods, j) => { @@ -928,7 +928,7 @@ ChangCouponsUseState(index) { let that = this; that.coupon.list[index].issue = true; - console.log(that.coupon.list[index]) + // console.log(that.coupon.list[index]) }, }, onReachBottom() { diff --git a/pages/auth/index.vue b/pages/auth/index.vue index 76ca15b..b05c990 100644 --- a/pages/auth/index.vue +++ b/pages/auth/index.vue @@ -33,7 +33,7 @@ } = option; wechat.auth(code, state) .then(() => { - console.log(decodeURIComponent(decodeURIComponent(option.back_url)),'back_url') + // console.log(decodeURIComponent(decodeURIComponent(option.back_url)),'back_url') const href = decodeURIComponent(decodeURIComponent(option.back_url)) location.replace(href) }) diff --git a/pages/chat/customer_list/chat.vue b/pages/chat/customer_list/chat.vue index e5aa7bf..f0408ef 100644 --- a/pages/chat/customer_list/chat.vue +++ b/pages/chat/customer_list/chat.vue @@ -1069,9 +1069,9 @@ content: data, success: function(res) { if (res.confirm) { - console.log('用户点击确定'); + // console.log('用户点击确定'); } else if (res.cancel) { - console.log('用户点击取消'); + // console.log('用户点击取消'); } } }); diff --git a/pages/columnGoods/goods_search_con/index.vue b/pages/columnGoods/goods_search_con/index.vue index 376d112..b508402 100644 --- a/pages/columnGoods/goods_search_con/index.vue +++ b/pages/columnGoods/goods_search_con/index.vue @@ -401,7 +401,7 @@ }; }, onLoad: function(options) { - console.log(this.isLogin) + // console.log(this.isLogin) this.$set(this.where, 'cate_id', options.id || ''); this.title = options.title || ''; this.$set(this.where, 'keyword', options.searchValue || ''); @@ -415,7 +415,7 @@ uni.getStorage({ key: 'GLOBAL_DATA', success: (res) => { - console.log(res); + // console.log(res); if (res.data.mer_location == 1) { this.mer_location = res.data.mer_location this.selfLocation() @@ -448,7 +448,7 @@ methods: { //查看地图 showMaoLocation(lat, lon) { - console.log(lat, lon) + // console.log(lat, lon) if (!lat || !lon) return this.$util.Tips({ title: '请设置允许商城访问您的位置!' }); @@ -458,7 +458,7 @@ latitude: Number(lat), longitude: Number(lon) }).then(res => { - console.log('success'); + // console.log('success'); }) } else { //#endif @@ -470,7 +470,7 @@ name: '当前位置', address: this.detaile_address, success: function(res) { - console.log(res) + // console.log(res) }, }); // #ifdef H5 @@ -483,13 +483,13 @@ uni.getLocation({ type: 'gcj02', success: (res) => { - console.log(res) + // console.log(res) let latitude, longitude; latitude = res.latitude.toString(); longitude = res.longitude.toString(); this.latitude = res.latitude this.longitude = res.longitude - console.log(res) + // console.log(res) getGeocoder({ lat: latitude, long: longitude @@ -587,7 +587,7 @@ this.storeList = this.storeList.concat(res.data.list) this.count = res.data.count this.loading = false - console.log(this.storeList); + // console.log(this.storeList); }) }, // 店铺排序 @@ -673,13 +673,13 @@ this.where.brand_id = arr } this.activeIndex = index - console.log(this.where.brand_id) + // console.log(this.where.brand_id) this.rightBox = data.status this.where.price_on = data.price_on this.where.price_off = data.price_off this.where.is_trader = data.is_trader this.loadend = false; - console.log(this.where) + // console.log(this.where) this.$set(this.where, 'page', 1) this.get_product_list(true); @@ -779,7 +779,7 @@ that.hotPage, that.hotLimit, ).then(res => { - console.log(res); + // console.log(res); that.hotPage++ that.hotScroll = res.data.list.length < that.hotLimit that.hostProduct = that.hostProduct.concat(res.data.list) @@ -842,7 +842,7 @@ that.loading = false; that.loadTitle = loadend ? '已全部加载' : '加载更多'; that.$set(that, 'productList', productList); - console.log(that.productList) + // console.log(that.productList) that.$set(that.where, 'page', that.where.page + 1); }).catch(err => { that.loading = false; @@ -861,13 +861,13 @@ } }, qctail(item) { - console.log(item); + // console.log(item); if (item.mer_certificate == '') { return } this.show = true this.image = item.mer_certificate[0] - console.log(this.show); + // console.log(this.show); }, close() { this.show = false diff --git a/pages/gather/gather.vue b/pages/gather/gather.vue index 3b64979..4859752 100644 --- a/pages/gather/gather.vue +++ b/pages/gather/gather.vue @@ -230,7 +230,7 @@ let that = this; getUserInfo().then(res => { that.userInfoData = res.data; - console.log(res.data.service); + // console.log(res.data.service); if(res.data.service == null){ // console.log('123'); this.isShow=false diff --git a/pages/goods_details/index.vue b/pages/goods_details/index.vue index 16e595b..c56c52e 100644 --- a/pages/goods_details/index.vue +++ b/pages/goods_details/index.vue @@ -707,10 +707,10 @@ let that = this; // #ifdef MP arrivalSubscribe().then((res) => { - console.log(res) + // console.log(res) that.arrivalNoticeFun(); }).catch(err => { - console.log(err) + // console.log(err) }); // #endif // #ifndef MP @@ -815,13 +815,13 @@ * */ iptCartNum: function(e) { - console.log(e); - console.log(this.productValue[this.attrValue]); + // console.log(e); + // console.log(this.productValue[this.attrValue]); let productSelect = this.productValue[this.attrValue] if ( e > productSelect.stock) { - console.log('1'); + // console.log('1'); e = productSelect.stock - console.log(e); + // console.log(e); } this.$set(this.attr.productSelect, 'cart_num', e); }, @@ -902,7 +902,7 @@ //如果没有属性,赋值给商品默认库存 if (productSelect === undefined && !this.attr.productAttr.length) productSelect = this.attr.productSelect; - console.log(productSelect); + // console.log(productSelect); //无属性值即库存为0;不存在加减; if (productSelect === undefined) return; let stock = productSelect.stock || 0; @@ -1618,7 +1618,7 @@ "onMenuShareAppMessage", "onMenuShareTimeline" ], configAppMessage).then(res => {}).catch(err => { - console.log(err); + // console.log(err); }) }); } diff --git a/pages/index/component/activeParty.vue b/pages/index/component/activeParty.vue index 91d174a..68198c4 100644 --- a/pages/index/component/activeParty.vue +++ b/pages/index/component/activeParty.vue @@ -55,7 +55,7 @@ goDetail(url){ let urls = url.info[2].value urls = merPath(urls, this.merId) - console.log(urls,'urls'); + // console.log(urls,'urls'); if(urls.indexOf("http") != -1){ // #ifdef H5 location.href = urls diff --git a/pages/index/component/homeComb.vue b/pages/index/component/homeComb.vue index b0ddcae..0a8ea3e 100644 --- a/pages/index/component/homeComb.vue +++ b/pages/index/component/homeComb.vue @@ -275,7 +275,7 @@ }, fail: function(error) { that.$set(that, 'imageH', 310); - console.log(error, 'error') + // console.log(error, 'error') } }) }) diff --git a/pages/index/component/news.vue b/pages/index/component/news.vue index 44fad63..7c829a6 100644 --- a/pages/index/component/news.vue +++ b/pages/index/component/news.vue @@ -57,7 +57,7 @@ methods: { goDetail(url){ let urls = merPath(url, this.merId) - console.log(urls,'urls'); + // console.log(urls,'urls'); if(urls.indexOf("http") != -1){ // #ifdef H5 location.href = urls diff --git a/pages/index/index.vue b/pages/index/index.vue index 144314a..741c27f 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -184,7 +184,7 @@ }) }, getGoods: function(item) { - console.log(item); + // console.log(item); graphicLstApi(this.where).then(res => { this.cateGoods.push(...res.data.list) if (res.data.list.length < this.where.limit) this.status = 'nomore' diff --git a/pages/index/index_two.vue b/pages/index/index_two.vue index 3011f4d..ea59e7b 100644 --- a/pages/index/index_two.vue +++ b/pages/index/index_two.vue @@ -891,7 +891,7 @@ export default { setVisit({ url: '/pages/index/index' }).then(res => { - console.log(res); + // console.log(res); }); }, // 导航分类切换 @@ -1053,10 +1053,10 @@ export default { this.$wechat .wechatEvevt(['updateAppMessageShareData', 'updateTimelineShareData', 'onMenuShareAppMessage', 'onMenuShareTimeline'], configAppMessage) .then(res => { - console.log(res, '=============================>>WXAPI'); + // console.log(res, '=============================>>WXAPI'); }) .catch(err => { - console.log(err); + // console.log(err); }); } }, diff --git a/pages/nongKe/cpns/goodsPopup.vue b/pages/nongKe/cpns/goodsPopup.vue index c64d8a8..4703b90 100644 --- a/pages/nongKe/cpns/goodsPopup.vue +++ b/pages/nongKe/cpns/goodsPopup.vue @@ -52,7 +52,7 @@ addor(item, index) { this.info.num += item; if (this.info.num <= 0) { - console.log(goods_info); + // console.log(goods_info); this.info.num = 1; } }, diff --git a/pages/nongKe/gather/select_warehouse.vue b/pages/nongKe/gather/select_warehouse.vue index adf8a5a..498460b 100644 --- a/pages/nongKe/gather/select_warehouse.vue +++ b/pages/nongKe/gather/select_warehouse.vue @@ -126,12 +126,12 @@ Toast(e.data.msg) this.addGoodsShow = false } else { - console.log(e); + // console.log(e); Toast(e.message) this.addGoodsShow = false } }).catch(err => { - console.log(err); + // console.log(err); if (err == "已经导入过该商品了") { Toast('已经导入过该商品了') this.addGoodsShow = false @@ -211,7 +211,7 @@ }, fail(res) { - console.log(res); + // console.log(res); }, }) }, diff --git a/pages/nongKe/supply_chain/component/rightSlider.vue b/pages/nongKe/supply_chain/component/rightSlider.vue index 94d6ee6..0eff870 100644 --- a/pages/nongKe/supply_chain/component/rightSlider.vue +++ b/pages/nongKe/supply_chain/component/rightSlider.vue @@ -112,7 +112,7 @@ confirm(){ this.arrFilter1() this.arrFilter2() - console.log(this.activeList) + // console.log(this.activeList) let obj = { storeTypeArr:this.selectList, merList: this.activeList, diff --git a/pages/nongKe/supply_chain/component/shop_card.vue b/pages/nongKe/supply_chain/component/shop_card.vue index bc82b0a..21c6271 100644 --- a/pages/nongKe/supply_chain/component/shop_card.vue +++ b/pages/nongKe/supply_chain/component/shop_card.vue @@ -64,7 +64,7 @@ }) }, goStore(id) { - console.log(this.isDetail); + // console.log(this.isDetail); if (this.isDetail == 2) { uni.navigateTo({ url: `/pages/store/home/index?id=${id}` diff --git a/pages/nongKe/supply_chain/finance.vue b/pages/nongKe/supply_chain/finance.vue index 77c1a3a..3dadda9 100644 --- a/pages/nongKe/supply_chain/finance.vue +++ b/pages/nongKe/supply_chain/finance.vue @@ -54,7 +54,7 @@ } }, onLoad(options) { - console.log(options.merid,'123'); + // console.log(options.merid,'123'); this.merId = options.merid }, onShow() { @@ -83,7 +83,7 @@ //默认是未发货查询 async getDefaultData() { const res = await getOrderList(this.serObj, this.merId) - console.log(res); + // console.log(res); this.goodsList = res.data.list }, //去发货--- diff --git a/pages/nongKe/supply_chain/goods_list.vue b/pages/nongKe/supply_chain/goods_list.vue index 9951fb9..43a20d5 100644 --- a/pages/nongKe/supply_chain/goods_list.vue +++ b/pages/nongKe/supply_chain/goods_list.vue @@ -126,7 +126,7 @@ productDetail(item.mer_id, item.product_id).then(res => { this.particulars = res.data }) - console.log('打开弹框', item); + // console.log('打开弹框', item); }, popupClose() { this.goodsPrive = '' diff --git a/pages/nongKe/supply_chain/merchant.vue b/pages/nongKe/supply_chain/merchant.vue index 1a07312..5027e61 100644 --- a/pages/nongKe/supply_chain/merchant.vue +++ b/pages/nongKe/supply_chain/merchant.vue @@ -119,7 +119,7 @@ }) }, valChange(e) { - console.log('当前值为: ' + e.value) + // console.log('当前值为: ' + e.value) }, //添加购物车 *data是修改过后的参数 handelInfo(data) {}, @@ -186,7 +186,7 @@ // }) let that = this; const count = '1' - console.log(111); + // console.log(111); getProductDetail(item.product_id, { product_type: 98 }).then(res => { const unique = Object.values(res.data.sku)[0].unique that.goCat(res.data.product_id, count, unique) diff --git a/pages/nongKe/supply_chain/purchase_control.vue b/pages/nongKe/supply_chain/purchase_control.vue index 12f8198..10b28cb 100644 --- a/pages/nongKe/supply_chain/purchase_control.vue +++ b/pages/nongKe/supply_chain/purchase_control.vue @@ -418,7 +418,7 @@ methods: { // 查看位置 location(e) { - console.log(e) + // console.log(e) this.getOrderInfo(e) }, // 打开地图 @@ -427,7 +427,7 @@ .$util.Tips({ title: '请设置允许商城访问您的位置!' }); - console.log("asdf", this.$wechat) + // console.log("asdf", this.$wechat) let that = this, lat = parseFloat(e.take.mer_take_location[0]), long = parseFloat(e.take.mer_take_location[1]) @@ -438,7 +438,7 @@ longitude: Number(long), address: e.take ? e.take.mer_take_name : '' }).then(res => { - console.log('success'); + // console.log('success'); }) } else { //#endif @@ -457,11 +457,11 @@ getOrderInfo: function(e) { let that = this; getOrderDetail(e).then(res => { - console.log("osss", res) + // console.log("osss", res) that.showMaoLocation(res.data) }).catch(err => { // uni.hideLoading(); - console.log("ossdds", err) + // console.log("ossdds", err) that.$util.Tips({ title: err }); @@ -691,11 +691,11 @@ that.isReady = true; let list = res.data.list || []; let loadend = list.length < that.limit; - console.log(that.orderList) + // console.log(that.orderList) that.orderList = that.page == 1 ? list : that.$util.SplitArray(list, that .orderList); that.$set(that, 'orderList', that.orderList); - console.log(that.orderList) + // console.log(that.orderList) that.getProductCount(); that.loadend = loadend; that.loading = false; diff --git a/pages/nongKe/supply_chain/shopping_trolley.vue b/pages/nongKe/supply_chain/shopping_trolley.vue index 30633e1..fea09f7 100644 --- a/pages/nongKe/supply_chain/shopping_trolley.vue +++ b/pages/nongKe/supply_chain/shopping_trolley.vue @@ -280,7 +280,7 @@ methods: { // 授权关闭 authColse: function(e) { - console.log(e, 'authColse') + // console.log(e, 'authColse') this.isShowAuth = e; }, onLoadFun() { @@ -388,7 +388,7 @@ that.goods = JSON.parse((JSON.stringify(goods))); that.currSku = goods.productAttr.sku.split(","); that.$set(that.attr, 'productAttr', goods.attr); - console.log(this.attr) + // console.log(this.attr) const sku = {} that.attrValue = goods.productAttr.sku that.attrImage = goods.product.image @@ -410,7 +410,7 @@ let productAttr = this.attr.productAttr; let value = []; let arr = [] - console.log(arr, 'arr') + // console.log(arr, 'arr') if (this.currSku) { value = this.currSku } else { @@ -551,7 +551,7 @@ Toast(res.result) }, fail(res) { - console.log(res); + // console.log(res); }, }) // #endif @@ -662,7 +662,7 @@ getCartNum: function() { let that = this; getCartCounts({ product_type: 98 }).then(res => { - console.log(res); + // console.log(res); that.cartTotalCount = res.data[0].count || 0; }); }, @@ -670,7 +670,7 @@ getCartList: function(isChange) { let that = this; getCartList({ product_type: 98 }).then(res => { - console.log("购物车", res) + // console.log("购物车", res) res.data.list.forEach((item, index) => { item.allCheck = true item.list.forEach((goods, j) => { @@ -844,7 +844,7 @@ ChangCouponsUseState(index) { let that = this; that.coupon.list[index].issue = true; - console.log(that.coupon.list[index]) + // console.log(that.coupon.list[index]) }, }, onReachBottom() { diff --git a/pages/nongKe/supply_chain/supplier-copy.vue b/pages/nongKe/supply_chain/supplier-copy.vue index e390fe9..2abb398 100644 --- a/pages/nongKe/supply_chain/supplier-copy.vue +++ b/pages/nongKe/supply_chain/supplier-copy.vue @@ -263,7 +263,7 @@ async getStoreMerchant() { const res = await storeMerchantList(this.sotreParam) this.storeMerchant.push(...res.data.list) - console.log(this.storeMerchant); + // console.log(this.storeMerchant); if (res.data.list.length < 10) this.status = 'nomore' }, async searchStoreMerchant() { @@ -314,7 +314,7 @@ this.show = false }, select(e) { - console.log('select', e); + // console.log('select', e); }, scrolltolower() { diff --git a/pages/nongKe/supply_chain/supplier.vue b/pages/nongKe/supply_chain/supplier.vue index 446f8b7..3b18058 100644 --- a/pages/nongKe/supply_chain/supplier.vue +++ b/pages/nongKe/supply_chain/supplier.vue @@ -405,7 +405,7 @@ name: '当前位置', address: this.location_address }).then(res => { - console.log('success'); + // console.log('success'); }) } else { //#endif @@ -416,7 +416,7 @@ address: this.location_address, scale: 8, success: function(res) { - console.log(res) + // console.log(res) }, }); // #ifdef H5 @@ -435,7 +435,7 @@ name: item.mer_name, address: item.mer_address ? item.mer_address : '', }).then(res => { - console.log('success'); + // console.log('success'); }) } else { //#endif @@ -446,7 +446,7 @@ name: item.mer_name, address: item.mer_address ? item.mer_address : '', success: function(res) { - console.log(res) + // console.log(res) }, }); // #ifdef H5 @@ -467,7 +467,7 @@ lat: latitude, long: longitude }).then(res => { - console.log(res) + // console.log(res) this.detaile_address = res.data.address; this.location_address = res.data.address; this.recommend_address = res.data.address.length > 4 ? res.data.address @@ -505,7 +505,7 @@ if (this.latitude) { rqData.location = this.latitude + ',' + this.longitude } - console.log(rqData) + // console.log(rqData) storeMerchantList(rqData).then(res => { this.count = res.data.count this.storeList = this.storeList.concat(res.data.list) @@ -588,13 +588,13 @@ uni.$emit('scroll'); }, qctail(item) { - console.log(item); + // console.log(item); if (item.mer_certificate == '') { return } this.show = true this.image = item.mer_certificate[0] - console.log(this.show); + // console.log(this.show); }, }, //刷新 diff --git a/pages/order_addcart/order_addcart.vue b/pages/order_addcart/order_addcart.vue index 07d8dc4..8079d9f 100644 --- a/pages/order_addcart/order_addcart.vue +++ b/pages/order_addcart/order_addcart.vue @@ -284,7 +284,7 @@ methods: { // 授权关闭 authColse: function(e) { - console.log(e,'authColse') + // console.log(e,'authColse') this.isShowAuth = e; }, onLoadFun(){ @@ -413,7 +413,7 @@ let productAttr = this.attr.productAttr; let value = []; let arr = [] - console.log(arr, 'arr') + // console.log(arr, 'arr') if(this.currSku){ value = this.currSku }else{ @@ -824,7 +824,7 @@ ChangCouponsUseState(index) { let that = this; that.coupon.list[index].issue = true; - console.log(that.coupon.list[index]) + // console.log(that.coupon.list[index]) }, }, onReachBottom() { diff --git a/pages/order_details/index.vue b/pages/order_details/index.vue index 7ef46dd..94e9364 100644 --- a/pages/order_details/index.vue +++ b/pages/order_details/index.vue @@ -545,7 +545,7 @@ } }) } else if(res.cancel) { - console.log('用户点击取消'); + // console.log('用户点击取消'); } } }); @@ -614,7 +614,7 @@ longitude: Number(long), address: that.orderInfo.take ? that.orderInfo.take.mer_take_name : '' }).then(res=>{ - console.log('success'); + // console.log('success'); }) }else{ //#endif @@ -739,7 +739,7 @@ // #ifndef H5 copy: function() { let that = this; - console.log(that.orderInfo.order_sn) + // console.log(that.orderInfo.order_sn) uni.setClipboardData({ data: that.orderInfo.order_sn, success: function(res){ @@ -841,7 +841,7 @@ if (res.confirm) { orderDel(self.orderInfo.order_id) .then((data) => { - console.log(data) + // console.log(data) self.$util.Tips({ title: data.msg }, { @@ -854,7 +854,7 @@ }); }); } else if (res.cancel) { - console.log('用户点击取消'); + // console.log('用户点击取消'); } } }); diff --git a/pages/order_details/stay.vue b/pages/order_details/stay.vue index ae19f85..723857f 100644 --- a/pages/order_details/stay.vue +++ b/pages/order_details/stay.vue @@ -861,7 +861,7 @@ uni.hideLoading(); that.$set(that, 'orderInfo', res.data); }).catch(err => { - console.log(err) + // console.log(err) uni.hideLoading(); that.$util.Tips({ title: err @@ -890,7 +890,7 @@ if (res.confirm) { unOrderCancel(self.order_id) .then((data) => { - console.log(data) + // console.log(data) self.$util.Tips({ title: data.message }, { @@ -901,7 +901,7 @@ self.getDetail(); }); } else if (res.cancel) { - console.log('用户点击取消'); + // console.log('用户点击取消'); } } }); diff --git a/pages/plantGrass/plant_detail/index.vue b/pages/plantGrass/plant_detail/index.vue index 1827e6c..37d7269 100644 --- a/pages/plantGrass/plant_detail/index.vue +++ b/pages/plantGrass/plant_detail/index.vue @@ -298,7 +298,7 @@ mask: true }); let data = this.followDetail; - console.log(data) + // console.log(data) let routes = getCurrentPages(); // 获取当前打开过的页面路由数组 let curRoute = routes[routes.length - 1].$page.fullPath // 获取当前页面路由,也就是最后一个打开的页面路由 uni.share({ @@ -532,7 +532,7 @@ } }) } else if(res.cancel) { - console.log('用户点击取消'); + // console.log('用户点击取消'); } } }); diff --git a/pages/plantGrass/plant_release/index.vue b/pages/plantGrass/plant_release/index.vue index 121f5cd..1d28b29 100644 --- a/pages/plantGrass/plant_release/index.vue +++ b/pages/plantGrass/plant_release/index.vue @@ -261,7 +261,7 @@ count: 1, sizeType: ['original'], success: (res) => { - console.log(res) + // console.log(res) let tempFilePaths = res.tempFilePaths[0] //#ifdef APP-PLUS if(uni.getSystemInfoSync().platform == 'ios'){ @@ -277,7 +277,7 @@ that.showCd = true; }, fail: err => { - console.log('失败了compressImage', tempFilePaths); + // console.log('失败了compressImage', tempFilePaths); that.imageSrc = tempFilePaths that.showCd = true } @@ -307,7 +307,7 @@ this.doUpload(res.tempFilePath) }else{ uni.hideLoading() - console.log(err) + // console.log(err) } }) }, diff --git a/pages/plantGrass/plant_search/index.vue b/pages/plantGrass/plant_search/index.vue index 7789df0..ee31038 100644 --- a/pages/plantGrass/plant_search/index.vue +++ b/pages/plantGrass/plant_search/index.vue @@ -107,7 +107,7 @@ self.historyList = [] } catch (e) {} } else if (res.cancel) { - console.log('用户点击取消'); + // console.log('用户点击取消'); } } }); diff --git a/pages/plantGrass/plant_topic/index.vue b/pages/plantGrass/plant_topic/index.vue index 33deda4..13e5f01 100644 --- a/pages/plantGrass/plant_topic/index.vue +++ b/pages/plantGrass/plant_topic/index.vue @@ -64,7 +64,7 @@ let that = this uni.getSystemInfo({ success: function(res) { - console.log(res,'res') + // console.log(res,'res') that.winHeight = res.windowHeight }, }); diff --git a/pages/plant_release/index.vue b/pages/plant_release/index.vue index 61566fc..9c366c2 100644 --- a/pages/plant_release/index.vue +++ b/pages/plant_release/index.vue @@ -221,7 +221,7 @@ // uni.hideTabBar() this.id = options.id; this.order_id = options.order_id; - console.log("options.order_id", options.order_id) + // console.log("options.order_id", options.order_id) this.tabActive = options.type || 1; if (this.community_app_switch.length == 1) { this.tabActive = this.community_app_switch[0] @@ -293,7 +293,7 @@ count: 1, sizeType: ['original'], success: (res) => { - console.log(res) + // console.log(res) let tempFilePaths = res.tempFilePaths[0] //#ifdef APP-PLUS if (uni.getSystemInfoSync().platform == 'ios') { @@ -309,7 +309,7 @@ that.showCd = true; }, fail: err => { - console.log('失败了compressImage', tempFilePaths); + // console.log('失败了compressImage', tempFilePaths); that.imageSrc = tempFilePaths that.showCd = true } @@ -339,7 +339,7 @@ this.doUpload(res.tempFilePath) } else { uni.hideLoading() - console.log(err) + // console.log(err) } }) }, @@ -457,7 +457,7 @@ }, screenChange(e) { let fullScreen = e.detail.fullScreen; //值true为进入全屏,false为退出全屏 - console.log(e, "qweeee========================================"); + // console.log(e, "qweeee========================================"); if (!fullScreen) { this.videoplay = false //退出全屏 this.videoplay = false; // 隐藏播放盒子 @@ -593,7 +593,7 @@ that.topicName = {} }, 1000); }).catch(err => { - console.log('aaa', value) + // console.log('aaa', value) return that.$util.Tips({ title: err }); diff --git a/pages/product/addGoods/addFreightTemplate.vue b/pages/product/addGoods/addFreightTemplate.vue index 5dee1c2..ad8910d 100644 --- a/pages/product/addGoods/addFreightTemplate.vue +++ b/pages/product/addGoods/addFreightTemplate.vue @@ -152,7 +152,7 @@ export default { watch: { billingData: { handler(val) { - console.log(val); + // console.log(val); }, deep: true } @@ -226,7 +226,7 @@ export default { if(!this.billingData.undelives)this.billingData.undelives = {} this.billingData.undelives['city_id'] = item.map(val => val.id); this.allReadySelect = item; - console.log(this.billingData.undelives) + // console.log(this.billingData.undelives) this.$refs.area_popup.close(); }, // 指定包邮开关 @@ -297,7 +297,7 @@ export default { }, // 打开配送区域及运费 goDistributionArea() { - console.log(this.billingData.region) + // console.log(this.billingData.region) this.$set(this.popup, 'show', true); this.$refs.distributionArea.initListData(); }, diff --git a/pages/product/addGoods/addGoodDetils.vue b/pages/product/addGoods/addGoodDetils.vue index 87e4099..1aae373 100644 --- a/pages/product/addGoods/addGoodDetils.vue +++ b/pages/product/addGoods/addGoodDetils.vue @@ -30,7 +30,7 @@ } }, getProductContent(obj) { - console.log(obj); + // console.log(obj); this.goodsDis = obj; this.a=obj.store_name }, diff --git a/pages/product/addGoods/index.vue b/pages/product/addGoods/index.vue index 1d5e835..d2cad51 100644 --- a/pages/product/addGoods/index.vue +++ b/pages/product/addGoods/index.vue @@ -393,8 +393,8 @@ }; }, onLoad(opt) { - console.log(this.deliveryFreeList); - console.log(opt); + // console.log(this.deliveryFreeList); + // console.log(opt); this.merId = Number(opt.mer_id); this.product_id = opt.product_id; if (opt.code) { @@ -426,7 +426,7 @@ this.initClasiffy(); }, beforeDestroy() { - console.log('123'); + // console.log('123'); uni.removeStorage({ key: 'addGoodsFormData' }); @@ -434,7 +434,7 @@ watch: { setFormData: { handler(val) { - console.log(val); + // console.log(val); setTimeout(() => { setStorage('addGoodsFormData', this.setFormData); }); @@ -589,7 +589,7 @@ }, doUpload(rsp) { let that = this - console.log(rsp); + // console.log(rsp); uni.uploadFile({ url: HTTP_REQUEST_URL + '/api/upload/image/field', filePath: rsp.path, @@ -605,12 +605,12 @@ [TOKENNAME]: 'Bearer ' + store.state.app.token }, success: (uploadFileRes) => { - console.log(uploadFileRes.data); + // console.log(uploadFileRes.data); let imgData = JSON.parse(uploadFileRes.data) that.setFormData.imageList.push(imgData.data.path) }, complete(res) { - console.log(res) + // console.log(res) } }); }, @@ -724,6 +724,7 @@ if (getStorage('attrValue')) { removeStorage('attrValue'); } + console.log(item); this.setFormData.specifica = item.template_name; this.setFormData.attr = []; this.setFormData.attr = this.setFormData.attr.concat(item.template_value); @@ -764,7 +765,7 @@ } else { this.transport[1].DoNotShow = true; } - console.log(this.transport[1]); + // console.log(this.transport[1]); } }, @@ -802,7 +803,7 @@ scrolltolower() {}, // 获取运费模板数据 getTempIdData(obj) { - console.log(obj); + // console.log(obj); this.setFormData.temp_id = obj[0].value; this.setFormData.tempName = obj[0].label; this.$refs.tempId.close(); @@ -816,7 +817,7 @@ // 开始下一步 handleNextStep() { - console.log(this.setFormData.setSpecificaValue) + // console.log(this.setFormData.setSpecificaValue) let canJumpFlag = true; let requireData = { image: '请选择主图', diff --git a/pages/product/addGoods/modifyPrice.vue b/pages/product/addGoods/modifyPrice.vue index e44f7c9..df37d0c 100644 --- a/pages/product/addGoods/modifyPrice.vue +++ b/pages/product/addGoods/modifyPrice.vue @@ -212,8 +212,8 @@ export default { batchData:{ handler(val){ console.log(val); - // this.multiSpecificationList - // setStorage('attrValue', this.multiSpecificationList); + this.multiSpecificationList + setStorage('attrValue', this.multiSpecificationList); }, deep:true, @@ -247,7 +247,7 @@ export default { }, doUpload(rsp) { - console.log(rsp); + // console.log(rsp); let that = this; uni.uploadFile({ url: HTTP_REQUEST_URL + '/api/upload/image/field', @@ -264,13 +264,13 @@ export default { [TOKENNAME]: 'Bearer ' + store.state.app.token }, success: (uploadFileRes) => { - console.log(uploadFileRes.data); + // console.log(uploadFileRes.data); let imgData = JSON.parse(uploadFileRes.data) that.multiSpecificationList[that.index]['image'] = imgData.data.path; }, complete(res) { - console.log(res) - console.log(that.multiSpecificationList); + // console.log(res) + // console.log(that.multiSpecificationList); } }); }, diff --git a/pages/product/addGoods/mulSpecification.vue b/pages/product/addGoods/mulSpecification.vue index 4e61095..8b0ddbf 100644 --- a/pages/product/addGoods/mulSpecification.vue +++ b/pages/product/addGoods/mulSpecification.vue @@ -49,7 +49,7 @@ export default { watch: { selectFormList: { handler(val) { - console.log(val); + // console.log(val); this.selectNum = val.filter(item => item.select).length; if(this.selectNum == val.length) { this.allSelect = true; @@ -67,7 +67,7 @@ export default { methods: { // 点击列表项 handleJumpLogic(item) { - console.log(item); + // console.log(item); uni.navigateTo({ url: `/pages/product/addGoods/specificationProperties?mer_id=${item.mer_id}&template_id=${item.attr_template_id}` }) diff --git a/pages/product/addGoods/secound.vue b/pages/product/addGoods/secound.vue index 782ae75..904aae9 100644 --- a/pages/product/addGoods/secound.vue +++ b/pages/product/addGoods/secound.vue @@ -123,7 +123,7 @@ }, created() { - console.log('123'); + // console.log('123'); this.initData(); }, @@ -138,7 +138,7 @@ }, resetKey: { handler(val) { - console.log(1); + // console.log(1); this.initData(); } } @@ -200,8 +200,8 @@ }; postData.attrValue = attrValue.filter(item => item != ''); - - postData.attrValue[0].bar_code = this.code + postData.attrValue[0].bar_code + // console.log(postData); if (getStorage('addGoodsFormData').spec_type == 0) { // postData.attr = [getStorage('singleSpecification')]; } diff --git a/pages/product/basicSet.vue b/pages/product/basicSet.vue index ecb13f7..b917345 100644 --- a/pages/product/basicSet.vue +++ b/pages/product/basicSet.vue @@ -259,7 +259,7 @@ this.merState = res.data.mer_state === 1 ? true : false // console.log('res', res.data); }).catch(err => { - console.log('err', err); + // console.log('err', err); }) }, checkboxChange(val) { @@ -315,7 +315,7 @@ uni.switchTab({ url: '/pages/gather/gather', fail: (err) => { - console.log('err', err); + // console.log('err', err); } }); }, 2000) diff --git a/pages/product/components/areas.vue b/pages/product/components/areas.vue index 835165b..e89842f 100644 --- a/pages/product/components/areas.vue +++ b/pages/product/components/areas.vue @@ -153,7 +153,7 @@ export default { }, // 删除所选地址 delSelectItem(item, index) { - console.log(1); + // console.log(1); this.selectList.splice(index, 1); }, // 点击确定按钮,抛出已选项 diff --git a/pages/product/components/distributionArea.vue b/pages/product/components/distributionArea.vue index f28d3cc..5bbac8f 100644 --- a/pages/product/components/distributionArea.vue +++ b/pages/product/components/distributionArea.vue @@ -122,7 +122,7 @@ export default { methods: { //初始化数据 initListData(){ - console.log(this.freightData) + // console.log(this.freightData) let arr = [...this.freightData] if(arr.length == 0){ arr = [ diff --git a/pages/product/components/inputGoodsDetils.vue b/pages/product/components/inputGoodsDetils.vue index 82ed026..5f5368f 100644 --- a/pages/product/components/inputGoodsDetils.vue +++ b/pages/product/components/inputGoodsDetils.vue @@ -89,7 +89,7 @@ watch: { prodectContent: { handler(val) { - console.log(val.store_name); + // console.log(val.store_name); this.upstore=val.store_name this.$emit('getProductContent', val); @@ -125,7 +125,7 @@ avatar.fChooseImg(1, { selWidth: '350upx', selHeight: '350upx', inner: true }); }, doUpload(rsp) { - console.log(rsp); + // console.log(rsp); let that = this uni.uploadFile({ url: HTTP_REQUEST_URL + '/api/upload/image/field', @@ -142,13 +142,13 @@ [TOKENNAME]: 'Bearer ' + store.state.app.token }, success: (uploadFileRes) => { - console.log(uploadFileRes.data); + // console.log(uploadFileRes.data); let imgData = JSON.parse(uploadFileRes.data) // that.prodectContent.imageList.push(imgData.data.path) that.prodectContent = { imageList: [...that.prodectContent.imageList, imgData.data.path] ,store_name:this.upstore} }, complete(res) { - console.log(res) + // console.log(res) } }); }, diff --git a/pages/product/components/linkageAssembly.vue b/pages/product/components/linkageAssembly.vue index 10ad02e..502a04e 100644 --- a/pages/product/components/linkageAssembly.vue +++ b/pages/product/components/linkageAssembly.vue @@ -146,7 +146,7 @@ export default { this.assemblyList = serialize(this.classifiedData); }, selectItem(item, samelevel) { - console.log(item); + // console.log(item); if (this.selectProductItem.multiple) { // 注意,只能选择最后一级 if (!item.children || !item.children.length) { diff --git a/pages/product/components/platform.vue b/pages/product/components/platform.vue index fefdaaf..0d8ce88 100644 --- a/pages/product/components/platform.vue +++ b/pages/product/components/platform.vue @@ -71,7 +71,7 @@ export default { }, // 选择标签 selectTap(item, index) { - console.log(item); + // console.log(item); if(index == 0){ this.tapList=[] this.selectClassifiedData = serialize(this.classifiedData); diff --git a/pages/product/components/store_classification.vue b/pages/product/components/store_classification.vue index c033154..02d6306 100644 --- a/pages/product/components/store_classification.vue +++ b/pages/product/components/store_classification.vue @@ -95,7 +95,7 @@ this.isShowLastItem = false; return; } - console.log(item); + // console.log(item); // 如果title被选中,选择子项时,删除后面所有title——item if (this.selectTapIndex > -1) { this.tapList.splice(this.selectTapIndex, 999); diff --git a/pages/product/goodsOnSale/index.vue b/pages/product/goodsOnSale/index.vue index a1238bd..2004e71 100644 --- a/pages/product/goodsOnSale/index.vue +++ b/pages/product/goodsOnSale/index.vue @@ -192,7 +192,7 @@ export default { }); }, editGoods(item) { - console.log(item); + // console.log(item); let waitDeleteData = [ 'addGoodsFormData', 'singleSpecification', diff --git a/pages/product/list/index.vue b/pages/product/list/index.vue index 6cbe43f..5831c42 100644 --- a/pages/product/list/index.vue +++ b/pages/product/list/index.vue @@ -250,7 +250,7 @@ icon: 'none' }) } else if (res.cancel) { - console.log('用户点击取消'); + // console.log('用户点击取消'); } } }); diff --git a/pages/product/recycleBin/index.vue b/pages/product/recycleBin/index.vue index 6a53492..41bbd89 100644 --- a/pages/product/recycleBin/index.vue +++ b/pages/product/recycleBin/index.vue @@ -87,7 +87,7 @@ export default { this.handleProductRestore(obj, index); } - console.log(item, obj); + // console.log(item, obj); } } }; diff --git a/pages/short_video/appSwiper/index.nvue b/pages/short_video/appSwiper/index.nvue index 99c8464..8da9de7 100644 --- a/pages/short_video/appSwiper/index.nvue +++ b/pages/short_video/appSwiper/index.nvue @@ -422,11 +422,11 @@ this.dataList[old_k].playIng = false //如果视频暂停,就加载封面 this.dataList[old_k].isplay = true this.dataList[old_k].state = 'pause' - console.log('预留第' + (old_k) + '个视频:' + this.dataList[old_k].community_id) + // console.log('预留第' + (old_k) + '个视频:' + this.dataList[old_k].community_id) // 2.0版本已经去掉了下面这一句,视频不用暂停,只需要把声音禁止就行 uni.createVideoContext(this.dataList[old_k].community_id, this) .pause() //如果视频暂停,那么旧视频停止,这里的this.dataList[old_k].id + '' + old_k,后面加 old_k 是为了每一个视频的 id 值不同,这样就可以大程度的避免串音问题 - console.log('已经暂停 --> 第' + (old_k) + '个视频~') //提示 + // console.log('已经暂停 --> 第' + (old_k) + '个视频~') //提示 this.dataList[new_k].state = 'play' this.dataList[new_k].isplay = false this.dataList[new_k].playIng = true @@ -435,7 +435,7 @@ }, onShow() { uni.hideLoading(); - console.log('回到前台' + this.dataList.length); + // console.log('回到前台' + this.dataList.length); if (this.dataList.length !== 0) { this.dataList[this.k].state = 'play'; setTimeout(() => { @@ -448,7 +448,7 @@ setTimeout(() => { uni.createVideoContext(this.dataList[this.k].community_id, this).pause(); //暂停以后继续播放 }, 250) - console.log('到后台'); + // console.log('到后台'); }, onLoad(options) { this.videoID = options.id || 0; @@ -456,7 +456,7 @@ this.userUid = options.uid ? options.uid : 0; this.isSatrt = options.tab == 1 ? 1 : 0; if (options.pid) app.globalData.spid = options.pid; - console.log('到后台'); + // console.log('到后台'); this.platform = uni.getSystemInfoSync().platform this.windowWidth = uni.getSystemInfoSync().screenWidth //获取屏幕宽度 this.boxStyle.width = this.windowWidth + 'px' //给宽度加px @@ -604,7 +604,7 @@ } }) } else if (res.cancel) { - console.log('用户点击取消'); + // console.log('用户点击取消'); } } }); @@ -808,13 +808,13 @@ if (uni.getSystemInfoSync().platform == 'ios') { this.k = i //判断了用户没有滑动,确认了用户的确是在看这个视频,然后就赋值啦 this.dataList[this.k].state = 'play' - console.log('正在播放 --> 第' + (this.k + 1) + '个视频~') + // console.log('正在播放 --> 第' + (this.k + 1) + '个视频~') } else { clearTimeout(this.timers); this.timers = setTimeout(() => { this.k = i //判断了用户没有滑动,确认了用户的确是在看这个视频,然后就赋值啦 this.dataList[this.k].state = 'play' - console.log('正在播放 --> 第' + (this.k + 1) + '个视频~') + // console.log('正在播放 --> 第' + (this.k + 1) + '个视频~') }, 80) } } diff --git a/pages/short_video/components/douyin-scrollview/douyin-scrollview.nvue b/pages/short_video/components/douyin-scrollview/douyin-scrollview.nvue index 893f76f..8446699 100644 --- a/pages/short_video/components/douyin-scrollview/douyin-scrollview.nvue +++ b/pages/short_video/components/douyin-scrollview/douyin-scrollview.nvue @@ -226,7 +226,7 @@ let that = this; let reply_id = that.reply_id ? that.reply_id : 0 replyCreateApi(that.id,{content: that.content,reply_id: reply_id}).then(res => { - console.log(res.message) + // console.log(res.message) if(res.status == 1){ if(that.isChild){ if(that.list[that.index]['children']){ @@ -254,7 +254,7 @@ toReply(item,index){ this.content = "" this.placeholder = '回复:'+item.author.nickname - console.log(this.placeholder) + // console.log(this.placeholder) this.reply_id = item.reply_id this.isChild = true this.index = index; diff --git a/pages/short_video/nvueSwiper/index.nvue b/pages/short_video/nvueSwiper/index.nvue index 6dfc652..3dad7cb 100644 --- a/pages/short_video/nvueSwiper/index.nvue +++ b/pages/short_video/nvueSwiper/index.nvue @@ -409,11 +409,11 @@ this.dataList[old_k].playIng = false //如果视频暂停,就加载封面 this.dataList[old_k].isplay = true this.dataList[old_k].state = 'pause' - console.log('预留第' + (old_k + 1) + '个视频:' + this.dataList[old_k].community_id + '' + old_k) + // console.log('预留第' + (old_k + 1) + '个视频:' + this.dataList[old_k].community_id + '' + old_k) // 2.0版本已经去掉了下面这一句,视频不用暂停,只需要把声音禁止就行 uni.createVideoContext(this.dataList[old_k].community_id + '' + old_k, this) .pause() //如果视频暂停,那么旧视频停止,这里的this.dataList[old_k].id + '' + old_k,后面加 old_k 是为了每一个视频的 id 值不同,这样就可以大程度的避免串音问题 - console.log('已经暂停 --> 第' + (old_k + 1) + '个视频~') //提示 + // console.log('已经暂停 --> 第' + (old_k + 1) + '个视频~') //提示 // #ifdef MP this.dataList[new_k].state = 'play' this.dataList[new_k].isplay = false @@ -428,7 +428,7 @@ } }, onLoad(options) { - console.log(options); + // console.log(options); this.getOptions(options); this.videoID = options.id; this.isUser = options.user == 1 ? true : false; @@ -577,7 +577,7 @@ } }) } else if (res.cancel) { - console.log('用户点击取消'); + // console.log('用户点击取消'); } } }); @@ -593,14 +593,14 @@ this.isShowAuth = e }, play(k) { - console.log(' 播放了', k) + // console.log(' 播放了', k) this.dataList[k].isplay = false this.dataList[k].playIng = true this.dataList[k].state = 'play' this.dataList[k].loading = false }, waiting(k) { - console.log('视频缓冲了', k) + // console.log('视频缓冲了', k) this.dataList[k].loading = true }, pinlunFun(e) { @@ -672,7 +672,7 @@ }, //点击播放&&暂停 tapVideoHover(state, event) { - console.log('state--', state); + // console.log('state--', state); // 1.启用双击点赞 --- start this.touchNum++; setTimeout(() => { @@ -941,7 +941,7 @@ return false; }); - console.log(this.posterImage) + // console.log(this.posterImage) if (this.posterImage) { this.posterImageStatus = true this.posters = false diff --git a/pages/store/applicationRecord/index.vue b/pages/store/applicationRecord/index.vue index d5f84fe..9d49e46 100644 --- a/pages/store/applicationRecord/index.vue +++ b/pages/store/applicationRecord/index.vue @@ -83,7 +83,7 @@ }, // 跳转逻辑 jump(item) { - console.log(item) + // console.log(item) if ([0, 2].includes(item.status)) { uni.navigateTo({ url: `/pages/store/settled/index?mer_i_id=${item.mer_intention_id}` diff --git a/pages/store/detail/index.vue b/pages/store/detail/index.vue index 9cafc76..51d0552 100644 --- a/pages/store/detail/index.vue +++ b/pages/store/detail/index.vue @@ -120,7 +120,7 @@ export default { key: 'GLOBAL_DATA', success: res => { this.mer_location = res.data.mer_location; - console.log(this.mer_location); + // console.log(this.mer_location); } }); this.id = options.mer_id || options.id; @@ -155,7 +155,7 @@ export default { }, //查看地图 showMaoLocation(lat, long) { - console.log(lat, long); + // console.log(lat, long); if (!lat || !long) return this.$util.Tips({ title: '请设置允许商城访问您的位置!' @@ -170,7 +170,7 @@ export default { address: this.store.mer_address ? this.store.mer_address : '' }) .then(res => { - console.log('success'); + // console.log('success'); }); } else { //#endif @@ -182,7 +182,7 @@ export default { name: this.store.mer_name, address: this.store.mer_address ? this.store.mer_address : '', success: function(res) { - console.log(res); + // console.log(res); } }); // #ifdef H5 @@ -252,7 +252,7 @@ export default { if (res.confirm) { uni.openSetting({ success: res => { - console.log(res.authSetting); + // console.log(res.authSetting); } }); } else if (res.cancel) { diff --git a/pages/store/home/index.vue b/pages/store/home/index.vue index 677dad2..6b02ff0 100644 --- a/pages/store/home/index.vue +++ b/pages/store/home/index.vue @@ -707,7 +707,7 @@ // #ifdef MP if (options.scene) { let value = this.$util.getUrlParams(decodeURIComponent(options.scene)); - console.log(value) + // console.log(value) if (value.id) this.id = value.id || 0; //记录推广人uid if (value.spid) { @@ -782,16 +782,16 @@ let list = res.data.list; let goodsList = that.$util.SplitArray(list, that.goods); let loadend = list.length < that.where.limit; - console.log(list.length); - console.log(that.where.limit); + // console.log(list.length); + // console.log(that.where.limit); that.loadend = loadend; that.loading = false; that.loadTitle = loadend ? '已全部加载' : '加载更多'; that.$set(that, 'goods', goodsList); that.$set(that.where, 'page', that.where.page + 1); - console.log(loadend); - console.log(that.loadTitle); - console.log(that.loadend); + // console.log(loadend); + // console.log(that.loadTitle); + // console.log(that.loadend); }).catch(err => { that.loading = false; that.goodsLoading = false; @@ -1148,7 +1148,7 @@ // 商铺底部切换 tab: function(param) { if (this.tabActive == param) { - console.log(123); + // console.log(123); this.getProductSpu() return false; } @@ -1188,7 +1188,7 @@ "onMenuShareAppMessage", "onMenuShareTimeline" ], configAppMessage).then(res => {}).catch(err => { - console.log(err); + // console.log(err); }) }); } @@ -1215,7 +1215,7 @@ } }, onPullDownRefresh() { - console.log('123'); + // console.log('123'); // 模拟上拉刷新 setTimeout(() => { const newList = this.goods.reverse(); diff --git a/pages/store/qualifications/index.vue b/pages/store/qualifications/index.vue index 1bcaa47..d0f83e0 100644 --- a/pages/store/qualifications/index.vue +++ b/pages/store/qualifications/index.vue @@ -73,7 +73,7 @@ export default { imgTap+=this.setImgTap(item); }) this.content = `

${imgTap}

`; - console.log(this.content); + // console.log(this.content); } }).catch(rej => { Toast(rej); @@ -93,7 +93,7 @@ export default { getCaptcha().then(res => { if (res.status == 200 && res.message == 'success') { this.captchaData = res.data; - console.log(this.captchaData); + // console.log(this.captchaData); } }); } diff --git a/pages/store/settled/index.vue b/pages/store/settled/index.vue index bf98155..0576694 100644 --- a/pages/store/settled/index.vue +++ b/pages/store/settled/index.vue @@ -367,7 +367,7 @@ // 获取历史提交数据详情 getGoodsDetails(id) { getGoodsDetails(id).then(res => { - console.log(res); + // console.log(res); let arr = Object.keys(this.merchantData) let resData = res.data arr.map(item => { @@ -411,7 +411,7 @@ this.validateBtn() }, bindPickerChange1: function(e) { - console.log(e); + // console.log(e); this.index1 = e.target.value let idx = e.target.value this.merchantData.mer_type = this.storeTypeArr[idx]['mer_type_id'] @@ -443,7 +443,7 @@ getStoreType: function() { getStoreTypeApi() .then(res => { - console.log(res); + // console.log(res); this.storeTypeArr = res.data }) .catch(res => { diff --git a/pages/store/settledApply/settledApply.vue b/pages/store/settledApply/settledApply.vue index eb16e87..8c622b8 100644 --- a/pages/store/settledApply/settledApply.vue +++ b/pages/store/settledApply/settledApply.vue @@ -147,7 +147,7 @@ this.isAgree = !this.isAgree; }, switchcChange(e) { - console.log(e); + // console.log(e); }, // 获取商户分类 async getClassfication() { @@ -191,7 +191,7 @@ } }, confirm(e) { - console.log('e', e); + // console.log('e', e); switch (this.keyName) { case 'category_name': this.mer_classification = e.value[0].category_name diff --git a/pages/store/shopStreet/index.vue b/pages/store/shopStreet/index.vue index a294bfc..a4c6360 100644 --- a/pages/store/shopStreet/index.vue +++ b/pages/store/shopStreet/index.vue @@ -367,7 +367,7 @@ name: '当前位置', address: this.location_address }).then(res=>{ - console.log('success'); + // console.log('success'); }) }else{ //#endif @@ -378,7 +378,7 @@ address: this.location_address, scale: 8, success: function(res) { - console.log(res) + // console.log(res) }, }); // #ifdef H5 @@ -397,7 +397,7 @@ name: item.mer_name, address: item.mer_address ? item.mer_address: '', }).then(res=>{ - console.log('success'); + // console.log('success'); }) }else{ //#endif @@ -408,7 +408,7 @@ name: item.mer_name, address: item.mer_address ? item.mer_address: '', success: function(res) { - console.log(res) + // console.log(res) }, }); // #ifdef H5 @@ -429,7 +429,7 @@ lat: latitude, long: longitude }).then(res => { - console.log(res) + // console.log(res) this.detaile_address = res.data.address; this.location_address = res.data.address; this.recommend_address = res.data.address.length > 4 ? res.data.address.slice(0,4) + '...' : res.data.address @@ -464,7 +464,7 @@ if (this.latitude) { rqData.location = this.latitude + ',' + this.longitude } - console.log(rqData) + // console.log(rqData) storeMerchantList(rqData).then(res => { this.count = res.data.count this.storeList = this.storeList.concat(res.data.list) diff --git a/pages/supply_chains/supply_chains.vue b/pages/supply_chains/supply_chains.vue index 6c7d535..63ce8db 100644 --- a/pages/supply_chains/supply_chains.vue +++ b/pages/supply_chains/supply_chains.vue @@ -189,7 +189,7 @@ // 点赞 giveStart(item) { let status = item.status ? 0 : 1 - console.log('item', item); + // console.log('item', item); graphicStartApi(item.community_id, { status: status }).then(res => { Toast(res.message) this.getArticleList() diff --git a/pages/user/index.vue b/pages/user/index.vue index b4c870d..1315d77 100644 --- a/pages/user/index.vue +++ b/pages/user/index.vue @@ -475,7 +475,7 @@ }, // 打开授权 openAuto() { - console.log('hajhcdsohjcosvjco') + // console.log('hajhcdsohjcosvjco') this.isAuto = true; this.isShowAuth = true }, @@ -522,7 +522,7 @@ data }) => { this.orderMenu.forEach((item, index) => { - console.log('item') + // console.log('item') switch (item.title) { case '待付款': item.num = data.noPay diff --git a/pages/users/embody/embody.vue b/pages/users/embody/embody.vue index 3aa4e9c..794fb33 100644 --- a/pages/users/embody/embody.vue +++ b/pages/users/embody/embody.vue @@ -250,7 +250,7 @@ onLoad(options) { this.merId = options.mer_id this.source = options.source - console.log(this.source) + // console.log(this.source) if (this.isLogin) { this.getUserInfo(); this.getUserExtractBank(); @@ -334,9 +334,9 @@ }, uploadpic: function() { let that = this; - console.log('地方'); + // console.log('地方'); that.$util.uploadImageOne('upload/image', function(res) { - console.log(res); + // console.log(res); that.pics.push(res.data.path); that.$set(that, 'pics', that.pics); that.$set(that, 'extract_pic', that.pics[0]) @@ -403,7 +403,7 @@ extract_price: e.detail.value.extract_price, extract_type: 3, } - console.log(value) + // console.log(value) // 提交提现方式 const mode = { name: value.real_name, diff --git a/pages/users/feedback/index.vue b/pages/users/feedback/index.vue index 30b846e..eea671a 100644 --- a/pages/users/feedback/index.vue +++ b/pages/users/feedback/index.vue @@ -137,7 +137,7 @@ }) => { this.tabList = data this.getFeedBack(data) - console.log(this.tabKey) + // console.log(this.tabKey) }) }, @@ -176,7 +176,7 @@ uploadpic: function() { let that = this; that.$util.uploadImageOne('upload/image', function(res) { - console.log(res, '回调') + // console.log(res, '回调') that.uploadImg.push(res.data.path); that.$set(that, 'uploadImg', that.uploadImg); }); diff --git a/pages/users/goods_comment_con/index.vue b/pages/users/goods_comment_con/index.vue index fb48542..2388b0c 100644 --- a/pages/users/goods_comment_con/index.vue +++ b/pages/users/goods_comment_con/index.vue @@ -157,9 +157,9 @@ */ uploadpic: function() { let that = this; - console.log('地方'); + // console.log('地方'); that.$util.uploadImageOne('upload/image', function(res) { - console.log(res); + // console.log(res); that.pics.push(res.data.path); that.$set(that, 'pics', that.pics); }); diff --git a/pages/users/goods_details_store/index.vue b/pages/users/goods_details_store/index.vue index 5937135..755d930 100644 --- a/pages/users/goods_details_store/index.vue +++ b/pages/users/goods_details_store/index.vue @@ -173,7 +173,7 @@ }); }, showMaoLocation(e) { - console.log(e) + // console.log(e) if (!e.latitude || !e.longitude) return this.$util.Tips({ title: '请设置允许商城访问您的位置!' }); @@ -183,7 +183,7 @@ latitude: Number(e.latitude), longitude: Number(e.longitude) }).then(res=>{ - console.log('success'); + // console.log('success'); }) }else{ //#endif @@ -191,7 +191,7 @@ latitude: parseFloat(e.latitude), longitude: parseFloat(e.longitude), success: function(res) { - console.log(res) + // console.log(res) }, }); // #ifdef H5 diff --git a/pages/users/goods_return/index.vue b/pages/users/goods_return/index.vue index a640fcb..90e35a7 100644 --- a/pages/users/goods_return/index.vue +++ b/pages/users/goods_return/index.vue @@ -159,7 +159,7 @@ * 申请退货 */ subRefund:function(e){ - console.log(e); + // console.log(e); let that = this, value = e.detail.value; //收集form表单 // if (!value.refund_reason_wap_explain) return app.Tips({title:'请输入退款原因'}); diff --git a/pages/users/login/index.vue b/pages/users/login/index.vue index 47ad162..88dd747 100644 --- a/pages/users/login/index.vue +++ b/pages/users/login/index.vue @@ -61,7 +61,7 @@ } }, onLoad(e) { - console.log('options', e) + // console.log('options', e) }, methods: { // App微信登录 @@ -93,7 +93,7 @@ }, wxLoginApi() { const that = this - console.log('appUserInfo', that.appUserInfo); + // console.log('appUserInfo', that.appUserInfo); commonAuth({ auth: { type: 'app_wechat', @@ -108,7 +108,7 @@ } }).then(res => { const data = res.data; - console.log('res', data); + // console.log('res', data); if (res.data.status == 200) { that.$Cache.clear(BACK_URL); that.$store.commit("LOGIN", { @@ -212,18 +212,18 @@ // console.log(res); }) } else { - console.log('登录失败!' + res.errMsg) + // console.log('登录失败!' + res.errMsg) } } }) }, fail(e) { - console.log('登录失败!' + res.errMsg) + // console.log('登录失败!' + res.errMsg) } }) } // #endif - console.log('验证码登录', data); + // console.log('验证码登录', data); let time = data.expires_time - Cache.time(); const backUrl = that.$Cache.get(BACK_URL) || "/pages/index/index"; that.$Cache.clear(BACK_URL); @@ -297,7 +297,7 @@ getPath(url) { if (url.indexOf("?") != -1) { url = url.split("?")[0]; - console.log(url); + // console.log(url); } return url }, diff --git a/pages/users/login/login_copy.vue b/pages/users/login/login_copy.vue index 52b196d..132b7b1 100644 --- a/pages/users/login/login_copy.vue +++ b/pages/users/login/login_copy.vue @@ -338,7 +338,7 @@ if (res.code) { that.codeVal = res.code } else { - console.log('登录失败!' + res.errMsg) + // console.log('登录失败!' + res.errMsg) } } }) @@ -455,7 +455,7 @@ icon: 'none', duration: 2000 }) - console.log(error) + // console.log(error) } }) }, @@ -542,7 +542,7 @@ getPath(url) { if (url.indexOf("?") != -1) { url = url.split("?")[0]; - console.log(url); + // console.log(url); } return url }, @@ -884,13 +884,13 @@ // console.log(res); }) } else { - console.log('登录失败!' + res.errMsg) + // console.log('登录失败!' + res.errMsg) } } }) }, fail(e) { - console.log('登录失败!' + res.errMsg) + // console.log('登录失败!' + res.errMsg) } }) } diff --git a/pages/users/order_confirm/index.vue b/pages/users/order_confirm/index.vue index e25b025..5994fdf 100644 --- a/pages/users/order_confirm/index.vue +++ b/pages/users/order_confirm/index.vue @@ -788,7 +788,7 @@ that.showProtocol = true; that.agrementTtile = '优惠券说明' getAgreementApi('sys_coupon_agree').then(res => { - console.log(res); + // console.log(res); that.protocol = res.data.sys_coupon_agree }) }, @@ -875,7 +875,7 @@ this.$set(this.cartInfo[i], 'invoiceData', {}) }); } - console.log(this.invoiceData) + // console.log(this.invoiceData) }, /* * 跳转门店列表 @@ -965,9 +965,9 @@ * */ getConfirm: function(address_id) { - console.log(address_id, 'address_id') + // console.log(address_id, 'address_id') let that = this; - console.log(that.cartId.split(",")) + // console.log(that.cartId.split(",")) uni.showLoading({ title: '', mask: true @@ -1582,7 +1582,7 @@ name: item.mer_name, address: item.take ? item.take.mer_take_address : '', }).then(res => { - console.log('success'); + // console.log('success'); }) } else { //#endif diff --git a/pages/users/order_list/index.vue b/pages/users/order_list/index.vue index 6dbd57d..c9812be 100644 --- a/pages/users/order_list/index.vue +++ b/pages/users/order_list/index.vue @@ -590,10 +590,10 @@ that.isReady = true; let list = res.data.list || []; let loadend = list.length < that.limit; - console.log(that.orderList) + // console.log(that.orderList) that.orderList = that.page == 1 ? list : that.$util.SplitArray(list, that.orderList); that.$set(that, 'orderList', that.orderList); - console.log(that.orderList) + // console.log(that.orderList) that.getProductCount(); that.loadend = loadend; that.loading = false; diff --git a/pages/users/order_list/search.vue b/pages/users/order_list/search.vue index 5dbd482..a3a45e2 100644 --- a/pages/users/order_list/search.vue +++ b/pages/users/order_list/search.vue @@ -422,7 +422,7 @@ * */ goPay: function(pay_price, order_id) { - console.log(order_id) + // console.log(order_id) this.$set(this, 'pay_close', true); this.order_id = order_id; this.pay_order_id = order_id.toString() @@ -542,7 +542,7 @@ if (that.loading) return; that.loading = true; that.loadTitle = "加载更多"; - console.log(that.store_name); + // console.log(that.store_name); getOrderList({ page: that.page, limit: that.limit, diff --git a/pages/users/presell_order_list/index.vue b/pages/users/presell_order_list/index.vue index f8e15fb..d61c385 100644 --- a/pages/users/presell_order_list/index.vue +++ b/pages/users/presell_order_list/index.vue @@ -251,7 +251,7 @@ * */ goPay: function(pay_price, order_id) { - console.log(order_id) + // console.log(order_id) this.$set(this, 'pay_close', true); this.order_id = order_id; this.pay_order_id = order_id.toString() diff --git a/pages/users/refund/detail.vue b/pages/users/refund/detail.vue index 8be4d16..5677725 100644 --- a/pages/users/refund/detail.vue +++ b/pages/users/refund/detail.vue @@ -254,7 +254,7 @@ } }) } else if(res.cancel) { - console.log('用户点击取消'); + // console.log('用户点击取消'); } } }); diff --git a/pages/users/refund/list.vue b/pages/users/refund/list.vue index edbaf9b..3aade51 100644 --- a/pages/users/refund/list.vue +++ b/pages/users/refund/list.vue @@ -170,7 +170,7 @@ icon:'none' }) } else if (res.cancel) { - console.log('用户点击取消'); + // console.log('用户点击取消'); } } }); diff --git a/pages/users/retrievePassword/index.vue b/pages/users/retrievePassword/index.vue index 5765c51..9b046fa 100644 --- a/pages/users/retrievePassword/index.vue +++ b/pages/users/retrievePassword/index.vue @@ -111,7 +111,7 @@ again() { this.codeUrl = VUE_APP_API_URL + "/captcha?" + this.keyCode + Date.parse(new Date()); - console.log(this.codeUrl); + // console.log(this.codeUrl); }, async code(data) { @@ -140,7 +140,7 @@ }); that.sendCode(); }).catch(res => { - console.log(res, 'res') + // console.log(res, 'res') // that.getcaptcha(); that.$util.Tips({ title: res diff --git a/pages/users/user_address/index.vue b/pages/users/user_address/index.vue index d5334f3..495fc0c 100644 --- a/pages/users/user_address/index.vue +++ b/pages/users/user_address/index.vue @@ -219,7 +219,7 @@ that.userAddress.phone = res.telNumber; that.userAddress.detail = res.detailInfo; }).catch(err => { - console.log(err); + // console.log(err); }); }, selfLocation() { diff --git a/pages/users/user_address_list/index.vue b/pages/users/user_address_list/index.vue index 946d03e..b2adf0a 100644 --- a/pages/users/user_address_list/index.vue +++ b/pages/users/user_address_list/index.vue @@ -135,7 +135,7 @@ success: function(res) { uni.chooseAddress({ success: function(res) { - console.log(res,'res') + // console.log(res,'res') let addressP = {}; addressP.province = res.provinceName; addressP.city = res.cityName; @@ -179,7 +179,7 @@ if (res.confirm) { uni.openSetting({ success: function(res) { - console.log(res.authSetting) + // console.log(res.authSetting) } }); } else if (res.cancel) { @@ -338,7 +338,7 @@ let cartId = ''; let pinkId = ''; let couponId = ''; - console.log(id) + // console.log(id) if (this.cartId && id) { cartId = this.cartId; pinkId = this.pinkId; diff --git a/pages/users/user_cash/index.vue b/pages/users/user_cash/index.vue index 3f10457..064bcf6 100644 --- a/pages/users/user_cash/index.vue +++ b/pages/users/user_cash/index.vue @@ -269,7 +269,7 @@ let that = this; getBankInfo().then(res => { let info = res.data; - console.log(info) + // console.log(info) that.real_name = info.real_name; that.bank_name = info.bank_name; that.bank_code = info.bank_code; @@ -314,9 +314,9 @@ }, uploadpic: function() { let that = this; - console.log('地方'); + // console.log('地方'); that.$util.uploadImageOne('upload/image', function(res) { - console.log(res); + // console.log(res); that.pics.push(res.data.path); that.$set(that, 'pics', that.pics); that.$set(that, 'extract_pic', that.pics[0]) @@ -376,7 +376,7 @@ title: '提现金额不能低于' + that.minPrice }); value.extract_type = this.currentTab - console.log(value, 'value') + // console.log(value, 'value') that.load = true; if(that.sys_extension_type && that.currentTab == 1) value = {extract_price: e.detail.value.extract_price, extract_type: 3} diff --git a/pages/users/user_grade/index.vue b/pages/users/user_grade/index.vue index 5c30915..d20681d 100644 --- a/pages/users/user_grade/index.vue +++ b/pages/users/user_grade/index.vue @@ -318,7 +318,7 @@ getMemberInfo() { let that = this; memberInfo().then(res => { - console.log(res); + // console.log(res); let info = res.data let value = info.next_level && info.next_level.brokerage_rule || null; this.curLevel = info.member; diff --git a/pages/users/user_info/index.vue b/pages/users/user_info/index.vue index d66a122..3ccbd7e 100644 --- a/pages/users/user_info/index.vue +++ b/pages/users/user_info/index.vue @@ -234,7 +234,7 @@ }) }) }, (err) => { - console.log(err) + // console.log(err) }) }, // #ifdef APP-PLUS @@ -242,7 +242,7 @@ var that = this; plus.runtime.getProperty(plus.runtime.appid, (info) => { this.version = info.version; - console.log('当前版本:' + info.version) + // console.log('当前版本:' + info.version) }); }, //#endif @@ -309,10 +309,10 @@ }); }) .catch(err => { - console.log(err); + // console.log(err); }); } else if (res.cancel) { - console.log('用户点击取消'); + // console.log('用户点击取消'); } } }); diff --git a/pages/users/user_invoice_form/index.vue b/pages/users/user_invoice_form/index.vue index e839163..d38bd44 100644 --- a/pages/users/user_invoice_form/index.vue +++ b/pages/users/user_invoice_form/index.vue @@ -194,7 +194,7 @@ // 提交发票数据 formSubmit(e) { let formData = e.detail.value; - console.log(formData) + // console.log(formData) if (formData.receipt_title_type === '2') { if (!formData.receipt_title) { return this.$util.Tips({ @@ -286,7 +286,7 @@ } }) let arr = [formData] - console.log(that.addInvoice) + // console.log(that.addInvoice) if(that.addInvoice.length){ that.addInvoice.forEach((item, i) => { if (item.mer_id == that.mer_id) { diff --git a/pages/users/user_modify_phone/index.vue b/pages/users/user_modify_phone/index.vue index 8da5d86..f0def64 100644 --- a/pages/users/user_modify_phone/index.vue +++ b/pages/users/user_modify_phone/index.vue @@ -85,7 +85,7 @@ if (res.code) { that.codeVal = res.code } else { - console.log('登录失败!' + res.errMsg) + // console.log('登录失败!' + res.errMsg) } } }) diff --git a/pages/users/user_modify_pwd/index.vue b/pages/users/user_modify_pwd/index.vue index 199b104..ca81fce 100644 --- a/pages/users/user_modify_pwd/index.vue +++ b/pages/users/user_modify_pwd/index.vue @@ -87,7 +87,7 @@ if (res.code) { that.codeVal = res.code } else { - console.log('登录失败!' + res.errMsg) + // console.log('登录失败!' + res.errMsg) } } }) diff --git a/pages/users/user_payment/index.vue b/pages/users/user_payment/index.vue index b9c86fd..7b35af6 100644 --- a/pages/users/user_payment/index.vue +++ b/pages/users/user_payment/index.vue @@ -437,7 +437,7 @@ uni.hideLoading(); that.getUserInfo(); that.getRecharge(); - console.log('12323424') + // console.log('12323424') return that.$util.Tips({ title: '支付成功', icon: 'success' diff --git a/pages/users/user_phone/index.vue b/pages/users/user_phone/index.vue index 10afdc2..59e75d6 100644 --- a/pages/users/user_phone/index.vue +++ b/pages/users/user_phone/index.vue @@ -78,7 +78,7 @@ if (res.code) { that.codeVal = res.code } else { - console.log('登录失败!' + res.errMsg) + // console.log('登录失败!' + res.errMsg) } } }) diff --git a/pages/users/user_spread_code/index.vue b/pages/users/user_spread_code/index.vue index f11117f..2b0bb2d 100644 --- a/pages/users/user_spread_code/index.vue +++ b/pages/users/user_spread_code/index.vue @@ -159,14 +159,14 @@ }, onShow() { // #ifdef APP-PLUS - console.log(HTTP_REQUEST_URL,'=============') + // console.log(HTTP_REQUEST_URL,'=============') // #endif this.$nextTick(() => { let selector = uni.createSelectorQuery().select('.aaa'); selector.fields({ size: true }, data => { - console.log(data) + // console.log(data) this.wd = data.width this.hg = data.height }).exec(); diff --git a/store/modules/app.js b/store/modules/app.js index d9fbfea..638cdfe 100644 --- a/store/modules/app.js +++ b/store/modules/app.js @@ -20,7 +20,7 @@ const state = { const mutations = { setLocation(state, data) { - console.log(data); + // console.log(data); state.location = data Cache.set('LOCATION_DATA', data); }, diff --git a/uni_modules/bt-cropper/components/bt-cropper/bt-cropper.vue b/uni_modules/bt-cropper/components/bt-cropper/bt-cropper.vue index 6a86366..c8efe3a 100644 --- a/uni_modules/bt-cropper/components/bt-cropper/bt-cropper.vue +++ b/uni_modules/bt-cropper/components/bt-cropper/bt-cropper.vue @@ -733,11 +733,11 @@ destHeight: this.dSize.height, quality: this.quality, success(res) { - console.log("裁剪成功") + // console.log("裁剪成功") resolve([null, res]) }, fail(err) { - console.log("裁剪失败", err) + // console.log("裁剪失败", err) resolve([err, null]) }, complete: () => { diff --git a/uni_modules/bt-cropper/readme.md b/uni_modules/bt-cropper/readme.md index 61975c4..2003f37 100644 --- a/uni_modules/bt-cropper/readme.md +++ b/uni_modules/bt-cropper/readme.md @@ -52,9 +52,9 @@ export default { // 通过组件定义的ref调用cropper方法,返回一个promise对象 this.$refs.cropper.crop().then(([err,res])=>{ if(!err){ - console.log(res) + // console.log(res) }else{ - console.err(err) + // console.err(err) } }) } diff --git a/uni_modules/uni-popup/readme.md b/uni_modules/uni-popup/readme.md index d8a0899..7c4de64 100644 --- a/uni_modules/uni-popup/readme.md +++ b/uni_modules/uni-popup/readme.md @@ -222,7 +222,7 @@ export default { */ confirm(value) { // 输入框的值 - console.log(value) + // console.log(value) // TODO 做一些其他的事情,手动执行 close 才会关闭对话框 // ... this.$refs.popup.close() diff --git a/uni_modules/uni-transition/readme.md b/uni_modules/uni-transition/readme.md index f398623..1a790cb 100644 --- a/uni_modules/uni-transition/readme.md +++ b/uni_modules/uni-transition/readme.md @@ -48,7 +48,7 @@ export default { this.show = !this.show }, change() { - console.log('触发动画') + } } } @@ -157,7 +157,7 @@ export default { }) // 开始执行动画 this.$refs.ani.run(()=>{ - console.log('动画支持完毕') + // console.log('动画支持完毕') }) } } @@ -257,7 +257,7 @@ this.$refs.ani.step({ translateX: '100px' }) this.$refs.ani.run(()=>{ - console.log('动画执行完毕') + // console.log('动画执行完毕') }) ``` diff --git a/utils/SubscribeMessage.js b/utils/SubscribeMessage.js index ec3fe67..55bb10c 100644 --- a/utils/SubscribeMessage.js +++ b/utils/SubscribeMessage.js @@ -5,7 +5,7 @@ import { export function auth() { let tmplIds = {}; let messageTmplIds = uni.getStorageSync(SUBSCRIBE_MESSAGE); - console.log(messageTmplIds,'messageTmplIds') + // console.log(messageTmplIds,'messageTmplIds') tmplIds = messageTmplIds ? messageTmplIds : {}; return tmplIds; } @@ -97,15 +97,15 @@ export function subscribe(tmplIds) { uni.requestSubscribeMessage({ tmplIds: tmplIds, success(res) { - console.log(res,'requestSubscribeMessage') + // console.log(res,'requestSubscribeMessage') return reslove(res); }, fail(res) { - console.log(res,'fail') + // console.log(res,'fail') return reslove(res); }, complete(res){ - console.log(res,'complete') + // console.log(res,'complete') } }) }); diff --git a/utils/http.js b/utils/http.js index 5f4b530..71b29da 100644 --- a/utils/http.js +++ b/utils/http.js @@ -47,7 +47,7 @@ function baseRequestTwo(url, method, data, { data: data || {}, success: (res) => { // #ifdef APP-PLUS - console.log('app', Url + '/api/' + url, res.data); + // console.log('app', Url + '/api/' + url, res.data); // #endif if (noVerify) // reslove(res.data, res); @@ -73,7 +73,7 @@ function baseRequestTwo(url, method, data, { }, fail: (message) => { - console.log('message', message); + // console.log('message', message); reject('请求失败'); } }) diff --git a/utils/index.js b/utils/index.js index d08eba2..1ba2e1e 100644 --- a/utils/index.js +++ b/utils/index.js @@ -128,7 +128,7 @@ export function parseQuery() { let token = '' try { token = uni.getStorageSync('LOGIN_STATUS_TOKEN') - console.log(token, 'this') + // console.log(token, 'this') } catch (error) { } diff --git a/utils/permission.js b/utils/permission.js index 5bbfa42..4cb3ac0 100644 --- a/utils/permission.js +++ b/utils/permission.js @@ -68,20 +68,20 @@ function push() { enabledTypes = settings.plusGetAttribute("types"); if (enabledTypes == 0) { result = 0; - console.log("推送权限没有开启"); + // console.log("推送权限没有开启"); } else { result = 1; - console.log("已经开启推送功能!") + // console.log("已经开启推送功能!") } plus.ios.deleteObject(settings); } else { enabledTypes = app.enabledRemoteNotificationTypes(); if (enabledTypes == 0) { result = 3; - console.log("推送权限没有开启!"); + // console.log("推送权限没有开启!"); } else { result = 4; - console.log("已经开启推送功能!") + // console.log("已经开启推送功能!") } } plus.ios.deleteObject(app); @@ -109,7 +109,7 @@ function record() { var avaudiosession = plus.ios.import("AVAudioSession"); var avaudio = avaudiosession.sharedInstance(); var status = avaudio.recordPermission(); - console.log("permissionStatus:" + status); + // console.log("permissionStatus:" + status); if (status === 1970168948) { result = null; } else if (status === 1735552628) { @@ -127,9 +127,9 @@ function calendar() { var ekAuthStatus = EKEventStore.authorizationStatusForEntityType(0); if (ekAuthStatus == 3) { result = 1; - console.log("日历权限已经开启"); + // console.log("日历权限已经开启"); } else { - console.log("日历权限没有开启"); + // console.log("日历权限没有开启"); } plus.ios.deleteObject(EKEventStore); return result; @@ -141,9 +141,9 @@ function memo() { var ekAuthStatus = EKEventStore.authorizationStatusForEntityType(1); if (ekAuthStatus == 3) { result = 1; - console.log("备忘录权限已经开启"); + // console.log("备忘录权限已经开启"); } else { - console.log("备忘录权限没有开启"); + // console.log("备忘录权限没有开启"); } plus.ios.deleteObject(EKEventStore); return result; @@ -192,23 +192,23 @@ function requestAndroid(permissionID) { var result = 0; for (var i = 0; i < resultObj.granted.length; i++) { var grantedPermission = resultObj.granted[i]; - console.log('已获取的权限:' + grantedPermission); + // console.log('已获取的权限:' + grantedPermission); result = 1 } for (var i = 0; i < resultObj.deniedPresent.length; i++) { var deniedPresentPermission = resultObj.deniedPresent[i]; - console.log('拒绝本次申请的权限:' + deniedPresentPermission); + // console.log('拒绝本次申请的权限:' + deniedPresentPermission); result = 0 } for (var i = 0; i < resultObj.deniedAlways.length; i++) { var deniedAlwaysPermission = resultObj.deniedAlways[i]; - console.log('永久拒绝申请的权限:' + deniedAlwaysPermission); + // console.log('永久拒绝申请的权限:' + deniedAlwaysPermission); result = -1 } resolve(result); }, function(error) { - console.log('result error: ' + error.message) + // console.log('result error: ' + error.message) resolve({ code: error.code, message: error.message diff --git a/utils/request.js b/utils/request.js index 321ecfa..f1d77b5 100644 --- a/utils/request.js +++ b/utils/request.js @@ -51,7 +51,7 @@ function baseRequest(url, method, data, { data: data || {}, success: (res) => { // #ifdef APP-PLUS - console.log('app', Url + '/api/' + url, res.data); + // console.log('app', Url + '/api/' + url, res.data); // #endif if (noVerify) reslove(res.data, res); diff --git a/utils/util.js b/utils/util.js index 2aa5925..67f41ba 100644 --- a/utils/util.js +++ b/utils/util.js @@ -202,7 +202,7 @@ export default { uni.getImageInfo({ src: arr2[0], success: function(res) { - console.log(res, 'getImageInfo') + // console.log(res, 'getImageInfo') const WIDTH = res.width; const HEIGHT = res.height; ctx.drawImage(arr2[0], 0, 0, WIDTH, HEIGHT); @@ -280,7 +280,7 @@ export default { uni.getImageInfo({ src: arr2[0], success: function(res) { - console.log(res, 'getImageInfo') + // console.log(res, 'getImageInfo') const WIDTH = res.width; const HEIGHT = res.height; ctx.drawImage(arr2[0], 0, 0, WIDTH, HEIGHT+50); @@ -535,7 +535,7 @@ export default { successFn && successFn(res.tempFilePath); }, fail: function(err) { - console.log(err) + // console.log(err) uni.hideLoading(); } @@ -667,7 +667,7 @@ export default { } }, fail: (err) => { - console.log(err) + // console.log(err) uni.hideLoading(); that.Tips({ title: i18n.t(`上传图片失败`)