Merge branch 'DevelopMadara'

This commit is contained in:
Hepatica
2024-03-02 20:51:56 +01:00
15 changed files with 444 additions and 96 deletions

View File

@@ -11,6 +11,7 @@
"@popperjs/core": "^2.11.8", "@popperjs/core": "^2.11.8",
"@vuelidate/core": "^2.0.3", "@vuelidate/core": "^2.0.3",
"@vuelidate/validators": "^2.0.4", "@vuelidate/validators": "^2.0.4",
"axios": "^1.6.7",
"bootstrap": "^5.3.2", "bootstrap": "^5.3.2",
"core-js": "^3.8.3", "core-js": "^3.8.3",
"howler": "^2.2.4", "howler": "^2.2.4",
@@ -3813,6 +3814,11 @@
"lodash": "^4.17.14" "lodash": "^4.17.14"
} }
}, },
"node_modules/asynckit": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
"integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q=="
},
"node_modules/at-least-node": { "node_modules/at-least-node": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz", "resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz",
@@ -3859,6 +3865,16 @@
"postcss": "^8.1.0" "postcss": "^8.1.0"
} }
}, },
"node_modules/axios": {
"version": "1.6.7",
"resolved": "https://registry.npmjs.org/axios/-/axios-1.6.7.tgz",
"integrity": "sha512-/hDJGff6/c7u0hDkvkGxR/oy6CbCs8ziCsC7SqmhjfozqiJGc8Z11wrv9z9lYfY4K8l+H9TpjcMDX0xOZmx+RA==",
"dependencies": {
"follow-redirects": "^1.15.4",
"form-data": "^4.0.0",
"proxy-from-env": "^1.1.0"
}
},
"node_modules/babel-loader": { "node_modules/babel-loader": {
"version": "8.3.0", "version": "8.3.0",
"resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-8.3.0.tgz", "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-8.3.0.tgz",
@@ -4585,6 +4601,17 @@
"resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.20.tgz", "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.20.tgz",
"integrity": "sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==" "integrity": "sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w=="
}, },
"node_modules/combined-stream": {
"version": "1.0.8",
"resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
"integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
"dependencies": {
"delayed-stream": "~1.0.0"
},
"engines": {
"node": ">= 0.8"
}
},
"node_modules/commander": { "node_modules/commander": {
"version": "8.3.0", "version": "8.3.0",
"resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz", "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz",
@@ -5366,6 +5393,14 @@
"resolved": "https://registry.npmjs.org/defu/-/defu-6.1.3.tgz", "resolved": "https://registry.npmjs.org/defu/-/defu-6.1.3.tgz",
"integrity": "sha512-Vy2wmG3NTkmHNg/kzpuvHhkqeIx3ODWqasgCRbKtbXEN0G+HpEEv9BtJLp7ZG1CZloFaC41Ah3ZFbq7aqCqMeQ==" "integrity": "sha512-Vy2wmG3NTkmHNg/kzpuvHhkqeIx3ODWqasgCRbKtbXEN0G+HpEEv9BtJLp7ZG1CZloFaC41Ah3ZFbq7aqCqMeQ=="
}, },
"node_modules/delayed-stream": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
"integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==",
"engines": {
"node": ">=0.4.0"
}
},
"node_modules/depd": { "node_modules/depd": {
"version": "2.0.0", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz",
@@ -6618,10 +6653,9 @@
"dev": true "dev": true
}, },
"node_modules/follow-redirects": { "node_modules/follow-redirects": {
"version": "1.15.3", "version": "1.15.5",
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.3.tgz", "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.5.tgz",
"integrity": "sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q==", "integrity": "sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==",
"dev": true,
"funding": [ "funding": [
{ {
"type": "individual", "type": "individual",
@@ -6637,6 +6671,19 @@
} }
} }
}, },
"node_modules/form-data": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz",
"integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==",
"dependencies": {
"asynckit": "^0.4.0",
"combined-stream": "^1.0.8",
"mime-types": "^2.1.12"
},
"engines": {
"node": ">= 6"
}
},
"node_modules/forwarded": { "node_modules/forwarded": {
"version": "0.2.0", "version": "0.2.0",
"resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz",
@@ -8246,7 +8293,6 @@
"version": "1.52.0", "version": "1.52.0",
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
"integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
"dev": true,
"engines": { "engines": {
"node": ">= 0.6" "node": ">= 0.6"
} }
@@ -8255,7 +8301,6 @@
"version": "2.1.35", "version": "2.1.35",
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
"integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
"dev": true,
"dependencies": { "dependencies": {
"mime-db": "1.52.0" "mime-db": "1.52.0"
}, },
@@ -9823,6 +9868,11 @@
"node": ">= 0.10" "node": ">= 0.10"
} }
}, },
"node_modules/proxy-from-env": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz",
"integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg=="
},
"node_modules/pseudomap": { "node_modules/pseudomap": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz",

View File

@@ -12,6 +12,7 @@
"@popperjs/core": "^2.11.8", "@popperjs/core": "^2.11.8",
"@vuelidate/core": "^2.0.3", "@vuelidate/core": "^2.0.3",
"@vuelidate/validators": "^2.0.4", "@vuelidate/validators": "^2.0.4",
"axios": "^1.6.7",
"bootstrap": "^5.3.2", "bootstrap": "^5.3.2",
"core-js": "^3.8.3", "core-js": "^3.8.3",
"howler": "^2.2.4", "howler": "^2.2.4",

View File

@@ -20,7 +20,20 @@
align-items: center; align-items: center;
height: 100%; height: 100%;
} }
.fotosloti {
display: flex;
justify-content: center;
align-items: center;
margin-left: 0.1vh;
}
.fotosloti a img {
display: flex;
justify-content: center;
align-items: center;
text-align: center;
max-width: 100%;
max-height: 100%;
}
.menu__content--gamemodes { .menu__content--gamemodes {
background: rgba(217, 217, 217, 0.12); background: rgba(217, 217, 217, 0.12);
filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.25)); filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.25));

View File

@@ -41,7 +41,11 @@
font-size: 18px; font-size: 18px;
font-weight: 700; font-weight: 700;
} }
.chat__mute-button {
position: absolute;
bottom: 10px;
right: 10px;
}
/* .content p { /* .content p {
width: 80%; width: 80%;
word-wrap: break-word; word-wrap: break-word;

View File

@@ -2,7 +2,6 @@
width: 30%; width: 30%;
margin-left: 3%; margin-left: 3%;
} }
.profile__content .profile__user--img { .profile__content .profile__user--img {
margin: 17.6% 8.4% 1% 0; margin: 17.6% 8.4% 1% 0;
background: #969C8D; background: #969C8D;
@@ -13,15 +12,20 @@
.profile__card { .profile__card {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
}.hisorypaymond {
/* height: 590px; */
height: 70vh;
width: auto;
overflow-y: auto;
overflow-x: auto;
overflow-y: auto;
} }
.profile__card h1 { .profile__card h1 {
color: #FFF; color: #FFF;
font-weight: 700; font-weight: 700;
font-family: Montserrat; font-family: Montserrat;
font-size: 40px; font-size: 40px;
} }
.profile__card h2 { .profile__card h2 {
border-radius: 20px; border-radius: 20px;
background: #22252F; background: #22252F;
@@ -35,47 +39,38 @@
font-size: 28px; font-size: 28px;
padding-left: 11px; padding-left: 11px;
} }
.profile__card h2 img { .profile__card h2 img {
margin-right: 4.4%; margin-right: 4.4%;
} }
.profile__btns--payments { .profile__btns--payments {
margin-top: 7.9%; margin-top: 7.9%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }
.icon-diamond h2 img { .icon-diamond h2 img {
width: 33px; width: 33px;
height: 33px; height: 33px;
} }
.deposit-icon { .deposit-icon {
margin: 3px 0 0 10px; margin: 3px 0 0 10px;
} }
.withdraw-icon { .withdraw-icon {
margin-left: 33px; margin-left: 33px;
} }
.btn-bg { .btn-bg {
border-radius: 10px; border-radius: 10px;
background: rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.12);
box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25); box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
width: 36%; width: 36%;
} }
.btn-margin { .btn-margin {
padding: 3.8% 46% 3% 14%; padding: 3.8% 46% 3% 14%;
margin-bottom: 11px; margin-bottom: 11px;
background: #62D4B2; background: #62D4B2;
} }
.btn-display { .btn-display {
display: flex; display: flex;
} }
.text-btn { .text-btn {
text-decoration: none; text-decoration: none;
color: #000; color: #000;
@@ -85,16 +80,23 @@
font-size: 18px; font-size: 18px;
margin-left: 4px; margin-left: 4px;
} }
.icon-margin-deposit-withdraw { .icon-margin-deposit-withdraw {
margin-right: 4px; margin-right: 4px;
} }
.withdraw { .withdraw {
padding: 3.8% 46% 3% 14%; padding: 3.8% 46% 3% 14%;
background: #EF4444; background: #EF4444;
} }
.playerandvid {
margin-right: 10vh;
}
.data1 {
margin-right: 20vh;
}
.summa {
margin-right: 10vh;
}
.payments { .payments {
margin: 2% 0 0 -4.25%; margin: 2% 0 0 -4.25%;
@@ -102,41 +104,47 @@
.types { .types {
display: flex; display: flex;
} }
.types-margin h3 { .types-margin h3 {
margin-right: 7.813em; margin-right: 7.813em;
}
}
.types-text h3 { .types-text h3 {
color: #ABABB4; color: #ABABB4;
font-weight: 600; font-weight: 600;
font-family: Montserrat; font-family: Montserrat;
font-size: 14px; font-size: 14px;
} }
.types-line { .types-line {
flex-grow: 1; /* Add this line */
margin-top: 2.1%; margin-top: 2.1%;
background: #38383E; background: #38383E;
width: 86%;
height: 3px; height: 3px;
width: 100vh;
} }
.payments__card { .payments__card {
margin-top: 4.9%; margin-top: 4.9%;
display: flex; display: flex;
align-items: center; /* Center vertically */
justify-content: space-between;
} }
.user-info { .user-info {
display: flex; display: flex;
align-items: center; /* Center vertically */
margin-right: 1em; /* Add margin for spacing */
width: 15vh;
} }
.user-name { .user-name {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
margin-left: 0.625em; margin-left: 0.625em;
align-items: center; /* Center horizontally */
margin-top: -0.5em; /* Adjust this value as needed */
} }
.user-name__text h3 { .user-name__text h3 {
color: #FFF; color: #FFF;
font-weight: 700; font-weight: 700;
@@ -144,26 +152,51 @@
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;
font-family: Montserrat; font-family: Montserrat;
font-size: 20px; font-size: 20px;
} }
.data-info { .data-info {
margin-left: 10%; margin-left: 20vh; /* Push to the right */
margin-right: auto; /* Push to the left */
} }
.data-info__text h3 { .data-info__text h3 {
color: #A9A9A9; color: #A9A9A9;
font-weight: 400; font-weight: 400;
font-family: Montserrat; font-family: Montserrat;
font-size: 17px; font-size: 17px;
} }
.transaction-info { .transaction-info {
margin-left: 7%; 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: 13.5vh;
}
.transaction-info__text {
display: flex;
justify-content: center;
align-content: center;
width: 13vh;
} }
.transaction-info__text h3 { .transaction-info__text h3 {
@@ -171,63 +204,56 @@
font-family: Montserrat; font-family: Montserrat;
font-size: 22px; font-size: 22px;
} }
.deposit-color h3 { .deposit-color h3 {
color: #32C966; color: #32C966;
} }
.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;
left: 190px; left: 190px;
top: 52px; top: 52px;
} }
.error-deposit h2 { .error-deposit h2 {
color: #BA3636; color: #BA3636;
font-family: "Montserrat Alternates"; font-family: "Montserrat Alternates";
font-weight: 700; font-weight: 700;
font-size: 11px; font-size: 11px;
} }
.error-card { .error-card {
position: absolute; position: absolute;
top: 130px; top: 130px;
left: 210px; left: 210px;
} }
.error-card h2 { .error-card h2 {
color: #BA3636; color: #BA3636;
font-family: "Montserrat Alternates"; font-family: "Montserrat Alternates";
font-weight: 700; font-weight: 700;
font-size: 11px; font-size: 11px;
} }
.error-checkbox h2 { .error-checkbox h2 {
color: #BA3636; color: #BA3636;
font-family: "Montserrat Alternates"; font-family: "Montserrat Alternates";
font-weight: 700; font-weight: 700;
font-size: 11px; font-size: 11px;
} }
.error-captcha { .error-captcha {
top: 235px; top: 235px;
left: 45px; left: 45px;
position: absolute; position: absolute;
} }
.error-captcha h2 { .error-captcha h2 {
color: #BA3636; color: #BA3636;
font-family: "Montserrat Alternates"; font-family: "Montserrat Alternates";
font-weight: 700; font-weight: 700;
font-size: 13px; font-size: 13px;
} }
/* Media */ /* Media */
@media screen and (min-device-width: 1400px) and (max-device-width: 1600px) { @media screen and (min-device-width: 1400px) and (max-device-width: 1600px) {
.profile__card h2 { .profile__card h2 {
width: 72%; width: 72%;
@@ -238,8 +264,66 @@
.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 {
width: 80%; width: 80%;
@@ -250,6 +334,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 */

View File

@@ -7,3 +7,25 @@
box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25); box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25);
margin: 10px 39px 18px 13px; margin: 10px 39px 18px 13px;
} }
#volume-control {
display: flex;
align-items: center;
}
#volume-up, #volume-down {
width: 30px;
height: 30px;
border: 1px solid #ccc;
border-radius: 5px;
background-color: #fff;
cursor: pointer;
}
#volume-indicator {
width: 100px;
height: 10px;
border: 1px solid #ccc;
border-radius: 5px;
background-color: #ccc;
}

View File

@@ -1,6 +1,18 @@
<svg width="209" height="210" viewBox="0 0 209 210" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <svg width="209" height="210" viewBox="0 0 209 210" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g filter="url(#filter0_i_2771_7)">
<rect width="208.019" height="210" fill="url(#pattern0)"/> <rect width="208.019" height="210" fill="url(#pattern0)"/>
</g>
<defs> <defs>
<filter id="filter0_i_2771_7" x="0" y="0" width="208.019" height="214" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
<feOffset dy="4"/>
<feGaussianBlur stdDeviation="2"/>
<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/>
<feBlend mode="normal" in2="shape" result="effect1_innerShadow_2771_7"/>
</filter>
<pattern id="pattern0" patternContentUnits="objectBoundingBox" width="1" height="1"> <pattern id="pattern0" patternContentUnits="objectBoundingBox" width="1" height="1">
<use xlink:href="#image0_2771_7" transform="matrix(0.00197173 0 0 0.00195312 -0.00476189 0)"/> <use xlink:href="#image0_2771_7" transform="matrix(0.00197173 0 0 0.00195312 -0.00476189 0)"/>
</pattern> </pattern>

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 25 KiB

View File

@@ -1,21 +1,21 @@
<svg width="73" height="44" viewBox="0 0 73 44" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <svg width="57" height="36" viewBox="0 0 57 36" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="sadasdad 1" filter="url(#filter0_d_644_4)"> <g filter="url(#filter0_i_3187_2)">
<rect width="65" height="36" fill="url(#pattern0)" shape-rendering="crispEdges"/> <rect width="56.8" height="36" fill="url(#pattern0)"/>
</g> </g>
<defs> <defs>
<filter id="filter0_d_644_4" x="0" y="0" width="73" height="44" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"> <filter id="filter0_i_3187_2" x="0" y="0" width="56.7998" height="40" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/> <feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/> <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
<feOffset dx="4" dy="4"/> <feOffset dy="4"/>
<feGaussianBlur stdDeviation="2"/> <feGaussianBlur stdDeviation="2"/>
<feComposite in2="hardAlpha" operator="out"/> <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/> <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/>
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_644_4"/> <feBlend mode="normal" in2="shape" result="effect1_innerShadow_3187_2"/>
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_644_4" result="shape"/>
</filter> </filter>
<pattern id="pattern0" patternContentUnits="objectBoundingBox" width="1" height="1"> <pattern id="pattern0" patternContentUnits="objectBoundingBox" width="1" height="1">
<use xlink:href="#image0_644_4" transform="matrix(0.00193643 0 0 0.00354004 0 -0.40625)"/> <use xlink:href="#image0_3187_2" transform="matrix(0.00195312 0 0 0.0030816 0 -0.288889)"/>
</pattern> </pattern>
<image id="image0_644_4" width="512" height="512" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIAAQMAAADOtka5AAAAAXNSR0IB2cksfwAAAAlwSFlzAAAN1wAADdcBQiibeAAAAAZQTFRFAAAA70RE4n0h2gAAAAJ0Uk5TAP9bkSK1AAAET0lEQVR4nO3bTZKbMBAFYCgWLH2DcBQdDY7GUTgCSy8oFGP+W0J0q41xUu8tUnkV+qsZLH4mA0mCIAiCIAiCIAiCIAiCIAiCIAiCIAiC/JMpe918Zm2tAgprnyqgtFb1PaT2lUoB5APQKIDHALQKoBgAzV40A9ApgHIANB+DfSd+Ph2BKhrIRqCOBvIRaO4DHiMQv5LUQDEC8UtRDZgRiF/Laq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mnCwQBhPJlBKiNwoYi0h4hfBkDKnaAQ9oelCNACK5jGWBsDQBUeVBsSFMZYF4rA0CvPAjNyrw6H0yGkgB67EwjqwJGk6NxAKJ8iQDw4DMP0AtrD+iUL9Gk2p8AegSQOQCpAswPDxAehONCDWDfXzsAxOXAYjZasLgazAFbYkAttOkzIuxYmAHYpy4BUF3ixAC71YkBGluyA+b2TCNstnKbrsH8ygNotO0z+8bZlGHbxw12KgKGLmw8zTtq6caTGexYANitr/7ct7xMawpKMxJmG2bGqSsA9nWuln/u3dgLfZu/7Cd1q/5qU+/uaFcE3JIGaIAGqAN0gr23UxuS1Z2h8ylA6Pd0/AuvXvQZ/dx7PQXItXPTWSRDOHMCsP9DOXp259YUuh9SXQLIPGC7AiC2monSWKZw5gygOpc/OwBUeEehAX7VUXhtByeWKM4Br31B+9wrb2RjcT4YL80Hl+VPBxj+3wHdoz8v0EeA6T6ARoAHfyIhfs20+Ky6LPg/Rj36M0wy867uTXkNOLyv/JsDDu9s/+aAYDzsvHIdQM8r52TygP68ck5GDyDnlXMyBLN8Bojs+oFg/xFPANiDH40jnkMeDcOIAE+0GE8hD/rw5g94NWnSpEmTJk2aNGnSpEmTJk2aNGnSpEmTJk2a/LHlf/vs4b0MR/1wAAAAAElFTkSuQmCC"/>
</defs> </defs>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@@ -6,7 +6,7 @@
</div> </div>
<div class="menu__btns--gamemodes"> <div class="menu__btns--gamemodes">
<div class="menu__content--gamemodes"> <div class="menu__content--gamemodes">
<a href="#"><img class="menu__content--slots-icon" src="../assets/icons-menu/slots-icon.svg"></a> <div class="fotosloti"><a href="#"><img src="../assets/icons-menu/slots-icon.svg" ></a></div>
<a href="#" @click="$router.push({ name: 'crash' })"><img class="menu__content--cruch-icon" src="../assets/icons-menu/crush-icon.svg"></a> <a href="#" @click="$router.push({ name: 'crash' })"><img class="menu__content--cruch-icon" src="../assets/icons-menu/crush-icon.svg"></a>
<a href="#"><img src="../assets/icons-menu/case-icon.png"></a> <a href="#"><img src="../assets/icons-menu/case-icon.png"></a>
<!-- <a href="#" @click="$router.push({ name: 'saper' })"><img class="menu__content--bomb-icon" src="../assets/icons-menu/bomb-icon.svg"></a> --> <!-- <a href="#" @click="$router.push({ name: 'saper' })"><img class="menu__content--bomb-icon" src="../assets/icons-menu/bomb-icon.svg"></a> -->

