Browse Source

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

master
liaoxinyu 2 years 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': { '/api': {
// target: 'http://qkladmin2.ruanmeng.top/', // target: 'http://qkladmin2.ruanmeng.top/',
// target: 'https://guanli.coin.amatak.net/', // target: 'https://guanli.coin.amatak.net/',
target: 'https://btc.btcach.com/', target: 'https://btc.btcachwallet.com/',
changeOrigin: true, changeOrigin: true,
// pathRewrite: { // pathRewrite: {
// // 请求时 将api替换成实际的apis等 // // 请求时 将api替换成实际的apis等

2
src/App.vue

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

2
src/api/custom/Model.js

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

2
src/api/server/index.js

@ -57,7 +57,7 @@ console.log(process.env.NODE_ENV)
Object.assign(settings, { Object.assign(settings, {
// api请求根地址 打包使用完整地址 调试使用本地服务器代理 避免跨域 // 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/', // baseURL: 'https://djs.jedcoin.com/api/',
// 加载超时限定5s // 加载超时限定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() { created() {
this.getCollegeLinks(); this.getCollegeLinks();
this.getServiceLink(); this.getServiceLink();
console.log(this.service); // console.log(this.service);
this.getEmial(); this.getEmial();
}, },
}; };

8
src/components/CommonHeader.vue

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

8
src/components/KLine.vue

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

10
src/index.html

@ -21,7 +21,7 @@
for (var i = 0; i < mobileAgent.length; i++) { for (var i = 0; i < mobileAgent.length; i++) {
if (browser.indexOf(mobileAgent[i]) != -1) { if (browser.indexOf(mobileAgent[i]) != -1) {
//todo 手机版跳转 //todo 手机版跳转
window.location.href = 'https://app.btcach.com'; window.location.href = 'https://app.btcachwallet.com';
break; break;
} }
} }
@ -68,14 +68,14 @@
<script src="/static/libs/jquery.mCustomScrollbar.js"></script> <script src="/static/libs/jquery.mCustomScrollbar.js"></script>
<script src="/static/js/custom.js"></script> <script src="/static/js/custom.js"></script>
<script src="/static/libs/skroll.min.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.btcachwallet.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/mobile/qs6_9_4.min.js"></script>
<script> <script>
window.custom = "dark"; // 默认主题 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.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 ? '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' %>"; // 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 state.sidebar.opened = !state.sidebar.opened
}, },
SET_LANGUAGE: (state, language) => { SET_LANGUAGE: (state, language) => {
console.info(Cookies.get('language')) // console.info(Cookies.get('language'))
state.language = language state.language = language
Cookies.set('language', language) Cookies.set('language', language)
} }

10
src/utils/consts.js

@ -15,18 +15,18 @@ export default {
FAIL : 2, FAIL : 2,
} }
}, },
mobileUrl:'https://app.btcach.com', mobileUrl:'https://app.btcachwallet.com',
Server: { Server: {
Path: { Path: {
// API: isProduct ? `http://qkladmin2.ruanmeng.top/api/` : `/api/`, // API: isProduct ? `http://qkladmin2.ruanmeng.top/api/` : `/api/`,
BASE:isProduct?`https://btc.btcach.com`:`https://btc.btcach.com`, BASE:isProduct?`https://btc.btcachwallet.com`:`https://btc.btcachwallet.com`,
API: isProduct ? `https://btc.btcach.com/api/` : `/api/`, API: isProduct ? `https://btc.btcachwallet.com/api/` : `/api/`,
// WS: isProduct ? `ws://qkladmin2.ruanmeng.top:2346` : `ws://qkladmin2.ruanmeng.top:2346`, // WS: isProduct ? `ws://qkladmin2.ruanmeng.top:2346` : `ws://qkladmin2.ruanmeng.top:2346`,
// WS1: isProduct ? `ws://qkladmin2.ruanmeng.top:2348` : `ws://qkladmin2.ruanmeng.top:2348`, // 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://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://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: { computed: {
title() { title() {
let key = this.cid; let key = this.cid;
console.log(this.cid, 'this.cid') // console.log(this.cid, 'this.cid')
switch (key) { switch (key) {
case 'novice': case 'novice':
return this.$t('college.noviceTutorial') return this.$t('college.noviceTutorial')

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

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

2
src/views/contract/account copy.vue

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

2
src/views/contract/account.vue

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

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

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

2
src/views/contract/handicapRight.vue

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

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

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

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

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

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

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

2
src/views/forgotPwd/index.vue

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

10
src/views/home/index.vue

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

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

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

4
src/views/profile/certification.vue

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

2
src/views/signIn/index.vue

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

2
src/views/signUp/agent.vue

@ -316,7 +316,7 @@ export default {
token token
}) })
.then(data => { .then(data => {
console.log(data) // console.log(data)
const res = /^([\w\-\.]+)@([\w\.\-]+)$/.exec(this.user.email); const res = /^([\w\-\.]+)@([\w\.\-]+)$/.exec(this.user.email);
this.ajar.email = `${res[1].slice(0, 3)}${"*".repeat(5)}@${res[2] 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 // get gc code from api
gett_gc_code(){ gett_gc_code(){
console.log("dddddd") // console.log("dddddd")
Member.sendGCode().then( (res) =>{ Member.sendGCode().then( (res) =>{
this.gc_key = res.key this.gc_key = res.key
this.Graph_che = res.img this.Graph_che = res.img
console.log("gc",res) // console.log("gc",res)
this.$message({ this.$message({
message: `${type} ${this.$t("login.sendOK")}`, message: `${type} ${this.$t("login.sendOK")}`,
type: "success", type: "success",

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

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

4
src/views/wallet/funding.vue

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

Loading…
Cancel
Save