Commit 7ad0e552 by GiottoMaster

update

parent 70e016c0
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
<!-- <div class="mey">{{ $t('mode.index.label5') }}</div> --> <!-- <div class="mey">{{ $t('mode.index.label5') }}</div> -->
</div> </div>
<div class="riggs"> <div class="riggs">
<div class="lisImg" @click="$parent.goNav('/recharge')"> <div class="lisImg" @click="goRecharge()">
<img src="/static/image/trans_logo3.png" alt="" /> <img src="/static/image/trans_logo3.png" alt="" />
{{ $t('mode.index.label6') }} {{ $t('mode.index.label6') }}
</div> </div>
...@@ -241,6 +241,18 @@ export default { ...@@ -241,6 +241,18 @@ export default {
this.getCaipiaoList() this.getCaipiaoList()
}, },
methods: { methods: {
goRecharge() {
const date = new Date()
const hour = (Number(date.getUTCHours()) + 9) % 24
console.log(hour)
if(hour < 10 || hour >= 22) {
this.$parent.showTost(0, this.$t('main.recharge.error1'));
}else {
this.$parent.goNav('/recharge')
}
return
that.showTost(0, that.$t('main.recharge.toast1'));
},
goGamePage(item) { goGamePage(item) {
const list = ['concise','fishing','joker'] const list = ['concise','fishing','joker']
if(item.platform_name === 'mg' && list.indexOf(item.category_id >= 0) && item.category_id != 'realbet') { if(item.platform_name === 'mg' && list.indexOf(item.category_id >= 0) && item.category_id != 'realbet') {
......
...@@ -217,7 +217,7 @@ export default { ...@@ -217,7 +217,7 @@ export default {
name: 'recharge', name: 'recharge',
data() { data() {
return { return {
windowShow:true, windowShow:false,
pay_way: 'bank', pay_way: 'bank',
bankBox: {}, bankBox: {},
payInfo: {}, payInfo: {},
...@@ -549,7 +549,7 @@ export default { ...@@ -549,7 +549,7 @@ export default {
}, },
mounted() { mounted() {
let that = this; let that = this;
this.windowShow = true // this.windowShow = true
console.log(this.windowShow) console.log(this.windowShow)
}, },
updated() { updated() {
...@@ -558,7 +558,7 @@ export default { ...@@ -558,7 +558,7 @@ export default {
beforeRouteEnter(to, from, next) { beforeRouteEnter(to, from, next) {
next(vm => { next(vm => {
console.log(vm); console.log(vm);
vm.windowShow = true // vm.windowShow = true
let that = this; let that = this;
vm.getuseCardlist(); vm.getuseCardlist();
}); });
......
...@@ -454,6 +454,7 @@ export const main = { ...@@ -454,6 +454,7 @@ export const main = {
other2: '备注', other2: '备注',
other3: '请输入备注', other3: '请输入备注',
tips1: '如果您需要储值,请联系客服中心确认银行账户。', tips1: '如果您需要储值,请联系客服中心确认银行账户。',
error1: '存取款时间:工作日 10:00 至 22:00,周末 13:00 至 22:00'
}, },
register: { register: {
......
...@@ -454,6 +454,7 @@ export const main = { ...@@ -454,6 +454,7 @@ export const main = {
other2: 'Remarks', other2: 'Remarks',
other3: 'Please enter remarks', other3: 'Please enter remarks',
tips1: 'If you need to top up, please contact the customer service center to confirm your bank account.', tips1: 'If you need to top up, please contact the customer service center to confirm your bank account.',
error1: 'Deposit/Withdrawal Hours: Weekdays 10:00 AM to 10:00 PM, Weekends 1:00 PM to 10:00 PM'
}, },
register: { register: {
......
...@@ -456,7 +456,8 @@ export const main = { ...@@ -456,7 +456,8 @@ export const main = {
other1: '지갑 주소', other1: '지갑 주소',
other2: '메모', other2: '메모',
other3: '메모를 입력하세요', other3: '메모를 입력하세요',
tips1: '충전을 원하실 경우 고객센터에 입금 계좌문의를 하시길 바랍니다.' tips1: '충전을 원하실 경우 고객센터에 입금 계좌문의를 하시길 바랍니다.',
error1: '입출금 시간 안내 : 평일 오전 10시부터 오후 10시까지 이며, 주말 오후 1시부터 오후 10시까지 입니다.'
}, },
register: { register: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment