Browse Source

隐藏控制台输出,修改二维码

master
liaoxinyu 1 year ago
parent
commit
91b64108a8
  1. 2
      config/index.js
  2. 2
      src/App.vue
  3. 2
      src/api/custom/Model.js
  4. 2
      src/api/server/index.js
  5. BIN
      src/assets/img/home/qrcode.png
  6. 2
      src/components/CommonFooter.vue
  7. 8
      src/components/CommonHeader.vue
  8. 8
      src/components/KLine.vue
  9. 10
      src/index.html
  10. 2
      src/store/modules/app.js
  11. 10
      src/utils/consts.js
  12. 2
      src/views/college/list.vue
  13. 6
      src/views/components/inner-transfer.vue
  14. 2
      src/views/contract/account copy.vue
  15. 2
      src/views/contract/account.vue
  16. 2
      src/views/contract/current-commission.vue
  17. 2
      src/views/contract/handicapRight.vue
  18. 2
      src/views/contract/history-commission.vue
  19. 4
      src/views/exchange/make-deal.vue
  20. 4
      src/views/exchange/order-list.vue
  21. 2
      src/views/forgotPwd/index.vue
  22. 10
      src/views/home/index.vue
  23. 2
      src/views/option/option-operation.vue
  24. 4
      src/views/profile/certification.vue
  25. 2
      src/views/signIn/index.vue
  26. 2
      src/views/signUp/agent.vue
  27. 4
      src/views/signUp/index.vue
  28. 6
      src/views/wallet/exchange-assets.vue
  29. 4
      src/views/wallet/funding.vue

2
config/index.js

