feat(frontend): add BubbleGame
Cherry-picked from746367004e
Cherry-picked from0815a5235d
Cherry-picked from4ea030d669
Cherry-picked from00e195f50b
Cherry-picked fromc6a4caa8be
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
This commit is contained in:
parent
078cfbcd19
commit
73ee6b455a
31 changed files with 1094 additions and 4 deletions
|
@ -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<{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue