|
@@ -26,10 +26,7 @@
|
|
@mousedown.stop
|
|
@mousedown.stop
|
|
@mouseup.stop
|
|
@mouseup.stop
|
|
>
|
|
>
|
|
- <template v-if="tag.tagType === 'RIGHT'">
|
|
+ <template v-if="tag.tagType === 'TEXT'">
|
|
- <CheckOutlined class="tw-m-auto" />
|
|
|
|
- </template>
|
|
|
|
- <template v-else-if="tag.tagType === 'TEXT'">
|
|
|
|
<a-textarea
|
|
<a-textarea
|
|
v-model:value="tag.tagName"
|
|
v-model:value="tag.tagName"
|
|
class="tag-textarea tw-m-auto"
|
|
class="tag-textarea tw-m-auto"
|
|
@@ -37,6 +34,9 @@
|
|
:maxlength="32"
|
|
:maxlength="32"
|
|
/>
|
|
/>
|
|
</template>
|
|
</template>
|
|
|
|
+ <!-- <template v-else-if="tag.tagType === 'RIGHT'">
|
|
|
|
+ <CheckOutlined class="tw-m-auto" />
|
|
|
|
+ </template> -->
|
|
<span v-else class="tw-m-auto">
|
|
<span v-else class="tw-m-auto">
|
|
{{ tag.tagName }}
|
|
{{ tag.tagName }}
|
|
</span>
|
|
</span>
|
|
@@ -49,7 +49,7 @@ import type { SpecialTag, Track } from "@/types";
|
|
import { toRefs, watch, nextTick, computed } from "vue";
|
|
import { toRefs, watch, nextTick, computed } from "vue";
|
|
import { store } from "@/store/store";
|
|
import { store } from "@/store/store";
|
|
import { message } from "ant-design-vue";
|
|
import { message } from "ant-design-vue";
|
|
-import { CheckOutlined } from "@ant-design/icons-vue";
|
|
+// import { CheckOutlined } from "@ant-design/icons-vue";
|
|
import { useRoute } from "vue-router";
|
|
import { useRoute } from "vue-router";
|
|
const route = useRoute();
|
|
const route = useRoute();
|
|
|
|
|
|
@@ -172,7 +172,7 @@ watch(
|
|
pointer-events: none;
|
|
pointer-events: none;
|
|
}
|
|
}
|
|
.score-animation {
|
|
.score-animation {
|
|
- animation: 1s ease-in-out 0s infinite alternate change_size;
|
|
+ animation: 0.5s ease-in-out 0s infinite alternate change_size;
|
|
}
|
|
}
|
|
.score-container .tag-textarea {
|
|
.score-container .tag-textarea {
|
|
background-color: transparent;
|
|
background-color: transparent;
|
|
@@ -191,14 +191,10 @@ watch(
|
|
|
|
|
|
@keyframes change_size {
|
|
@keyframes change_size {
|
|
from {
|
|
from {
|
|
- font-size: 2em;
|
|
+ transform: scale(1, 1);
|
|
- margin-top: -100px;
|
|
|
|
- margin-left: -100px;
|
|
|
|
}
|
|
}
|
|
to {
|
|
to {
|
|
- font-size: 4em;
|
|
+ transform: scale(2, 2);
|
|
- margin-top: -80px;
|
|
|
|
- margin-left: -80px;
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.track-score-enter-active {
|
|
.track-score-enter-active {
|