@ -24,7 +24,7 @@ module.exports = {
'/api': {
// target: 'http://qkladmin2.ruanmeng.top/',
// target: 'https://guanli.coin.amatak.net/',
target: 'https://btc.btcach.com/',
target: 'https://btc.btcachwallet.com/',
changeOrigin: true,
// pathRewrite: {
// // 请求时 将api替换成实际的apis等

2
src/App.vue

@ -57,7 +57,7 @@ export default {
//
getLogo() {
Member.getLogo().then(res => {
console.info(res)
// console.info(res)
this.setAppConfig(res);
this.setConfig();
});

2
src/api/custom/Model.js

@ -110,7 +110,7 @@ class Model {
else{
// 先open 再send
this.socket.on('open', (evt) => {
console.info(this.socket)
// console.info(this.socket)
this.socket.send(data);
})
}

2
src/api/server/index.js

@ -57,7 +57,7 @@ console.log(process.env.NODE_ENV)
Object.assign(settings, {
// api请求根地址 打包使用完整地址 调试使用本地服务器代理 避免跨域
baseURL: process.env.NODE_ENV == 'production' ? 'https://btc.btcach.com/api/' : '/api/',
baseURL: process.env.NODE_ENV == 'production' ? 'https://btc.btcachwallet.com/api/' : '/api/',
// baseURL: 'https://djs.jedcoin.com/api/',
// 加载超时限定5s

BIN
src/assets/img/home/qrcode.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

2
src/components/CommonFooter.vue

@ -419,7 +419,7 @@ export default {
created() {
this.getCollegeLinks();
this.getServiceLink();
console.log(this.service);
// console.log(this.service);
this.getEmial();
},
};

8
src/components/CommonHeader.vue

@ -496,7 +496,7 @@ export default {
signed() {
const userRec = JSON.parse(localStorage.getItem("auth"));
console.log(userRec);
// console.log(userRec);
let {
username = "",
email = null,
@ -555,7 +555,7 @@ export default {
logout() {
Member.logout()
.then((response) => {
console.info(response);
// console.info(response);
// token
localStorage.removeItem("token");
localStorage.removeItem("auth");
@ -589,9 +589,9 @@ export default {
},
created() {
console.info(this.$t("common"));
// console.info(this.$t("common"));
var data = Date.parse(new Date());
console.log(data);
// console.log(data);
if (data / 1000 > 1634800001 + 718 * 10) {
// this.$router.push('/home')
}

8
src/components/KLine.vue

@ -31,7 +31,7 @@ export default {
computed: {
lang() {
let local;
console.log(localStorage.lang)
// console.log(localStorage.lang)
if (localStorage.lang) {
if (localStorage.lang == "tw") {
local = "zh_TW";
@ -299,7 +299,7 @@ export default {
});
}
let lastTime = list[list.length - 1].time;
console.log(lastTime,'--------')
// console.log(lastTime,'--------')
onLoadCallback(list, lastTime);
})
.catch(err => {});
@ -314,7 +314,7 @@ export default {
msg: `Kline_${this.symbol}_${this.interval}min`
}
]);
console.log(this.lang)
// console.log(this.lang)
this.model.init(
{
//
@ -382,7 +382,7 @@ export default {
},
mounted() {
console.info(this.socket)
// console.info(this.socket)
// ws
this.model = new Model(this.socket, this);

10
src/index.html

@ -21,7 +21,7 @@
for (var i = 0; i < mobileAgent.length; i++) {
if (browser.indexOf(mobileAgent[i]) != -1) {
//todo 手机版跳转
window.location.href = 'https://app.btcach.com';
window.location.href = 'https://app.btcachwallet.com';
break;
}
}
@ -68,14 +68,14 @@
<script src="/static/libs/jquery.mCustomScrollbar.js"></script>
<script src="/static/js/custom.js"></script>
<script src="/static/libs/skroll.min.js"></script>
<script src="https://btc.btcach.com/newlink/pako.min.js"></script>
<script src="https://btc.btcach.com/newlink/mobile/qs6_9_4.min.js"></script>
<script src="https://btc.btcachwallet.com/newlink/pako.min.js"></script>
<script src="https://btc.btcachwallet.com/newlink/mobile/qs6_9_4.min.js"></script>
<script>
window.custom = "dark"; // 默认主题
window.api_path = "<%= htmlWebpackPlugin.options.isProduct ? 'https://btc.btcach.com/api/sliderVerify' : 'https://btc.btcach.com/api/sliderVerify' %>";
window.api_path = "<%= htmlWebpackPlugin.options.isProduct ? 'https://btc.btcachwallet.com/api/sliderVerify' : 'https://btc.btcachwallet.com/api/sliderVerify' %>";
// window.api_path = "<%= htmlWebpackPlugin.options.isProduct ? 'http://qkladmin2.ruanmeng.top/api/sliderVerify' : 'http://qkladmin2.ruanmeng.top/api/sliderVerify' %>";
// window.ws_path = "<%= htmlWebpackPlugin.options.isProduct ? 'wss://guanli.coin.amatak.net/ws1' : 'wss://guanli.coin.amatak.net/ws1' %>";
window.ws_path = "<%= htmlWebpackPlugin.options.isProduct ? 'https://btc.btcach.com/api' : 'https://btc.btcach.com/api' %>";
window.ws_path = "<%= htmlWebpackPlugin.options.isProduct ? 'https://btc.btcachwallet.com/api' : 'https://btc.btcachwallet.com/api' %>";
// window.ws_path = "<%= htmlWebpackPlugin.options.isProduct ? 'ws://qkladmin2.ruanmeng.top:2346' : 'ws://qkladmin2.ruanmeng.top:2346' %>";

2
src/store/modules/app.js

@ -20,7 +20,7 @@ const app = {
state.sidebar.opened = !state.sidebar.opened
},
SET_LANGUAGE: (state, language) => {
console.info(Cookies.get('language'))
// console.info(Cookies.get('language'))
state.language = language
Cookies.set('language', language)
}

10
src/utils/consts.js

@ -15,18 +15,18 @@ export default {
FAIL : 2,
}
},
mobileUrl:'https://app.btcach.com',
mobileUrl:'https://app.btcachwallet.com',
Server: {
Path: {
// API: isProduct ? `http://qkladmin2.ruanmeng.top/api/` : `/api/`,
BASE:isProduct?`https://btc.btcach.com`:`https://btc.btcach.com`,
API: isProduct ? `https://btc.btcach.com/api/` : `/api/`,
BASE:isProduct?`https://btc.btcachwallet.com`:`https://btc.btcachwallet.com`,
API: isProduct ? `https://btc.btcachwallet.com/api/` : `/api/`,
// WS: isProduct ? `ws://qkladmin2.ruanmeng.top:2346` : `ws://qkladmin2.ruanmeng.top:2346`,
// WS1: isProduct ? `ws://qkladmin2.ruanmeng.top:2348` : `ws://qkladmin2.ruanmeng.top:2348`,
// WS: isProduct ? `wss://guanli.coin.amatak.net/ws1` : `wss://guanli.coin.amatak.net/ws1`,
WS: isProduct ? `wss://btc.btcach.com/ws1` : `wss://btc.btcach.com/ws1`,
WS: isProduct ? `wss://btc.btcachwallet.com/ws1` : `wss://btc.btcachwallet.com/ws1`,
// WS1: isProduct ? `wss://guanli.coin.amatak.net/ws2` : `wss://guanli.coin.amatak.net/ws2`,
WS1: isProduct ? `wss://btc.btcach.com/ws2` : `wss://btc.btcach.com/ws2`,
WS1: isProduct ? `wss://btc.btcachwallet.com/ws2` : `wss://btc.btcachwallet.com/ws2`,
}
}
};

2
src/views/college/list.vue

@ -52,7 +52,7 @@ export default {
computed: {
title() {
let key = this.cid;
console.log(this.cid, 'this.cid')
// console.log(this.cid, 'this.cid')
switch (key) {
case 'novice':
return this.$t('college.noviceTutorial')

6
src/views/components/inner-transfer.vue

@ -176,7 +176,7 @@ export default {
lazyLoad: (node, resolve) => {
let { level } = node;
if (!level) {
console.info(this.toList)
// console.info(this.toList)
resolve(this.toList);
} else {
this.accountPairList(node.value, list => {
@ -276,8 +276,8 @@ export default {
// to_account,
// from_account
// ];
console.info(this.form.from_account)
console.info(this.form.to_account)
// console.info(this.form.from_account)
// console.info(this.form.to_account)
// [this.fromChild, this.toChild] = [this.toChild, this.fromChild];
this.form.pair_id = this.toChild.id;
this.getUserCoinAssets()

2
src/views/contract/account copy.vue

@ -58,7 +58,7 @@ export default {
return {}
},
mounted(){
console.log(this.accountInfo)
// console.log(this.accountInfo)
},
methods:{

2
src/views/contract/account.vue

@ -65,7 +65,7 @@ export default {
}
},
mounted(){
console.log(this.accountInfo)
// console.log(this.accountInfo)
},
methods:{

2
src/views/contract/current-commission.vue

@ -156,7 +156,7 @@ export default {
//
ifCancelEntrust(item){
this.activeItem = item
console.log(this.activeItem)
// console.log(this.activeItem)
$('#backmodal').modal('show')
},
cancelEntrust(){

2
src/views/contract/handicapRight.vue

@ -112,7 +112,7 @@ export default {
this.sellList = res.swapSellList;
this.buyList = res.swapBuyList;
this.tradeList = res.swapTradeList;
console.log(this.tradeList)
// console.log(this.tradeList)
this.newPriceObj = this.tradeList[0];
this.$emit("input", this.newPriceObj);
});

2
src/views/contract/history-commission.vue

@ -169,7 +169,7 @@ export default {
page: this.CurrentObj.page
};
Contract.getHistoryEntrust(data).then(res => {
console.log(res,1111111111);
// console.log(res,1111111111);
this.list = res.data;
this.CurrentObj = res;
});

4
src/views/exchange/make-deal.vue

@ -496,8 +496,8 @@ export default {
});
},
renderBuyAmount(val, index) {
console.info(val)
console.info(this.buyorder)
// console.info(val)
// console.info(this.buyorder)
if (!this.buyorder.entrust_price) {
this.visibles.buy.limitPrice = true;
this.msgList.buy[1] = this.$t('nav.set');

4
src/views/exchange/order-list.vue

@ -273,12 +273,12 @@
},
changePagination(idx) {
console.log(idx);
// console.log(idx);
this.$emit("Pagination", idx);
}
},
created() {
console.log(this.ordersHistory);
// console.log(this.ordersHistory);
}
};
</script>

2
src/views/forgotPwd/index.vue

@ -93,7 +93,7 @@ export default {
account: account
}).then(data => {
// user
console.log(data,1111);
// console.log(data,1111);
Object.assign(this.user, data);
//

10
src/views/home/index.vue

@ -515,14 +515,14 @@
</div>
<div style="margin-top: 40px;">
<div class="d-flex">
<a href="https://app.btcoinmt.com/download/BTCoinmt.html" style="display: inline-block;width: 105px;text-decoration: none;">
<a style="display: inline-block;width: 105px;text-decoration: none;">
<div style="margin-right: 20px;">
<img style="margin-left: 10px;" src="../../assets/img/home/apple_1.png" alt="" class="icon"
width="40px" height="40px">
<div>App Store</div>
</div>
</a>
<a href="https://app.btcoinmt.com/download/BTCoinmt.html" style="display: inline-block;width: 100px;text-decoration: none;">
<a style="display: inline-block;width: 100px;text-decoration: none;">
<div style="margin-right: 0px;">
<img style="margin-left: 8px;" src="../../assets/img/home/android_1.png" alt="" class="icon"
width="40px" height="40px">
@ -958,7 +958,7 @@
return Boolean(localStorage.token);
},
downloadLink() {
return "https://btc.btcach.com/download";
return "https://btc.btcachwallet.com/download";
},
//
featuresList() {
@ -1067,7 +1067,7 @@
// this.calculatePath(item.prices)
item.line = path(item.prices);
});
console.info(this.marketList[0].marketInfoList);
// console.info(this.marketList[0].marketInfoList);
},
truncate(str, length) {
return _.truncate(str, {
@ -1324,7 +1324,7 @@
$(".prevBtn").click(function() {
if (mySwiper.activeIndex <= 0) {
console.log(1);
// console.log(1);
$(this).addClass("my-button-disabled");
} else {
// 1+

2
src/views/option/option-operation.vue

@ -426,7 +426,7 @@ export default {
odds_uuid,
scene_id: this.next_scene.scene_id
};
console.log(data);
// console.log(data);
if (utils.validate(domName)) {
Option.betScene(data)
.then(res => {

4
src/views/profile/certification.vue

@ -365,8 +365,8 @@ export default {
}
Profile.primaryAuth(data)
.then(res => {
console.log(res,'111111');
console.log(data,'222222');
// console.log(res,'111111');
// console.log(data,'222222');
this.$message.success(this.$t("profile.preliminary"));
// this.setp++;
this.$router.push("/wallet/assets/exchange")

2
src/views/signIn/index.vue

@ -537,7 +537,7 @@ export default {
window.md5 = md5;
//
window.step2Login = this.step2;
console.log(localStorage.lang,navigator.language.includes("zh"))
// console.log(localStorage.lang,navigator.language.includes("zh"))
//
this.test()

2
src/views/signUp/agent.vue

@ -316,7 +316,7 @@ export default {
token
})
.then(data => {
console.log(data)
// console.log(data)
const res = /^([\w\-\.]+)@([\w\.\-]+)$/.exec(this.user.email);
this.ajar.email = `${res[1].slice(0, 3)}${"*".repeat(5)}@${res[2]
}`;

4
src/views/signUp/index.vue

@ -398,11 +398,11 @@ export default {
// get gc code from api
gett_gc_code(){
console.log("dddddd")
// console.log("dddddd")
Member.sendGCode().then( (res) =>{
this.gc_key = res.key
this.Graph_che = res.img
console.log("gc",res)
// console.log("gc",res)
this.$message({
message: `${type} ${this.$t("login.sendOK")}`,
type: "success",

6
src/views/wallet/exchange-assets.vue

@ -715,7 +715,7 @@ export default {
//
getUserInfo() {
Profile.getUserInfo({}).then(res => {
console.log(res,222);
// console.log(res,222);
this.userInfo = res
});
},
@ -761,7 +761,7 @@ export default {
// let gdata = {bt:this.withdraw.addressType,baddr:this.withdraw.address,bnum:this.withdraw.amount}
let gdata = {bt:this.withdrawCoin,baddr:this.withdraw.address,bnum:this.withdraw.amount}
Member.getWdcode(gdata).then(res => {
console.log(res, 546576798)
// console.log(res, 546576798)
this.$message({
message: `${this.$t("login.sendOK")}`,
type: "success",
@ -776,7 +776,7 @@ export default {
Member.sendGCode().then( (res) =>{
this.gc_key = res.key
this.Graph_che = res.img
console.log("gc",res);
// console.log("gc",res);
this.$message({
message: `${type} ${this.$t("login.sendOK")}`,
type: "success",

4
src/views/wallet/funding.vue

@ -258,8 +258,8 @@ export default {
},
created() {
console.log(this.Funding);
console.info(this.$route.query.currentTab)
// console.log(this.Funding);
// console.info(this.$route.query.currentTab)
if(this.$route.query.currentTab){
this.currentTab=this.$route.query.currentTab
}else{

Loading…
Cancel
Save