Browse Source

隐藏控制台输出

master
liaoxinyu 2 years ago
parent
commit
b3e261f1a1
  1. 2
      api/serve/index.js
  2. 2
      components/uni-swipe-action-item/mpother.js
  3. 2
      components/uni-swipe-action-item/mpwxs.js
  4. 4
      pages/assets/draw.vue
  5. 2
      pages/assets/recharge.vue
  6. 4
      pages/assets/records.vue
  7. 4
      pages/auth/primary.vue
  8. 2
      pages/auth/senior.vue
  9. 6
      pages/base/mine.vue
  10. 2
      pages/currency/list.vue
  11. 2
      pages/exchange/contract-history.vue
  12. 2
      pages/exchange/contractHis.vue
  13. 2
      pages/exchange/exchange-transaction.vue
  14. 2
      pages/exchange/open-position.vue
  15. 6
      pages/exchange/trade-list.vue
  16. 2
      pages/income/index.vue
  17. 4
      pages/login/index.vue
  18. 2
      pages/otc/bind-pay.vue
  19. 4
      pages/purchase/bill.vue
  20. 2
      pages/safe/forget-password.vue
  21. 2
      pages/safe/login-password.vue
  22. 2
      pages/safe/phone.vue
  23. 2
      pages/service/index.vue
  24. 2
      pages/service/otc.vue
  25. 2
      pages/service/service.vue
  26. 2
      pages/transfer/index.vue
  27. 2
      static/chart_main/chart_main/huobi.js
  28. 2
      static/chart_main/chart_main/old-datafeed.js
  29. 4
      static/chart_main/chart_main/sevencoin.js
  30. 19553
      static/chart_main/huobi.js
  31. 2
      utils/class/date.js

2
api/serve/index.js

