商品编号

This commit is contained in:
THK3121 2023-06-12 16:12:28 +08:00
parent 50b7af7c42
commit 847181c7d1
127 changed files with 542 additions and 541 deletions

View File

@ -78,7 +78,7 @@
switch (option.scene) { switch (option.scene) {
// //
case 1047: case 1047:
console.log(option, 'val') // console.log(option, 'val')
let val = that.$util.getUrlParams(decodeURIComponent(option.query.scene)); let val = that.$util.getUrlParams(decodeURIComponent(option.query.scene));
that.globalData.code = val; that.globalData.code = val;
that.globalData.uid = val that.globalData.uid = val

View File

@ -169,7 +169,7 @@ export function getGroomList(type, data) {
* 获取商品收藏列表 * 获取商品收藏列表
* @param object data * @param object data
*/ */
export function getCollectUserList(data) { export function getCollectUserList(data) {
return request.get('user/relation/product/lst', data) return request.get('user/relation/product/lst', data)
} }
/** /**

View File

@ -22,7 +22,7 @@ function uploads(src, type) {
}, },
fail: (err) => { fail: (err) => {
reject(err) reject(err)
console.log('upload-上传失败', err) // console.log('upload-上传失败', err)
} }
}); });
}) })
@ -47,7 +47,7 @@ function oaUploads(src, type) {
}, },
fail: (err) => { fail: (err) => {
reject(err) reject(err)
console.log('upload-上传失败', err) // console.log('upload-上传失败', err)
} }
}); });
}) })

View File

@ -116,7 +116,7 @@
} }
}, },
created() { created() {
console.log('title' + this.title) // console.log('title' + this.title)
this.top = uni.getSystemInfoSync().windowHeight / 2 - 70 this.top = uni.getSystemInfoSync().windowHeight / 2 - 70
if (wx.getUserProfile) { if (wx.getUserProfile) {
this.canUseGetUserProfile = true this.canUseGetUserProfile = true
@ -175,12 +175,12 @@
toLogin(true); toLogin(true);
}, },
getUserProfile() { getUserProfile() {
console.log(11); // console.log(11);
toLogin(true); toLogin(true);
uni.navigateTo({ uni.navigateTo({
url: '/pages/users/login/login_copy' url: '/pages/users/login/login_copy'
}) })
console.log(22); // console.log(22);
return return
let self = this; let self = this;
Routine.getUserProfile() Routine.getUserProfile()

View File

@ -132,7 +132,7 @@
if (this.loadend || this.loading) return; if (this.loadend || this.loading) return;
const query = uni.createSelectorQuery().in(this); const query = uni.createSelectorQuery().in(this);
query.select('#reply').boundingClientRect(data => { query.select('#reply').boundingClientRect(data => {
console.log(data) // console.log(data)
if(data.bottom < 1500 && data.top < 0) { if(data.bottom < 1500 && data.top < 0) {
this.getList(); this.getList();
} }

View File

@ -105,7 +105,7 @@
this.$util.uploadImgs('upload/image', avatarUrl, (res) => { this.$util.uploadImgs('upload/image', avatarUrl, (res) => {
this.userInfo.avatar = res.data.path this.userInfo.avatar = res.data.path
}, (err) => { }, (err) => {
console.log(err) // console.log(err)
}) })
}, },
closeAttr: function() { closeAttr: function() {

View File

@ -172,7 +172,7 @@
jsConfig.timeStamp = jsConfig.timestamp; jsConfig.timeStamp = jsConfig.timestamp;
// #ifndef APP-PLUS // #ifndef APP-PLUS
that.$wechat.pay(jsConfig).then(res => { that.$wechat.pay(jsConfig).then(res => {
console.log('测试支付数据无效的success'+res.data) // console.log('success'+res.data)
this.$emit('onChangeFun', { this.$emit('onChangeFun', {
action: 'payClose' action: 'payClose'
}); });
@ -185,7 +185,7 @@
url: goPages + 'status=1' url: goPages + 'status=1'
}); });
}).catch(res => { }).catch(res => {
console.log('测试支付数据无效的catch'+res.data) // console.log('catch'+res.data)
if (res.errMsg == 'chooseWXPay:cancel'){ if (res.errMsg == 'chooseWXPay:cancel'){
if(that.isCall){ if(that.isCall){
return that.$util.Tips({ return that.$util.Tips({

View File

@ -115,7 +115,7 @@ export default {
}); });
}else{ }else{
let user = this.isAuth ? 1 : 0; let user = this.isAuth ? 1 : 0;
console.log(this.uid) // console.log(this.uid)
uni.navigateTo({ uni.navigateTo({
//#ifdef APP //#ifdef APP
url: '/pages/short_video/appSwiper/index?id='+item.community_id+'&user='+user+'&uid='+this.uid+'&tab='+this.tab url: '/pages/short_video/appSwiper/index?id='+item.community_id+'&user='+user+'&uid='+this.uid+'&tab='+this.tab

View File

@ -111,7 +111,7 @@
confirm(){ confirm(){
this.arrFilter1() this.arrFilter1()
this.arrFilter2() this.arrFilter2()
console.log(this.activeList) // console.log(this.activeList)
let obj = { let obj = {
storeTypeArr:this.selectList, storeTypeArr:this.selectList,
merList: this.activeList, merList: this.activeList,

View File

@ -116,7 +116,7 @@
}, },
confirm(){ confirm(){
this.arrFilter() this.arrFilter()
console.log(this.activeList) // console.log(this.activeList)
let obj = { let obj = {
brandList:this.activeList, brandList:this.activeList,
price_on:this.min, price_on:this.min,

View File

@ -5287,7 +5287,7 @@ Charts.prototype.updateData = function() {
Charts.prototype.zoom = function() { Charts.prototype.zoom = function() {
var val = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.opts.xAxis.itemCount; var val = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.opts.xAxis.itemCount;
if (this.opts.enableScroll !== true) { if (this.opts.enableScroll !== true) {
console.log('请启用滚动条后使用!') // console.log('请启用滚动条后使用!')
return; return;
} }
//当前屏幕中间点 //当前屏幕中间点
@ -5424,7 +5424,7 @@ Charts.prototype.showToolTip = function(e) {
touches = e.mp.changedTouches[0]; touches = e.mp.changedTouches[0];
} }
if (!touches) { if (!touches) {
console.log("touchError"); // console.log("touchError");
} }
var _touches$ = getTouches(touches, this.opts, e); var _touches$ = getTouches(touches, this.opts, e);
var currentOffset = this.scrollOption.currentOffset; var currentOffset = this.scrollOption.currentOffset;

View File

@ -57,7 +57,7 @@
}, },
methods: { methods: {
getpreviewImage: function(indexw, indexn) { getpreviewImage: function(indexw, indexn) {
console.log(this.reply) // console.log(this.reply)
uni.previewImage({ uni.previewImage({
urls: this.reply[indexw].pics, urls: this.reply[indexw].pics,
current: this.reply[indexw].pics[indexn] current: this.reply[indexw].pics[indexn]

View File

@ -237,7 +237,7 @@
} }
}, },
mounted() { mounted() {
console.log(this.defaultImg) // console.log(this.defaultImg)
} }
} }
</script> </script>

View File

@ -26,7 +26,7 @@ const Socket = function() {
}, },
method: 'GET', method: 'GET',
success: (res) => { success: (res) => {
console.log(res, 'success'); // console.log(res, 'success');
} }
}); });
this.ws.onOpen(this.onSocketOpen.bind(this)) this.ws.onOpen(this.onSocketOpen.bind(this))
@ -73,7 +73,7 @@ Socket.prototype = {
}); });
}, },
onMessage: function(res) { onMessage: function(res) {
console.log(JSON.parse(res.data), 'onMessage') // console.log(JSON.parse(res.data), 'onMessage')
const { const {
type, type,
data = {} data = {}
@ -87,7 +87,7 @@ Socket.prototype = {
uni.$emit("socket_close"); uni.$emit("socket_close");
}, },
onError: function(e) { onError: function(e) {
console.log(e); // console.log(e);
uni.$emit("socket_error", e); uni.$emit("socket_error", e);
}, },
close: function() { close: function() {

View File

@ -175,7 +175,7 @@ export function GetUserInfo() {
return new Promise((reslove, reject) => { return new Promise((reslove, reject) => {
uni.getUserInfo({ uni.getUserInfo({
success(res) { success(res) {
console.log(res); // console.log(res);
reslove(res); reslove(res);
}, },
fail(rej) { fail(rej) {

View File

@ -67,7 +67,7 @@ class AuthWechat {
resolve(this.instance); resolve(this.instance);
}) })
}).catch(err => { }).catch(err => {
console.log(err); // console.log(err);
this.status = false; this.status = false;
reject(err); reject(err);
}); });
@ -179,7 +179,7 @@ class AuthWechat {
* @param {Object} code * @param {Object} code
*/ */
auth(code) { auth(code) {
console.log('授权登陆获取token'); // console.log('授权登陆获取token');
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
let loginType = Cache.get(LOGINTYPE); let loginType = Cache.get(LOGINTYPE);
commonAuth({ commonAuth({
@ -256,7 +256,7 @@ class AuthWechat {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
let configDefault = { let configDefault = {
fail(res) { fail(res) {
console.log(res, 11111); // console.log(res, 11111);
if (that.instance) return reject({ if (that.instance) return reject({
is_ready: true, is_ready: true,
wx: that.instance wx: that.instance

View File

@ -1,188 +1,188 @@
{ {
"name": "CRMEB", "name" : "CRMEB",
"appid": "__UNI__3A527D1", "appid" : "__UNI__039BCFE",
"description": "", "description" : "",
"versionName": "1.0.4", "versionName" : "1.0.4",
"versionCode": 127, "versionCode" : 127,
"transformPx": false, "transformPx" : false,
/* 5+App */ /* 5+App */
"app-plus": { "app-plus" : {
"titleNView": true, "titleNView" : true,
"usingComponents": true, "usingComponents" : true,
"nvueCompiler": "uni-app", "nvueCompiler" : "uni-app",
"nvueStyleCompiler": "uni-app", "nvueStyleCompiler" : "uni-app",
"compilerVersion": 3, "compilerVersion" : 3,
"splashscreen": { "splashscreen" : {
"alwaysShowBeforeRender": true, "alwaysShowBeforeRender" : true,
"waiting": true, "waiting" : true,
"autoclose": true, "autoclose" : true,
"delay": 0 "delay" : 0
},
/* */
"modules": {
"VideoPlayer": {},
"iBeacon": {},
"Geolocation": {},
"Barcode": {},
"Camera": {}
},
"safearea": {
"bottom": {
"offset": "none"
}
},
/* */
"distribute": {
/* android */
"android": {
"resizeableActivity": true,
"permissions": [
"<uses-permission android:name=\"android.permission.ACCESS_LOCATION_EXTRA_COMMANDS\"/>",
"<uses-permission android:name=\"android.permission.BATTERY_STATS\"/>",
"<uses-permission android:name=\"android.permission.BLUETOOTH\"/>",
"<uses-permission android:name=\"android.permission.BLUETOOTH_ADMIN\"/>",
"<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
"<uses-permission android:name=\"android.permission.CAMERA\"/>",
"<uses-permission android:name=\"android.permission.CHANGE_CONFIGURATION\"/>",
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
"<uses-permission android:name=\"android.permission.BLUETOOTH\"/>",
"<uses-permission android:name=\"android.permission.BLUETOOTH_ADMIN\"/>"
],
"abiFilters": ["armeabi-v7a", "arm64-v8a", "x86"],
"permissionExternalStorage": {
"request": "none",
"prompt": "应用保存运行状态等信息,需要获取读写手机存储(系统提示为访问设备上的照片、媒体内容和文件)权限,请允许。"
}, },
"permissionPhoneState": { /* */
"request": "none" // "modules" : {
"VideoPlayer" : {},
"iBeacon" : {},
"Barcode" : {},
"Camera" : {},
"Geolocation" : {}
},
"safearea" : {
"bottom" : {
"offset" : "none"
}
},
/* */
"distribute" : {
/* android */
"android" : {
"resizeableActivity" : true,
"permissions" : [
"<uses-permission android:name=\"android.permission.ACCESS_LOCATION_EXTRA_COMMANDS\"/>",
"<uses-permission android:name=\"android.permission.BATTERY_STATS\"/>",
"<uses-permission android:name=\"android.permission.BLUETOOTH\"/>",
"<uses-permission android:name=\"android.permission.BLUETOOTH_ADMIN\"/>",
"<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
"<uses-permission android:name=\"android.permission.CAMERA\"/>",
"<uses-permission android:name=\"android.permission.CHANGE_CONFIGURATION\"/>",
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
"<uses-permission android:name=\"android.permission.BLUETOOTH\"/>",
"<uses-permission android:name=\"android.permission.BLUETOOTH_ADMIN\"/>"
],
"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": { "quickapp" : {},
"privacyDescription": { /* */
"NSPhotoLibraryUsageDescription": "上传用户头像保存分享海报", "mp-weixin" : {
"NSPhotoLibraryAddUsageDescription": "上传用户头像保存分享海报", "appid" : "wxfb4695444ab8d0d0",
"NSCameraUsageDescription": "上传用户头像保存分享海报", "setting" : {
"NSLocationWhenInUseUsageDescription": "根据客户地理位置推荐最近门店", "urlCheck" : false,
"NSLocationAlwaysUsageDescription": "根据客户地理位置推荐最近门店" "minified" : true,
"postcss" : true,
"es6" : true
}, },
"idfa": false, "permission" : {
"dSYMs": false "scope.userLocation" : {
}, "desc" : "获取您的位置"
/* SDK */ }
"sdkConfigs": {
"maps": {
"amap": {
"appkey_ios": "",
"appkey_android": ""
}
}, },
"payment": { "requiredPrivateInfos" : [ "getLocation", "chooseAddress" ],
"alipay": { "usingComponents" : true
"__platform__": ["ios", "android"] },
} "mp-alipay" : {
"usingComponents" : true
},
"mp-baidu" : {
"usingComponents" : true
},
"mp-toutiao" : {
"usingComponents" : true
},
"h5" : {
"devServer" : {
"https" : false
}, },
"share": { "router" : {
"weixin": { "mode" : "history",
"appid": "", "base" : ""
"UniversalLinks": "https://mer.crmeb.net/"
}
}, },
"geolocation": { "domain" : "",
"system": { "sdkConfigs" : {
"__platform__": ["ios", "android"] "maps" : {
} "qqmap" : {
"key" : "SMJBZ-WCHK4-ZPZUA-DSIXI-XDDVQ-XWFX7"
}
}
}, },
"push": {}, "title" : "加载中...",
"oauth": { "template" : "template.h5.html"
"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
}
} }
}, }
/* */
"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"
}
}

View File

@ -16,7 +16,7 @@ export default {
}, },
methods: { methods: {
getHistory() { getHistory() {
console.log(this.$util.getNowUrl(),'page') // console.log(this.$util.getNowUrl(),'page')
history({ history({
page:this.$util.getNowUrl() page:this.$util.getNowUrl()
}).then(res=>{}) }).then(res=>{})

View File

@ -148,7 +148,7 @@
if (that.pageloading) return; if (that.pageloading) return;
this.pageloading = true this.pageloading = true
getAssistList(data).then(res => { getAssistList(data).then(res => {
console.log(res); // console.log(res);
var assistList = res.data.list; var assistList = res.data.list;
var loadend = assistList.length < that.limit; var loadend = assistList.length < that.limit;
that.page++; that.page++;

View File

@ -361,7 +361,7 @@
that.bargainUid = options.bargain || 0 that.bargainUid = options.bargain || 0
} }
if (that.isLogin) { if (that.isLogin) {
console.log(that.bargainUid, 'that.bargainUid') // console.log(that.bargainUid, 'that.bargainUid')
if (that.bargainUid == 'undefined') { if (that.bargainUid == 'undefined') {
that.bargainUid = that.$store.state.app.uid that.bargainUid = that.$store.state.app.uid
} }
@ -471,7 +471,7 @@
resolve(res.tempFilePath); resolve(res.tempFilePath);
}, },
fail: function(error) { fail: function(error) {
console.log(error) // console.log(error)
return that.$util.Tips({ return that.$util.Tips({
title: `${error}` title: `${error}`
}); });
@ -506,7 +506,7 @@
product_type: 3 product_type: 3
}).then(async res => { }).then(async res => {
that.codeImg = res.data.url; that.codeImg = res.data.url;
console.log(this.codeImg) // console.log(this.codeImg)
that.$set(that, 'isDown', false); that.$set(that, 'isDown', false);
}).catch(err => { }).catch(err => {
that.$util.Tips({ that.$util.Tips({
@ -708,7 +708,7 @@
configTimeline configTimeline
) )
.then(res => { .then(res => {
console.log(res); // console.log(res);
}) })
.catch(res => { .catch(res => {
if (res.is_ready) { if (res.is_ready) {

View File

@ -581,11 +581,11 @@
phoneNumber: this.storeInfo.merchant.service_phone, phoneNumber: this.storeInfo.merchant.service_phone,
// //
success: (res) => { success: (res) => {
console.log('调用成功!') // console.log('!')
}, },
// //
fail: (res) => { fail: (res) => {
console.log('调用失败!') // console.log('!')
} }
}); });
}, },
@ -614,7 +614,7 @@
this.$set(this.specsInfo, 'show', false); this.$set(this.specsInfo, 'show', false);
}, },
goProDetail(item) { goProDetail(item) {
console.log(item, 'goProDetail') // console.log(item, 'goProDetail')
uni.redirectTo({ uni.redirectTo({
url: '/pages/goods_details/index?id=' + item.product_id url: '/pages/goods_details/index?id=' + item.product_id
}) })
@ -1315,9 +1315,9 @@
"onMenuShareAppMessage", "onMenuShareAppMessage",
"onMenuShareTimeline" "onMenuShareTimeline"
], configAppMessage).then(res => { ], configAppMessage).then(res => {
console.log(res, '=============================>>WXAPI'); // console.log(res, '=============================>>WXAPI');
}).catch(err => { }).catch(err => {
console.log(err); // console.log(err);
}) })
}); });
} }

View File

@ -190,7 +190,7 @@
uni.getImageInfo({ uni.getImageInfo({
src: arr2[0], src: arr2[0],
success: (res) => { success: (res) => {
console.log(arr2) // console.log(arr2)
const WIDTH = res.width; const WIDTH = res.width;
const HEIGHT = res.height; const HEIGHT = res.height;
ctx.drawImage(arr2[0], 0, 0, wd, hg); ctx.drawImage(arr2[0], 0, 0, wd, hg);
@ -258,7 +258,7 @@
fileType: 'png', fileType: 'png',
quality: 1, quality: 1,
success: (res) => { success: (res) => {
console.log(res) // console.log(res)
successFn && successFn(res.tempFilePath); successFn && successFn(res.tempFilePath);
uni.hideLoading(); uni.hideLoading();
} }

View File

@ -259,7 +259,7 @@
}, },
onShareTimeline: function() { onShareTimeline: function() {
let that = this; let that = this;
console.log(app.globalData.openPages) // console.log(app.globalData.openPages)
return { return {
title: '您的好友' + that.pinkAll[0].nickname + '邀请您参团' + that.storeCombination.store_name, title: '您的好友' + that.pinkAll[0].nickname + '邀请您参团' + that.storeCombination.store_name,
query: { query: {
@ -623,7 +623,7 @@
'onMenuShareTimeline' 'onMenuShareTimeline'
], configTimeline) ], configTimeline)
.then(res => { .then(res => {
console.log(res); // console.log(res);
}) })
.catch(res => { .catch(res => {
if (res.is_ready) { if (res.is_ready) {

View File

@ -187,7 +187,7 @@
if (that.pageloading) return; if (that.pageloading) return;
this.pageloading = true this.pageloading = true
getSeckillList(data).then(res => { getSeckillList(data).then(res => {
console.log(res); // console.log(res);
var seckillList = res.data.list; var seckillList = res.data.list;
seckillList.map((item) => { seckillList.map((item) => {
item.percent = item.stock === 0 ? '0%' : (item.sales*100 / item.stock).toFixed(2) + '%'; item.percent = item.stock === 0 ? '0%' : (item.sales*100 / item.stock).toFixed(2) + '%';

View File

@ -513,11 +513,11 @@
phoneNumber: this.storeInfo.merchant.service_phone, phoneNumber: this.storeInfo.merchant.service_phone,
// //
success: (res) => { success: (res) => {
console.log('调用成功!') // console.log('!')
}, },
// //
fail: (res) => { fail: (res) => {
console.log('调用失败!') // console.log('!')
} }
}); });
}, },
@ -1153,7 +1153,7 @@
resolve(res.tempFilePath); resolve(res.tempFilePath);
}, },
fail: function(error) { fail: function(error) {
console.log(error) // console.log(error)
return that.$util.Tips({ return that.$util.Tips({
title: `${error}` title: `${error}`
}); });
@ -1266,7 +1266,7 @@
"onMenuShareAppMessage", "onMenuShareAppMessage",
"onMenuShareTimeline" "onMenuShareTimeline"
], configAppMessage).then(res => {}).catch(err => { ], configAppMessage).then(res => {}).catch(err => {
console.log(err); // console.log(err);
}) })
}); });
} }

View File

@ -175,7 +175,7 @@
uni.getStorage({ uni.getStorage({
key: 'GLOBAL_DATA', key: 'GLOBAL_DATA',
success: (res) => { success: (res) => {
console.log(res); // console.log(res);
this.hide_mer_status = res.data.hide_mer_status this.hide_mer_status = res.data.hide_mer_status
this.storeList = [] this.storeList = []
if (res.data.mer_location == 1) { if (res.data.mer_location == 1) {
@ -206,7 +206,7 @@
methods: { methods: {
// //
showMaoLocation(lat, long) { showMaoLocation(lat, long) {
console.log(lat, long) // console.log(lat, long)
if (!lat || !long) return this.$util.Tips({ if (!lat || !long) return this.$util.Tips({
title: '请设置允许商城访问您的位置!' title: '请设置允许商城访问您的位置!'
}); });
@ -216,7 +216,7 @@
latitude: Number(lat), latitude: Number(lat),
longitude: Number(long) longitude: Number(long)
}).then(res=>{ }).then(res=>{
console.log('success'); // console.log('success');
}) })
}else{ }else{
//#endif //#endif
@ -225,7 +225,7 @@
longitude: parseFloat(long), longitude: parseFloat(long),
scale: 8, scale: 8,
success: function(res) { success: function(res) {
console.log(res) // console.log(res)
}, },
}); });
// #ifdef H5 // #ifdef H5
@ -233,7 +233,7 @@
//#endif //#endif
}, },
showStoreLocation(item) { showStoreLocation(item) {
console.log(lat, long) // console.log(lat, long)
if (!item.lat || !item.long) return this.$util.Tips({ if (!item.lat || !item.long) return this.$util.Tips({
title: '请设置允许商城访问您的位置!' title: '请设置允许商城访问您的位置!'
}); });
@ -245,7 +245,7 @@
name: item.mer_name, name: item.mer_name,
address: item.mer_address ? item.mer_address: '', address: item.mer_address ? item.mer_address: '',
}).then(res=>{ }).then(res=>{
console.log('success'); // console.log('success');
}) })
}else{ }else{
//#endif //#endif
@ -256,7 +256,7 @@
name: item.mer_name, name: item.mer_name,
address: item.mer_address ? item.mer_address: '', address: item.mer_address ? item.mer_address: '',
success: function(res) { success: function(res) {
console.log(res) // console.log(res)
}, },
}); });
// #ifdef H5 // #ifdef H5
@ -277,7 +277,7 @@
lat: latitude, lat: latitude,
long: longitude long: longitude
}).then(res => { }).then(res => {
console.log(res) // console.log(res)
this.detaile_address = res.data.address; this.detaile_address = res.data.address;
this.recommend_address = res.data.address.length > 4 ? res.data.address.slice(0,4) + '...' : 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) { set_where: function(e) {
if (this.loading) return if (this.loading) return
console.log(this.downMenu, e) // console.log(this.downMenu, e)
this.storeList = [] this.storeList = []
this.firstKey = e this.firstKey = e
this.sotreParam.page = 1 this.sotreParam.page = 1

View File

@ -161,7 +161,7 @@
if (that.pageloading) return; if (that.pageloading) return;
this.pageloading = true this.pageloading = true
getPresellList(data).then(res => { getPresellList(data).then(res => {
console.log(res); // console.log(res);
var presellList = res.data.list; var presellList = res.data.list;
var loadend = presellList.length < that.limit; var loadend = presellList.length < that.limit;
that.page++; that.page++;

View File

@ -484,7 +484,7 @@
app.globalData.spid = options.spid; app.globalData.spid = options.spid;
that.currSpid = options.spid that.currSpid = options.spid
} }
console.log(that.currSpid) // console.log(that.currSpid)
var pages = getCurrentPages(); var pages = getCurrentPages();
if (pages.length <= 1) { if (pages.length <= 1) {
that.retunTop = false that.retunTop = false
@ -576,11 +576,11 @@
phoneNumber: this.storeInfo.merchant.service_phone, phoneNumber: this.storeInfo.merchant.service_phone,
// //
success: (res) => { success: (res) => {
console.log('调用成功!') // console.log('!')
}, },
// //
fail: (res) => { fail: (res) => {
console.log('调用失败!') // console.log('!')
} }
}); });
}, },
@ -596,7 +596,7 @@
} }
}, },
goProDetail(item) { goProDetail(item) {
console.log(item, 'goProDetail') // console.log(item, 'goProDetail')
uni.redirectTo({ uni.redirectTo({
url: '/pages/goods_details/index?id=' + item.product_id url: '/pages/goods_details/index?id=' + item.product_id
}) })
@ -631,7 +631,7 @@
}); });
}, },
goActivity: function(e) { goActivity: function(e) {
console.log(e); // console.log(e);
let item = e; let item = e;
if (item.type === "1") { if (item.type === "1") {
uni.navigateTo({ uni.navigateTo({
@ -679,7 +679,7 @@
activeList.push(couponList[i]); activeList.push(couponList[i]);
} }
} }
console.log(that.couponList) // console.log(that.couponList)
that.$set(that, 'couponList', activeList); that.$set(that, 'couponList', activeList);
}) })
}, },
@ -866,7 +866,7 @@
*/ */
ChangCoupons: function(e) { ChangCoupons: function(e) {
let coupon = e; let coupon = e;
console.log(e); // console.log(e);
let couponList = this.$util.ArrayRemove(this.couponList, 'id', coupon.id); let couponList = this.$util.ArrayRemove(this.couponList, 'id', coupon.id);
this.$set(this, 'couponList', couponList); this.$set(this, 'couponList', couponList);
this.getCouponList(); this.getCouponList();
@ -892,7 +892,7 @@
}); });
let that = this; let that = this;
getPresellProductDetail(that.id).then(async res => { getPresellProductDetail(that.id).then(async res => {
console.log(res) // console.log(res)
uni.hideLoading(); uni.hideLoading();
let storeInfo = res.data.product; let storeInfo = res.data.product;
let presellInfo = res.data let presellInfo = res.data
@ -996,7 +996,7 @@
let value = []; let value = [];
let arr = [] let arr = []
let unSortArr = [] let unSortArr = []
console.log(arr, 'arr') // console.log(arr, 'arr')
for (var key in this.productValue) { for (var key in this.productValue) {
if (this.productValue[key].stock > 0) { if (this.productValue[key].stock > 0) {
value = this.attr.productAttr.length ? key.split(",") : []; value = this.attr.productAttr.length ? key.split(",") : [];
@ -1006,7 +1006,7 @@
for (let i = 0; i < productAttr.length; i++) { for (let i = 0; i < productAttr.length; i++) {
this.$set(productAttr[i], "index", value[i]); this.$set(productAttr[i], "index", value[i]);
} }
console.log(value, 'value') // console.log(value, 'value')
//sort();:-- //sort();:--
let productSelect = this.productValue[value.join(",")]; let productSelect = this.productValue[value.join(",")];
if (productSelect && productAttr.length) { if (productSelect && productAttr.length) {
@ -1436,9 +1436,9 @@
"onMenuShareAppMessage", "onMenuShareAppMessage",
"onMenuShareTimeline" "onMenuShareTimeline"
], configAppMessage).then(res => { ], configAppMessage).then(res => {
console.log(res, '=============================>>WXAPI'); // console.log(res, '=============================>>WXAPI');
}).catch(err => { }).catch(err => {
console.log(err); // console.log(err);
}) })
}); });
} }

View File

@ -171,7 +171,7 @@
if (that.pageloading) return; if (that.pageloading) return;
this.pageloading = true this.pageloading = true
getTopicProLst(data).then(res => { getTopicProLst(data).then(res => {
console.log(res); // console.log(res);
var activety_goods = res.data.list; var activety_goods = res.data.list;
var loadend = activety_goods.length < that.limit; var loadend = activety_goods.length < that.limit;
that.page++; that.page++;

View File

@ -152,7 +152,7 @@
getOrderStatistics: function(mer_id) { getOrderStatistics: function(mer_id) {
let that = this; let that = this;
const data = { product_type: this.where.product_type } const data = { product_type: this.where.product_type }
console.log('data', data); // console.log('data', data);
orderStatistics(mer_id, data).then( orderStatistics(mer_id, data).then(
res => { res => {
that.census = res.data.order; that.census = res.data.order;

View File

@ -370,7 +370,7 @@
that.getIndex(); that.getIndex();
}, },
err => { err => {
console.log(err, 'err') // console.log(err, 'err')
that.change = false; that.change = false;
that.$util.Tips({ that.$util.Tips({
title: err title: err
@ -394,7 +394,7 @@
that.getIndex(); that.getIndex();
}, },
err => { err => {
console.log(err, 'err') // console.log(err, 'err')
that.change = false; that.change = false;
that.$util.Tips({ that.$util.Tips({
title: err title: err
@ -408,7 +408,7 @@
}) })
} }
// data.remark = remark; // data.remark = remark;
console.log(data); // console.log(data);
setAdminOrderRemark(that.mer_id,data.order_id,{ remark: remark }).then( setAdminOrderRemark(that.mer_id,data.order_id,{ remark: remark }).then(
res => { res => {
that.change = false; that.change = false;
@ -450,7 +450,7 @@
uni.setClipboardData({ uni.setClipboardData({
data: id, data: id,
success: function() { success: function() {
console.log('success'); // console.log('success');
} }
}); });
}, },
@ -458,20 +458,20 @@
uni.setClipboardData({ uni.setClipboardData({
data: id, data: id,
success: function() { success: function() {
console.log('success'); // console.log('success');
} }
}); });
}, },
// #ifdef H5 // #ifdef H5
webCopy(item, index) { webCopy(item, index) {
console.log('yunxingle') // console.log('yunxingle')
let items = item let items = item
let indexs = index let indexs = index
let self = this let self = this
if (self.clickNum == 1) { if (self.clickNum == 1) {
console.log('22') // console.log('22')
self.clickNum += 1 self.clickNum += 1
self.webCopy(items, indexs) self.webCopy(items, indexs)
} }

View File

@ -126,7 +126,7 @@
scanType: ["qrCode", "barCode"], scanType: ["qrCode", "barCode"],
success(res) { success(res) {
self.verify_code = res.result self.verify_code = res.result
console.log(self.verify_code); // console.log(self.verify_code);
verifierOrder(self.mer_id,self.verify_code) verifierOrder(self.mer_id,self.verify_code)
.then(res => { .then(res => {
uni.navigateTo({ uni.navigateTo({
@ -148,7 +148,7 @@
// } // }
}, },
fail(res) { fail(res) {
console.log(res); // console.log(res);
}, },
}) })
// #endif // #endif

View File

@ -314,7 +314,7 @@
uni.setClipboardData({ uni.setClipboardData({
data: id, data: id,
success: function() { success: function() {
console.log('success'); // console.log('success');
} }
}); });
}, },
@ -322,7 +322,7 @@
uni.setClipboardData({ uni.setClipboardData({
data: id, data: id,
success: function() { success: function() {
console.log('success'); // console.log('success');
} }
}); });
}, },

View File

@ -322,7 +322,7 @@
that.addCartGoods(res.result) that.addCartGoods(res.result)
}, },
fail(res) { fail(res) {
console.log(res); // console.log(res);
}, },
}) })
}, },
@ -350,21 +350,21 @@
const data = { cart_id: selectValue } const data = { cart_id: selectValue }
this.popUpShow = true this.popUpShow = true
createtApi(data).then(res => { createtApi(data).then(res => {
console.log("createtApi", res.data); // console.log("createtApi", res.data);
if (res.data.status == "error") return Toast('生成二维码失败') if (res.data.status == "error") return Toast('生成二维码失败')
if (res.status === 200) { if (res.status === 200) {
this.payCodeUrl = res.data.config; this.payCodeUrl = res.data.config;
this.$refs.qrcode._makeCode() this.$refs.qrcode._makeCode()
} }
}).catch(err => { }).catch(err => {
console.log('err-createtApi', err); // console.log('err-createtApi', err);
}) })
}, },
// //
// //
authColse: function(e) { authColse: function(e) {
console.log(e, 'authColse') // console.log(e, 'authColse')
this.isShowAuth = e; this.isShowAuth = e;
}, },
onLoadFun() { onLoadFun() {
@ -472,7 +472,7 @@
that.goods = JSON.parse((JSON.stringify(goods))); that.goods = JSON.parse((JSON.stringify(goods)));
that.currSku = goods.productAttr.sku.split(","); that.currSku = goods.productAttr.sku.split(",");
that.$set(that.attr, 'productAttr', goods.attr); that.$set(that.attr, 'productAttr', goods.attr);
console.log(this.attr) // console.log(this.attr)
const sku = {} const sku = {}
that.attrValue = goods.productAttr.sku that.attrValue = goods.productAttr.sku
that.attrImage = goods.product.image that.attrImage = goods.product.image
@ -494,7 +494,7 @@
let productAttr = this.attr.productAttr; let productAttr = this.attr.productAttr;
let value = []; let value = [];
let arr = [] let arr = []
console.log(arr, 'arr') // console.log(arr, 'arr')
if (this.currSku) { if (this.currSku) {
value = this.currSku value = this.currSku
} else { } else {
@ -754,7 +754,7 @@
getCartList: function(isChange) { getCartList: function(isChange) {
let that = this; let that = this;
getCartList({ product_type: 100 }).then(res => { getCartList({ product_type: 100 }).then(res => {
console.log("购物车", res) // console.log("", res)
res.data.list.forEach((item, index) => { res.data.list.forEach((item, index) => {
item.allCheck = true item.allCheck = true
item.list.forEach((goods, j) => { item.list.forEach((goods, j) => {
@ -928,7 +928,7 @@
ChangCouponsUseState(index) { ChangCouponsUseState(index) {
let that = this; let that = this;
that.coupon.list[index].issue = true; that.coupon.list[index].issue = true;
console.log(that.coupon.list[index]) // console.log(that.coupon.list[index])
}, },
}, },
onReachBottom() { onReachBottom() {

View File

@ -33,7 +33,7 @@
} = option; } = option;
wechat.auth(code, state) wechat.auth(code, state)
.then(() => { .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)) const href = decodeURIComponent(decodeURIComponent(option.back_url))
location.replace(href) location.replace(href)
}) })

View File

@ -1069,9 +1069,9 @@
content: data, content: data,
success: function(res) { success: function(res) {
if (res.confirm) { if (res.confirm) {
console.log('用户点击确定'); // console.log('');
} else if (res.cancel) { } else if (res.cancel) {
console.log('用户点击取消'); // console.log('');
} }
} }
}); });

View File

@ -401,7 +401,7 @@
}; };
}, },
onLoad: function(options) { onLoad: function(options) {
console.log(this.isLogin) // console.log(this.isLogin)
this.$set(this.where, 'cate_id', options.id || ''); this.$set(this.where, 'cate_id', options.id || '');
this.title = options.title || ''; this.title = options.title || '';
this.$set(this.where, 'keyword', options.searchValue || ''); this.$set(this.where, 'keyword', options.searchValue || '');
@ -415,7 +415,7 @@
uni.getStorage({ uni.getStorage({
key: 'GLOBAL_DATA', key: 'GLOBAL_DATA',
success: (res) => { success: (res) => {
console.log(res); // console.log(res);
if (res.data.mer_location == 1) { if (res.data.mer_location == 1) {
this.mer_location = res.data.mer_location this.mer_location = res.data.mer_location
this.selfLocation() this.selfLocation()
@ -448,7 +448,7 @@
methods: { methods: {
// //
showMaoLocation(lat, lon) { showMaoLocation(lat, lon) {
console.log(lat, lon) // console.log(lat, lon)
if (!lat || !lon) return this.$util.Tips({ if (!lat || !lon) return this.$util.Tips({
title: '请设置允许商城访问您的位置!' title: '请设置允许商城访问您的位置!'
}); });
@ -458,7 +458,7 @@
latitude: Number(lat), latitude: Number(lat),
longitude: Number(lon) longitude: Number(lon)
}).then(res => { }).then(res => {
console.log('success'); // console.log('success');
}) })
} else { } else {
//#endif //#endif
@ -470,7 +470,7 @@
name: '当前位置', name: '当前位置',
address: this.detaile_address, address: this.detaile_address,
success: function(res) { success: function(res) {
console.log(res) // console.log(res)
}, },
}); });
// #ifdef H5 // #ifdef H5
@ -483,13 +483,13 @@
uni.getLocation({ uni.getLocation({
type: 'gcj02', type: 'gcj02',
success: (res) => { success: (res) => {
console.log(res) // console.log(res)
let latitude, longitude; let latitude, longitude;
latitude = res.latitude.toString(); latitude = res.latitude.toString();
longitude = res.longitude.toString(); longitude = res.longitude.toString();
this.latitude = res.latitude this.latitude = res.latitude
this.longitude = res.longitude this.longitude = res.longitude
console.log(res) // console.log(res)
getGeocoder({ getGeocoder({
lat: latitude, lat: latitude,
long: longitude long: longitude
@ -587,7 +587,7 @@
this.storeList = this.storeList.concat(res.data.list) this.storeList = this.storeList.concat(res.data.list)
this.count = res.data.count this.count = res.data.count
this.loading = false this.loading = false
console.log(this.storeList); // console.log(this.storeList);
}) })
}, },
// //
@ -673,13 +673,13 @@
this.where.brand_id = arr this.where.brand_id = arr
} }
this.activeIndex = index this.activeIndex = index
console.log(this.where.brand_id) // console.log(this.where.brand_id)
this.rightBox = data.status this.rightBox = data.status
this.where.price_on = data.price_on this.where.price_on = data.price_on
this.where.price_off = data.price_off this.where.price_off = data.price_off
this.where.is_trader = data.is_trader this.where.is_trader = data.is_trader
this.loadend = false; this.loadend = false;
console.log(this.where) // console.log(this.where)
this.$set(this.where, 'page', 1) this.$set(this.where, 'page', 1)
this.get_product_list(true); this.get_product_list(true);
@ -779,7 +779,7 @@
that.hotPage, that.hotPage,
that.hotLimit, that.hotLimit,
).then(res => { ).then(res => {
console.log(res); // console.log(res);
that.hotPage++ that.hotPage++
that.hotScroll = res.data.list.length < that.hotLimit that.hotScroll = res.data.list.length < that.hotLimit
that.hostProduct = that.hostProduct.concat(res.data.list) that.hostProduct = that.hostProduct.concat(res.data.list)
@ -842,7 +842,7 @@
that.loading = false; that.loading = false;
that.loadTitle = loadend ? '已全部加载' : '加载更多'; that.loadTitle = loadend ? '已全部加载' : '加载更多';
that.$set(that, 'productList', productList); that.$set(that, 'productList', productList);
console.log(that.productList) // console.log(that.productList)
that.$set(that.where, 'page', that.where.page + 1); that.$set(that.where, 'page', that.where.page + 1);
}).catch(err => { }).catch(err => {
that.loading = false; that.loading = false;
@ -861,13 +861,13 @@
} }
}, },
qctail(item) { qctail(item) {
console.log(item); // console.log(item);
if (item.mer_certificate == '') { if (item.mer_certificate == '') {
return return
} }
this.show = true this.show = true
this.image = item.mer_certificate[0] this.image = item.mer_certificate[0]
console.log(this.show); // console.log(this.show);
}, },
close() { close() {
this.show = false this.show = false

View File

@ -230,7 +230,7 @@
let that = this; let that = this;
getUserInfo().then(res => { getUserInfo().then(res => {
that.userInfoData = res.data; that.userInfoData = res.data;
console.log(res.data.service); // console.log(res.data.service);
if(res.data.service == null){ if(res.data.service == null){
// console.log('123'); // console.log('123');
this.isShow=false this.isShow=false

View File

@ -707,10 +707,10 @@
let that = this; let that = this;
// #ifdef MP // #ifdef MP
arrivalSubscribe().then((res) => { arrivalSubscribe().then((res) => {
console.log(res) // console.log(res)
that.arrivalNoticeFun(); that.arrivalNoticeFun();
}).catch(err => { }).catch(err => {
console.log(err) // console.log(err)
}); });
// #endif // #endif
// #ifndef MP // #ifndef MP
@ -815,13 +815,13 @@
* *
*/ */
iptCartNum: function(e) { iptCartNum: function(e) {
console.log(e); // console.log(e);
console.log(this.productValue[this.attrValue]); // console.log(this.productValue[this.attrValue]);
let productSelect = this.productValue[this.attrValue] let productSelect = this.productValue[this.attrValue]
if ( e > productSelect.stock) { if ( e > productSelect.stock) {
console.log('1'); // console.log('1');
e = productSelect.stock e = productSelect.stock
console.log(e); // console.log(e);
} }
this.$set(this.attr.productSelect, 'cart_num', e); this.$set(this.attr.productSelect, 'cart_num', e);
}, },
@ -902,7 +902,7 @@
//, //,
if (productSelect === undefined && !this.attr.productAttr.length) if (productSelect === undefined && !this.attr.productAttr.length)
productSelect = this.attr.productSelect; productSelect = this.attr.productSelect;
console.log(productSelect); // console.log(productSelect);
//0 //0
if (productSelect === undefined) return; if (productSelect === undefined) return;
let stock = productSelect.stock || 0; let stock = productSelect.stock || 0;
@ -1618,7 +1618,7 @@
"onMenuShareAppMessage", "onMenuShareAppMessage",
"onMenuShareTimeline" "onMenuShareTimeline"
], configAppMessage).then(res => {}).catch(err => { ], configAppMessage).then(res => {}).catch(err => {
console.log(err); // console.log(err);
}) })
}); });
} }

View File

@ -55,7 +55,7 @@
goDetail(url){ goDetail(url){
let urls = url.info[2].value let urls = url.info[2].value
urls = merPath(urls, this.merId) urls = merPath(urls, this.merId)
console.log(urls,'urls'); // console.log(urls,'urls');
if(urls.indexOf("http") != -1){ if(urls.indexOf("http") != -1){
// #ifdef H5 // #ifdef H5
location.href = urls location.href = urls

View File

@ -275,7 +275,7 @@
}, },
fail: function(error) { fail: function(error) {
that.$set(that, 'imageH', 310); that.$set(that, 'imageH', 310);
console.log(error, 'error') // console.log(error, 'error')
} }
}) })
}) })

View File

@ -57,7 +57,7 @@
methods: { methods: {
goDetail(url){ goDetail(url){
let urls = merPath(url, this.merId) let urls = merPath(url, this.merId)
console.log(urls,'urls'); // console.log(urls,'urls');
if(urls.indexOf("http") != -1){ if(urls.indexOf("http") != -1){
// #ifdef H5 // #ifdef H5
location.href = urls location.href = urls

View File

@ -184,7 +184,7 @@
}) })
}, },
getGoods: function(item) { getGoods: function(item) {
console.log(item); // console.log(item);
graphicLstApi(this.where).then(res => { graphicLstApi(this.where).then(res => {
this.cateGoods.push(...res.data.list) this.cateGoods.push(...res.data.list)
if (res.data.list.length < this.where.limit) this.status = 'nomore' if (res.data.list.length < this.where.limit) this.status = 'nomore'

View File

@ -891,7 +891,7 @@ export default {
setVisit({ setVisit({
url: '/pages/index/index' url: '/pages/index/index'
}).then(res => { }).then(res => {
console.log(res); // console.log(res);
}); });
}, },
// //
@ -1053,10 +1053,10 @@ export default {
this.$wechat this.$wechat
.wechatEvevt(['updateAppMessageShareData', 'updateTimelineShareData', 'onMenuShareAppMessage', 'onMenuShareTimeline'], configAppMessage) .wechatEvevt(['updateAppMessageShareData', 'updateTimelineShareData', 'onMenuShareAppMessage', 'onMenuShareTimeline'], configAppMessage)
.then(res => { .then(res => {
console.log(res, '=============================>>WXAPI'); // console.log(res, '=============================>>WXAPI');
}) })
.catch(err => { .catch(err => {
console.log(err); // console.log(err);
}); });
} }
}, },

View File

@ -52,7 +52,7 @@
addor(item, index) { addor(item, index) {
this.info.num += item; this.info.num += item;
if (this.info.num <= 0) { if (this.info.num <= 0) {
console.log(goods_info); // console.log(goods_info);
this.info.num = 1; this.info.num = 1;
} }
}, },

View File

@ -126,12 +126,12 @@
Toast(e.data.msg) Toast(e.data.msg)
this.addGoodsShow = false this.addGoodsShow = false
} else { } else {
console.log(e); // console.log(e);
Toast(e.message) Toast(e.message)
this.addGoodsShow = false this.addGoodsShow = false
} }
}).catch(err => { }).catch(err => {
console.log(err); // console.log(err);
if (err == "已经导入过该商品了") { if (err == "已经导入过该商品了") {
Toast('已经导入过该商品了') Toast('已经导入过该商品了')
this.addGoodsShow = false this.addGoodsShow = false
@ -211,7 +211,7 @@
}, },
fail(res) { fail(res) {
console.log(res); // console.log(res);
}, },
}) })
}, },

View File

@ -112,7 +112,7 @@
confirm(){ confirm(){
this.arrFilter1() this.arrFilter1()
this.arrFilter2() this.arrFilter2()
console.log(this.activeList) // console.log(this.activeList)
let obj = { let obj = {
storeTypeArr:this.selectList, storeTypeArr:this.selectList,
merList: this.activeList, merList: this.activeList,

View File

@ -64,7 +64,7 @@
}) })
}, },
goStore(id) { goStore(id) {
console.log(this.isDetail); // console.log(this.isDetail);
if (this.isDetail == 2) { if (this.isDetail == 2) {
uni.navigateTo({ uni.navigateTo({
url: `/pages/store/home/index?id=${id}` url: `/pages/store/home/index?id=${id}`

View File

@ -54,7 +54,7 @@
} }
}, },
onLoad(options) { onLoad(options) {
console.log(options.merid,'123'); // console.log(options.merid,'123');
this.merId = options.merid this.merId = options.merid
}, },
onShow() { onShow() {
@ -83,7 +83,7 @@
// //
async getDefaultData() { async getDefaultData() {
const res = await getOrderList(this.serObj, this.merId) const res = await getOrderList(this.serObj, this.merId)
console.log(res); // console.log(res);
this.goodsList = res.data.list this.goodsList = res.data.list
}, },
//--- //---

View File

@ -126,7 +126,7 @@
productDetail(item.mer_id, item.product_id).then(res => { productDetail(item.mer_id, item.product_id).then(res => {
this.particulars = res.data this.particulars = res.data
}) })
console.log('打开弹框', item); // console.log('', item);
}, },
popupClose() { popupClose() {
this.goodsPrive = '' this.goodsPrive = ''

View File

@ -119,7 +119,7 @@
}) })
}, },
valChange(e) { valChange(e) {
console.log('当前值为: ' + e.value) // console.log(': ' + e.value)
}, },
// *data // *data
handelInfo(data) {}, handelInfo(data) {},
@ -186,7 +186,7 @@
// }) // })
let that = this; let that = this;
const count = '1' const count = '1'
console.log(111); // console.log(111);
getProductDetail(item.product_id, { product_type: 98 }).then(res => { getProductDetail(item.product_id, { product_type: 98 }).then(res => {
const unique = Object.values(res.data.sku)[0].unique const unique = Object.values(res.data.sku)[0].unique
that.goCat(res.data.product_id, count, unique) that.goCat(res.data.product_id, count, unique)

View File

@ -418,7 +418,7 @@
methods: { methods: {
// //
location(e) { location(e) {
console.log(e) // console.log(e)
this.getOrderInfo(e) this.getOrderInfo(e)
}, },
// //
@ -427,7 +427,7 @@
.$util.Tips({ .$util.Tips({
title: '请设置允许商城访问您的位置!' title: '请设置允许商城访问您的位置!'
}); });
console.log("asdf", this.$wechat) // console.log("asdf", this.$wechat)
let that = this, let that = this,
lat = parseFloat(e.take.mer_take_location[0]), lat = parseFloat(e.take.mer_take_location[0]),
long = parseFloat(e.take.mer_take_location[1]) long = parseFloat(e.take.mer_take_location[1])
@ -438,7 +438,7 @@
longitude: Number(long), longitude: Number(long),
address: e.take ? e.take.mer_take_name : '' address: e.take ? e.take.mer_take_name : ''
}).then(res => { }).then(res => {
console.log('success'); // console.log('success');
}) })
} else { } else {
//#endif //#endif
@ -457,11 +457,11 @@
getOrderInfo: function(e) { getOrderInfo: function(e) {
let that = this; let that = this;
getOrderDetail(e).then(res => { getOrderDetail(e).then(res => {
console.log("osss", res) // console.log("osss", res)
that.showMaoLocation(res.data) that.showMaoLocation(res.data)
}).catch(err => { }).catch(err => {
// uni.hideLoading(); // uni.hideLoading();
console.log("ossdds", err) // console.log("ossdds", err)
that.$util.Tips({ that.$util.Tips({
title: err title: err
}); });
@ -691,11 +691,11 @@
that.isReady = true; that.isReady = true;
let list = res.data.list || []; let list = res.data.list || [];
let loadend = list.length < that.limit; 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 that.orderList = that.page == 1 ? list : that.$util.SplitArray(list, that
.orderList); .orderList);
that.$set(that, 'orderList', that.orderList); that.$set(that, 'orderList', that.orderList);
console.log(that.orderList) // console.log(that.orderList)
that.getProductCount(); that.getProductCount();
that.loadend = loadend; that.loadend = loadend;
that.loading = false; that.loading = false;

View File

@ -280,7 +280,7 @@
methods: { methods: {
// //
authColse: function(e) { authColse: function(e) {
console.log(e, 'authColse') // console.log(e, 'authColse')
this.isShowAuth = e; this.isShowAuth = e;
}, },
onLoadFun() { onLoadFun() {
@ -388,7 +388,7 @@
that.goods = JSON.parse((JSON.stringify(goods))); that.goods = JSON.parse((JSON.stringify(goods)));
that.currSku = goods.productAttr.sku.split(","); that.currSku = goods.productAttr.sku.split(",");
that.$set(that.attr, 'productAttr', goods.attr); that.$set(that.attr, 'productAttr', goods.attr);
console.log(this.attr) // console.log(this.attr)
const sku = {} const sku = {}
that.attrValue = goods.productAttr.sku that.attrValue = goods.productAttr.sku
that.attrImage = goods.product.image that.attrImage = goods.product.image
@ -410,7 +410,7 @@
let productAttr = this.attr.productAttr; let productAttr = this.attr.productAttr;
let value = []; let value = [];
let arr = [] let arr = []
console.log(arr, 'arr') // console.log(arr, 'arr')
if (this.currSku) { if (this.currSku) {
value = this.currSku value = this.currSku
} else { } else {
@ -551,7 +551,7 @@
Toast(res.result) Toast(res.result)
}, },
fail(res) { fail(res) {
console.log(res); // console.log(res);
}, },
}) })
// #endif // #endif
@ -662,7 +662,7 @@
getCartNum: function() { getCartNum: function() {
let that = this; let that = this;
getCartCounts({ product_type: 98 }).then(res => { getCartCounts({ product_type: 98 }).then(res => {
console.log(res); // console.log(res);
that.cartTotalCount = res.data[0].count || 0; that.cartTotalCount = res.data[0].count || 0;
}); });
}, },
@ -670,7 +670,7 @@
getCartList: function(isChange) { getCartList: function(isChange) {
let that = this; let that = this;
getCartList({ product_type: 98 }).then(res => { getCartList({ product_type: 98 }).then(res => {
console.log("购物车", res) // console.log("", res)
res.data.list.forEach((item, index) => { res.data.list.forEach((item, index) => {
item.allCheck = true item.allCheck = true
item.list.forEach((goods, j) => { item.list.forEach((goods, j) => {
@ -844,7 +844,7 @@
ChangCouponsUseState(index) { ChangCouponsUseState(index) {
let that = this; let that = this;
that.coupon.list[index].issue = true; that.coupon.list[index].issue = true;
console.log(that.coupon.list[index]) // console.log(that.coupon.list[index])
}, },
}, },
onReachBottom() { onReachBottom() {

View File

@ -263,7 +263,7 @@
async getStoreMerchant() { async getStoreMerchant() {
const res = await storeMerchantList(this.sotreParam) const res = await storeMerchantList(this.sotreParam)
this.storeMerchant.push(...res.data.list) this.storeMerchant.push(...res.data.list)
console.log(this.storeMerchant); // console.log(this.storeMerchant);
if (res.data.list.length < 10) this.status = 'nomore' if (res.data.list.length < 10) this.status = 'nomore'
}, },
async searchStoreMerchant() { async searchStoreMerchant() {
@ -314,7 +314,7 @@
this.show = false this.show = false
}, },
select(e) { select(e) {
console.log('select', e); // console.log('select', e);
}, },
scrolltolower() { scrolltolower() {

View File

@ -405,7 +405,7 @@
name: '当前位置', name: '当前位置',
address: this.location_address address: this.location_address
}).then(res => { }).then(res => {
console.log('success'); // console.log('success');
}) })
} else { } else {
//#endif //#endif
@ -416,7 +416,7 @@
address: this.location_address, address: this.location_address,
scale: 8, scale: 8,
success: function(res) { success: function(res) {
console.log(res) // console.log(res)
}, },
}); });
// #ifdef H5 // #ifdef H5
@ -435,7 +435,7 @@
name: item.mer_name, name: item.mer_name,
address: item.mer_address ? item.mer_address : '', address: item.mer_address ? item.mer_address : '',
}).then(res => { }).then(res => {
console.log('success'); // console.log('success');
}) })
} else { } else {
//#endif //#endif
@ -446,7 +446,7 @@
name: item.mer_name, name: item.mer_name,
address: item.mer_address ? item.mer_address : '', address: item.mer_address ? item.mer_address : '',
success: function(res) { success: function(res) {
console.log(res) // console.log(res)
}, },
}); });
// #ifdef H5 // #ifdef H5
@ -467,7 +467,7 @@
lat: latitude, lat: latitude,
long: longitude long: longitude
}).then(res => { }).then(res => {
console.log(res) // console.log(res)
this.detaile_address = res.data.address; this.detaile_address = res.data.address;
this.location_address = res.data.address; this.location_address = res.data.address;
this.recommend_address = res.data.address.length > 4 ? res.data.address this.recommend_address = res.data.address.length > 4 ? res.data.address
@ -505,7 +505,7 @@
if (this.latitude) { if (this.latitude) {
rqData.location = this.latitude + ',' + this.longitude rqData.location = this.latitude + ',' + this.longitude
} }
console.log(rqData) // console.log(rqData)
storeMerchantList(rqData).then(res => { storeMerchantList(rqData).then(res => {
this.count = res.data.count this.count = res.data.count
this.storeList = this.storeList.concat(res.data.list) this.storeList = this.storeList.concat(res.data.list)
@ -588,13 +588,13 @@
uni.$emit('scroll'); uni.$emit('scroll');
}, },
qctail(item) { qctail(item) {
console.log(item); // console.log(item);
if (item.mer_certificate == '') { if (item.mer_certificate == '') {
return return
} }
this.show = true this.show = true
this.image = item.mer_certificate[0] this.image = item.mer_certificate[0]
console.log(this.show); // console.log(this.show);
}, },
}, },
// //

View File

@ -284,7 +284,7 @@
methods: { methods: {
// //
authColse: function(e) { authColse: function(e) {
console.log(e,'authColse') // console.log(e,'authColse')
this.isShowAuth = e; this.isShowAuth = e;
}, },
onLoadFun(){ onLoadFun(){
@ -413,7 +413,7 @@
let productAttr = this.attr.productAttr; let productAttr = this.attr.productAttr;
let value = []; let value = [];
let arr = [] let arr = []
console.log(arr, 'arr') // console.log(arr, 'arr')
if(this.currSku){ if(this.currSku){
value = this.currSku value = this.currSku
}else{ }else{
@ -824,7 +824,7 @@
ChangCouponsUseState(index) { ChangCouponsUseState(index) {
let that = this; let that = this;
that.coupon.list[index].issue = true; that.coupon.list[index].issue = true;
console.log(that.coupon.list[index]) // console.log(that.coupon.list[index])
}, },
}, },
onReachBottom() { onReachBottom() {

View File

@ -545,7 +545,7 @@
} }
}) })
} else if(res.cancel) { } else if(res.cancel) {
console.log('用户点击取消'); // console.log('');
} }
} }
}); });
@ -614,7 +614,7 @@
longitude: Number(long), longitude: Number(long),
address: that.orderInfo.take ? that.orderInfo.take.mer_take_name : '' address: that.orderInfo.take ? that.orderInfo.take.mer_take_name : ''
}).then(res=>{ }).then(res=>{
console.log('success'); // console.log('success');
}) })
}else{ }else{
//#endif //#endif
@ -739,7 +739,7 @@
// #ifndef H5 // #ifndef H5
copy: function() { copy: function() {
let that = this; let that = this;
console.log(that.orderInfo.order_sn) // console.log(that.orderInfo.order_sn)
uni.setClipboardData({ uni.setClipboardData({
data: that.orderInfo.order_sn, data: that.orderInfo.order_sn,
success: function(res){ success: function(res){
@ -841,7 +841,7 @@
if (res.confirm) { if (res.confirm) {
orderDel(self.orderInfo.order_id) orderDel(self.orderInfo.order_id)
.then((data) => { .then((data) => {
console.log(data) // console.log(data)
self.$util.Tips({ self.$util.Tips({
title: data.msg title: data.msg
}, { }, {
@ -854,7 +854,7 @@
}); });
}); });
} else if (res.cancel) { } else if (res.cancel) {
console.log('用户点击取消'); // console.log('');
} }
} }
}); });

View File

@ -861,7 +861,7 @@
uni.hideLoading(); uni.hideLoading();
that.$set(that, 'orderInfo', res.data); that.$set(that, 'orderInfo', res.data);
}).catch(err => { }).catch(err => {
console.log(err) // console.log(err)
uni.hideLoading(); uni.hideLoading();
that.$util.Tips({ that.$util.Tips({
title: err title: err
@ -890,7 +890,7 @@
if (res.confirm) { if (res.confirm) {
unOrderCancel(self.order_id) unOrderCancel(self.order_id)
.then((data) => { .then((data) => {
console.log(data) // console.log(data)
self.$util.Tips({ self.$util.Tips({
title: data.message title: data.message
}, { }, {
@ -901,7 +901,7 @@
self.getDetail(); self.getDetail();
}); });
} else if (res.cancel) { } else if (res.cancel) {
console.log('用户点击取消'); // console.log('');
} }
} }
}); });

View File

@ -298,7 +298,7 @@
mask: true mask: true
}); });
let data = this.followDetail; let data = this.followDetail;
console.log(data) // console.log(data)
let routes = getCurrentPages(); // let routes = getCurrentPages(); //
let curRoute = routes[routes.length - 1].$page.fullPath // let curRoute = routes[routes.length - 1].$page.fullPath //
uni.share({ uni.share({
@ -532,7 +532,7 @@
} }
}) })
} else if(res.cancel) { } else if(res.cancel) {
console.log('用户点击取消'); // console.log('');
} }
} }
}); });

