mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 04:09:29 +02:00
uncoment
This commit is contained in:
@@ -5,6 +5,8 @@
|
|||||||
<develop-component></develop-component>
|
<develop-component></develop-component>
|
||||||
<header-component></header-component>
|
<header-component></header-component>
|
||||||
|
|
||||||
|
<chat-component></chat-component>
|
||||||
|
|
||||||
<section class="help">
|
<section class="help">
|
||||||
<div class="box_help">
|
<div class="box_help">
|
||||||
<div class="Heading_p1">
|
<div class="Heading_p1">
|
||||||
@@ -78,7 +80,7 @@
|
|||||||
// import HelpComponent from "@/components/HelpComponent.vue";
|
// import HelpComponent from "@/components/HelpComponent.vue";
|
||||||
import AsideBarComponent from "@/components/AsidebarComponent.vue";
|
import AsideBarComponent from "@/components/AsidebarComponent.vue";
|
||||||
import HeaderComponent from "@/components/HeaderComponent.vue";
|
import HeaderComponent from "@/components/HeaderComponent.vue";
|
||||||
// import ChatComponent from "@/components/ChatComponent.vue";
|
import ChatComponent from "@/components/ChatComponent.vue";
|
||||||
import '@/assets/css/ComponentsStyles/Help.css'
|
import '@/assets/css/ComponentsStyles/Help.css'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@@ -101,7 +103,7 @@ export default {
|
|||||||
HeaderComponent,
|
HeaderComponent,
|
||||||
AsideBarComponent,
|
AsideBarComponent,
|
||||||
// HelpComponent,
|
// HelpComponent,
|
||||||
// ChatComponent,
|
ChatComponent,
|
||||||
},
|
},
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -118,34 +118,34 @@ export default {
|
|||||||
},
|
},
|
||||||
NotificationMethod() {
|
NotificationMethod() {
|
||||||
this.notification = false
|
this.notification = false
|
||||||
|
},
|
||||||
|
formatNumber(number) {
|
||||||
|
return number < 10 ? `0${number}` : number;
|
||||||
|
},
|
||||||
|
getCurrentFormattedDate() {
|
||||||
|
const currentDate = new Date();
|
||||||
|
return `${this.formatNumber(currentDate.getDate())}.${this.formatNumber(currentDate.getMonth() + 1)}.${currentDate.getFullYear()}, ${this.formatNumber(currentDate.getHours())}:${this.formatNumber(currentDate.getMinutes())}`;
|
||||||
|
},
|
||||||
|
claimDataDeposit(amount) {
|
||||||
|
const historyPayments = {
|
||||||
|
name: 'TEST USER',
|
||||||
|
comment: 'test',
|
||||||
|
data: this.getCurrentFormattedDate(),
|
||||||
|
amount: amount
|
||||||
|
}
|
||||||
|
|
||||||
|
this.arrayHistory.unshift(historyPayments)
|
||||||
|
},
|
||||||
|
claimDataWithdraw(amount) {
|
||||||
|
const historyPayments = {
|
||||||
|
name: 'TEST USER',
|
||||||
|
comment: 'test',
|
||||||
|
data: this.getCurrentFormattedDate(),
|
||||||
|
amount: -amount
|
||||||
|
}
|
||||||
|
|
||||||
|
this.arrayHistory.unshift(historyPayments)
|
||||||
}
|
}
|
||||||
// formatNumber(number) {
|
|
||||||
// return number < 10 ? `0${number}` : number;
|
|
||||||
// },
|
|
||||||
// getCurrentFormattedDate() {
|
|
||||||
// const currentDate = new Date();
|
|
||||||
// return `${this.formatNumber(currentDate.getDate())}.${this.formatNumber(currentDate.getMonth() + 1)}.${currentDate.getFullYear()}, ${this.formatNumber(currentDate.getHours())}:${this.formatNumber(currentDate.getMinutes())}`;
|
|
||||||
// },
|
|
||||||
// claimDataDeposit(amount) {
|
|
||||||
// const historyPayments = {
|
|
||||||
// name: 'TEST USER',
|
|
||||||
// comment: 'test',
|
|
||||||
// data: this.getCurrentFormattedDate(),
|
|
||||||
// amount: amount
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// this.arrayHistory.unshift(historyPayments)
|
|
||||||
// },
|
|
||||||
// claimDataWithdraw(amount) {
|
|
||||||
// const historyPayments = {
|
|
||||||
// name: 'TEST USER',
|
|
||||||
// comment: 'test',
|
|
||||||
// data: this.getCurrentFormattedDate(),
|
|
||||||
// amount: -amount
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// this.arrayHistory.unshift(historyPayments)
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
Reference in New Issue
Block a user