diff --git a/luckydiamond/package-lock.json b/luckydiamond/package-lock.json index 7c52dfa..42267d9 100644 --- a/luckydiamond/package-lock.json +++ b/luckydiamond/package-lock.json @@ -21,6 +21,7 @@ "vue-chart-3": "^3.1.8", "vue-recaptcha": "^3.0.0-alpha.6", "vue-router": "^4.2.5", + "vue3-carousel": "^0.3.1", "vue3-recaptcha2": "^1.8.0" }, "devDependencies": { @@ -11892,6 +11893,14 @@ "integrity": "sha512-4gDntzrifFnCEvyoO8PqyJDmguXgVPxKiIxrBKjIowvL9l+N66196+72XVYR8BBf1Uv1Fgt3bGevJ+sEmxfZzw==", "dev": true }, + "node_modules/vue3-carousel": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/vue3-carousel/-/vue3-carousel-0.3.1.tgz", + "integrity": "sha512-86vUkNPBzL2PVuR9w6hUsI90ccFjLp+K8cSFpRTISf+SjUQY3fMHc5CFF5MUL62v1xYYm27zEBmQupO9VQx9Kw==", + "peerDependencies": { + "vue": "^3.2.0" + } + }, "node_modules/vue3-recaptcha2": { "version": "1.8.0", "resolved": "https://registry.npmjs.org/vue3-recaptcha2/-/vue3-recaptcha2-1.8.0.tgz", diff --git a/luckydiamond/package.json b/luckydiamond/package.json index e825f8c..85940b1 100644 --- a/luckydiamond/package.json +++ b/luckydiamond/package.json @@ -22,6 +22,7 @@ "vue-chart-3": "^3.1.8", "vue-recaptcha": "^3.0.0-alpha.6", "vue-router": "^4.2.5", + "vue3-carousel": "^0.3.1", "vue3-recaptcha2": "^1.8.0" }, "devDependencies": { diff --git a/luckydiamond/src/assets/css/PagesStyles/games-pages/jackpot.css b/luckydiamond/src/assets/css/PagesStyles/games-pages/jackpot.css index a924ab9..003c686 100644 --- a/luckydiamond/src/assets/css/PagesStyles/games-pages/jackpot.css +++ b/luckydiamond/src/assets/css/PagesStyles/games-pages/jackpot.css @@ -21,11 +21,36 @@ width: 100%; /* height: 480px; */ - height: 100%; + /* height: 100%; */ border: 1px solid #262C55; + height: 100%; /* margin-top: 2.6%; */ /* margin: 2.6%; */ } +.jackpot-carousel{ + z-index: 1; + position: relative; + /* margin-left: 5%; */ + border-radius: 10px; + background: #1D223E; + box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25); + width: 100%; + margin-top: 1%; + + /* height: 480px; */ + /* height: 100%; */ + border: 1px solid #262C55; + height: 95%; +} +.carousel-arrow { + position: absolute; + bottom: -20px; /* Регулируйте положение стрелки относительно нижнего края карусели */ + left: 50%; /* Центрирование стрелки по горизонтали */ + transform: translateX(-50%); /* Дополнительное центрирование, чтобы точка указывала точно на центр */ + color: #ffffff; /* Цвет стрелки */ + font-size: 24px; /* Размер стрелки */ + /* Добавьте любые дополнительные стили, такие как цвет фона, границы и т.д. */ +} .jackpot-game { z-index: 1; @@ -129,6 +154,9 @@ transition: width 0.25s ease-in-out; } +.no-pointer-events { + pointer-events: none; +} @media (max-width: 1415px) { .padding-elements-jackpot { diff --git a/luckydiamond/src/pages/games-pages/JackpotPage.vue b/luckydiamond/src/pages/games-pages/JackpotPage.vue index cb171e8..74f3fd9 100644 --- a/luckydiamond/src/pages/games-pages/JackpotPage.vue +++ b/luckydiamond/src/pages/games-pages/JackpotPage.vue @@ -115,20 +115,38 @@ /> - +
- - - +