View File

@ -261,7 +261,7 @@
count: 1, count: 1,
sizeType: ['original'], sizeType: ['original'],
success: (res) => { success: (res) => {
console.log(res) // console.log(res)
let tempFilePaths = res.tempFilePaths[0] let tempFilePaths = res.tempFilePaths[0]
//#ifdef APP-PLUS //#ifdef APP-PLUS
if(uni.getSystemInfoSync().platform == 'ios'){ if(uni.getSystemInfoSync().platform == 'ios'){
@ -277,7 +277,7 @@
that.showCd = true; that.showCd = true;
}, },
fail: err => { fail: err => {
console.log('失败了compressImage', tempFilePaths); // console.log('compressImage', tempFilePaths);
that.imageSrc = tempFilePaths that.imageSrc = tempFilePaths
that.showCd = true that.showCd = true
} }
@ -307,7 +307,7 @@
this.doUpload(res.tempFilePath) this.doUpload(res.tempFilePath)
}else{ }else{
uni.hideLoading() uni.hideLoading()
console.log(err) // console.log(err)
} }
}) })
}, },

View File

@ -107,7 +107,7 @@
self.historyList = [] self.historyList = []
} catch (e) {} } catch (e) {}
} else if (res.cancel) { } else if (res.cancel) {
console.log('用户点击取消'); // console.log('');
} }
} }
}); });

