Skip to content

Commit

Permalink
仮デプロイ
Browse files Browse the repository at this point in the history
  • Loading branch information
dye8128 committed Jun 16, 2024
1 parent 54d6642 commit 20e95cb
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions src/pages/PlayScreen.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ import Task from '@/components/Task.vue'
import Sidebar from '@/components/Sidebar.vue'
import { components } from '@/openapi.gen';
var score = 1500
let score = 1500
const level = 1
const isSensitive = false
const count = 10
const keygraph = {
// キーチェインの作成、初期化
Expand Down Expand Up @@ -775,8 +778,13 @@ const keygraph = {
}
const show_messages: Ref<components['schemas']['task']> = ref([]);
const all_messages = [{ "content": "かわいそうだね^^\n", "yomi": "かわいそうだね", "iconUri": "https://q.trap.jp/api/v3/public/icon/Kasyu", "authorDisplayName": "火楸", "grade": "23B", "authorName": "Kasyu", "updatedAt": "2024/06/13 18:15", "citated": "俺は全強", "image": "", "stamps": [{ "stampId": "6308a443-69f0-45e5-866f-56cc2c93578f", "count": 16 }] }, { "content": "リーダーですが、traOの勧誘が怖いです", "yomi": "りだですがtraOのかんゆうがこわいです", "iconUri": "https://q.trap.jp/api/v3/public/icon/kenken", "authorDisplayName": "けんけん", "grade": "23B", "authorName": "kenken", "updatedAt": "2024/06/12 19:04", "citated": "", "image": "", "stamps": [{ "stampId": "6308a443-69f0-45e5-866f-56cc2c93578f", "count": 15 }, { "stampId": "8f74bc52-e2ec-4b15-a02b-c269488a3b1c", "count": 1 }, { "stampId": "a40b7e73-40c4-4bc7-93fd-1a9bfc04e7cd", "count": 1 }] }, { "content": "最悪の文章すぎる", "yomi": "さいあくのぶんしょうすぎる", "iconUri": "https://q.trap.jp/api/v3/public/icon/YHz_ikiri", "authorDisplayName": "YHz / イキリ虻", "grade": "22B", "authorName": "YHz_ikiri", "updatedAt": "2024/06/11 14:02", "citated": "", "image": "", "stamps": [{ "stampId": "e1c9f12d-139e-496d-a593-663e9046a0a2", "count": 1 }, { "stampId": "f75c69fb-001e-4a36-b815-11c10f08c0ef", "count": 1 }, { "stampId": "6308a443-69f0-45e5-866f-56cc2c93578f", "count": 16 }, { "stampId": "deb05b43-ff10-46b6-b20c-8d0bd3b1afce", "count": 1 }] }, { "content": "や、ケモノだったわ", "yomi": "やけものだったわ", "iconUri": "https://q.trap.jp/api/v3/public/icon/NapoliN", "authorDisplayName": "八重樫 夏鈴", "grade": "23M", "authorName": "NapoliN", "updatedAt": "2024/06/12 00:25", "citated": "", "image": "", "stamps": [{ "stampId": "6308a443-69f0-45e5-866f-56cc2c93578f", "count": 16 }, { "stampId": "c31f75a4-8e1e-46c8-8472-143d78561dd9", "count": 1 }] }, { "content": "19B/23M 不仲学年で有名\n", "yomi": "19B23Mふなかがくねんでゆうめい", "iconUri": "https://q.trap.jp/api/v3/public/icon/toki", "authorDisplayName": "とき 🦊", "grade": "23M", "authorName": "toki", "updatedAt": "2024/06/15 17:42", "citated": "20B/24M 和気藹々仲良し学年で有名\n", "image": "https://q.trap.jp/files/06fb3270-6f05-4b40-89b3-c30db8d4dcf6", "stamps": [{ "stampId": "6308a443-69f0-45e5-866f-56cc2c93578f", "count": 18 }, { "stampId": "75b7f20d-4d6e-4074-b328-b324a750d91f", "count": 1 }] }]
// const all_messages = [{ "content": "かわいそうだね^^\n", "yomi": "かわいそうだね", "iconUri": "https://q.trap.jp/api/v3/public/icon/Kasyu", "authorDisplayName": "火楸", "grade": "23B", "authorName": "Kasyu", "updatedAt": "2024/06/13 18:15", "citated": "俺は全強", "image": "", "stamps": [{ "stampId": "6308a443-69f0-45e5-866f-56cc2c93578f", "count": 16 }] }, { "content": "リーダーですが、traOの勧誘が怖いです", "yomi": "りだですがtraOのかんゆうがこわいです", "iconUri": "https://q.trap.jp/api/v3/public/icon/kenken", "authorDisplayName": "けんけん", "grade": "23B", "authorName": "kenken", "updatedAt": "2024/06/12 19:04", "citated": "", "image": "", "stamps": [{ "stampId": "6308a443-69f0-45e5-866f-56cc2c93578f", "count": 15 }, { "stampId": "8f74bc52-e2ec-4b15-a02b-c269488a3b1c", "count": 1 }, { "stampId": "a40b7e73-40c4-4bc7-93fd-1a9bfc04e7cd", "count": 1 }] }, { "content": "最悪の文章すぎる", "yomi": "さいあくのぶんしょうすぎる", "iconUri": "https://q.trap.jp/api/v3/public/icon/YHz_ikiri", "authorDisplayName": "YHz / イキリ虻", "grade": "22B", "authorName": "YHz_ikiri", "updatedAt": "2024/06/11 14:02", "citated": "", "image": "", "stamps": [{ "stampId": "e1c9f12d-139e-496d-a593-663e9046a0a2", "count": 1 }, { "stampId": "f75c69fb-001e-4a36-b815-11c10f08c0ef", "count": 1 }, { "stampId": "6308a443-69f0-45e5-866f-56cc2c93578f", "count": 16 }, { "stampId": "deb05b43-ff10-46b6-b20c-8d0bd3b1afce", "count": 1 }] }, { "content": "や、ケモノだったわ", "yomi": "やけものだったわ", "iconUri": "https://q.trap.jp/api/v3/public/icon/NapoliN", "authorDisplayName": "八重樫 夏鈴", "grade": "23M", "authorName": "NapoliN", "updatedAt": "2024/06/12 00:25", "citated": "", "image": "", "stamps": [{ "stampId": "6308a443-69f0-45e5-866f-56cc2c93578f", "count": 16 }, { "stampId": "c31f75a4-8e1e-46c8-8472-143d78561dd9", "count": 1 }] }, { "content": "19B/23M 不仲学年で有名\n", "yomi": "19B23Mふなかがくねんでゆうめい", "iconUri": "https://q.trap.jp/api/v3/public/icon/toki", "authorDisplayName": "とき 🦊", "grade": "23M", "authorName": "toki", "updatedAt": "2024/06/15 17:42", "citated": "20B/24M 和気藹々仲良し学年で有名\n", "image": "https://q.trap.jp/files/06fb3270-6f05-4b40-89b3-c30db8d4dcf6", "stamps": [{ "stampId": "6308a443-69f0-45e5-866f-56cc2c93578f", "count": 18 }, { "stampId": "75b7f20d-4d6e-4074-b328-b324a750d91f", "count": 1 }] }]
const all_messages: Ref<components['schemas']['task']> =
fetch("https://kusa.trap.show/api/tasks?level=1&count=20&isSensitive=false")
.then((res) => res.json())
.then((data) => {
return data;
});
let i = 0;
show_messages.value.push(all_messages[0]);
Expand Down Expand Up @@ -839,7 +847,7 @@ disp();
<div class="HomeWrapper">
<div class="HomeContainer">
<div class="SidebarContainer">
<Sidebar :level="this.$route.query.level" :isNSFW=false :score=score />
<Sidebar :level="this.$route.query.level" :isNSFW=isSensitive :score=score />
</div>
<div class="MainContainer">
<div class="body">
Expand Down

0 comments on commit 20e95cb

Please sign in to comment.