diff --git a/.env b/.env index f756f39..a7dc45a 100644 --- a/.env +++ b/.env @@ -1,2 +1,5 @@ VUE_APP_WALLET_INFURAID='e7743d46923911fa8850619b7a7f6d9d' VUE_APP_CHAIN_ID=97 +VUE_APP_PLAY_URL='https://play.google.com/store/apps/details?id=games.cebg.metaverse.nft.btc.blockchain.eth.coinbase.binance.FTX.kucoin' +VUE_APP_APPSTORE='javascript:void(0)' +VUE_APP_APK_URL='https://www.cebg.games/release/cebg.apk' diff --git a/package.json b/package.json index 37c7c15..43762b6 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "lint": "vue-cli-service lint", "build:prod": "vue-cli-service build --modern", "build:test": "vue-cli-service build --mode test", - "deploy:prod": "rm -f ./dist/.DS_Store && aws s3 sync ./dist s3://cebg.games", + "deploy:prod": "rm -f ./dist/.DS_Store && aws s3 sync ./dist s3://cebg.games --exclude \"pubgv4/*\" --exclude \"release/*\"", "deploy:test": "rm -f ./dist/.DS_Store && aws s3 sync ./dist s3://test-client.cebg.games", "refresh:prod": "aws cloudfront create-invalidation --distribution-id E34PEY4AGTMS0Y --paths \"/*\"", "refresh:test": "aws cloudfront create-invalidation --distribution-id EE4HC9OXEQC7Y --paths \"/*\"", diff --git a/src/assets/202202/apk_download.png b/src/assets/202202/apk_download.png new file mode 100644 index 0000000..24e645a Binary files /dev/null and b/src/assets/202202/apk_download.png differ diff --git a/src/assets/202202/googleplay@2x.png b/src/assets/202202/googleplay@2x.png index c7e9d08..933ce02 100644 Binary files a/src/assets/202202/googleplay@2x.png and b/src/assets/202202/googleplay@2x.png differ diff --git a/src/assets/mobile/index/apk_download.png b/src/assets/mobile/index/apk_download.png new file mode 100644 index 0000000..1b1f088 Binary files /dev/null and b/src/assets/mobile/index/apk_download.png differ diff --git a/src/components/gameplay/VideoSection.vue b/src/components/gameplay/VideoSection.vue index 9073c21..226d291 100644 --- a/src/components/gameplay/VideoSection.vue +++ b/src/components/gameplay/VideoSection.vue @@ -8,7 +8,7 @@ v-show="videoShow" class="video-youtube-202202" :class="{'mobile': mobile}" - video-id="_SZ5pVCxmro" + video-id="od1HDpyMHG0" :player-vars="playerVars" :player-width="videoWidth" :player-height="videoHeight" diff --git a/src/components/index/MainSection.vue b/src/components/index/MainSection.vue index f02171c..95e8689 100644 --- a/src/components/index/MainSection.vue +++ b/src/components/index/MainSection.vue @@ -16,8 +16,15 @@ text
play to earn @@ -58,6 +65,18 @@ import OneColCell from '@/components/index/OneColCell.vue' } }) export default class extends Vue { + get googlePlay() { + return process.env.VUE_APP_PLAY_URL + } + + get appstore() { + return process.env.VUE_APP_APPSTORE + } + + get apkUrl() { + return process.env.VUE_APP_APK_URL + } + get cellList() { return [ { @@ -171,5 +190,8 @@ export default class extends Vue { img.ceg { margin-right: 2px; } + .download-links{ + transform: scale(0.8); + } } diff --git a/src/components/market/SearchPanel.vue b/src/components/market/SearchPanel.vue index 7d0b7e5..b2fd1b7 100644 --- a/src/components/market/SearchPanel.vue +++ b/src/components/market/SearchPanel.vue @@ -259,11 +259,11 @@ export default class extends Vue { get currentFilterData(): IFilterCfg[] { if (!process.env.VUE_APP_PART_CLOSE) { switch (this.nftType) { - case 0: - return this.heroFilterData case 1: - return this.weaponFilterData + return this.heroFilterData case 2: + return this.weaponFilterData + case 3: return this.chipFilterData default: return this.heroFilterData diff --git a/src/components/mobile/main/CenterSection.vue b/src/components/mobile/main/CenterSection.vue index 9793402..165dc51 100644 --- a/src/components/mobile/main/CenterSection.vue +++ b/src/components/mobile/main/CenterSection.vue @@ -18,8 +18,15 @@ text
@@ -58,6 +65,18 @@ import OneColCell from '@/components/index/OneColCell.vue' } }) export default class MobileCenterSection extends Vue { + get googlePlay() { + return process.env.VUE_APP_PLAY_URL + } + + get appstore() { + return process.env.VUE_APP_APPSTORE + } + + get apkUrl() { + return process.env.VUE_APP_APK_URL + } + get cellList() { return [ { @@ -149,8 +168,9 @@ export default class MobileCenterSection extends Vue { align-items: center; gap: 4vw; img{ - width: 62.5vw; - height: 18vw ; + width: 75vw; + height: 26vw; + margin-bottom: -8vw; } } .img-text-cell{