Browse Source

隐藏一些控制台,修改底部导航栏样式

master
liaoxinyu 2 years ago
parent
commit
044e956e2b
  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
      main.js
  5. 2
      pages/assets/recharge.vue
  6. 4
      pages/assets/records.vue
  7. 4
      pages/auth/primary.vue
  8. 8
      pages/base/index.vue
  9. 6
      pages/base/mine.vue
  10. 2
      pages/currency/list.vue
  11. 2
      pages/exchange/contract-history.vue

2
api/serve/index.js

@ -144,7 +144,7 @@ x.fn = x.prototype = {
} }
}, },
fail: (err) => { fail: (err) => {
console.log(err) // console.log(err)
reject(err) reject(err)
if (config.toast !== false) { if (config.toast !== false) {
// uni.showToast({ // uni.showToast({

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
main.js

@ -14,6 +14,10 @@ Vue.config.productionTip = false
App.mpType = 'app' App.mpType = 'app'
if (uni.getSystemInfoSync().platform !== "devtools") {
console.log = () => {}
}
const app = new Vue({ const app = new Vue({
...App, ...App,
i18n, i18n,

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

@ -150,7 +150,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'),
@ -202,7 +202,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;
} }
}, },

8
pages/base/index.vue

@ -154,9 +154,11 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.footer { .footer {
box-shadow: $tab-nav-shadow; box-shadow: $tab-nav-shadow;
position: relative; // position: relative;
z-index: 5; // z-index: 5;
background-color: #000; background-color: #000;
min-height: 88rpx;
box-sizing: border-box;
} }
.router-link-active { .router-link-active {

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)
}); });
}, },
// //

Loading…
Cancel
Save