更换首页图片

This commit is contained in:
yuyongdong 2024-10-28 10:31:05 +08:00
parent 3eabd79693
commit f3bbe9de97
6 changed files with 16 additions and 14 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 357 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 127 KiB

After

Width:  |  Height:  |  Size: 182 KiB

View File

@ -2,12 +2,13 @@
<div class="promo-container"> <div class="promo-container">
<div class="background-img"> <div class="background-img">
<video ref="videoRef" autoplay loop muted> <!-- <video ref="videoRef" autoplay loop muted>
<source <source
src="../../assets/video/scene.mp4" src="../../assets/video/scene.mp4"
type="video/mp4" type="video/mp4"
/> />
</video> </video> -->
<!-- <img src="@/assets/img/home/gameWeb_KV.png" alt=""> -->
</div> </div>
<div class="overlay"> <div class="overlay">
@ -74,8 +75,8 @@ const downloadGame = (platform) => {
// padding-top: 84px; // padding-top: 84px;
height: 100%; height: 100%;
// background: url('../../assets/img/home/gameWeb_KV.png') no-repeat; // background: url('../../assets/img/home/gameWeb_KV.png') no-repeat;
background: url('../../assets/img/home/new-img/gameWeb_KV.png') no-repeat; background: url('@/assets/img/home/gameWeb_KV.png') no-repeat;
background: 100% 100%; background-size: 100% 100%;
video { video {
width: 100%; width: 100%;
height: 100%; height: 100%;
@ -83,8 +84,9 @@ const downloadGame = (platform) => {
} }
} }
.game-title-img { .game-title-img {
width: 1262px; width: 818px;
height: 242px; height: 332px;
margin-bottom: 23px;
display: flex; display: flex;
justify-content: center; justify-content: center;
} }
@ -92,7 +94,7 @@ const downloadGame = (platform) => {
.overlay { .overlay {
position: absolute; position: absolute;
// top: 204px; // top: 204px;
bottom: -250px; bottom: -190px;
left: 0; left: 0;
width: 100%; width: 100%;
height: 100%; height: 100%;
@ -122,8 +124,8 @@ const downloadGame = (platform) => {
.btn { .btn {
// padding: 10px 20px; // padding: 10px 20px;
border: none; border: none;
width: 223px; width: 217px;
height: 68px; height: 62px;
cursor: pointer; cursor: pointer;
border-radius: 5px; border-radius: 5px;
font-size: 1rem; font-size: 1rem;

View File

@ -140,7 +140,7 @@
<div class="user-address"> <div class="user-address">
<span>Address:</span> {{address}} <span>Address:</span> {{address}}
</div> </div>
<div class="rewards" v-if="localWalletStore.walletType == 3 && (rewardList !== undefined && rewardList.length > 0)"> <!-- <div class="rewards" v-if="localWalletStore.walletType == 3 && (rewardList !== undefined && rewardList.length > 0)">
<div class="rewards-text">Tournament Rewards</div> <div class="rewards-text">Tournament Rewards</div>
<div class="rewards-hover"> <div class="rewards-hover">
<li v-for="(item, index) in rewardList" :key="index"> <li v-for="(item, index) in rewardList" :key="index">
@ -157,7 +157,7 @@
</div> </div>
</li> </li>
</div> </div>
</div> </div> -->
</div> </div>
<!-- <div class="content-tips content-tips-login" v-if="cecInfo.bindUid"> <!-- <div class="content-tips content-tips-login" v-if="cecInfo.bindUid">
<span>You'll receive your $CEC airdrop in Bitget spot account before the listing time.</span> <span>You'll receive your $CEC airdrop in Bitget spot account before the listing time.</span>
@ -414,8 +414,8 @@ const getCecTotal = async () => {
if(address.value) { if(address.value) {
let token = marketplaceStore.fireToken || localWalletStore.token let token = marketplaceStore.fireToken || localWalletStore.token
let data = await apiCecInfoAll(address.value, token) let data = await apiCecInfoAll(address.value, token)
// cecInfo.value = data.data cecInfo.value = data.data
// availableAmount.value = cecInfo.value.available availableAmount.value = cecInfo.value.available
// if(data.data.bindUid) { // if(data.data.bindUid) {
// if(data.data.available == 0 || data.data.available == '0') { // if(data.data.available == 0 || data.data.available == '0') {
// cecUserStatus.value = -2 // cecUserStatus.value = -2
@ -637,7 +637,7 @@ const getCircuitRewardHistory = async () => {
} }
onMounted(() => { onMounted(() => {
getCircuitRewardHistory() // getCircuitRewardHistory()
address.value = marketplaceStore.fireAddress || localWalletStore.address address.value = marketplaceStore.fireAddress || localWalletStore.address
getCecTotal() getCecTotal()
}) })