View File

@@ -31,6 +31,9 @@
</ul> </ul>
</div> </div>
<writechat-component @send="ClaimDatamsg"></writechat-component> <writechat-component @send="ClaimDatamsg"></writechat-component>
<div class="chat__mute-button">
<button @click="muteChat">Mute</button>
</div>
</aside> </aside>
</template> </template>
@@ -72,6 +75,10 @@ export default {
alert("Вы не можете отправлять сообщения чаще, чем раз в 2 секунды."); alert("Вы не можете отправлять сообщения чаще, чем раз в 2 секунды.");
} }
}, },
muteChat() {
// Mute the chat by disabling the event listener for incoming messages.
this.eventBus.$off("dataChat");
},
}, },
mounted() { mounted() {
eventBus.on("dataChat", (dataFromServer) => { eventBus.on("dataChat", (dataFromServer) => {
@@ -128,4 +135,5 @@ export default {
</script> </script>
<style scoped> <style scoped>
</style> </style>

View File

@@ -81,7 +81,7 @@
<ul> <ul>
<li v-for="mode in twolinefirstelementGameMode" :key="mode"> <li v-for="mode in twolinefirstelementGameMode" :key="mode">
<div :class="'linecontent-' + mode.id"> <div :class="'linecontent-' + mode.id">
<h3 class="title-twoline">{{ mode.title }}</h3> <h3 class="title-twoline">скоро</h3>
</div> </div>
<div class="container"> <div class="container">
<a href="#" class="line__btn" <a href="#" class="line__btn"

View File

@@ -2,11 +2,8 @@
<profilemobile-page v-if="mobile"></profilemobile-page> <profilemobile-page v-if="mobile"></profilemobile-page>
<div class="content__grid-profile" v-else> <div class="content__grid-profile" v-else>
<aside-bar-component></aside-bar-component> <aside-bar-component></aside-bar-component>
<chat-component></chat-component> <chat-component></chat-component>
<header-component></header-component> <header-component></header-component>
<section class="profile"> <section class="profile">
<div class="profile__content"> <div class="profile__content">
<img class="profile__user--img" :src="imageUrl"> <img class="profile__user--img" :src="imageUrl">
@@ -16,6 +13,7 @@
</div> </div>
<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="claimDataDeposit(1000)"><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> <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>
@@ -23,19 +21,28 @@
<div class="payments__content"> <div class="payments__content">
<div class="payments__types"> <div class="payments__types">
<div class="types types-margin types-text"> <div class="types types-margin types-text">
<h3>Игрок и вид транзакции</h3> <div class="playerandvid">
<h3>Вид транзакции</h3>
</div>
<div class="data1">
<h3>Дата</h3> <h3>Дата</h3>
</div>
<div class="summa1">
<h3>Сумма</h3> <h3>Сумма</h3>
</div> </div>
</div>
<div class="types-line"></div> <div class="types-line"></div>
</div> </div>
<div class="hisorypaymond">
<div class="payments__history"> <div class="payments__history">
<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>
<p>{{ payment.comment }}</p> </div>
<div class="user-name1 user-name1__text">
<h3>{{ payment.name1 }}</h3>
</div> </div>
</div> </div>
<div class="data-info data-info__text"> <div class="data-info data-info__text">
@@ -46,6 +53,8 @@
</div> </div>
</div> </div>
</div> </div>
</div>
</div> </div>
</div> </div>
</section> </section>
@@ -53,19 +62,17 @@
<notiicationwindow-component @notificationremove="NotificationMethod" :notification="notification"></notiicationwindow-component> <notiicationwindow-component @notificationremove="NotificationMethod" :notification="notification"></notiicationwindow-component>
</div> </div>
</template> </template>
<script> <script>
import AsideBarComponent from "@/components/AsidebarComponent.vue"; import AsideBarComponent from "@/components/AsidebarComponent.vue";
import axios from 'axios';
import ChatComponent from "@/components/ChatComponent.vue"; import ChatComponent from "@/components/ChatComponent.vue";
import HeaderComponent from "@/components/HeaderComponent.vue"; import HeaderComponent from "@/components/HeaderComponent.vue";
import PaymentsModal from "@/components/PaymentsModal.vue"; import PaymentsModal from "@/components/PaymentsModal.vue";
import ProfilemobilePage from "@/pages/adaptive-pages/ProfilemobilePage.vue"; import ProfilemobilePage from "@/pages/adaptive-pages/ProfilemobilePage.vue";
import NotiicationwindowComponent from "@/components/NotiicationwindowComponent.vue"; import NotiicationwindowComponent from "@/components/NotiicationwindowComponent.vue";
import { GetCookie } from "@/assets/js/storage/CookieStorage"; import { GetCookie } from "@/assets/js/storage/CookieStorage";
import '@/assets/css/PagesStyles/profile.css' import '@/assets/css/PagesStyles/profile.css'
import {GetCurrentMoney} from "@/assets/js/rest/RestMethods"; import {GetCurrentMoney} from "@/assets/js/rest/RestMethods";
export default { export default {
components: {ProfilemobilePage, HeaderComponent, AsideBarComponent, ChatComponent, PaymentsModal, NotiicationwindowComponent }, components: {ProfilemobilePage, HeaderComponent, AsideBarComponent, ChatComponent, PaymentsModal, NotiicationwindowComponent },
data() { data() {
@@ -80,18 +87,35 @@ export default {
arrayHistory: [], arrayHistory: [],
} }
}, },
emits: ['notificationremove'], emits: ['notificationremove'],
mounted() { mounted() {
this.checkWindowSize() this.checkWindowSize()
this.AddWindowListener() this.AddWindowListener()
}, },
beforeUnmount() { beforeUnmount() {
this.RemoveWindowListener() this.RemoveWindowListener()
}, },
created() { created() {
axios.post('https://spsystemcore20231122004605.azurewebsites.net/api/Payment/GetPaymentHistory', {
searchToken: GetCookie('SearchToken'),
authtoken: GetCookie('AUTHTOKEN')
})
.then(response => {
// Обработка полученных данных
const paymentHistory = response.data.paymentHistory;
paymentHistory.forEach(payment => {
if (payment.amount > 0) {
this.claimDataDeposit(payment.amount,payment.utcDate); // Добавление депозита в историю
} else {
this.claimDataWithdraw(-payment.amount,payment.utcDate); // Добавление вывода в историю
}
});
})
.catch(error => {
console.error('Error fetching hisorypaymond:', error);
});
this.username = GetCookie('SpUserName') this.username = GetCookie('SpUserName')
GetCurrentMoney(GetCookie('AUTHTOKEN'), GetCookie('SearchToken')) GetCurrentMoney(GetCookie('AUTHTOKEN'), GetCookie('SearchToken'))
.then((response) => { .then((response) => {
this.balance = response.currentMoney this.balance = response.currentMoney
@@ -100,7 +124,6 @@ export default {
.catch((error) => { .catch((error) => {
console.error('error in profile, get money', error) console.error('error in profile, get money', error)
}) })
this.imageUrl = `https://avatar.spworlds.ru/front/256/${this.username}` this.imageUrl = `https://avatar.spworlds.ru/front/256/${this.username}`
}, },
methods: { methods: {
@@ -126,26 +149,55 @@ export default {
const currentDate = new Date(); const currentDate = new Date();
return `${this.formatNumber(currentDate.getDate())}.${this.formatNumber(currentDate.getMonth() + 1)}.${currentDate.getFullYear()}, ${this.formatNumber(currentDate.getHours())}:${this.formatNumber(currentDate.getMinutes())}`; return `${this.formatNumber(currentDate.getDate())}.${this.formatNumber(currentDate.getMonth() + 1)}.${currentDate.getFullYear()}, ${this.formatNumber(currentDate.getHours())}:${this.formatNumber(currentDate.getMinutes())}`;
}, },
claimDataDeposit(amount) { claimDataDeposit(amount, utcDate) {
const historyPayments = { const historyPayments = {
name: 'TEST USER', name1: 'Пополнение',
comment: 'test', data: this.formatTime(utcDate),
data: this.getCurrentFormattedDate(),
amount: amount amount: amount
} }
this.arrayHistory.unshift(historyPayments) this.arrayHistory.unshift(historyPayments);
}, },
claimDataWithdraw(amount) {
claimDataWithdraw(amount, utcDate) {
const historyPayments = { const historyPayments = {
name: 'TEST USER', name: 'Вывод',
comment: 'test', data: this.formatTime(utcDate),
data: this.getCurrentFormattedDate(),
amount: -amount amount: -amount
} }
this.arrayHistory.unshift(historyPayments) this.arrayHistory.unshift(historyPayments);
},
formatTime(utcDate) {
const dateUTC = new Date(utcDate);
const userTimeZone = Intl.DateTimeFormat().resolvedOptions().timeZone;
const currentTime = new Date();
const diffTime = currentTime - dateUTC;
const diffDays = Math.floor(diffTime / (1000 * 60 * 60 * 24));
const diffHours = Math.floor(diffTime / (1000 * 60 * 60));
const diffMinuts = Math.floor(diffTime/(1000*60));
if (diffDays < 7)
{
if (diffDays > 0)
{
return `${diffDays} ${diffDays === 1 ? 'день' : 'дня'} назад`;
} }
else if(diffHours >0)
{
return `${diffHours} ${diffHours === 1 ? 'час' : 'часа'} назад`;
}
else{
return `${diffMinuts} ${diffMinuts === 1 ? 'минута' : 'минут'} назад`;
}
}
else
{
return dateUTC.toLocaleString('ru-RU', { timeZone: userTimeZone });
}
}
} }
} }
</script> </script>

View File

@@ -6,7 +6,16 @@
<header-component></header-component> <header-component></header-component>
<section class="settings"></section> <section class="settings">
<div id="volume-control">
<button id="volume-up" @click="volumeUp">+</button>
<button id="volume-down" @click="volumeDown">-</button>
</div>
</section>
</div> </div>
</template> </template>
@@ -22,7 +31,39 @@ export default {
ChatComponent, ChatComponent,
HeaderComponent, HeaderComponent,
AsideBarComponent AsideBarComponent
} },
methods: {
volumeUp() {
var volume = document.getElementById("volume-indicator").value;
if (volume) {
volume += 10;
if (volume > 100) {
volume = 100;
}
document.getElementById("volume-indicator").value = volume;
} else {
console.error("Element with id 'volume-indicator' not found or does not have a value property.");
}
},
// остальной код метода volumeDown()
volumeDown() {
// Получить текущий уровень громкости
var volume = document.getElementById("volume-indicator").value;
// Уменьшить уровень громкости на 10%
volume -= 10;
// Убедиться, что уровень громкости не ниже 0%
if (volume < 0) {
volume = 0;
}
// Установить новый уровень громкости
document.getElementById("volume-indicator").value = volume;
},
},
} }
</script> </script>