View File

@ -64,7 +64,7 @@
let that = this let that = this
uni.getSystemInfo({ uni.getSystemInfo({
success: function(res) { success: function(res) {
console.log(res,'res') // console.log(res,'res')
that.winHeight = res.windowHeight that.winHeight = res.windowHeight
}, },
}); });

View File

@ -221,7 +221,7 @@
// uni.hideTabBar() // uni.hideTabBar()
this.id = options.id; this.id = options.id;
this.order_id = options.order_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; this.tabActive = options.type || 1;
if (this.community_app_switch.length == 1) { if (this.community_app_switch.length == 1) {
this.tabActive = this.community_app_switch[0] this.tabActive = this.community_app_switch[0]
@ -293,7 +293,7 @@
count: 1, count: 1,
sizeType: ['original'], sizeType: ['original'],
success: (res) => { success: (res) => {
console.log(res) // console.log(res)
let tempFilePaths = res.tempFilePaths[0] let tempFilePaths = res.tempFilePaths[0]
//#ifdef APP-PLUS //#ifdef APP-PLUS
if (uni.getSystemInfoSync().platform == 'ios') { if (uni.getSystemInfoSync().platform == 'ios') {
@ -309,7 +309,7 @@
that.showCd = true; that.showCd = true;
}, },
fail: err => { fail: err => {
console.log('失败了compressImage', tempFilePaths); // console.log('compressImage', tempFilePaths);
that.imageSrc = tempFilePaths that.imageSrc = tempFilePaths
that.showCd = true that.showCd = true
} }
@ -339,7 +339,7 @@
this.doUpload(res.tempFilePath) this.doUpload(res.tempFilePath)
} else { } else {
uni.hideLoading() uni.hideLoading()
console.log(err) // console.log(err)
} }
}) })
}, },
@ -457,7 +457,7 @@
}, },
screenChange(e) { screenChange(e) {
let fullScreen = e.detail.fullScreen; //truefalse退 let fullScreen = e.detail.fullScreen; //truefalse退
console.log(e, "qweeee========================================"); // console.log(e, "qweeee========================================");
if (!fullScreen) { if (!fullScreen) {
this.videoplay = false this.videoplay = false
//退 this.videoplay = false; // //退 this.videoplay = false; //
@ -593,7 +593,7 @@
that.topicName = {} that.topicName = {}
}, 1000); }, 1000);
}).catch(err => { }).catch(err => {
console.log('aaa', value) // console.log('aaa', value)
return that.$util.Tips({ return that.$util.Tips({
title: err title: err
}); });

View File

@ -152,7 +152,7 @@ export default {
watch: { watch: {
billingData: { billingData: {
handler(val) { handler(val) {
console.log(val); // console.log(val);
}, },
deep: true deep: true
} }
@ -226,7 +226,7 @@ export default {
if(!this.billingData.undelives)this.billingData.undelives = {} if(!this.billingData.undelives)this.billingData.undelives = {}
this.billingData.undelives['city_id'] = item.map(val => val.id); this.billingData.undelives['city_id'] = item.map(val => val.id);
this.allReadySelect = item; this.allReadySelect = item;
console.log(this.billingData.undelives) // console.log(this.billingData.undelives)
this.$refs.area_popup.close(); this.$refs.area_popup.close();
}, },
// //
@ -297,7 +297,7 @@ export default {
}, },
// //
goDistributionArea() { goDistributionArea() {
console.log(this.billingData.region) // console.log(this.billingData.region)
this.$set(this.popup, 'show', true); this.$set(this.popup, 'show', true);
this.$refs.distributionArea.initListData(); this.$refs.distributionArea.initListData();
}, },

View File

@ -30,7 +30,7 @@
} }
}, },
getProductContent(obj) { getProductContent(obj) {
console.log(obj); // console.log(obj);
this.goodsDis = obj; this.goodsDis = obj;
this.a=obj.store_name this.a=obj.store_name
}, },

