fix
This commit is contained in:
parent
f6676e4e25
commit
725783bbca
2
public
2
public
@ -1 +1 @@
|
|||||||
Subproject commit fe1c2b014c15bb5e79a57263dc87c2f647350f21
|
Subproject commit ceda2fab6ea8819848317b8cc7a5a3a1f3ab4a9e
|
96
src/App.vue
96
src/App.vue
@ -203,21 +203,6 @@
|
|||||||
<iframe :src="planet_url + '?g=moon'" scrolling="no" frameborder="0" style="width:155px;height:200px;padding-bottom:14px;" loading="lazy"></iframe>
|
<iframe :src="planet_url + '?g=moon'" scrolling="no" frameborder="0" style="width:155px;height:200px;padding-bottom:14px;" loading="lazy"></iframe>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<!--test
|
|
||||||
<span class="card-planet" v-if="username === 'ai'">
|
|
||||||
<iframe :src="planet_url" scrolling="no" frameborder="0" style="width:155px;height:200px;padding-bottom: 14px;"></iframe>
|
|
||||||
</span>
|
|
||||||
<span class="card-planet" v-if="username === 'ai'">
|
|
||||||
<iframe :src="planet_url + '?g=neutron'" scrolling="no" frameborder="0" style="width:155px;height:200px;padding-bottom: 14px;"></iframe>
|
|
||||||
</span>
|
|
||||||
<span class="card-planet" v-if="username === 'ai'">
|
|
||||||
<iframe :src="planet_url + '?m=ai_normal&g=sun'" scrolling="no" frameborder="0" style="width:155px;height:200px;padding-bottom: 14px;"></iframe>
|
|
||||||
</span>
|
|
||||||
<span class="card-planet" v-if="username === 'ai'">
|
|
||||||
<iframe :src="planet_url + '?m=ai_default&g=moon'" scrolling="no" frameborder="0" style="width:155px;height:200px;padding-bottom: 14px;"></iframe>
|
|
||||||
</span>
|
|
||||||
-->
|
|
||||||
|
|
||||||
</thead>
|
</thead>
|
||||||
<tbody><tr v-if="planet">M {{ planet }}</tr></tbody>
|
<tbody><tr v-if="planet">M {{ planet }}</tr></tbody>
|
||||||
<tbody>
|
<tbody>
|
||||||
@ -227,7 +212,56 @@
|
|||||||
<tr v-else-if="planet >= 1"><i class="fa-solid fa-earth-americas"></i> earth</tr>
|
<tr v-else-if="planet >= 1"><i class="fa-solid fa-earth-americas"></i> earth</tr>
|
||||||
<tr v-else-if="planet > 0"><span class="icon-moon"></span> moon</tr>
|
<tr v-else-if="planet > 0"><span class="icon-moon"></span> moon</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="game-card" v-if="game_login == true && game_screen == true">
|
||||||
|
<button v-on:click="gamescreen">min</button>
|
||||||
|
<iframe class="game-app" src="https://ue.syui.ai/?AutoConnect=true&hoveringMouse=true&MatchViewportRes=true&AutoPlayVideo=true&FakeMouseWithTouches=true" scrolling="no" frameborder="0" loading="lazy" allowfullscreen></iframe>
|
||||||
|
<table>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>Lv0</td>
|
||||||
|
<td>space</td>
|
||||||
|
<td>jump</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Lv0</td>
|
||||||
|
<td>w, s, a, d</td>
|
||||||
|
<td>move</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Lv1</td>
|
||||||
|
<td>1</td>
|
||||||
|
<td class="blue">attack</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Lv2</td>
|
||||||
|
<td>2</td>
|
||||||
|
<td class="green">skill</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Lv3</td>
|
||||||
|
<td>3</td>
|
||||||
|
<td class="red">burst</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<table class="card-fav">
|
||||||
|
<thead style="background-color:#fff;">
|
||||||
|
</thead>
|
||||||
|
<tbody><i class="fa-solid fa-keyboard"></i></tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div class="game-card" v-else-if="game_login == true && game_screen == false">
|
||||||
|
<table class="card-fav">
|
||||||
|
<thead style="background-color:#fff;">
|
||||||
|
<span class="card-planet">
|
||||||
|
<iframe class="game-app" src="https://ue.syui.ai/?AutoConnect=true&hoveringMouse=true&MatchViewportRes=true&AutoPlayVideo=true&FakeMouseWithTouches=true" scrolling="no" frameborder="0" loading="lazy" width="768" height="1024" style="width:160px; height:210px; padding-bottom:14px;"></iframe>
|
||||||
|
</span>
|
||||||
|
</thead>
|
||||||
|
<tbody><button v-on:click="gamescreen">full</button></tbody>
|
||||||
|
<tbody>E {{ game_exp }}</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -964,11 +998,14 @@ export default {
|
|||||||
sevens: "",
|
sevens: "",
|
||||||
game: "",
|
game: "",
|
||||||
game_lv: "",
|
game_lv: "",
|
||||||
|
game_exp: 0,
|
||||||
api_url: "",
|
api_url: "",
|
||||||
bsky_mode: false,
|
bsky_mode: false,
|
||||||
did: "",
|
did: "",
|
||||||
card_origin_status: false,
|
card_origin_status: false,
|
||||||
planet_status: false,
|
planet_status: false,
|
||||||
|
game_login: false,
|
||||||
|
game_screen: false,
|
||||||
planet: 0,
|
planet: 0,
|
||||||
useragent: window.navigator.userAgent.toLowerCase(),
|
useragent: window.navigator.userAgent.toLowerCase(),
|
||||||
iframe_status: false,
|
iframe_status: false,
|
||||||
@ -1042,7 +1079,12 @@ export default {
|
|||||||
this.model_critical = this.record.data.find((v) => v.username == loc).model_critical;
|
this.model_critical = this.record.data.find((v) => v.username == loc).model_critical;
|
||||||
this.model_critical_d = this.record.data.find((v) => v.username == loc).model_critical_d;
|
this.model_critical_d = this.record.data.find((v) => v.username == loc).model_critical_d;
|
||||||
this.user_room = this.record.data.find((v) => v.username == loc).room;
|
this.user_room = this.record.data.find((v) => v.username == loc).room;
|
||||||
|
this.game_login = this.record.data.find((v) => v.username == loc).login;
|
||||||
|
this.game_exp = this.record.data.find((v) => v.username == loc).game_exp;
|
||||||
|
|
||||||
|
if (this.username === "syui") {
|
||||||
|
this.game_login = true;
|
||||||
|
}
|
||||||
if (this.planet > 0){
|
if (this.planet > 0){
|
||||||
this.planet_status = true;
|
this.planet_status = true;
|
||||||
}
|
}
|
||||||
@ -1131,6 +1173,13 @@ export default {
|
|||||||
this.info = false;
|
this.info = false;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
gamescreen(){
|
||||||
|
if (this.game_screen == true) {
|
||||||
|
this.game_screen = false;
|
||||||
|
} else {
|
||||||
|
this.game_screen = true;
|
||||||
|
}
|
||||||
|
},
|
||||||
cardtime(){
|
cardtime(){
|
||||||
this.cards.data = this.cards.data.slice().reverse();
|
this.cards.data = this.cards.data.slice().reverse();
|
||||||
this.time = true;
|
this.time = true;
|
||||||
@ -1838,7 +1887,24 @@ span.card-planet {
|
|||||||
padding: 23px 0;
|
padding: 23px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
span.game-card {
|
||||||
|
background-image: url(/card/card_0.webp);
|
||||||
|
background-size: cover;
|
||||||
|
background-position: center;
|
||||||
|
display: inline-block;
|
||||||
|
width: 200px;
|
||||||
|
border-radius: 3px;
|
||||||
|
padding: 23px 0;
|
||||||
|
}
|
||||||
|
|
||||||
.card-planet table thead {
|
.card-planet table thead {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
|
iframe.game-app {
|
||||||
|
width:160px;
|
||||||
|
height:210px;
|
||||||
|
padding-bottom:14px;
|
||||||
|
}
|
||||||
|
*/
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user