|
@@ -120,7 +120,7 @@
|
|
|
store.currentTask &&
|
|
|
'menu-toggled',
|
|
|
]"
|
|
|
- @click="toggleScoreBoard"
|
|
|
+ @click="store.toggleScoreBoard"
|
|
|
>
|
|
|
<span
|
|
|
title="给分板"
|
|
@@ -182,17 +182,9 @@ onMounted(() => {
|
|
|
updateClearTask();
|
|
|
});
|
|
|
});
|
|
|
-
|
|
|
-const toggleScoreBoard = () => {
|
|
|
- store.setting.uiSetting["score.board.collapse"] =
|
|
|
- !store.setting.uiSetting["score.board.collapse"];
|
|
|
-};
|
|
|
</script>
|
|
|
|
|
|
<style scoped>
|
|
|
-.header-bg-color {
|
|
|
- background-color: var(--header-bg-color);
|
|
|
-}
|
|
|
.header-container {
|
|
|
position: relative;
|
|
|
height: 56px;
|
|
@@ -225,9 +217,6 @@ const toggleScoreBoard = () => {
|
|
|
color: white;
|
|
|
font-size: var(--app-title-font-size);
|
|
|
}
|
|
|
-.header-bg-color.ant-btn:hover {
|
|
|
- background-color: var(--app-ant-select-bg-override-color) !important;
|
|
|
-}
|
|
|
|
|
|
.assistant-table {
|
|
|
z-index: 5500;
|
|
@@ -252,22 +241,4 @@ const toggleScoreBoard = () => {
|
|
|
position: absolute;
|
|
|
bottom: -2px;
|
|
|
}
|
|
|
-.dropdown-triangle {
|
|
|
- background-color: #8c8d9b;
|
|
|
- width: 7px;
|
|
|
- height: 5px;
|
|
|
- clip-path: polygon(0 0, 100% 0, 50% 100%);
|
|
|
- margin-left: 4px;
|
|
|
-}
|
|
|
-.markcount-animation {
|
|
|
- animation: change-color 3s ease-in-out;
|
|
|
-}
|
|
|
-@keyframes change-color {
|
|
|
- 0% {
|
|
|
- color: red;
|
|
|
- }
|
|
|
- 100% {
|
|
|
- color: white;
|
|
|
- }
|
|
|
-}
|
|
|
</style>
|