View File

@ -393,8 +393,8 @@
}; };
}, },
onLoad(opt) { onLoad(opt) {
console.log(this.deliveryFreeList); // console.log(this.deliveryFreeList);
console.log(opt); // console.log(opt);
this.merId = Number(opt.mer_id); this.merId = Number(opt.mer_id);
this.product_id = opt.product_id; this.product_id = opt.product_id;
if (opt.code) { if (opt.code) {
@ -426,7 +426,7 @@
this.initClasiffy(); this.initClasiffy();
}, },
beforeDestroy() { beforeDestroy() {
console.log('123'); // console.log('123');
uni.removeStorage({ uni.removeStorage({
key: 'addGoodsFormData' key: 'addGoodsFormData'
}); });
@ -434,7 +434,7 @@
watch: { watch: {
setFormData: { setFormData: {
handler(val) { handler(val) {
console.log(val); // console.log(val);
setTimeout(() => { setTimeout(() => {
setStorage('addGoodsFormData', this.setFormData); setStorage('addGoodsFormData', this.setFormData);
}); });
@ -589,7 +589,7 @@
}, },
doUpload(rsp) { doUpload(rsp) {
let that = this let that = this
console.log(rsp); // console.log(rsp);
uni.uploadFile({ uni.uploadFile({
url: HTTP_REQUEST_URL + '/api/upload/image/field', url: HTTP_REQUEST_URL + '/api/upload/image/field',
filePath: rsp.path, filePath: rsp.path,
@ -605,12 +605,12 @@
[TOKENNAME]: 'Bearer ' + store.state.app.token [TOKENNAME]: 'Bearer ' + store.state.app.token
}, },
success: (uploadFileRes) => { success: (uploadFileRes) => {
console.log(uploadFileRes.data); // console.log(uploadFileRes.data);
let imgData = JSON.parse(uploadFileRes.data) let imgData = JSON.parse(uploadFileRes.data)
that.setFormData.imageList.push(imgData.data.path) that.setFormData.imageList.push(imgData.data.path)
}, },
complete(res) { complete(res) {
console.log(res) // console.log(res)
} }
}); });
}, },
@ -724,6 +724,7 @@
if (getStorage('attrValue')) { if (getStorage('attrValue')) {
removeStorage('attrValue'); removeStorage('attrValue');
} }
console.log(item);
this.setFormData.specifica = item.template_name; this.setFormData.specifica = item.template_name;
this.setFormData.attr = []; this.setFormData.attr = [];
this.setFormData.attr = this.setFormData.attr.concat(item.template_value); this.setFormData.attr = this.setFormData.attr.concat(item.template_value);
@ -764,7 +765,7 @@
} else { } else {
this.transport[1].DoNotShow = true; this.transport[1].DoNotShow = true;
} }
console.log(this.transport[1]); // console.log(this.transport[1]);
} }
}, },
@ -802,7 +803,7 @@
scrolltolower() {}, scrolltolower() {},
// //
getTempIdData(obj) { getTempIdData(obj) {
console.log(obj); // console.log(obj);
this.setFormData.temp_id = obj[0].value; this.setFormData.temp_id = obj[0].value;
this.setFormData.tempName = obj[0].label; this.setFormData.tempName = obj[0].label;
this.$refs.tempId.close(); this.$refs.tempId.close();
@ -816,7 +817,7 @@
// //
handleNextStep() { handleNextStep() {
console.log(this.setFormData.setSpecificaValue) // console.log(this.setFormData.setSpecificaValue)
let canJumpFlag = true; let canJumpFlag = true;
let requireData = { let requireData = {
image: '请选择主图', image: '请选择主图',

View File

@ -212,8 +212,8 @@ export default {
batchData:{ batchData:{
handler(val){ handler(val){
console.log(val); console.log(val);
// this.multiSpecificationList this.multiSpecificationList
// setStorage('attrValue', this.multiSpecificationList); setStorage('attrValue', this.multiSpecificationList);
}, },
deep:true, deep:true,
@ -247,7 +247,7 @@ export default {
}, },
doUpload(rsp) { doUpload(rsp) {
console.log(rsp); // console.log(rsp);
let that = this; let that = this;
uni.uploadFile({ uni.uploadFile({
url: HTTP_REQUEST_URL + '/api/upload/image/field', url: HTTP_REQUEST_URL + '/api/upload/image/field',
@ -264,13 +264,13 @@ export default {
[TOKENNAME]: 'Bearer ' + store.state.app.token [TOKENNAME]: 'Bearer ' + store.state.app.token
}, },
success: (uploadFileRes) => { success: (uploadFileRes) => {
console.log(uploadFileRes.data); // console.log(uploadFileRes.data);
let imgData = JSON.parse(uploadFileRes.data) let imgData = JSON.parse(uploadFileRes.data)
that.multiSpecificationList[that.index]['image'] = imgData.data.path; that.multiSpecificationList[that.index]['image'] = imgData.data.path;
}, },
complete(res) { complete(res) {
console.log(res) // console.log(res)
console.log(that.multiSpecificationList); // console.log(that.multiSpecificationList);
} }
}); });
}, },

View File

@ -49,7 +49,7 @@ export default {
watch: { watch: {
selectFormList: { selectFormList: {
handler(val) { handler(val) {
console.log(val); // console.log(val);
this.selectNum = val.filter(item => item.select).length; this.selectNum = val.filter(item => item.select).length;
if(this.selectNum == val.length) { if(this.selectNum == val.length) {
this.allSelect = true; this.allSelect = true;
@ -67,7 +67,7 @@ export default {
methods: { methods: {
// //
handleJumpLogic(item) { handleJumpLogic(item) {
console.log(item); // console.log(item);
uni.navigateTo({ uni.navigateTo({
url: `/pages/product/addGoods/specificationProperties?mer_id=${item.mer_id}&template_id=${item.attr_template_id}` url: `/pages/product/addGoods/specificationProperties?mer_id=${item.mer_id}&template_id=${item.attr_template_id}`
}) })

View File

@ -123,7 +123,7 @@
}, },
created() { created() {
console.log('123'); // console.log('123');
this.initData(); this.initData();
}, },
@ -138,7 +138,7 @@
}, },
resetKey: { resetKey: {
handler(val) { handler(val) {
console.log(1); // console.log(1);
this.initData(); this.initData();
} }
} }
@ -200,8 +200,8 @@
}; };
postData.attrValue = attrValue.filter(item => item != ''); postData.attrValue = attrValue.filter(item => item != '');
postData.attrValue[0].bar_code
postData.attrValue[0].bar_code = this.code // console.log(postData);
if (getStorage('addGoodsFormData').spec_type == 0) { if (getStorage('addGoodsFormData').spec_type == 0) {
// postData.attr = [getStorage('singleSpecification')]; // postData.attr = [getStorage('singleSpecification')];
} }

View File

@ -259,7 +259,7 @@
this.merState = res.data.mer_state === 1 ? true : false this.merState = res.data.mer_state === 1 ? true : false
// console.log('res', res.data); // console.log('res', res.data);
}).catch(err => { }).catch(err => {
console.log('err', err); // console.log('err', err);
}) })
}, },
checkboxChange(val) { checkboxChange(val) {
@ -315,7 +315,7 @@
uni.switchTab({ uni.switchTab({
url: '/pages/gather/gather', url: '/pages/gather/gather',
fail: (err) => { fail: (err) => {
console.log('err', err); // console.log('err', err);
} }
}); });
}, 2000) }, 2000)

View File

@ -153,7 +153,7 @@ export default {
}, },
// //
delSelectItem(item, index) { delSelectItem(item, index) {
console.log(1); // console.log(1);
this.selectList.splice(index, 1); this.selectList.splice(index, 1);
}, },
// //

View File

@ -122,7 +122,7 @@ export default {
methods: { methods: {
// //
initListData(){ initListData(){
console.log(this.freightData) // console.log(this.freightData)
let arr = [...this.freightData] let arr = [...this.freightData]
if(arr.length == 0){ if(arr.length == 0){
arr = [ arr = [

View File

@ -89,7 +89,7 @@
watch: { watch: {
prodectContent: { prodectContent: {
handler(val) { handler(val) {
console.log(val.store_name); // console.log(val.store_name);
this.upstore=val.store_name this.upstore=val.store_name
this.$emit('getProductContent', val); this.$emit('getProductContent', val);
@ -125,7 +125,7 @@
avatar.fChooseImg(1, { selWidth: '350upx', selHeight: '350upx', inner: true }); avatar.fChooseImg(1, { selWidth: '350upx', selHeight: '350upx', inner: true });
}, },
doUpload(rsp) { doUpload(rsp) {
console.log(rsp); // console.log(rsp);
let that = this let that = this
uni.uploadFile({ uni.uploadFile({
url: HTTP_REQUEST_URL + '/api/upload/image/field', url: HTTP_REQUEST_URL + '/api/upload/image/field',
@ -142,13 +142,13 @@
[TOKENNAME]: 'Bearer ' + store.state.app.token [TOKENNAME]: 'Bearer ' + store.state.app.token
}, },
success: (uploadFileRes) => { success: (uploadFileRes) => {
console.log(uploadFileRes.data); // console.log(uploadFileRes.data);
let imgData = JSON.parse(uploadFileRes.data) let imgData = JSON.parse(uploadFileRes.data)
// that.prodectContent.imageList.push(imgData.data.path) // that.prodectContent.imageList.push(imgData.data.path)
that.prodectContent = { imageList: [...that.prodectContent.imageList, imgData.data.path] ,store_name:this.upstore} that.prodectContent = { imageList: [...that.prodectContent.imageList, imgData.data.path] ,store_name:this.upstore}
}, },
complete(res) { complete(res) {
console.log(res) // console.log(res)
} }
}); });
}, },

View File

@ -146,7 +146,7 @@ export default {
this.assemblyList = serialize(this.classifiedData); this.assemblyList = serialize(this.classifiedData);
}, },
selectItem(item, samelevel) { selectItem(item, samelevel) {
console.log(item); // console.log(item);
if (this.selectProductItem.multiple) { if (this.selectProductItem.multiple) {
// //
if (!item.children || !item.children.length) { if (!item.children || !item.children.length) {

View File

@ -71,7 +71,7 @@ export default {
}, },
// //
selectTap(item, index) { selectTap(item, index) {
console.log(item); // console.log(item);
if(index == 0){ if(index == 0){
this.tapList=[] this.tapList=[]
this.selectClassifiedData = serialize(this.classifiedData); this.selectClassifiedData = serialize(this.classifiedData);

View File

@ -95,7 +95,7 @@
this.isShowLastItem = false; this.isShowLastItem = false;
return; return;
} }
console.log(item); // console.log(item);
// titletitleitem // titletitleitem
if (this.selectTapIndex > -1) { if (this.selectTapIndex > -1) {
this.tapList.splice(this.selectTapIndex, 999); this.tapList.splice(this.selectTapIndex, 999);

View File

@ -192,7 +192,7 @@ export default {
}); });
}, },
editGoods(item) { editGoods(item) {
console.log(item); // console.log(item);
let waitDeleteData = [ let waitDeleteData = [
'addGoodsFormData', 'addGoodsFormData',
'singleSpecification', 'singleSpecification',

View File

@ -250,7 +250,7 @@
icon: 'none' icon: 'none'
}) })
} else if (res.cancel) { } else if (res.cancel) {
console.log('用户点击取消'); // console.log('');
} }
} }
}); });

View File

@ -87,7 +87,7 @@ export default {
this.handleProductRestore(obj, index); this.handleProductRestore(obj, index);
} }
console.log(item, obj); // console.log(item, obj);
} }
} }
}; };

View File

@ -422,11 +422,11 @@
this.dataList[old_k].playIng = false //如果视频暂停,就加载封面 this.dataList[old_k].playIng = false //如果视频暂停,就加载封面
this.dataList[old_k].isplay = true this.dataList[old_k].isplay = true
this.dataList[old_k].state = 'pause' 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版本已经去掉了下面这一句,视频不用暂停,只需要把声音禁止就行 // 2.0版本已经去掉了下面这一句,视频不用暂停,只需要把声音禁止就行
uni.createVideoContext(this.dataList[old_k].community_id, this) uni.createVideoContext(this.dataList[old_k].community_id, this)
.pause() //如果视频暂停那么旧视频停止这里的this.dataList[old_k].id + '' + old_k后面加 old_k 是为了每一个视频的 id 值不同,这样就可以大程度的避免串音问题 .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].state = 'play'
this.dataList[new_k].isplay = false this.dataList[new_k].isplay = false
this.dataList[new_k].playIng = true this.dataList[new_k].playIng = true
@ -435,7 +435,7 @@
}, },
onShow() { onShow() {
uni.hideLoading(); uni.hideLoading();
console.log('回到前台' + this.dataList.length); // console.log('回到前台' + this.dataList.length);
if (this.dataList.length !== 0) { if (this.dataList.length !== 0) {
this.dataList[this.k].state = 'play'; this.dataList[this.k].state = 'play';
setTimeout(() => { setTimeout(() => {
@ -448,7 +448,7 @@
setTimeout(() => { setTimeout(() => {
uni.createVideoContext(this.dataList[this.k].community_id, this).pause(); //暂停以后继续播放 uni.createVideoContext(this.dataList[this.k].community_id, this).pause(); //暂停以后继续播放
}, 250) }, 250)
console.log('到后台'); // console.log('到后台');
}, },
onLoad(options) { onLoad(options) {
this.videoID = options.id || 0; this.videoID = options.id || 0;
@ -456,7 +456,7 @@
this.userUid = options.uid ? options.uid : 0; this.userUid = options.uid ? options.uid : 0;
this.isSatrt = options.tab == 1 ? 1 : 0; this.isSatrt = options.tab == 1 ? 1 : 0;
if (options.pid) app.globalData.spid = options.pid; if (options.pid) app.globalData.spid = options.pid;
console.log('到后台'); // console.log('到后台');
this.platform = uni.getSystemInfoSync().platform this.platform = uni.getSystemInfoSync().platform
this.windowWidth = uni.getSystemInfoSync().screenWidth //获取屏幕宽度 this.windowWidth = uni.getSystemInfoSync().screenWidth //获取屏幕宽度
this.boxStyle.width = this.windowWidth + 'px' //给宽度加px this.boxStyle.width = this.windowWidth + 'px' //给宽度加px
@ -604,7 +604,7 @@
} }
}) })
} else if (res.cancel) { } else if (res.cancel) {
console.log('用户点击取消'); // console.log('用户点击取消');
} }
} }
}); });
@ -808,13 +808,13 @@
if (uni.getSystemInfoSync().platform == 'ios') { if (uni.getSystemInfoSync().platform == 'ios') {
this.k = i //判断了用户没有滑动,确认了用户的确是在看这个视频,然后就赋值啦 this.k = i //判断了用户没有滑动,确认了用户的确是在看这个视频,然后就赋值啦
this.dataList[this.k].state = 'play' this.dataList[this.k].state = 'play'
console.log('正在播放 --> 第' + (this.k + 1) + '个视频~') // console.log('正在播放 --> 第' + (this.k + 1) + '个视频~')
} else { } else {
clearTimeout(this.timers); clearTimeout(this.timers);
this.timers = setTimeout(() => { this.timers = setTimeout(() => {
this.k = i //判断了用户没有滑动,确认了用户的确是在看这个视频,然后就赋值啦 this.k = i //判断了用户没有滑动,确认了用户的确是在看这个视频,然后就赋值啦
this.dataList[this.k].state = 'play' this.dataList[this.k].state = 'play'
console.log('正在播放 --> 第' + (this.k + 1) + '个视频~') // console.log('正在播放 --> 第' + (this.k + 1) + '个视频~')
}, 80) }, 80)
} }
} }

