Compare commits
28 Commits
e2d8b4f035
...
main
Author | SHA1 | Date | |
---|---|---|---|
4a1594bd11
|
|||
725783bbca
|
|||
f6676e4e25
|
|||
52326ec57f
|
|||
f078e96d67
|
|||
c2f1f33542
|
|||
1bdf3153a4
|
|||
edadefc7c0
|
|||
1197f18bd2
|
|||
6879eaad3c
|
|||
5c9377a988
|
|||
b21cb8dfa0
|
|||
0a658ff9d4
|
|||
cdda79ba5e
|
|||
e622dac696
|
|||
18372b2970
|
|||
0e3febe1ed
|
|||
e6e5baf628
|
|||
4394ff935d
|
|||
9b6fef0215
|
|||
335ca5ee0e
|
|||
8884dc669e
|
|||
b37fd46126
|
|||
d73aaccff3
|
|||
67cc116a84
|
|||
dc0ec301e7
|
|||
a1a7ddd202
|
|||
1b34aa294c
|
BIN
img/0.webp
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
img/1.webp
Normal file
After Width: | Height: | Size: 69 KiB |
BIN
img/10.png
Normal file
After Width: | Height: | Size: 933 KiB |
BIN
img/10.webp
Normal file
After Width: | Height: | Size: 160 KiB |
BIN
img/11.png
Normal file
After Width: | Height: | Size: 688 KiB |
BIN
img/11.webp
Normal file
After Width: | Height: | Size: 136 KiB |
BIN
img/12.png
Normal file
After Width: | Height: | Size: 516 KiB |
BIN
img/12.webp
Normal file
After Width: | Height: | Size: 60 KiB |
BIN
img/13.png
Normal file
After Width: | Height: | Size: 416 KiB |
BIN
img/13.webp
Normal file
After Width: | Height: | Size: 58 KiB |
BIN
img/14.png
Normal file
After Width: | Height: | Size: 462 KiB |
BIN
img/14.webp
Normal file
After Width: | Height: | Size: 109 KiB |
BIN
img/15.png
Normal file
After Width: | Height: | Size: 642 KiB |
BIN
img/15.webp
Normal file
After Width: | Height: | Size: 68 KiB |
BIN
img/2.webp
Normal file
After Width: | Height: | Size: 39 KiB |
BIN
img/3.webp
Normal file
After Width: | Height: | Size: 94 KiB |
BIN
img/4.webp
Normal file
After Width: | Height: | Size: 94 KiB |
BIN
img/5.webp
Normal file
After Width: | Height: | Size: 81 KiB |
BIN
img/6.webp
Normal file
After Width: | Height: | Size: 104 KiB |
BIN
img/7.webp
Normal file
After Width: | Height: | Size: 90 KiB |
BIN
img/8.webp
Normal file
After Width: | Height: | Size: 51 KiB |
BIN
img/9.webp
Normal file
After Width: | Height: | Size: 103 KiB |
2
public
@ -26,7 +26,7 @@ do
|
||||
|
||||
if [ ! -f $oo ];then
|
||||
echo $oo
|
||||
convert $o -gravity center -extent 8000x4000 $oo
|
||||
magick convert $o -gravity center -extent 8000x4000 $oo
|
||||
fi
|
||||
|
||||
# mkdir -p $o_dir/$id
|
||||
|
378
src/App.vue
@ -1,12 +1,14 @@
|
||||
<template>
|
||||
<div id="app">
|
||||
<link rel="stylesheet" href="https://yui.syui.ai/pkg/icomoon/css/icomoon.css" />
|
||||
<link rel="stylesheet" href="https://yui.syui.ai/pkg/font-awesome/css/all.min.css" />
|
||||
<link rel="stylesheet" href="https://syui.ai/bower_components/icomoon/style.css" />
|
||||
<link rel="stylesheet" href="https://syui.ai/bower_components/font-awesome/css/all.min.css" />
|
||||
<div class="menu">
|
||||
<a href="/" class="top-icon"><span class="icon-ai"></span></a>
|
||||
<code v-if="loc === 'te'"><a href="https://bsky.app/profile/yui.syui.ai" target="_blank">@yui.syui.ai</a> /ten</code>
|
||||
<code v-else-if="loc === 'pr'"><a href="https://bsky.app/profile/yui.syui.ai" target="_blank">@yui.syui.ai</a> /fav 1234567</code>
|
||||
<code v-else-if="loc === 'docs' || loc === 'en'"><a href="https://bsky.app/profile/yui.syui.ai" target="_blank">@yui.syui.ai</a> /help</code>
|
||||
<code v-else-if="loc === 'di'"><a href="https://bsky.app/profile/yui.syui.ai" target="_blank">@yui.syui.ai</a> /did</code>
|
||||
<code v-else-if="loc === 'svn'"><a href="https://bsky.app/profile/yui.syui.ai" target="_blank">@yui.syui.ai</a> /ten pay 7</code>
|
||||
<code v-else><a href="https://bsky.app/profile/yui.syui.ai" target="_blank">@yui.syui.ai</a> /card</code>
|
||||
</div>
|
||||
|
||||
@ -60,7 +62,7 @@
|
||||
</div>
|
||||
|
||||
<div class="card_kira_center">
|
||||
<button v-on:click="cardoriginstatus" class="card_origin_status"><span class="icon-ai"></span></button> <button v-if="cards.data.filter((v) => v.skill == '3d' && (v.card >= 0 && v.card <= 14 || v.card == 64))[0]" v-on:click="glb_status = !glb_status" class="unity"><i class="fa-solid fa-cube" id="vrm_button"></i></button> <button v-if="model == true || cards.data.filter((v) => v.skill == 'model').length >= 1" v-on:click="vrmviewer"><i class="fa-solid fa-gamepad"></i></button> <button v-if="game == true" v-on:click="term_status = !term_status"><i class="fa-solid fa-terminal"></i></button>
|
||||
<button v-on:click="cardoriginstatus" class="card_origin_status"><span class="icon-ai"></span></button> <button v-if="cards.data.filter((v) => v.skill == '3d' && (v.card >= 0 && v.card <= 14 || v.card == 64))[0]" v-on:click="glb_status = !glb_status" class="unity"><span class="icon-cube"></span></button> <button v-if="model == true || cards.data.filter((v) => v.skill == 'model').length >= 1" v-on:click="vrmviewer"><span class="icon-game"></span></button> <button v-if="game == true" v-on:click="term_status = !term_status"><span class="icon-aiterm"></span></button>
|
||||
</div>
|
||||
|
||||
<!--
|
||||
@ -88,9 +90,9 @@
|
||||
</tr>
|
||||
</span>
|
||||
</span>
|
||||
|
||||
|
||||
<div class="vrm" v-if="iframe_status == true">
|
||||
<iframe src="https://vrm.syui.ai" allowfullscreen frameborder="0"></iframe>
|
||||
<iframe src="https://vrm.syui.ai" allowfullscreen frameborder="0" loading="lazy"></iframe>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
@ -110,6 +112,7 @@
|
||||
</div>
|
||||
|
||||
<div class="glb" v-if="glb_status == true">
|
||||
<script type="module" src="https://unpkg.com/@google/model-viewer/dist/model-viewer.min.js"></script>
|
||||
<model-viewer v-if="glb_next !== 0" class="ar" :src="'/obj/card_' + glb_next + '.glb'" ar-modes="scene-viewer webxr quick-look" auto-rotate autoplay ar camera-controls></model-viewer>
|
||||
<model-viewer v-else class="ar" :src="'/obj/card_' + cards.data.filter((v) => v.skill == '3d' && (v.card >= 1 && v.card <= 14 || v.card == 64))[0].card + '.glb'" ar-modes="scene-viewer webxr quick-look" auto-rotate autoplay ar camera-controls></model-viewer>
|
||||
<span v-for="(ii, index) in cards.data.filter((v) => v.skill == '3d' && (v.card >= 1 && v.card <= 14 || v.card == 64))" class="glb">
|
||||
@ -123,7 +126,7 @@
|
||||
</div>
|
||||
|
||||
<div class="term" v-if="term_status == true">
|
||||
<iframe :src="'https://term.syui.ai?user=' + username + '&did=' + did + '&id=' + id" allowfullscreen frameborder="0"></iframe>
|
||||
<iframe :src="'https://term.syui.ai?user=' + username + '&did=' + did + '&id=' + id" allowfullscreen frameborder="0" loading="lazy"></iframe>
|
||||
</div>
|
||||
|
||||
<span class="menu-right-top" v-if="cards.data.find((v) => v.card == 43)">
|
||||
@ -149,8 +152,6 @@
|
||||
<span class="card-fav-su">
|
||||
{{ ii = cards.data.find((v) => v.id == user_fav) }}
|
||||
</span>
|
||||
|
||||
|
||||
<thead v-if="ii.status == 'yui' || ii.status == 'first' || ii.status == 'second' || ii.status == 'second' || ii.status == 'third' || ii.status == 'fourth' || ii.status == 'fifth' || ii.status == 'sixth' || ii.status == 'seven'" class="card-fav">
|
||||
<tr class="card-status-first">
|
||||
<span class="card-wrapper">
|
||||
@ -183,12 +184,94 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="card-planet" v-if="planet_status == true">
|
||||
<table class="card-fav">
|
||||
<thead>
|
||||
<span class="card-planet" v-if="planet >= 1000000">
|
||||
<iframe :src="planet_url + '?g=galaxy'" scrolling="no" frameborder="0" style="width:155px;height:200px;padding-bottom:14px;" loading="lazy"></iframe>
|
||||
</span>
|
||||
<span class="card-planet" v-else-if="planet >= 466666">
|
||||
<iframe :src="planet_url + '?g=neutron'" scrolling="no" frameborder="0" style="width:155px;height:200px;padding-bottom:14px;" loading="lazy"></iframe>
|
||||
</span>
|
||||
<span class="card-planet" v-else-if="planet >= 333000">
|
||||
<iframe :src="planet_url + '?g=sun'" scrolling="no" frameborder="0" style="width:155px;height:200px;padding-bottom:14px;" loading="lazy"></iframe>
|
||||
</span>
|
||||
<span class="card-planet" v-else-if="planet >= 1.0">
|
||||
<iframe :src="planet_url + '?g=earth'" scrolling="no" frameborder="0" style="width:155px;height:200px;padding-bottom:14px;" loading="lazy"></iframe>
|
||||
</span>
|
||||
<span class="card-planet" v-else-if="planet > 0">
|
||||
<iframe :src="planet_url + '?g=moon'" scrolling="no" frameborder="0" style="width:155px;height:200px;padding-bottom:14px;" loading="lazy"></iframe>
|
||||
</span>
|
||||
|
||||
</thead>
|
||||
<tbody><tr v-if="planet">M {{ planet }}</tr></tbody>
|
||||
<tbody>
|
||||
<tr v-if="planet >= 1000000"><span class="icon-ai"></span> galaxy</tr>
|
||||
<tr v-else-if="planet >= 466666"><span class="icon-home"></span> neutron</tr>
|
||||
<tr v-else-if="planet >= 333000"><span class="icon-ten"></span> sun</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>
|
||||
</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>
|
||||
</div>
|
||||
|
||||
<div class="card-button" >
|
||||
<button v-on:click="cardtime">new</button> <button v-on:click="sort">cp</button> <button v-on:click="sortcard" >card</button> <button v-on:click="cardinfo">info</button>
|
||||
</div>
|
||||
<div class="menu-right"><code><strong>ID</strong> {{ id }}</code> <code><span class="icon-power"></span> {{ aiten }}</code> <code><i class="fa-solid fa-cube"></i> {{ cards.data.filter((v) => v.skill == 'lost').length }}</code>
|
||||
<div class="menu-right"><code><strong>ID</strong> {{ id }}</code> <code><span class="icon-power"></span> {{ aiten }}</code> <code><i class="fa-solid fa-cube"></i> {{ cards.data.filter((v) => v.skill == 'lost').length }}</code>
|
||||
<code class="moji-comp" v-if="26 == (cards.data.filter((v) => v.card >= 96 && v.card <= 121).length)" v-on:click="background_change"><span class="icon-ai"></span> {{ (cards.data.filter((v) => v.card >= 96 && v.card <= 121).length) }}</code>
|
||||
<code v-else><span class="icon-ai"></span> {{ (cards.data.filter((v) => v.card >= 96 && v.card <= 121).length) }}</code>
|
||||
<code><i class="fa-solid fa-earth-americas"></i> {{ planet }}</code>
|
||||
</div>
|
||||
|
||||
<div class="moji" v-if="moji_status == true">
|
||||
@ -305,7 +388,7 @@
|
||||
<div v-if="loc.length == 0">
|
||||
|
||||
<div v-if="cards" class="bluesky-card">
|
||||
<p>user : <a :href='"/" + user.data.username'><code>{{ user.data.username }}</code></a></p>
|
||||
<p>user : <a :href='"/" + user.data.username'><code v-if="user.data.username">{{ user.data.username }}</code></a></p>
|
||||
<p>id : <code>{{ user.data.id }}</code></p>
|
||||
<p>did : <code>{{ user.data.did }}</code></p>
|
||||
<p>aiten : <code>{{ user.data.aiten }}</code></p>
|
||||
@ -328,7 +411,7 @@
|
||||
<li v-for="i in record.data">
|
||||
<p v-if="i.delete === false"><span class="menu-right-top">
|
||||
<button v-if="i.model === true"><i class="fa-solid fa-cube"></i></button> <button v-if="i.fav != '0'">✧</button> <a :href="'https://git.syui.ai/' + i.username" target="_blank"><button v-if="i.username == 'ai'"><i class="fa-brands fa-git-alt"></i></button></a> <button>ID {{ i.id }}</button></span></p>
|
||||
<p v-if="i.delete === false"><span class="text"><a :href="'/' + i.username">{{ i.username }}</a></span></p>
|
||||
<p v-if="i.delete === false"><span class="text"><a :href="'/' + i.username" v-if="i.username">{{ i.username }}</a></span></p>
|
||||
<span class="menu-right-did" v-if="i.delete === false && did_enable === true && i.did.includes('did:') === true">
|
||||
<button><a :href="'https://plc.directory/' + i.did + '/log'" target="_blank">{{ i.did }}</a></button>
|
||||
</span>
|
||||
@ -557,9 +640,8 @@
|
||||
<p>集めた人は<a href="https://bsky.app/profile/syui.ai">@syui</a>まで連絡してみて</p>
|
||||
<p>ただし、リアルカードに変わるのは、こちらの<a href="/owner">所有者</a>がいないカードに限られます</p>
|
||||
|
||||
|
||||
<h3>link</h3>
|
||||
<p><a class="menu-link" href="/fa">fanart</a> <a class="menu-link" href="/ph">photo</a> <a class="menu-link" href="/te">aiten</a> <a class="menu-link" href="/pr">fav</a> <a class="menu-link" href="/vr">model</a></p>
|
||||
<p><a class="menu-link" href="/fa">fanart</a> <a class="menu-link" href="/te">aiten</a> <a class="menu-link" href="/vr">model</a></p>
|
||||
</div>
|
||||
|
||||
<div v-if="loc === 'en'" class="text-content">
|
||||
@ -746,7 +828,7 @@
|
||||
<p :id="ii.id">[{{ ii.ten }}] {{ ii.h }} / {{ ii.id }}00</p>
|
||||
<p><img :src='"/card/card_" + ii.id + ".webp"'></p>
|
||||
</div>
|
||||
<div v-show="ii.id == 29 || ii.id == 33 || ii.id == 36 || ii.id == 46 || ii.id == 47 || ii.id == 60 || ii.id == 64 || ii.id == 67 || ii.id == 69 || ii.id == 76 || ii.id == 77 || ii.id == 78|| ii.id == 86|| ii.id == 89 || ii.id == 90 || ii.id == 95||ii.id == 122||ii.id == 123" class="card-owner-one">
|
||||
<div v-show="ii.id == 29 || ii.id == 33 || ii.id == 36 || ii.id == 46 || ii.id == 47 || ii.id == 60 || ii.id == 64 || ii.id == 67 || ii.id == 69 || ii.id == 76 || ii.id == 77 || ii.id == 78|| ii.id == 86|| ii.id == 89 || ii.id == 90 || ii.id == 95||ii.id == 122||ii.id == 123||ii.id == 126" class="card-owner-one">
|
||||
<p :id="ii.id"><button>id:{{ ii.id }}</button></p>
|
||||
<p :id="ii.id">[{{ ii.ten }}] {{ ii.h }} / {{ ii.id }}00 <span class="icon-power"></span></p>
|
||||
<p><img :src='"/card/card_" + ii.id + ".webp"'></p>
|
||||
@ -780,7 +862,7 @@
|
||||
<div v-if="loc === 'svn'" class="text-content">
|
||||
<p><span class="icon-moji_a"></span> <code>seven</code> owner</p>
|
||||
<div class="card-fav" v-for="(ii, index) in sevens.data">
|
||||
<table class="card-fav" v-if="ii.card !== 0">
|
||||
<table class="card-fav" v-if="ii.card !== 0 && ii.count == 0">
|
||||
<thead class="card-fav">
|
||||
<tr class="card-status-first">
|
||||
<span class="card-wrapper">
|
||||
@ -794,12 +876,12 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr v-if='ii.handle'>@{{ ii.handle }}</tr>
|
||||
<tr v-if='ii.handle'><a :href="'/' + ii.handle">@{{ ii.handle }}</a></tr>
|
||||
<tr v-if='ii.cp'>{{ ii.cp }}</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<p><code>/ten pay 7</code></p>
|
||||
<p><code>/ten pay 7</code> <code><span class="icon-power"></span> 70,000,000</code></p>
|
||||
</div>
|
||||
|
||||
<div v-if="loc === 'te'" class="text-content">
|
||||
@ -849,6 +931,7 @@
|
||||
<script>
|
||||
import axios from 'axios'
|
||||
import moment from "moment";
|
||||
|
||||
var loc = window.location.pathname.split('/').slice(-1)[0];
|
||||
|
||||
export default {
|
||||
@ -875,67 +958,79 @@ export default {
|
||||
data () {
|
||||
return {
|
||||
host: window.location.host,
|
||||
all: null,
|
||||
badge_aiten: null,
|
||||
card: null,
|
||||
cards: null,
|
||||
all: "",
|
||||
badge_aiten: "",
|
||||
card: "",
|
||||
cards: "",
|
||||
loc: window.location.pathname.split('/').slice(-1)[0],
|
||||
username: null,
|
||||
id: null,
|
||||
model: null,
|
||||
record: null,
|
||||
url: null,
|
||||
user: null,
|
||||
userid: null,
|
||||
ucard: null,
|
||||
status: null,
|
||||
username: "ai",
|
||||
id: "",
|
||||
model: "",
|
||||
record: "",
|
||||
url: "",
|
||||
user: "",
|
||||
userid: "",
|
||||
ucard: "",
|
||||
status: "",
|
||||
premium: false,
|
||||
premium_text: null,
|
||||
rcards: null,
|
||||
fanarts: null,
|
||||
photos: null,
|
||||
premium_text: "",
|
||||
rcards: "",
|
||||
fanarts: "",
|
||||
photos: "",
|
||||
info: false,
|
||||
time: null,
|
||||
aiten: null,
|
||||
fav: null,
|
||||
card_fav: null,
|
||||
user_fav: null,
|
||||
book_user: null,
|
||||
time: "",
|
||||
aiten: "",
|
||||
fav: "",
|
||||
card_fav: "",
|
||||
user_fav: "",
|
||||
book_user: "",
|
||||
glb_status: false,
|
||||
glb_next: 0,
|
||||
moji_status: false,
|
||||
did_enable: null,
|
||||
chara_user: null,
|
||||
did_enable: "",
|
||||
chara_user: "",
|
||||
card_sed: false,
|
||||
card_status: null,
|
||||
card_skill: null,
|
||||
model_attack: null,
|
||||
model_critical: null,
|
||||
model_critical_d: null,
|
||||
sevens: null,
|
||||
game: null,
|
||||
game_lv: null,
|
||||
api_url: null,
|
||||
card_status: "",
|
||||
card_skill: "",
|
||||
model_attack: "",
|
||||
model_critical: "",
|
||||
model_critical_d: "",
|
||||
sevens: "",
|
||||
game: "",
|
||||
game_lv: "",
|
||||
game_exp: 0,
|
||||
api_url: "",
|
||||
bsky_mode: false,
|
||||
did: null,
|
||||
did: "",
|
||||
card_origin_status: false,
|
||||
planet_status: false,
|
||||
game_login: false,
|
||||
game_screen: false,
|
||||
planet: 0,
|
||||
useragent: window.navigator.userAgent.toLowerCase(),
|
||||
iframe_status: false,
|
||||
term_status: false,
|
||||
sort_key: null,
|
||||
sort_key: "",
|
||||
mount_google_md: false,
|
||||
planet_url: "/planet/index.html",
|
||||
}
|
||||
},
|
||||
components: {
|
||||
},
|
||||
filters: {
|
||||
moment: function(date) {
|
||||
return moment.unix(date).format("YYYY.MM.DD");
|
||||
},
|
||||
},
|
||||
computed: {
|
||||
loadComponent() {
|
||||
return () => import('@google/model-viewer');
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.loadComponent();
|
||||
this.username = "ai";
|
||||
this.mount_google_md = false;
|
||||
if (window.location.host === "localhost:8080") {
|
||||
this.api_url = "/api/";
|
||||
//this.planet_url = "http://localhost:3000";
|
||||
} else if (window.location.host === "192.168.11.12:8080"){
|
||||
this.api_url = "/api/";
|
||||
} else {
|
||||
@ -945,34 +1040,34 @@ export default {
|
||||
this.api_url = "https://api.syui.ai/";
|
||||
}
|
||||
if (loc === 'owner' || loc === 'te' || loc === 'c'){
|
||||
this.rcards = "";
|
||||
axios
|
||||
.get("/json/card.json")
|
||||
.then(response => (this.rcards = response));
|
||||
if (loc.length > 1){
|
||||
axios
|
||||
.get(url,{ crossdomain: true })
|
||||
.then(response => (this.cards = response));
|
||||
}
|
||||
} else if (loc === 'fa'){
|
||||
axios
|
||||
.get("/json/fanart.json")
|
||||
.then(response => (this.fanarts = response));
|
||||
} else if (loc === 'svn'){
|
||||
let url = this.api_url + "sevs?itemsPerPage=4000";
|
||||
this.cards = "";
|
||||
let url = this.api_url + "sevs?itemsPerPage=8000";
|
||||
axios
|
||||
.get(url)
|
||||
.then(response => (this.sevens = response));
|
||||
} else if (loc === 'ph'){
|
||||
axios
|
||||
.get("/json/photo.json")
|
||||
.then(response => (this.photos = response));
|
||||
} else if (loc === null || loc === undefined || loc === ''){
|
||||
let url = this.api_url + "users?itemsPerPage=3000";
|
||||
axios.get(url,{ crossdomain: true })
|
||||
.then(response => {
|
||||
this.record = response;
|
||||
})
|
||||
} else {
|
||||
if (this.mount_google_md === false) {
|
||||
//this.loadComponent();
|
||||
this.mount_google_md = true;
|
||||
}
|
||||
let url = this.api_url + "users?itemsPerPage=3000";
|
||||
axios.get(url,{ crossdomain: true })
|
||||
.then(response => {
|
||||
this.record = response;
|
||||
this.username = this.record.data.find((v) => v.username == loc).username;
|
||||
this.id = this.record.data.find((v) => v.username == loc).id;
|
||||
this.planet = this.record.data.find((v) => v.username == loc).planet;
|
||||
this.model = this.record.data.find((v) => v.username == loc).model;
|
||||
this.did = this.record.data.find((v) => v.username == loc).did;
|
||||
this.aiten = this.record.data.find((v) => v.username == loc).aiten;
|
||||
@ -984,40 +1079,43 @@ export default {
|
||||
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.user_room = this.record.data.find((v) => v.username == loc).room;
|
||||
let url = this.api_url + "users/" + this.id + "/card?itemsPerPage=4000";
|
||||
axios
|
||||
.get("/json/card.json")
|
||||
.then(response => (this.rcards = response));
|
||||
if (loc.length > 1){
|
||||
axios
|
||||
.get(url,{ crossdomain: true })
|
||||
.then(response => { this.cards = response
|
||||
for (let i = 1; i <= 14; i++) {
|
||||
this.all = this.cards.data.some(
|
||||
b => b.card === i,
|
||||
);
|
||||
if (this.all === false) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
for (let i = 65; i <= 67; i++) {
|
||||
this.badge_aiten = this.cards.data.some(
|
||||
b => b.card === i,
|
||||
);
|
||||
if (this.badge_aiten === false) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
});
|
||||
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;
|
||||
}
|
||||
})
|
||||
.catch(error => console.log(error));
|
||||
if (this.planet > 0){
|
||||
this.planet_status = true;
|
||||
}
|
||||
let url = this.api_url + "users/" + this.id + "/card?itemsPerPage=8000";
|
||||
axios
|
||||
.get("/json/card.json")
|
||||
.then(response => (this.rcards = response));
|
||||
if (loc.length > 1){
|
||||
axios
|
||||
.get(url,{ crossdomain: true })
|
||||
.then(response => { this.cards = response
|
||||
for (let i = 1; i <= 14; i++) {
|
||||
this.all = this.cards.data.some(
|
||||
b => b.card === i,
|
||||
);
|
||||
if (this.all === false) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
for (let i = 65; i <= 67; i++) {
|
||||
this.badge_aiten = this.cards.data.some(
|
||||
b => b.card === i,
|
||||
);
|
||||
if (this.badge_aiten === false) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
})
|
||||
}},
|
||||
computed: {
|
||||
loadComponent() {
|
||||
return () => import('@google/model-viewer');
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
submit() {
|
||||
let url = this.api_url + "users/" + this.id + "/card?itemsPerPage=3000";
|
||||
@ -1030,7 +1128,7 @@ export default {
|
||||
},
|
||||
page() {
|
||||
this.id = this.record.data.find((v) => v.username == this.userid).id;
|
||||
let url = this.api_url + "users/" + this.id + "/card?itemsPerPage=4000";
|
||||
let url = this.api_url + "users/" + this.id + "/card?itemsPerPage=8000";
|
||||
axios
|
||||
.get(url,{ crossdomain: true })
|
||||
.then(response => (this.ucard = response));
|
||||
@ -1039,7 +1137,7 @@ export default {
|
||||
sort(){
|
||||
if (this.premium) {
|
||||
this.premium = false;
|
||||
let url = this.api_url + "users/" + this.id + "/card?itemsPerPage=4000";
|
||||
let url = this.api_url + "users/" + this.id + "/card?itemsPerPage=8000";
|
||||
}
|
||||
return this.cards.data.sort((a, b) => {
|
||||
return b.cp - a.cp;
|
||||
@ -1064,8 +1162,8 @@ export default {
|
||||
});
|
||||
},
|
||||
cardinfo(){
|
||||
this.cards = {};
|
||||
let url = this.api_url + "users/" + this.id + "/card?itemsPerPage=4000";
|
||||
this.cards = "";
|
||||
let url = this.api_url + "users/" + this.id + "/card?itemsPerPage=8000";
|
||||
axios
|
||||
.get(url,{ crossdomain: true })
|
||||
.then(response => (this.cards = response));
|
||||
@ -1075,6 +1173,13 @@ export default {
|
||||
this.info = false;
|
||||
}
|
||||
},
|
||||
gamescreen(){
|
||||
if (this.game_screen == true) {
|
||||
this.game_screen = false;
|
||||
} else {
|
||||
this.game_screen = true;
|
||||
}
|
||||
},
|
||||
cardtime(){
|
||||
this.cards.data = this.cards.data.slice().reverse();
|
||||
this.time = true;
|
||||
@ -1119,10 +1224,19 @@ export default {
|
||||
</script>
|
||||
|
||||
<style>
|
||||
body{
|
||||
html {
|
||||
text-size-adjust:100%;
|
||||
-webkit-text-size-adjust:100%;
|
||||
}
|
||||
body {
|
||||
text-size-adjust:100%;
|
||||
-webkit-text-size-adjust:100%;
|
||||
background-color: #f1f1f1;
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
font-size: 18px;
|
||||
overflow-wrap: anywhere;
|
||||
word-break: normal;
|
||||
line-break: strict;
|
||||
}
|
||||
|
||||
a {
|
||||
@ -1171,9 +1285,7 @@ span.text {
|
||||
footer#footer {
|
||||
text-align: center;
|
||||
}
|
||||
span.text {
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
p.tl-avatar img {
|
||||
width: 20px;
|
||||
}
|
||||
@ -1496,9 +1608,9 @@ span.reflection:after {
|
||||
}
|
||||
|
||||
.viewer {
|
||||
background-color: #fff;
|
||||
margin: 10px 0px;
|
||||
padding: 20px;
|
||||
background-color: #fff;
|
||||
margin: 10px 0px;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
span.card-black p {
|
||||
@ -1654,7 +1766,11 @@ button.unity i#vrm_button:hover {
|
||||
padding: 50px 0 50px 0;
|
||||
margin: 30px 0 30px 0;
|
||||
}
|
||||
div#app{list-style:none;margin:0px}
|
||||
div#app{
|
||||
list-style:none;
|
||||
margin:0px auto;
|
||||
text-align: center;
|
||||
}
|
||||
.bluesky-avatar img{width:55px}
|
||||
span.time{color:#00f}
|
||||
span.name{background-color:rgba(163,195,255,.10196078431372549);padding:10px}
|
||||
@ -1662,9 +1778,6 @@ button.unity i#vrm_button:hover {
|
||||
.bluesky-record p{padding:0 20px 0}
|
||||
.bluesky-record{border-radius:10px;margin:0px 0px 0 0}
|
||||
footer#footer{text-align:center}
|
||||
span.text {
|
||||
word-break: break-all;
|
||||
}
|
||||
code {
|
||||
padding: 10px;
|
||||
background-color: #fff;
|
||||
@ -1756,7 +1869,6 @@ span.glb {
|
||||
|
||||
.menu-right code {
|
||||
padding: 0;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
blockquote.did {
|
||||
@ -1765,4 +1877,34 @@ blockquote.did {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
span.card-planet {
|
||||
background-image: url(/card/card_0.webp);
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
display: inline-block;
|
||||
width: 200px;
|
||||
border-radius: 3px;
|
||||
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 {
|
||||
background-color: #fff;
|
||||
}
|
||||
/*
|
||||
iframe.game-app {
|
||||
width:160px;
|
||||
height:210px;
|
||||
padding-bottom:14px;
|
||||
}
|
||||
*/
|
||||
</style>
|
||||
|