mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-02 00:14:30 +08:00
开始界面
This commit is contained in:
1 parent
cd160cd10d
commit
0d59b0a5a9
14 files changed
+510
-176
No files matched your search
+7
-1
@@ -47,6 +47,11 @@ export function unmarkEnemy(id: EnemyIds) {
|
||||
checkMarkedEnemy();
|
||||
}
|
||||
|
||||
export function unmarkAll() {
|
||||
markedEnemy.splice(0);
|
||||
checkMarkedEnemy();
|
||||
}
|
||||
|
||||
/**
|
||||
* 获得所有被标记的怪物
|
||||
*/
|
||||
@@ -139,6 +144,7 @@ export default function init() {
|
||||
markEnemy,
|
||||
hasMarkedEnemy,
|
||||
unmarkEnemy,
|
||||
showMarkedEnemy
|
||||
showMarkedEnemy,
|
||||
unmarkAll
|
||||
};
|
||||
}
|
||||
@@ -23,10 +23,21 @@ export const flyOpened = ref(false);
|
||||
export const showStudiedSkill = ref(false);
|
||||
export const fixedDetailOpened = ref(false);
|
||||
export const shopOpened = ref(false);
|
||||
export const startOpened = ref(false);
|
||||
|
||||
export const transition = ref(true);
|
||||
export const noClosePanel = ref(false);
|
||||
|
||||
export const loaded = ref(false);
|
||||
export const startAnimationEnded = ref(false);
|
||||
|
||||
watch(loaded, n => {
|
||||
if (n && startAnimationEnded.value) startOpened.value = true;
|
||||
});
|
||||
watch(startAnimationEnded, n => {
|
||||
if (n && loaded.value) startOpened.value = true;
|
||||
});
|
||||
|
||||
let app: HTMLDivElement;
|
||||
|
||||
/** ui声明列表 */
|
||||
@@ -78,7 +89,10 @@ export default function init() {
|
||||
flyOpened,
|
||||
showStudiedSkill,
|
||||
fixedDetailOpened,
|
||||
shopOpened
|
||||
shopOpened,
|
||||
startOpened,
|
||||
startAnimationEnded,
|
||||
loaded
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user