View File

@ -226,7 +226,7 @@
let that = this; let that = this;
let reply_id = that.reply_id ? that.reply_id : 0 let reply_id = that.reply_id ? that.reply_id : 0
replyCreateApi(that.id,{content: that.content,reply_id: reply_id}).then(res => { 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(res.status == 1){
if(that.isChild){ if(that.isChild){
if(that.list[that.index]['children']){ if(that.list[that.index]['children']){
@ -254,7 +254,7 @@
toReply(item,index){ toReply(item,index){
this.content = "" this.content = ""
this.placeholder = '回复:'+item.author.nickname this.placeholder = '回复:'+item.author.nickname
console.log(this.placeholder) // console.log(this.placeholder)
this.reply_id = item.reply_id this.reply_id = item.reply_id
this.isChild = true this.isChild = true
this.index = index; this.index = index;

View File

@ -409,11 +409,11 @@
this.dataList[old_k].playIng = false //如果视频暂停,就加载封面 this.dataList[old_k].playIng = false //如果视频暂停,就加载封面
this.dataList[old_k].isplay = true this.dataList[old_k].isplay = true
this.dataList[old_k].state = 'pause' 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版本已经去掉了下面这一句,视频不用暂停,只需要把声音禁止就行 // 2.0版本已经去掉了下面这一句,视频不用暂停,只需要把声音禁止就行
uni.createVideoContext(this.dataList[old_k].community_id + '' + old_k, this) uni.createVideoContext(this.dataList[old_k].community_id + '' + old_k, this)
.pause() //如果视频暂停那么旧视频停止这里的this.dataList[old_k].id + '' + old_k后面加 old_k 是为了每一个视频的 id 值不同,这样就可以大程度的避免串音问题 .pause() //如果视频暂停那么旧视频停止这里的this.dataList[old_k].id + '' + old_k后面加 old_k 是为了每一个视频的 id 值不同,这样就可以大程度的避免串音问题
console.log('已经暂停 --> 第' + (old_k + 1) + '个视频~') //提示 // console.log('已经暂停 --> 第' + (old_k + 1) + '个视频~') //提示
// #ifdef MP // #ifdef MP
this.dataList[new_k].state = 'play' this.dataList[new_k].state = 'play'
this.dataList[new_k].isplay = false this.dataList[new_k].isplay = false
@ -428,7 +428,7 @@
} }
}, },
onLoad(options) { onLoad(options) {
console.log(options); // console.log(options);
this.getOptions(options); this.getOptions(options);
this.videoID = options.id; this.videoID = options.id;
this.isUser = options.user == 1 ? true : false; this.isUser = options.user == 1 ? true : false;
@ -577,7 +577,7 @@
} }
}) })
} else if (res.cancel) { } else if (res.cancel) {
console.log('用户点击取消'); // console.log('用户点击取消');
} }
} }
}); });
@ -593,14 +593,14 @@
this.isShowAuth = e this.isShowAuth = e
}, },
play(k) { play(k) {
console.log(' 播放了', k) // console.log(' 播放了', k)
this.dataList[k].isplay = false this.dataList[k].isplay = false
this.dataList[k].playIng = true this.dataList[k].playIng = true
this.dataList[k].state = 'play' this.dataList[k].state = 'play'
this.dataList[k].loading = false this.dataList[k].loading = false
}, },
waiting(k) { waiting(k) {
console.log('视频缓冲了', k) // console.log('视频缓冲了', k)
this.dataList[k].loading = true this.dataList[k].loading = true
}, },
pinlunFun(e) { pinlunFun(e) {
@ -672,7 +672,7 @@
}, },
//点击播放&&暂停 //点击播放&&暂停
tapVideoHover(state, event) { tapVideoHover(state, event) {
console.log('state--', state); // console.log('state--', state);
// 1.启用双击点赞 --- start // 1.启用双击点赞 --- start
this.touchNum++; this.touchNum++;
setTimeout(() => { setTimeout(() => {
@ -941,7 +941,7 @@
return false; return false;
}); });
console.log(this.posterImage) // console.log(this.posterImage)
if (this.posterImage) { if (this.posterImage) {
this.posterImageStatus = true this.posterImageStatus = true
this.posters = false this.posters = false

View File

@ -83,7 +83,7 @@
}, },
// //
jump(item) { jump(item) {
console.log(item) // console.log(item)
if ([0, 2].includes(item.status)) { if ([0, 2].includes(item.status)) {
uni.navigateTo({ uni.navigateTo({
url: `/pages/store/settled/index?mer_i_id=${item.mer_intention_id}` url: `/pages/store/settled/index?mer_i_id=${item.mer_intention_id}`

View File

@ -120,7 +120,7 @@ export default {
key: 'GLOBAL_DATA', key: 'GLOBAL_DATA',
success: res => { success: res => {
this.mer_location = res.data.mer_location; this.mer_location = res.data.mer_location;
console.log(this.mer_location); // console.log(this.mer_location);
} }
}); });
this.id = options.mer_id || options.id; this.id = options.mer_id || options.id;
@ -155,7 +155,7 @@ export default {
}, },
// //
showMaoLocation(lat, long) { showMaoLocation(lat, long) {
console.log(lat, long); // console.log(lat, long);
if (!lat || !long) if (!lat || !long)
return this.$util.Tips({ return this.$util.Tips({
title: '请设置允许商城访问您的位置!' title: '请设置允许商城访问您的位置!'
@ -170,7 +170,7 @@ export default {
address: this.store.mer_address ? this.store.mer_address : '' address: this.store.mer_address ? this.store.mer_address : ''
}) })
.then(res => { .then(res => {
console.log('success'); // console.log('success');
}); });
} else { } else {
//#endif //#endif
@ -182,7 +182,7 @@ export default {
name: this.store.mer_name, name: this.store.mer_name,
address: this.store.mer_address ? this.store.mer_address : '', address: this.store.mer_address ? this.store.mer_address : '',
success: function(res) { success: function(res) {
console.log(res); // console.log(res);
} }
}); });
// #ifdef H5 // #ifdef H5
@ -252,7 +252,7 @@ export default {
if (res.confirm) { if (res.confirm) {
uni.openSetting({ uni.openSetting({
success: res => { success: res => {
console.log(res.authSetting); // console.log(res.authSetting);
} }
}); });
} else if (res.cancel) { } else if (res.cancel) {

View File

@ -707,7 +707,7 @@
// #ifdef MP // #ifdef MP
if (options.scene) { if (options.scene) {
let value = this.$util.getUrlParams(decodeURIComponent(options.scene)); let value = this.$util.getUrlParams(decodeURIComponent(options.scene));
console.log(value) // console.log(value)
if (value.id) this.id = value.id || 0; if (value.id) this.id = value.id || 0;
//广uid //广uid
if (value.spid) { if (value.spid) {
@ -782,16 +782,16 @@
let list = res.data.list; let list = res.data.list;
let goodsList = that.$util.SplitArray(list, that.goods); let goodsList = that.$util.SplitArray(list, that.goods);
let loadend = list.length < that.where.limit; let loadend = list.length < that.where.limit;
console.log(list.length); // console.log(list.length);
console.log(that.where.limit); // console.log(that.where.limit);
that.loadend = loadend; that.loadend = loadend;
that.loading = false; that.loading = false;
that.loadTitle = loadend ? '已全部加载' : '加载更多'; that.loadTitle = loadend ? '已全部加载' : '加载更多';
that.$set(that, 'goods', goodsList); that.$set(that, 'goods', goodsList);
that.$set(that.where, 'page', that.where.page + 1); that.$set(that.where, 'page', that.where.page + 1);
console.log(loadend); // console.log(loadend);
console.log(that.loadTitle); // console.log(that.loadTitle);
console.log(that.loadend); // console.log(that.loadend);
}).catch(err => { }).catch(err => {
that.loading = false; that.loading = false;
that.goodsLoading = false; that.goodsLoading = false;
@ -1148,7 +1148,7 @@
// //
tab: function(param) { tab: function(param) {
if (this.tabActive == param) { if (this.tabActive == param) {
console.log(123); // console.log(123);
this.getProductSpu() this.getProductSpu()
return false; return false;
} }
@ -1188,7 +1188,7 @@
"onMenuShareAppMessage", "onMenuShareAppMessage",
"onMenuShareTimeline" "onMenuShareTimeline"
], configAppMessage).then(res => {}).catch(err => { ], configAppMessage).then(res => {}).catch(err => {
console.log(err); // console.log(err);
}) })
}); });
} }
@ -1215,7 +1215,7 @@
} }
}, },
onPullDownRefresh() { onPullDownRefresh() {
console.log('123'); // console.log('123');
// //
setTimeout(() => { setTimeout(() => {
const newList = this.goods.reverse(); const newList = this.goods.reverse();

View File

@ -73,7 +73,7 @@ export default {
imgTap+=this.setImgTap(item); imgTap+=this.setImgTap(item);
}) })
this.content = `<p>${imgTap}</p>`; this.content = `<p>${imgTap}</p>`;
console.log(this.content); // console.log(this.content);
} }
}).catch(rej => { }).catch(rej => {
Toast(rej); Toast(rej);
@ -93,7 +93,7 @@ export default {
getCaptcha().then(res => { getCaptcha().then(res => {
if (res.status == 200 && res.message == 'success') { if (res.status == 200 && res.message == 'success') {
this.captchaData = res.data; this.captchaData = res.data;
console.log(this.captchaData); // console.log(this.captchaData);
} }
}); });
} }

View File

@ -367,7 +367,7 @@
// //
getGoodsDetails(id) { getGoodsDetails(id) {
getGoodsDetails(id).then(res => { getGoodsDetails(id).then(res => {
console.log(res); // console.log(res);
let arr = Object.keys(this.merchantData) let arr = Object.keys(this.merchantData)
let resData = res.data let resData = res.data
arr.map(item => { arr.map(item => {
@ -411,7 +411,7 @@
this.validateBtn() this.validateBtn()
}, },
bindPickerChange1: function(e) { bindPickerChange1: function(e) {
console.log(e); // console.log(e);
this.index1 = e.target.value this.index1 = e.target.value
let idx = e.target.value let idx = e.target.value
this.merchantData.mer_type = this.storeTypeArr[idx]['mer_type_id'] this.merchantData.mer_type = this.storeTypeArr[idx]['mer_type_id']
@ -443,7 +443,7 @@
getStoreType: function() { getStoreType: function() {
getStoreTypeApi() getStoreTypeApi()
.then(res => { .then(res => {
console.log(res); // console.log(res);
this.storeTypeArr = res.data this.storeTypeArr = res.data
}) })
.catch(res => { .catch(res => {

View File

@ -147,7 +147,7 @@
this.isAgree = !this.isAgree; this.isAgree = !this.isAgree;
}, },
switchcChange(e) { switchcChange(e) {
console.log(e); // console.log(e);
}, },
// //
async getClassfication() { async getClassfication() {
@ -191,7 +191,7 @@
} }
}, },
confirm(e) { confirm(e) {
console.log('e', e); // console.log('e', e);
switch (this.keyName) { switch (this.keyName) {
case 'category_name': case 'category_name':
this.mer_classification = e.value[0].category_name this.mer_classification = e.value[0].category_name

View File

@ -367,7 +367,7 @@
name: '当前位置', name: '当前位置',
address: this.location_address address: this.location_address
}).then(res=>{ }).then(res=>{
console.log('success'); // console.log('success');
}) })
}else{ }else{
//#endif //#endif
@ -378,7 +378,7 @@
address: this.location_address, address: this.location_address,
scale: 8, scale: 8,
success: function(res) { success: function(res) {
console.log(res) // console.log(res)
}, },
}); });
// #ifdef H5 // #ifdef H5
@ -397,7 +397,7 @@
name: item.mer_name, name: item.mer_name,
address: item.mer_address ? item.mer_address: '', address: item.mer_address ? item.mer_address: '',
}).then(res=>{ }).then(res=>{
console.log('success'); // console.log('success');
}) })
}else{ }else{
//#endif //#endif
@ -408,7 +408,7 @@
name: item.mer_name, name: item.mer_name,
address: item.mer_address ? item.mer_address: '', address: item.mer_address ? item.mer_address: '',
success: function(res) { success: function(res) {
console.log(res) // console.log(res)
}, },
}); });
// #ifdef H5 // #ifdef H5
@ -429,7 +429,7 @@
lat: latitude, lat: latitude,
long: longitude long: longitude
}).then(res => { }).then(res => {
console.log(res) // console.log(res)
this.detaile_address = res.data.address; this.detaile_address = res.data.address;
this.location_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 this.recommend_address = res.data.address.length > 4 ? res.data.address.slice(0,4) + '...' : res.data.address
@ -464,7 +464,7 @@
if (this.latitude) { if (this.latitude) {
rqData.location = this.latitude + ',' + this.longitude rqData.location = this.latitude + ',' + this.longitude
} }
console.log(rqData) // console.log(rqData)
storeMerchantList(rqData).then(res => { storeMerchantList(rqData).then(res => {
this.count = res.data.count this.count = res.data.count
this.storeList = this.storeList.concat(res.data.list) this.storeList = this.storeList.concat(res.data.list)

View File

@ -189,7 +189,7 @@
// //
giveStart(item) { giveStart(item) {
let status = item.status ? 0 : 1 let status = item.status ? 0 : 1
console.log('item', item); // console.log('item', item);
graphicStartApi(item.community_id, { status: status }).then(res => { graphicStartApi(item.community_id, { status: status }).then(res => {
Toast(res.message) Toast(res.message)
this.getArticleList() this.getArticleList()

View File

@ -475,7 +475,7 @@
}, },
// //
openAuto() { openAuto() {
console.log('hajhcdsohjcosvjco') // console.log('hajhcdsohjcosvjco')
this.isAuto = true; this.isAuto = true;
this.isShowAuth = true this.isShowAuth = true
}, },
@ -522,7 +522,7 @@
data data
}) => { }) => {
this.orderMenu.forEach((item, index) => { this.orderMenu.forEach((item, index) => {
console.log('item') // console.log('item')
switch (item.title) { switch (item.title) {
case '待付款': case '待付款':
item.num = data.noPay item.num = data.noPay

View File

@ -250,7 +250,7 @@
onLoad(options) { onLoad(options) {
this.merId = options.mer_id this.merId = options.mer_id
this.source = options.source this.source = options.source
console.log(this.source) // console.log(this.source)
if (this.isLogin) { if (this.isLogin) {
this.getUserInfo(); this.getUserInfo();
this.getUserExtractBank(); this.getUserExtractBank();
@ -334,9 +334,9 @@
}, },
uploadpic: function() { uploadpic: function() {
let that = this; let that = this;
console.log('地方'); // console.log('');
that.$util.uploadImageOne('upload/image', function(res) { that.$util.uploadImageOne('upload/image', function(res) {
console.log(res); // console.log(res);
that.pics.push(res.data.path); that.pics.push(res.data.path);
that.$set(that, 'pics', that.pics); that.$set(that, 'pics', that.pics);
that.$set(that, 'extract_pic', that.pics[0]) that.$set(that, 'extract_pic', that.pics[0])
@ -403,7 +403,7 @@
extract_price: e.detail.value.extract_price, extract_price: e.detail.value.extract_price,
extract_type: 3, extract_type: 3,
} }
console.log(value) // console.log(value)
// //
const mode = { const mode = {
name: value.real_name, name: value.real_name,

View File

@ -137,7 +137,7 @@
}) => { }) => {
this.tabList = data this.tabList = data
this.getFeedBack(data) this.getFeedBack(data)
console.log(this.tabKey) // console.log(this.tabKey)
}) })
}, },
@ -176,7 +176,7 @@
uploadpic: function() { uploadpic: function() {
let that = this; let that = this;
that.$util.uploadImageOne('upload/image', function(res) { that.$util.uploadImageOne('upload/image', function(res) {
console.log(res, '回调') // console.log(res, '')
that.uploadImg.push(res.data.path); that.uploadImg.push(res.data.path);
that.$set(that, 'uploadImg', that.uploadImg); that.$set(that, 'uploadImg', that.uploadImg);
}); });

View File

@ -157,9 +157,9 @@
*/ */
uploadpic: function() { uploadpic: function() {
let that = this; let that = this;
console.log('地方'); // console.log('');
that.$util.uploadImageOne('upload/image', function(res) { that.$util.uploadImageOne('upload/image', function(res) {
console.log(res); // console.log(res);
that.pics.push(res.data.path); that.pics.push(res.data.path);
that.$set(that, 'pics', that.pics); that.$set(that, 'pics', that.pics);
}); });

View File

@ -173,7 +173,7 @@
}); });
}, },
showMaoLocation(e) { showMaoLocation(e) {
console.log(e) // console.log(e)
if (!e.latitude || !e.longitude) return this.$util.Tips({ if (!e.latitude || !e.longitude) return this.$util.Tips({
title: '请设置允许商城访问您的位置!' title: '请设置允许商城访问您的位置!'
}); });
@ -183,7 +183,7 @@
latitude: Number(e.latitude), latitude: Number(e.latitude),
longitude: Number(e.longitude) longitude: Number(e.longitude)
}).then(res=>{ }).then(res=>{
console.log('success'); // console.log('success');
}) })
}else{ }else{
//#endif //#endif
@ -191,7 +191,7 @@
latitude: parseFloat(e.latitude), latitude: parseFloat(e.latitude),
longitude: parseFloat(e.longitude), longitude: parseFloat(e.longitude),
success: function(res) { success: function(res) {
console.log(res) // console.log(res)
}, },
}); });
// #ifdef H5 // #ifdef H5

View File

@ -159,7 +159,7 @@
* 申请退货 * 申请退货
*/ */
subRefund:function(e){ subRefund:function(e){
console.log(e); // console.log(e);
let that = this, value = e.detail.value; let that = this, value = e.detail.value;
//form //form
// if (!value.refund_reason_wap_explain) return app.Tips({title:'退'}); // if (!value.refund_reason_wap_explain) return app.Tips({title:'退'});

View File

@ -61,7 +61,7 @@
} }
}, },
onLoad(e) { onLoad(e) {
console.log('options', e) // console.log('options', e)
}, },
methods: { methods: {
// App // App
@ -93,7 +93,7 @@
}, },
wxLoginApi() { wxLoginApi() {
const that = this const that = this
console.log('appUserInfo', that.appUserInfo); // console.log('appUserInfo', that.appUserInfo);
commonAuth({ commonAuth({
auth: { auth: {
type: 'app_wechat', type: 'app_wechat',
@ -108,7 +108,7 @@
} }
}).then(res => { }).then(res => {
const data = res.data; const data = res.data;
console.log('res', data); // console.log('res', data);
if (res.data.status == 200) { if (res.data.status == 200) {
that.$Cache.clear(BACK_URL); that.$Cache.clear(BACK_URL);
that.$store.commit("LOGIN", { that.$store.commit("LOGIN", {
@ -212,18 +212,18 @@
// console.log(res); // console.log(res);
}) })
} else { } else {
console.log('登录失败!' + res.errMsg) // console.log('' + res.errMsg)
} }
} }
}) })
}, },
fail(e) { fail(e) {
console.log('登录失败!' + res.errMsg) // console.log('' + res.errMsg)
} }
}) })
} }
// #endif // #endif
console.log('验证码登录', data); // console.log('', data);
let time = data.expires_time - Cache.time(); let time = data.expires_time - Cache.time();
const backUrl = that.$Cache.get(BACK_URL) || "/pages/index/index"; const backUrl = that.$Cache.get(BACK_URL) || "/pages/index/index";
that.$Cache.clear(BACK_URL); that.$Cache.clear(BACK_URL);
@ -297,7 +297,7 @@
getPath(url) { getPath(url) {
if (url.indexOf("?") != -1) { if (url.indexOf("?") != -1) {
url = url.split("?")[0]; url = url.split("?")[0];
console.log(url); // console.log(url);
} }
return url return url
}, },

