mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 04:09:29 +02:00
added and changed adaptations on transactions
This commit is contained in:
@@ -128,6 +128,7 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center; /* Center vertically */
|
align-items: center; /* Center vertically */
|
||||||
margin-right: 1em; /* Add margin for spacing */
|
margin-right: 1em; /* Add margin for spacing */
|
||||||
|
width: 15vh;
|
||||||
}
|
}
|
||||||
.user-name {
|
.user-name {
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -142,6 +143,20 @@
|
|||||||
font-family: Montserrat;
|
font-family: Montserrat;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.user-name1 {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
margin-left: 0.625em;
|
||||||
|
align-items: center; /* Center horizontally */
|
||||||
|
margin-top: -0.5em; /* Adjust this value as needed */
|
||||||
|
}
|
||||||
|
.user-name1__text h3 {
|
||||||
|
color: #FFF;
|
||||||
|
font-weight: 700;
|
||||||
|
font-family: Montserrat;
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
.user-name__text p {
|
.user-name__text p {
|
||||||
color: #A9A9A9;
|
color: #A9A9A9;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
@@ -149,7 +164,7 @@
|
|||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
}
|
}
|
||||||
.data-info {
|
.data-info {
|
||||||
margin-left: 17vh; /* Push to the right */
|
margin-left: 20vh; /* Push to the right */
|
||||||
margin-right: auto; /* Push to the left */
|
margin-right: auto; /* Push to the left */
|
||||||
}
|
}
|
||||||
.data-info__text h3 {
|
.data-info__text h3 {
|
||||||
@@ -157,6 +172,7 @@
|
|||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-family: Montserrat;
|
font-family: Montserrat;
|
||||||
font-size: 17px;
|
font-size: 17px;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.transaction-info {
|
.transaction-info {
|
||||||
@@ -165,13 +181,14 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-content: center;
|
align-content: center;
|
||||||
width: 25vh;
|
width: 1vh;
|
||||||
|
margin-right: 13.5vh;
|
||||||
}
|
}
|
||||||
.transaction-info__text {
|
.transaction-info__text {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-content: center;
|
align-content: center;
|
||||||
width: 20vh;
|
width: 13vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
.transaction-info__text h3 {
|
.transaction-info__text h3 {
|
||||||
@@ -184,6 +201,10 @@
|
|||||||
}
|
}
|
||||||
.withdraw-color h3 {
|
.withdraw-color h3 {
|
||||||
color: #EA3D38;
|
color: #EA3D38;
|
||||||
|
margin-right: 1vh;
|
||||||
|
}
|
||||||
|
.withdraw-color1 {
|
||||||
|
margin-left: 1.35em;
|
||||||
}
|
}
|
||||||
.error-deposit {
|
.error-deposit {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@@ -235,6 +256,65 @@
|
|||||||
.withdraw {
|
.withdraw {
|
||||||
padding-right: 56%;
|
padding-right: 56%;
|
||||||
}
|
}
|
||||||
|
.withdraw-color h3 {
|
||||||
|
color: #EA3D38;
|
||||||
|
margin-right: 1vh;
|
||||||
|
}
|
||||||
|
.transaction-info {
|
||||||
|
margin-right: 10em; /* Add margin for spacing */
|
||||||
|
margin-right: 6em; /* Add margin for spacing */
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-content: center;
|
||||||
|
width: 1vh;
|
||||||
|
margin-right: 8.5vh;
|
||||||
|
}
|
||||||
|
.transaction-info__text {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-content: center;
|
||||||
|
width: 13vh;
|
||||||
|
}
|
||||||
|
.user-name {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
margin-left: 0.625em;
|
||||||
|
align-items: center; /* Center horizontally */
|
||||||
|
margin-top: -0.5em; /* Adjust this value as needed */
|
||||||
|
}
|
||||||
|
.user-name__text h3 {
|
||||||
|
color: #FFF;
|
||||||
|
font-weight: 700;
|
||||||
|
font-family: Montserrat;
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
|
.user-name1 {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
margin-left: 0.625em;
|
||||||
|
align-items: center; /* Center horizontally */
|
||||||
|
margin-top: -0.5em; /* Adjust this value as needed */
|
||||||
|
}
|
||||||
|
.user-name1__text h3 {
|
||||||
|
color: #FFF;
|
||||||
|
font-weight: 700;
|
||||||
|
font-family: Montserrat;
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
|
.data-info {
|
||||||
|
margin-left: 22.5vh; /* Push to the right */
|
||||||
|
margin-right: auto; /* Push to the left */
|
||||||
|
}
|
||||||
|
.data-info__text h3 {
|
||||||
|
color: #A9A9A9;
|
||||||
|
font-weight: 400;
|
||||||
|
font-family: Montserrat;
|
||||||
|
font-size: 17px;
|
||||||
|
|
||||||
|
}
|
||||||
|
.withdraw-color1 {
|
||||||
|
margin-left: 1.35em;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@media screen and (min-device-width: 1200px) and (max-device-width: 1399px) {
|
@media screen and (min-device-width: 1200px) and (max-device-width: 1399px) {
|
||||||
.profile__card h2 {
|
.profile__card h2 {
|
||||||
@@ -246,5 +326,67 @@
|
|||||||
.withdraw {
|
.withdraw {
|
||||||
padding-right: 66%;
|
padding-right: 66%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
@media screen and (min-device-width: 1921px) {
|
||||||
|
.withdraw-color h3 {
|
||||||
|
color: #EA3D38;
|
||||||
|
margin-right: 1vh;
|
||||||
|
}
|
||||||
|
.transaction-info {
|
||||||
|
margin-right: 10em; /* Add margin for spacing */
|
||||||
|
margin-right: 6em; /* Add margin for spacing */
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-content: center;
|
||||||
|
width: 1vh;
|
||||||
|
margin-right: 20vh;
|
||||||
|
}
|
||||||
|
.transaction-info__text {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-content: center;
|
||||||
|
width: 13vh;
|
||||||
|
}
|
||||||
|
.user-name {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
margin-left: 0.625em;
|
||||||
|
align-items: center; /* Center horizontally */
|
||||||
|
margin-top: -0.5em; /* Adjust this value as needed */
|
||||||
|
}
|
||||||
|
.user-name__text h3 {
|
||||||
|
color: #FFF;
|
||||||
|
font-weight: 700;
|
||||||
|
font-family: Montserrat;
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
|
.user-name1 {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
margin-left: 0.625em;
|
||||||
|
align-items: center; /* Center horizontally */
|
||||||
|
margin-top: -0.5em; /* Adjust this value as needed */
|
||||||
|
}
|
||||||
|
.user-name1__text h3 {
|
||||||
|
color: #FFF;
|
||||||
|
font-weight: 700;
|
||||||
|
font-family: Montserrat;
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
|
.data-info {
|
||||||
|
margin-left: 17vh; /* Push to the right */
|
||||||
|
margin-right: auto; /* Push to the left */
|
||||||
|
}
|
||||||
|
.data-info__text h3 {
|
||||||
|
color: #A9A9A9;
|
||||||
|
font-weight: 400;
|
||||||
|
font-family: Montserrat;
|
||||||
|
font-size: 17px;
|
||||||
|
|
||||||
|
}
|
||||||
|
.withdraw-color1 {
|
||||||
|
margin-left: 1.35em;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
/* /Media */
|
/* /Media */
|
||||||
@@ -14,7 +14,6 @@
|
|||||||
<div class="profile__btns--payments">
|
<div class="profile__btns--payments">
|
||||||
<a href="#" class="text-btn btn-bg btn-margin btn-display" @click="depositClick"><img class="icon-margin-deposit-withdraw" src="@/assets/icons-profile/icon-deposit.svg"> Пополнить</a>
|
<a href="#" class="text-btn btn-bg btn-margin btn-display" @click="depositClick"><img class="icon-margin-deposit-withdraw" src="@/assets/icons-profile/icon-deposit.svg"> Пополнить</a>
|
||||||
<a href="#" class="withdraw text-btn btn-bg btn-display" @click="withdrawClick"><img class="icon-margin-deposit-withdraw" src="@/assets/icons-profile/icon-withdraw.png"> Вывести</a>
|
<a href="#" class="withdraw text-btn btn-bg btn-display" @click="withdrawClick"><img class="icon-margin-deposit-withdraw" src="@/assets/icons-profile/icon-withdraw.png"> Вывести</a>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="payments">
|
<div class="payments">
|
||||||
@@ -37,9 +36,12 @@
|
|||||||
<div class="payments__card" v-for="payment in arrayHistory" :key="payment.id">
|
<div class="payments__card" v-for="payment in arrayHistory" :key="payment.id">
|
||||||
<div class="user-info">
|
<div class="user-info">
|
||||||
<img src="@/assets/icons-test/person-icon-profile-userinfo.png">
|
<img src="@/assets/icons-test/person-icon-profile-userinfo.png">
|
||||||
<div class="user-name user-name__text">
|
<div class="user-name user-name__text" :class="{ 'withdraw-color1': payment.name }">
|
||||||
<h3>{{ payment.name }}</h3>
|
<h3>{{ payment.name }}</h3>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="user-name1 user-name1__text">
|
||||||
|
<h3>{{ payment.name1 }}</h3>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="data-info data-info__text">
|
<div class="data-info data-info__text">
|
||||||
<h3>{{ payment.data }}</h3>
|
<h3>{{ payment.data }}</h3>
|
||||||
@@ -47,6 +49,7 @@
|
|||||||
<div class="transaction-info transaction-info__text" :class="{ 'withdraw-color': payment.amount < 0, 'deposit-color': payment.amount > 0 }">
|
<div class="transaction-info transaction-info__text" :class="{ 'withdraw-color': payment.amount < 0, 'deposit-color': payment.amount > 0 }">
|
||||||
<h3>{{ payment.amount }} АР</h3>
|
<h3>{{ payment.amount }} АР</h3>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -145,7 +148,7 @@ export default {
|
|||||||
},
|
},
|
||||||
claimDataDeposit(amount) {
|
claimDataDeposit(amount) {
|
||||||
const historyPayments = {
|
const historyPayments = {
|
||||||
name: 'Пополнение',
|
name1: 'Пополнение',
|
||||||
data: this.getCurrentFormattedDate(),
|
data: this.getCurrentFormattedDate(),
|
||||||
amount: amount
|
amount: amount
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user