@ -100,7 +100,7 @@ x.fn = x.prototype = {
dataType: this.dataType, dataType: this.dataType,
sslVerify: false, sslVerify: false,
success: (res) => { success: (res) => {
console.info(res) // console.info(res)
let message = res.data.message let message = res.data.message
let code = res.data.code let code = res.data.code
if (code != 200) { if (code != 200) {

2
components/uni-swipe-action-item/mpother.js

@ -125,7 +125,7 @@ export default {
views views
.selectAll('.selector-query-hock') .selectAll('.selector-query-hock')
.boundingClientRect(data => { .boundingClientRect(data => {
console.log(data) // console.log(data)
this.position.content = data[1] this.position.content = data[1]
this.position.button = data[0] this.position.button = data[0]
if (this.autoClose) return if (this.autoClose) return

2
components/uni-swipe-action-item/mpwxs.js

@ -82,7 +82,7 @@ export default {
// fixed by xxxx 模拟点击事件,解决 ios 13 点击区域错位的问题 // fixed by xxxx 模拟点击事件,解决 ios 13 点击区域错位的问题
let diff = Math.abs(this.clientX - clientX) let diff = Math.abs(this.clientX - clientX)
let time = (new Date().getTime()) - this.timestamp let time = (new Date().getTime()) - this.timestamp
console.log(diff); // console.log(diff);
if (diff < 40 && time < 300) { if (diff < 40 && time < 300) {
// console.log('点击'); // console.log('点击');
this.$emit('click', { this.$emit('click', {

4
pages/assets/draw.vue

@ -455,7 +455,7 @@ export default {
let list = [...this.list, ...res.data.data];// let list = [...this.list, ...res.data.data];//
this.list.splice(0,this.list.length,...list); this.list.splice(0,this.list.length,...list);
// this.list.push(...list); // this.list.push(...list);
console.log('length---------------',this.list.length, '页数:',res.data.current_page); // console.log('length---------------',this.list.length, '',res.data.current_page);
if (res.data.data.length < res.data.per_page) this.loadMore = false; if (res.data.data.length < res.data.per_page) this.loadMore = false;
}); });
}, },
@ -479,7 +479,7 @@ export default {
if(res.code==200){ if(res.code==200){
this.hideImg = false; this.hideImg = false;
} }
console.log("gc",res.data.img) // console.log("gc",res.data.img)
this.Graph_che = res.data.img; this.Graph_che = res.data.img;
}); });
} }

2
pages/assets/recharge.vue

@ -249,7 +249,7 @@ export default {
}); });
}, },
change(e){ change(e){
console.log(e) // console.log(e)
} }
}, },
created() { created() {

4
pages/assets/records.vue

@ -82,7 +82,7 @@ import formData from "@/utils/class/date";
let list = [...this.list, ...res.data.data];// let list = [...this.list, ...res.data.data];//
this.list.splice(0,this.list.length,...list); this.list.splice(0,this.list.length,...list);
// this.list.push(...list); // this.list.push(...list);
console.log('length---------------',this.list.length, '页数:',res.data.current_page); // console.log('length---------------',this.list.length, '',res.data.current_page);
if (res.data.data.length < res.data.per_page) this.loadMore = false; if (res.data.data.length < res.data.per_page) this.loadMore = false;
}); });
}, },
@ -107,7 +107,7 @@ import formData from "@/utils/class/date";
}, },
}, },
onLoad(e) { onLoad(e) {
console.log('---------',e); // console.log('---------',e);
this.type = e.type; this.type = e.type;
if(e.type=='draw'){ if(e.type=='draw'){
this.getWithdrawRecords(); this.getWithdrawRecords();

4
pages/auth/primary.vue

@ -149,7 +149,7 @@ export default {
primaryAuth() { primaryAuth() {
let data = this.form; let data = this.form;
data.country_code = this.activeCountry.country_code; data.country_code = this.activeCountry.country_code;
console.log(data); // console.log(data);
if(!data.realname){ if(!data.realname){
uni.showToast({ uni.showToast({
title: this.$t('auth.b0'), title: this.$t('auth.b0'),
@ -201,7 +201,7 @@ export default {
}).catch(()=>{}); }).catch(()=>{});
}, },
changeID(e){ changeID(e){
console.log(e); // console.log(e);
this.form.identification_type = this.id_range[e].text; this.form.identification_type = this.id_range[e].text;
} }
}, },

2
pages/auth/senior.vue

@ -150,7 +150,7 @@ export default {
}); });
}, },
getFile(name) { getFile(name) {
console.log(name) // console.log(name)
this.$getFile({count: 9}).then((res) => { this.$getFile({count: 9}).then((res) => {
this.upLoadImg(res, name); this.upLoadImg(res, name);
}) })

6
pages/base/mine.vue

@ -397,9 +397,9 @@ export default {
// this.detail = res.data // this.detail = res.data
this.status = res.data.status this.status = res.data.status
this.user_auth_level = res.data.primary_status this.user_auth_level = res.data.primary_status
console.log(this.status, '9999') // console.log(this.status, '9999')
console.log(res.data, '8888') // console.log(res.data, '8888')
console.log(this.user_auth_level, '7777') // console.log(this.user_auth_level, '7777')
}) })
}, },
onRefresh() { onRefresh() {

2
pages/currency/list.vue

@ -78,7 +78,7 @@ export default {
}, },
}, },
onLoad(query) { onLoad(query) {
console.log(this.list) // console.log(this.list)
}, },
}; };
</script> </script>

2
pages/exchange/contract-history.vue

