0721-afternoon

This commit is contained in:
feie9456 2025-07-21 15:18:27 +08:00
parent 5dfaf53e39
commit eb6b6c41f3
130 changed files with 109 additions and 63 deletions

View File

@ -5,7 +5,7 @@ import Page1 from './pages/Page1.vue';
import assets from './assets'; import assets from './assets';
import Loader from './pages/Loader.vue'; import Loader from './pages/Loader.vue';
const stage = ref(1); const stage = ref(-1);
const userData = ref({ const userData = ref({
region: '奥莱', region: '奥莱',
@ -64,7 +64,7 @@ watch(playingBgm, (val) => {
//std radio is 2462 / 1179 //std radio is 2462 / 1179
const scale = ref(-1); const scale = ref(1);
const onResize = () => { const onResize = () => {
let radio = window.innerHeight / window.innerWidth; let radio = window.innerHeight / window.innerWidth;
let stdRadio = 2462 / 1179; let stdRadio = 2462 / 1179;
@ -89,14 +89,14 @@ const gameKey = ref(10)
<template> <template>
<main :style="{ scale: scale }"> <main :style="{ scale: scale }">
<div class="bg"> </div> <div class="bg"> </div>
<img class="cloud cloud-top" src="./assets/game/云.png" v-for="c in [ <img class="cloud cloud-top" src="./assets/game/云.webp" v-for="c in [
{ w: 60, t: 10, l: 75, all: true }, { w: 60, t: 10, l: 75, all: true },
{ w: 75, t: 55, l: -45 }, { w: 75, t: 55, l: -45 },
{ w: 40, t: 105, l: 35 }, { w: 40, t: 105, l: 35 },
]" :style="{ width: `${c.w}vw`, top: `${c.t}vw`, left: `${c.l}vw` }" ]" :style="{ width: `${c.w}vw`, top: `${c.t}vw`, left: `${c.l}vw` }"
:class="{ all: c.all, left: c.l < 0, right: c.l > 0 }"></img> :class="{ all: c.all, left: c.l < 0, right: c.l > 0 }"></img>
<img class="cloud cloud-bottom" src="./assets/game/云.png" v-for="c in [ <img class="cloud cloud-bottom" src="./assets/game/云.webp" v-for="c in [
{ w: 75, t: 165, l: -35, all: true }, { w: 75, t: 165, l: -35, all: true },
{ w: 100, t: 144, l: 60, all: true }, { w: 100, t: 144, l: 60, all: true },
]" :style="{ width: `${c.w}vw`, top: `${c.t}vw`, left: `${c.l}vw` }" ]" :style="{ width: `${c.w}vw`, top: `${c.t}vw`, left: `${c.l}vw` }"
@ -119,9 +119,9 @@ const gameKey = ref(10)
<div class="overlay page"> <div class="overlay page">
<div class="bgm" <div class="bgm"
style="position: absolute; top: 16vw;right: 8vw;width: 8vw; cursor: pointer;pointer-events: all;"> style="position: absolute; top: 16vw;right: 8vw;width: 8vw; cursor: pointer;pointer-events: all;">
<img src="./assets/开启音乐.png" @click="playingBgm = false" alt="" <img src="./assets/开启音乐.webp" @click="playingBgm = false" alt=""
v-if="playingBgm"> v-if="playingBgm">
<img src="./assets/关掉音乐.png" @click="playingBgm = true" alt="" v-else> <img src="./assets/关掉音乐.webp" @click="playingBgm = true" alt="" v-else>
</div> </div>
</div> </div>
@ -198,7 +198,7 @@ main {
height: calc(2462 / 1179 * 100vw); height: calc(2462 / 1179 * 100vw);
width: 100%; width: 100%;
z-index: -1; z-index: -1;
background-image: url('./assets/game/蓝天.png'); background-image: url('./assets/game/蓝天.webp');
background-size: cover; background-size: cover;
background-position: center; background-position: center;
} }

BIN
src/assets/ani/海报p1.zip Normal file

Binary file not shown.

BIN
src/assets/ani/海报p2.zip Normal file

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 312 KiB

BIN
src/assets/game/3.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 377 KiB

BIN
src/assets/game/first.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 314 KiB

BIN
src/assets/game/second.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 312 KiB

BIN
src/assets/game/third.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

BIN
src/assets/game/wecare.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

BIN
src/assets/game/中.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 170 KiB

BIN
src/assets/game/云.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

BIN
src/assets/game/右.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

BIN
src/assets/game/左.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 222 KiB

BIN
src/assets/game/床.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 365 KiB

BIN
src/assets/game/柱子.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 MiB

BIN
src/assets/game/蓝天.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 421 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

BIN
src/assets/game/风.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 443 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 525 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 606 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 206 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 710 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 214 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 598 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 208 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 627 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 219 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 592 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 472 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 179 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 502 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 175 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

BIN
src/assets/icons/icon1.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 102 KiB

BIN
src/assets/icons/icon2.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 96 KiB

BIN
src/assets/icons/icon3.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 91 KiB

BIN
src/assets/icons/icon4.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 110 KiB

BIN
src/assets/icons/icon5.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 92 KiB

BIN
src/assets/icons/icon6.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 86 KiB

BIN
src/assets/icons/icon7.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

BIN
src/assets/icons/icon8.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

View File

@ -1,18 +1,18 @@
export default { export default {
"标准logo": new URL('./标准 logo.png', import.meta.url).href, "标准logo": new URL('./标准 logo.webp', import.meta.url).href,
"p1": { "p1": {
"奥莱": new URL('./p1/奥莱.png', import.meta.url).href, "奥莱": new URL('./p1/奥莱.webp', import.meta.url).href,
"博物馆": new URL('./p1/博物馆.png', import.meta.url).href, "博物馆": new URL('./p1/博物馆.webp', import.meta.url).href,
"大北区": new URL('./p1/大北区.png', import.meta.url).href, "大北区": new URL('./p1/大北区.webp', import.meta.url).href,
"大东区": new URL('./p1/大东区.png', import.meta.url).href, "大东区": new URL('./p1/大东区.webp', import.meta.url).href,
"大南区&免税": new URL('./p1/大南区&免税.png', import.meta.url).href, "大南区&免税": new URL('./p1/大南区&免税.webp', import.meta.url).href,
"大西区": new URL('./p1/大西区.png', import.meta.url).href, "大西区": new URL('./p1/大西区.webp', import.meta.url).href,
"弹性福利之旅": new URL('./p1/弹性福利之旅.png', import.meta.url).href, "弹性福利之旅": new URL('./p1/弹性福利之旅.webp', import.meta.url).href,
"箭头": new URL('./p1/箭头.png', import.meta.url).href, "箭头": new URL('./p1/箭头.webp', import.meta.url).href,
"蓝天": new URL('./p1/蓝天.png', import.meta.url).href, "蓝天": new URL('./p1/蓝天.webp', import.meta.url).href,
"太阳": new URL('./p1/太阳.png', import.meta.url).href, "太阳": new URL('./p1/太阳.webp', import.meta.url).href,
"Flexible benefits": new URL('./p1/Flexible benefits.png', import.meta.url).href, "Flexible benefits": new URL('./p1/Flexible benefits.webp', import.meta.url).href,
"Tour": new URL('./p1/Tour.png', import.meta.url).href, "Tour": new URL('./p1/Tour.webp', import.meta.url).href,
}, },
game:{ game:{
@ -28,22 +28,23 @@ export default {
//x, y = (484, 782) -> (786, 908) //x, y = (484, 782) -> (786, 908)
开始探索: new URL('./ani/开始探索.zip', import.meta.url).href, 开始探索: new URL('./ani/开始探索.zip', import.meta.url).href,
结尾主标: new URL('./ani/结尾主标.zip', import.meta.url).href, 结尾主标: new URL('./ani/结尾主标.zip', import.meta.url).href,
海报: new URL('./ani/海报.zip', import.meta.url).href, 海报p1: new URL('./ani/海报p1.zip', import.meta.url).href,
海报p2: new URL('./ani/海报p2.zip', import.meta.url).href,
}, },
icons: [ icons: [
[new URL('./icons/icon1.png', import.meta.url).href, new URL('./icons/bigicon1.png', import.meta.url).href], [new URL('./icons/icon1.webp', import.meta.url).href, new URL('./icons/bigicon1.webp', import.meta.url).href],
[new URL('./icons/icon2.png', import.meta.url).href, new URL('./icons/bigicon2.png', import.meta.url).href], [new URL('./icons/icon2.webp', import.meta.url).href, new URL('./icons/bigicon2.webp', import.meta.url).href],
[new URL('./icons/icon3.png', import.meta.url).href, new URL('./icons/bigicon3.png', import.meta.url).href], [new URL('./icons/icon3.webp', import.meta.url).href, new URL('./icons/bigicon3.webp', import.meta.url).href],
[new URL('./icons/icon4.png', import.meta.url).href, new URL('./icons/bigicon4.png', import.meta.url).href], [new URL('./icons/icon4.webp', import.meta.url).href, new URL('./icons/bigicon4.webp', import.meta.url).href],
[new URL('./icons/icon5.png', import.meta.url).href, new URL('./icons/bigicon5.png', import.meta.url).href], [new URL('./icons/icon5.webp', import.meta.url).href, new URL('./icons/bigicon5.webp', import.meta.url).href],
[new URL('./icons/icon6.png', import.meta.url).href, new URL('./icons/bigicon6.png', import.meta.url).href], [new URL('./icons/icon6.webp', import.meta.url).href, new URL('./icons/bigicon6.webp', import.meta.url).href],
[new URL('./icons/icon7.png', import.meta.url).href, new URL('./icons/bigicon7.png', import.meta.url).href], [new URL('./icons/icon7.webp', import.meta.url).href, new URL('./icons/bigicon7.webp', import.meta.url).href],
[new URL('./icons/icon8.png', import.meta.url).href, new URL('./icons/bigicon8.png', import.meta.url).href], [new URL('./icons/icon8.webp', import.meta.url).href, new URL('./icons/bigicon8.webp', import.meta.url).href],
], ],
metal:[ metal:[
[new URL('./game/metal_0.png', import.meta.url).href,], [new URL('./game/metal_0.webp', import.meta.url).href,],
[new URL('./game/metal_1.png', import.meta.url).href,], [new URL('./game/metal_1.webp', import.meta.url).href,],
[new URL('./game/metal_2.png', import.meta.url).href,] [new URL('./game/metal_2.webp', import.meta.url).href,]
], ],
bgm: new URL('./bgm.mp3', import.meta.url).href, bgm: new URL('./bgm.mp3', import.meta.url).href,
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

BIN
src/assets/p1/Tour.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 588 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 625 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 812 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 452 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 556 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Some files were not shown because too many files have changed in this diff Show More