This commit is contained in:
2025-05-06 18:54:54 +08:00
parent 13749e233b
commit 1d00c16c96
5 changed files with 50 additions and 22 deletions
+6 -3
View File
@@ -11,11 +11,14 @@
<div class="flex h-auto p-1 overflow-y-hidden" v-if="!!infoStore.infos?.alter">
<RouterView></RouterView>
</div>
<div class="p-1 ml-auto h-auto overflow-y-auto z-2">
<div class="p-1 ml-auto h-auto overflow-x-auto z-2">
<Result></Result>
</div>
</div>
<div class="footer flex"></div>
<div class="footer flex">
<calc-checkbox round v-model="configStore.config.DSB">系统奶</calc-checkbox>
<calc-checkbox round v-model="configStore.config.BUFF">组队</calc-checkbox>
</div>
</div>
</template>
@@ -76,9 +79,9 @@ onUnmounted(() => {
.footer {
display: flex;
align-items: center;
justify-content: end;
z-index: 2;
height: 40px;
gap : 10px;
}
.content {
+10 -2
View File
@@ -52,6 +52,10 @@ export interface IConfig {
>
sundry: Record<string, any>
bindAwake: number
/** 系统奶 */
DSB : boolean
/** 奶 */
BUFF : boolean
}
const defaultEqusConfig = {
@@ -83,7 +87,9 @@ export const useConfigStore = defineStore('configStore', () => {
jades: {},
avatar: {},
sundry: {},
bindAwake: 50
bindAwake: 50,
DSB: true,
BUFF: true,
})
const skillCountConfig = ref<IResultSkillCount[]>([])
@@ -109,7 +115,9 @@ export const useConfigStore = defineStore('configStore', () => {
jades: {},
avatar: {},
sundry: {},
bindAwake: 50
bindAwake: 50,
DSB: true,
BUFF: true,
}
if (!config.value?.equips) config.value.equips = {}
if (!config.value?.skills) config.value.skills = {}