remove element-plus icons.

This commit is contained in:
2023-11-22 00:09:32 +08:00
parent aa7d46effc
commit 24f9e97962
33 changed files with 1339 additions and 988 deletions

View File

@@ -9,6 +9,7 @@ import TestCat from "./TestCat2.vue"
import storage from "~/utils/storage"
import { STORAGE_KEY } from "utils/constants"
import { LANGUAGE } from "~/utils/types"
import More from "~/shared/icons/More.vue"
const route = useRoute()
const router = useRouter()
@@ -81,7 +82,7 @@ function changeLanguage(v: LANGUAGE) {
<n-button :size="isDesktop ? 'medium' : 'small'">
<template #icon>
<n-icon>
<i-ep-more-filled />
<More />
</n-icon>
</template>
</n-button>

View File

@@ -1,6 +1,7 @@
<script setup lang="ts">
import { Select, SemiSelect } from "@element-plus/icons-vue"
import { useThemeVars } from "naive-ui"
import Select from "~/shared/icons/Select.vue"
import SemiSelect from "~/shared/icons/SemiSelect.vue"
const theme = useThemeVars()
const props = defineProps<{

View File

@@ -9,6 +9,9 @@ import { Submission, SubmitCodePayload } from "utils/types"
import { getSubmission, submitCode } from "oj/api"
import SubmissionResultTag from "~/shared/components/SubmissionResultTag.vue"
import { useUserStore } from "~/shared/store/user"
import Loading from "~/shared/icons/Loading.vue"
import Bulb from "~/shared/icons/Bulb.vue"
import Play from "~/shared/icons/Play.vue"
const userStore = useUserStore()
const route = useRoute()
@@ -211,9 +214,9 @@ watch(
>
<template #icon>
<n-icon>
<i-ep-loading v-if="judging || pending || submitting" />
<i-ep-bell v-else-if="isPending" />
<i-ep-caret-right v-else />
<Loading v-if="judging || pending || submitting" />
<Bulb v-else-if="isPending" />
<Play v-else />
</n-icon>
</template>
{{ submitLabel }}