Skip to content

Tower ​

Vue 已实现 · 还原验收 0/1 · 上游演示 · 固定版本源码

原设计:Avinit

预览 ​

Crash Tower
Multiplier1.00×

用法 ​

vue
<script setup lang="ts">
import { ref } from 'vue'
import { CrashTower } from 'beui-vue'

const auto = ref<number | null>(1.5)
const points = [1.12, 1.76, 1.65]
let next = 0
</script>

<template><CrashTower v-model:auto-cash-out="auto" :get-crash-point="() => points[next++ % points.length]" /></template>

API ​

塔楼场景与 Crash 共用 getCrashPoint、crashAt、自动结算和回合事件。v-model:sound 控制合成音效;示例轮换本地结果。

上游变体 ​

还原验收 ​

基于 beUI 的独立 Vue 移植,依 MIT 许可证分发。