feat: 移除20面额筹码选项。

This commit is contained in:
li 2026-01-18 18:28:14 +08:00
parent bae11d09f1
commit 5c05dfd0a5
3 changed files with 9 additions and 7 deletions

View File

@ -335,7 +335,9 @@ export default {
const Type = computed(() => store.state.config.$Type)
const Lang = computed(() => store.state.config.$lang)
const showMenu = computed(() => store.state.config.showMenu)
const chipArry = computed(() => store.state.config.chipArry)
const chipArry = computed(() =>
store.state.config.chipArry.filter(v => v.value != 20)
)
const fullScreen = computed(() => store.state.config.fullScreen)
const showAplayer = computed(() => store.state.config.showAplayer)
const showSetFree = computed(() => store.state.config.showSetFree)

View File

@ -22,7 +22,7 @@ export default {
setup() {
const store = useStore()
const chipArry = computed(() =>
store.state.config.chipArry.filter((v) => v.show == true)
store.state.config.chipArry.filter((v) => v.show == true && v.value != 20)
)
const chooseChip = computed(() => store.state.app.chooseChip)
const chooseFn = (item) => {
@ -85,7 +85,7 @@ export default {
/* Map classes to images */
&.chip_1s, &.chip_10 { background-image: url("~@/assets/images/chip/1s.png"); }
&.chip_2s, &.chip_20 { background-image: url("~@/assets/images/chip/1s.png"); } /* Fallback or specific if exists */
&.chip_5s, &.chip_50 { background-image: url("~@/assets/images/chip/5s.png"); }
&.chip_1b, &.chip_100 { background-image: url("~@/assets/images/chip/1b.png"); }
&.chip_2b, &.chip_200 { background-image: url("~@/assets/images/chip/2b.png"); }

View File

@ -12,9 +12,9 @@ try {
sysVolume = sysVolume
? JSON.parse(sysVolume)
: {
music: 70,
effects: 70
}
music: 70,
effects: 70
}
} catch (err) {
console.log(err)
}
@ -41,7 +41,7 @@ const state = {
$Type: localStorage.getItem("language") || "en",
chipArry: [
{ key: "1s", show: true, value: 10 },
{ key: "2s", show: true, value: 20 },
{ key: "5s", show: true, value: 50 },
{ key: "1b", show: true, value: 100 },
{ key: "5b", show: true, value: 500 },