View File

@ -338,7 +338,7 @@
if (res.code) { if (res.code) {
that.codeVal = res.code that.codeVal = res.code
} else { } else {
console.log('登录失败!' + res.errMsg) // console.log('' + res.errMsg)
} }
} }
}) })
@ -455,7 +455,7 @@
icon: 'none', icon: 'none',
duration: 2000 duration: 2000
}) })
console.log(error) // console.log(error)
} }
}) })
}, },
@ -542,7 +542,7 @@
getPath(url) { getPath(url) {
if (url.indexOf("?") != -1) { if (url.indexOf("?") != -1) {
url = url.split("?")[0]; url = url.split("?")[0];
console.log(url); // console.log(url);
} }
return url return url
}, },
@ -884,13 +884,13 @@
// console.log(res); // console.log(res);
}) })
} else { } else {
console.log('登录失败!' + res.errMsg) // console.log('' + res.errMsg)
} }
} }
}) })
}, },
fail(e) { fail(e) {
console.log('登录失败!' + res.errMsg) // console.log('' + res.errMsg)
} }
}) })
} }

View File

@ -788,7 +788,7 @@
that.showProtocol = true; that.showProtocol = true;
that.agrementTtile = '优惠券说明' that.agrementTtile = '优惠券说明'
getAgreementApi('sys_coupon_agree').then(res => { getAgreementApi('sys_coupon_agree').then(res => {
console.log(res); // console.log(res);
that.protocol = res.data.sys_coupon_agree that.protocol = res.data.sys_coupon_agree
}) })
}, },
@ -875,7 +875,7 @@
this.$set(this.cartInfo[i], 'invoiceData', {}) this.$set(this.cartInfo[i], 'invoiceData', {})
}); });
} }
console.log(this.invoiceData) // console.log(this.invoiceData)
}, },
/* /*
* 跳转门店列表 * 跳转门店列表
@ -965,9 +965,9 @@
* *
*/ */
getConfirm: function(address_id) { getConfirm: function(address_id) {
console.log(address_id, 'address_id') // console.log(address_id, 'address_id')
let that = this; let that = this;
console.log(that.cartId.split(",")) // console.log(that.cartId.split(","))
uni.showLoading({ uni.showLoading({
title: '', title: '',
mask: true mask: true
@ -1582,7 +1582,7 @@
name: item.mer_name, name: item.mer_name,
address: item.take ? item.take.mer_take_address : '', address: item.take ? item.take.mer_take_address : '',
}).then(res => { }).then(res => {
console.log('success'); // console.log('success');
}) })
} else { } else {
//#endif //#endif

View File

@ -590,10 +590,10 @@
that.isReady = true; that.isReady = true;
let list = res.data.list || []; let list = res.data.list || [];
let loadend = list.length < that.limit; 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.orderList = that.page == 1 ? list : that.$util.SplitArray(list, that.orderList);
that.$set(that, 'orderList', that.orderList); that.$set(that, 'orderList', that.orderList);
console.log(that.orderList) // console.log(that.orderList)
that.getProductCount(); that.getProductCount();
that.loadend = loadend; that.loadend = loadend;
that.loading = false; that.loading = false;

Some files were not shown because too many files have changed in this diff Show More