feat(frontend): add BubbleGame

Cherry-picked from 746367004e
Cherry-picked from 0815a5235d
Cherry-picked from 4ea030d669
Cherry-picked from 00e195f50b
Cherry-picked from c6a4caa8be

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
This commit is contained in:
syuilo 2024-01-07 14:32:57 +09:00 committed by まっちゃとーにゅ
parent 078cfbcd19
commit 73ee6b455a
No known key found for this signature in database
GPG key ID: 6AFBBF529601C1DB
31 changed files with 1094 additions and 4 deletions

View file

@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<template>
<div :class="$style.root" :style="{ zIndex, top: `${y - 64}px`, left: `${x - 64}px` }">
<span class="text" :class="{ up }">+1</span>
<span class="text" :class="{ up }">+{{ value }}</span>
</div>
</template>
@ -16,7 +16,9 @@ import * as os from '@/os.js';
const props = withDefaults(defineProps<{
x: number;
y: number;
value?: number;
}>(), {
value: 1,
});
const emit = defineEmits<{