mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2026-01-20 16:53:37 +08:00
chore: update
This commit is contained in:
@@ -11,13 +11,10 @@ const show = ref<Boolean>(false);
|
|||||||
|
|
||||||
const iconClass = computed(() => {
|
const iconClass = computed(() => {
|
||||||
return [
|
return [
|
||||||
"w-[22px]",
|
"size-5.5",
|
||||||
"h-[22px]",
|
"flex-c",
|
||||||
"flex",
|
|
||||||
"justify-center",
|
|
||||||
"items-center",
|
|
||||||
"outline-hidden",
|
"outline-hidden",
|
||||||
"rounded-[4px]",
|
"rounded-sm",
|
||||||
"cursor-pointer",
|
"cursor-pointer",
|
||||||
"transition-colors",
|
"transition-colors",
|
||||||
"hover:bg-[#0000000f]",
|
"hover:bg-[#0000000f]",
|
||||||
|
|||||||
@@ -189,7 +189,7 @@ const getThemeColor = computed(() => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
const pClass = computed(() => {
|
const pClass = computed(() => {
|
||||||
return ["mb-[12px]!", "font-medium", "text-sm", "dark:text-white"];
|
return ["mb-3!", "font-medium", "text-sm", "dark:text-white"];
|
||||||
});
|
});
|
||||||
|
|
||||||
const themeOptions = computed<Array<OptionsType>>(() => {
|
const themeOptions = computed<Array<OptionsType>>(() => {
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ const { t } = useI18n();
|
|||||||
const { tooltipEffect } = useNav();
|
const { tooltipEffect } = useNav();
|
||||||
|
|
||||||
const iconClass = computed(() => {
|
const iconClass = computed(() => {
|
||||||
return ["w-[16px]", "h-[16px]"];
|
return ["size-4"];
|
||||||
});
|
});
|
||||||
|
|
||||||
const { $storage } = useGlobal<GlobalPropertiesApi>();
|
const { $storage } = useGlobal<GlobalPropertiesApi>();
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ const textClass = computed(() => {
|
|||||||
((layout.value === "vertical" && item.parentId === null) ||
|
((layout.value === "vertical" && item.parentId === null) ||
|
||||||
(layout.value === "mix" && item.pathList.length === 2))
|
(layout.value === "mix" && item.pathList.length === 2))
|
||||||
) {
|
) {
|
||||||
return `${baseClass} min-w-[54px]! text-center! px-3!`;
|
return `${baseClass} min-w-13.5! text-center! px-3!`;
|
||||||
}
|
}
|
||||||
return baseClass;
|
return baseClass;
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -21,12 +21,11 @@ const iconClass = computed(() => {
|
|||||||
return [
|
return [
|
||||||
"ml-4",
|
"ml-4",
|
||||||
"mb-1",
|
"mb-1",
|
||||||
"w-[16px]",
|
"size-4",
|
||||||
"h-[16px]",
|
|
||||||
"inline-block!",
|
"inline-block!",
|
||||||
"align-middle",
|
"align-middle",
|
||||||
"cursor-pointer",
|
"cursor-pointer",
|
||||||
"duration-[100ms]"
|
"duration-100"
|
||||||
];
|
];
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user