Skip to content

Commit

Permalink
Merge pull request #85 from ZhQuella/main-feat/workflow
Browse files Browse the repository at this point in the history
feat(feat): "添加锁屏(未完成)"
  • Loading branch information
ZhQuella authored Sep 13, 2024
2 parents 1e4a7c2 + 05eeec0 commit 9ff165f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
:to="{
path: `/home/${item.path}`
}"
class="block mb-[5px] text-[14px] leading-[40px] p-[5px] overflow-hidden border-solid border-[1px] rounded-[4px] border-gray-300 text-gray-500 hover:bg-sky-700 hover:text-gray-300 transition-all"
class="block mb-[5px] text-[14px] leading-[40px] p-[5px] overflow-hidden border-solid border-[1px] rounded-[4px] border-gray-300 text-gray-500 hover:bg-PUBLIC_MAIN_COLOR hover:text-BG_CARD transition-all"
@click="onSelect"
>
{{ item.label }}
</router-link>
</div>
<p v-else class="leading-[100px] text-center text-[12px] text-gray-400">
{{ $t("APP_SEARCH.NOT_SEARCH_DATA") }}
{{ t("APP_SEARCH.NOT_SEARCH_DATA") }}
</p>
</div>
</template>
Expand All @@ -24,7 +24,9 @@ import type { MenuType } from "types/menu";
import { watch, toRefs, unref, reactive } from "vue";
import { useMenuStore } from "store/modules/menu";
import { debounce } from "util/index";
import { useI18n } from "vue-i18n";
const { t } = useI18n();
const debounceFn = debounce(200);
const { menuList } = useMenuStore();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
v-model="searchValue"
type="text"
size="large"
:placeholder="$t('APP_SEARCH.SEARCH_PLACEHOLDER')"
:placeholder="t('APP_SEARCH.SEARCH_PLACEHOLDER')"
class="enter-y"
>
<template #prefix>
Expand All @@ -17,7 +17,9 @@
import { ref } from "vue";
import { SearchOutlined } from "@vicons/antd";
import SearchContainer from "./SearchContainer.vue";
import { useI18n } from "vue-i18n";
const { t } = useI18n();
const searchValue = ref("");
const emit = defineEmits(["select"]);
Expand Down

0 comments on commit 9ff165f

Please sign in to comment.