diff --git a/components/base/tabBar.vue b/components/base/tabBar.vue index 9e4c9df..c585ac9 100644 --- a/components/base/tabBar.vue +++ b/components/base/tabBar.vue @@ -11,33 +11,20 @@ {{ $t(item.title) }} + + + + - + diff --git a/components/serviceList/serviceList.vue b/components/serviceList/serviceList.vue index 015dd25..9d2b942 100644 --- a/components/serviceList/serviceList.vue +++ b/components/serviceList/serviceList.vue @@ -17,13 +17,21 @@ type : Boolean, default : false }, - serverList : { - type : Array, - default : function(){ - return [] - } + // serverList : { + // type : Array, + // default : function(){ + // return [] + // } + // } + }, + data(){ + return { + serverList : [] } }, + created(){ + this.forgetPass() + }, methods : { //跳转客服网址 @@ -31,7 +39,16 @@ this.$play() window.open(url) this.$emit('close') - } + }, + + //获取客服列表 + forgetPass() { + this.request('forgetPass').then(res => { + if (res.code == 200) { + this.serverList = res.result + } + }) + }, } } diff --git a/locale/en.js b/locale/en.js index 03eee01..223e653 100644 --- a/locale/en.js +++ b/locale/en.js @@ -157,22 +157,26 @@ export default { "title": "Withdrawal", "account": "Account Amount US", "unit": "USDT", - "withdraw-amount": "Withdrawal Amount", - "withdraw-descript": "Withdrawal will be transferred to cryptocurrency wallet", - "withdrawal-all": "Withdraw All", - "deposit-now": "Deposit Amount", - "pin": "Security PIN", - "submit": "Submit", - "noBalance": "Your balance is 0", - "successfulWithdrawal": "Successful withdrawal", - "insufficientBalance": "Insufficient balance", - "creditLimit": "The withdrawal amount must be greater than 0", - "payPassEmpty": "Please enter the withdrawal amount", - "warn": "Warning", - "warn-detail": "Since your funds are large and exceed the withdrawal amount of ordinary users, please consider upgrading your VIP level!", - "ok": "OK", - "address" : "Withdrawal address", - "addressEmpty" : "Please add address" + // "withdraw-amount": "Withdrawal Amount", + // "withdraw-descript": "Withdrawal will be transferred to cryptocurrency wallet", + // "withdrawal-all": "Withdraw All", + // "deposit-now": "Deposit Amount", + // "pin": "Security PIN", + // "submit": "Submit", + // "noBalance": "Your balance is 0", + // "successfulWithdrawal": "Successful withdrawal", + // "insufficientBalance": "Insufficient balance", + // "creditLimit": "The withdrawal amount must be greater than 0", + // "payPassEmpty": "Please enter the withdrawal amount", + // "warn": "Warning", + // "warn-detail": "Since your funds are large and exceed the withdrawal amount of ordinary users, please consider upgrading your VIP level!", + // "ok": "OK", + // "address" : "Withdrawal address", + // "addressEmpty" : "Please add address", + "payment_passwrod-placeholder" : "Please enter payment passwrod", + "payment_passwrod" : "Payment passwrod", + "Minimum" : "Minimum Withdrawal amount 1", + "Withdraw_amount" : "Withdraw amount", }, "login": { "username": "Username", diff --git a/main.js b/main.js index 09fe3b8..08ecb76 100644 --- a/main.js +++ b/main.js @@ -16,10 +16,6 @@ Vue.prototype.request = request import store from './store/index.js' -import sTabbar from '@/components/base/tabBar.vue' - -Vue.component("sTabbar", sTabbar) - import uView from '@/uni_modules/uview-ui' Vue.use(uView) @@ -27,6 +23,11 @@ import './plugin' import 'interceptor/interceptor.js' + +import sTabbar from '@/components/base/tabBar.vue' + +Vue.component("sTabbar", sTabbar) + //后端返回数据格式过滤 window.parseList = function(data) { if (!data) { diff --git a/pages/center/center.vue b/pages/center/center.vue index b494dd5..7157de7 100644 --- a/pages/center/center.vue +++ b/pages/center/center.vue @@ -227,19 +227,19 @@ - +