@ -303,7 +303,7 @@ export default {
generalizeInfo() { generalizeInfo() {
Profile.qrcode().then((res) => { Profile.qrcode().then((res) => {
this.detail = res.data; this.detail = res.data;
console.log(this.detail) // console.log(this.detail)
}); });
}, },
// //

2
pages/exchange/contractHis.vue

@ -298,7 +298,7 @@ export default {
); );
}, },
holdPosition(boo) { holdPosition(boo) {
console.log(this.checked,this.symbolLeft,boo) // console.log(this.checked,this.symbolLeft,boo)
let data = { let data = {
symbol: (this.checked && this.symbolLeft) || "", symbol: (this.checked && this.symbolLeft) || "",
}; };

2
pages/exchange/exchange-transaction.vue

@ -712,7 +712,7 @@ export default {
}, },
// //
sliderChange(n,i) { sliderChange(n,i) {
console.log(n,i,'-------'); // console.log(n,i,'-------');
let num = n/100; let num = n/100;
// this.sliderActive=i;//-- // this.sliderActive=i;//--
this.sliderActive=n;//--, this.sliderActive=n;//--,

2
pages/exchange/open-position.vue

@ -1577,7 +1577,7 @@ export default {
this.margin = (this.form.amount / this.form.lever_rate).toFixed(5) this.margin = (this.form.amount / this.form.lever_rate).toFixed(5)
}, },
pingChange(n, i) { pingChange(n, i) {
console.log(n) // console.log(n)
this.pingAmount = Math.round((this.activeItem.avail_position * n) / 100); this.pingAmount = Math.round((this.activeItem.avail_position * n) / 100);
this.pingActive = i this.pingActive = i
}, },

6
pages/exchange/trade-list.vue

@ -609,7 +609,7 @@ export default {
}, },
// //
holdPosition() { holdPosition() {
console.log(1) // console.log(1)
var market=this.symbol.split('/')[0] var market=this.symbol.split('/')[0]
let data = { let data = {
symbol: market, symbol: market,
@ -838,13 +838,13 @@ export default {
} }
}, },
mounted() { mounted() {
console.log(1) // console.log(1)
if (this.symbol) { if (this.symbol) {
this.holdPosition() this.holdPosition()
this.getMarketInfo(); this.getMarketInfo();
this.contractAccount(); this.contractAccount();
this.getSymbolDetail(); this.getSymbolDetail();
console.log(4) // console.log(4)
} }
this.socketMessage(); this.socketMessage();
this.dtime = setInterval(() => { this.dtime = setInterval(() => {

2
pages/income/index.vue

@ -143,7 +143,7 @@ export default {
uni.getSystemInfo({ uni.getSystemInfo({
success: function (res) { success: function (res) {
this.windowHeight=60 this.windowHeight=60
console.log(this.windowHeight) // console.log(this.windowHeight)
} }
}); });
}, },

4
pages/login/index.vue

@ -185,7 +185,7 @@ export default {
}); });
}, },
loginVer(data) { loginVer(data) {
console.log(data) // console.log(data)
this.secondaryShow = true; this.secondaryShow = true;
this.secondaryData = data; this.secondaryData = data;
this.form2.signature = data.signature; this.form2.signature = data.signature;
@ -217,7 +217,7 @@ export default {
}, },
}, },
mounted() { mounted() {
console.log(this.marketList) // console.log(this.marketList)
}, },
}; };

2
pages/otc/bind-pay.vue

@ -150,7 +150,7 @@ export default {
}, },
onLoad(query) { onLoad(query) {
this.query = query this.query = query
console.log(this.query) // console.log(this.query)
this.getList(); this.getList();
}, },
methods: { methods: {

4
pages/purchase/bill.vue

@ -75,9 +75,9 @@ export default {
let data = { let data = {
page: this.page, page: this.page,
}; };
console.log(over) // console.log(over)
Wallet.subscribeRecords(data).then((res) => { Wallet.subscribeRecords(data).then((res) => {
console.log(res) // console.log(res)
if (res.data.current_page == 1) this.list = []; if (res.data.current_page == 1) this.list = [];
this.list = [...this.list, ...res.data.data]; this.list = [...this.list, ...res.data.data];
over && over({ finished: res.data.data.length < res.data.per_page }); over && over({ finished: res.data.data.length < res.data.per_page });

2
pages/safe/forget-password.vue

@ -179,7 +179,7 @@ export default {
if(res.code==200){ if(res.code==200){
this.hideImg = false; this.hideImg = false;
} }
console.log("gc",res.data.img) // console.log("gc",res.data.img)
this.Graph_che = res.data.img; this.Graph_che = res.data.img;
this.form.gc_key= res.data.key; this.form.gc_key= res.data.key;
}); });

2
pages/safe/login-password.vue

@ -116,7 +116,7 @@ export default {
if(res.code==200){ if(res.code==200){
this.hideImg = false; this.hideImg = false;
} }
console.log("gc",res.data.img) // console.log("gc",res.data.img)
this.Graph_che = res.data.img; this.Graph_che = res.data.img;
this.gc_key= res.data.key; this.gc_key= res.data.key;
}); });

2
pages/safe/phone.vue

@ -77,7 +77,7 @@ export default {
setUserInfo: "setUserInfo", setUserInfo: "setUserInfo",
}), }),
changePhone() { changePhone() {
console.log(this.$refs.country) // console.log(this.$refs.country)
this.form.country_code = this.$refs.country&&this.$refs.country.country_code; this.form.country_code = this.$refs.country&&this.$refs.country.country_code;
if (!this.user.phone && !this.form.phone) { if (!this.user.phone && !this.form.phone) {
this.$toast(this.$t('safe.d5')); this.$toast(this.$t('safe.d5'));

2
pages/service/index.vue

@ -47,7 +47,7 @@ export default {
}, },
android(){ android(){
// #ifdef APP-PLUS // #ifdef APP-PLUS
console.log(plus.os.name) // console.log(plus.os.name)
return plus.os.name return plus.os.name
// #endif // #endif
} }

2
pages/service/otc.vue

@ -48,7 +48,7 @@ export default {
}, },
android(){ android(){
// #ifdef APP-PLUS // #ifdef APP-PLUS
console.log(plus.os.name) // console.log(plus.os.name)
return plus.os.name return plus.os.name
// #endif // #endif
} }

2
pages/service/service.vue

@ -68,7 +68,7 @@ export default {
// this.detail = res.data; // this.detail = res.data;
// }); // });
Member.contact({}).then((res)=>{ Member.contact({}).then((res)=>{
console.log(res); // console.log(res);
this.contacts = res.data; this.contacts = res.data;
}) })
}, },

2
pages/transfer/index.vue

@ -189,7 +189,7 @@ export default {
}else{ }else{
this.tag = 1 this.tag = 1
} }
console.log( this.accountMap ) // console.log( this.accountMap )
}, },
// //
fundsTransfer() { fundsTransfer() {

2
static/chart_main/chart_main/huobi.js

@ -5465,7 +5465,7 @@
}, e.isArray = p, e.isBoolean = v, e.isNull = g, e.isNullOrUndefined = m, e.isNumber = _, e.isString = y, e.isSymbol = b, e.isUndefined = w, e.isRegExp = x, e.isObject = S, e.isDate = E, e.isError = k, e.isFunction = T, e.isPrimitive = C, e.isBuffer = n(839); }, e.isArray = p, e.isBoolean = v, e.isNull = g, e.isNullOrUndefined = m, e.isNumber = _, e.isString = y, e.isSymbol = b, e.isUndefined = w, e.isRegExp = x, e.isObject = S, e.isDate = E, e.isError = k, e.isFunction = T, e.isPrimitive = C, e.isBuffer = n(839);
var B = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]; var B = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
e.log = function () { e.log = function () {
console.log("%s - %s", P(), e.format.apply(e, arguments)) // console.log("%s - %s", P(), e.format.apply(e, arguments))
}, e.inherits = n(838), e._extend = function (t, e) { }, e.inherits = n(838), e._extend = function (t, e) {
if (!e || !S(e)) return t; if (!e || !S(e)) return t;
for (var n = Object.keys(e), r = n.length; r--;) t[n[r]] = e[n[r]]; for (var n = Object.keys(e), r = n.length; r--;) t[n[r]] = e[n[r]];

2
static/chart_main/chart_main/old-datafeed.js

@ -82,7 +82,7 @@ Datafeeds.UDFCompatibleDatafeed.prototype.onInitialized = function() {
Datafeeds.UDFCompatibleDatafeed.prototype._logMessage = function(message) { Datafeeds.UDFCompatibleDatafeed.prototype._logMessage = function(message) {
if (this._enableLogging) { if (this._enableLogging) {
var now = new Date(); var now = new Date();
console.log(now.toLocaleTimeString() + '.' + now.getMilliseconds() + '> ' + message); // console.log(now.toLocaleTimeString() + '.' + now.getMilliseconds() + '> ' + message);
} }
}; };

4
static/chart_main/chart_main/sevencoin.js

@ -432,8 +432,8 @@ $(function () {
} }
// 生成订阅数据 // 生成订阅数据
createMsg() { createMsg() {
console.log(this.contract) // console.log(this.contract)
console.log(`swapKline_${this.symbolName}_${this.resolution(this.interval)}`) // console.log(`swapKline_${this.symbolName}_${this.resolution(this.interval)}`)
if (this.contract) { if (this.contract) {
return `swapKline_${this.symbolName}_${this.resolution(this.interval)}` return `swapKline_${this.symbolName}_${this.resolution(this.interval)}`
} else { } else {

19553
static/chart_main/huobi.js

File diff suppressed because one or more lines are too long

2
utils/class/date.js

@ -64,7 +64,7 @@ function parseTime(time, isOffset = false, cformat = null) {
s: date.getSeconds(), s: date.getSeconds(),
a: date.getDay() a: date.getDay()
}; };
console.log(date); // console.log(date);
// 星期值需要转化为中文 // 星期值需要转化为中文
dataObj.a = '星期' + ['日', '一', '二', '三', '四', '五', '六'][dataObj.a]; dataObj.a = '星期' + ['日', '一', '二', '三', '四', '五', '六'][dataObj.a];

Loading…
Cancel
Save