style: 样式复查

This commit is contained in:
xiaoxian521 2025-04-08 14:37:20 +08:00
parent e3564eab96
commit b86d038a18
65 changed files with 245 additions and 257 deletions

View File

@ -122,7 +122,7 @@
"@iconify/json": "^2.2.321",
"@iconify/vue": "4.2.0",
"@intlify/unplugin-vue-i18n": "^6.0.5",
"@tailwindcss/vite": "^4.0.17",
"@tailwindcss/vite": "^4.1.3",
"@types/codemirror": "^5.60.15",
"@types/dagre": "^0.7.52",
"@types/intro.js": "^5.1.5",
@ -162,7 +162,7 @@
"stylelint-config-standard-scss": "^14.0.0",
"stylelint-prettier": "^5.0.3",
"svgo": "^3.3.2",
"tailwindcss": "^4.0.17",
"tailwindcss": "^4.1.3",
"typescript": "^5.8.2",
"unplugin-icons": "^22.1.0",
"vite": "^6.2.3",

180
pnpm-lock.yaml generated
View File

@ -229,8 +229,8 @@ importers:
specifier: ^6.0.5
version: 6.0.5(@vue/compiler-dom@3.5.13)(eslint@9.23.0(jiti@2.4.2))(rollup@4.37.0)(typescript@5.8.2)(vue-i18n@11.1.2(vue@3.5.13(typescript@5.8.2)))(vue@3.5.13(typescript@5.8.2))
'@tailwindcss/vite':
specifier: ^4.0.17
version: 4.0.17(vite@6.2.3(@types/node@20.17.28)(jiti@2.4.2)(lightningcss@1.29.2)(sass@1.86.0)(yaml@2.7.0))
specifier: ^4.1.3
version: 4.1.3(vite@6.2.3(@types/node@20.17.28)(jiti@2.4.2)(lightningcss@1.29.2)(sass@1.86.0)(yaml@2.7.0))
'@types/codemirror':
specifier: ^5.60.15
version: 5.60.15
@ -349,8 +349,8 @@ importers:
specifier: ^3.3.2
version: 3.3.2
tailwindcss:
specifier: ^4.0.17
version: 4.0.17
specifier: ^4.1.3
version: 4.1.3
typescript:
specifier: ^5.8.2
version: 5.8.2
@ -1584,85 +1584,85 @@ packages:
'@sxzz/popperjs-es@2.11.7':
resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==}
'@tailwindcss/node@4.0.17':
resolution: {integrity: sha512-LIdNwcqyY7578VpofXyqjH6f+3fP4nrz7FBLki5HpzqjYfXdF2m/eW18ZfoKePtDGg90Bvvfpov9d2gy5XVCbg==}
'@tailwindcss/node@4.1.3':
resolution: {integrity: sha512-H/6r6IPFJkCfBJZ2dKZiPJ7Ueb2wbL592+9bQEl2r73qbX6yGnmQVIfiUvDRB2YI0a3PWDrzUwkvQx1XW1bNkA==}
'@tailwindcss/oxide-android-arm64@4.0.17':
resolution: {integrity: sha512-3RfO0ZK64WAhop+EbHeyxGThyDr/fYhxPzDbEQjD2+v7ZhKTb2svTWy+KK+J1PHATus2/CQGAGp7pHY/8M8ugg==}
'@tailwindcss/oxide-android-arm64@4.1.3':
resolution: {integrity: sha512-cxklKjtNLwFl3mDYw4XpEfBY+G8ssSg9ADL4Wm6//5woi3XGqlxFsnV5Zb6v07dxw1NvEX2uoqsxO/zWQsgR+g==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [android]
'@tailwindcss/oxide-darwin-arm64@4.0.17':
resolution: {integrity: sha512-e1uayxFQCCDuzTk9s8q7MC5jFN42IY7nzcr5n0Mw/AcUHwD6JaBkXnATkD924ZsHyPDvddnusIEvkgLd2CiREg==}
'@tailwindcss/oxide-darwin-arm64@4.1.3':
resolution: {integrity: sha512-mqkf2tLR5VCrjBvuRDwzKNShRu99gCAVMkVsaEOFvv6cCjlEKXRecPu9DEnxp6STk5z+Vlbh1M5zY3nQCXMXhw==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [darwin]
'@tailwindcss/oxide-darwin-x64@4.0.17':
resolution: {integrity: sha512-d6z7HSdOKfXQ0HPlVx1jduUf/YtBuCCtEDIEFeBCzgRRtDsUuRtofPqxIVaSCUTOk5+OfRLonje6n9dF6AH8wQ==}
'@tailwindcss/oxide-darwin-x64@4.1.3':
resolution: {integrity: sha512-7sGraGaWzXvCLyxrc7d+CCpUN3fYnkkcso3rCzwUmo/LteAl2ZGCDlGvDD8Y/1D3ngxT8KgDj1DSwOnNewKhmg==}
engines: {node: '>= 10'}
cpu: [x64]
os: [darwin]
'@tailwindcss/oxide-freebsd-x64@4.0.17':
resolution: {integrity: sha512-EjrVa6lx3wzXz3l5MsdOGtYIsRjgs5Mru6lDv4RuiXpguWeOb3UzGJ7vw7PEzcFadKNvNslEQqoAABeMezprxQ==}
'@tailwindcss/oxide-freebsd-x64@4.1.3':
resolution: {integrity: sha512-E2+PbcbzIReaAYZe997wb9rId246yDkCwAakllAWSGqe6VTg9hHle67hfH6ExjpV2LSK/siRzBUs5wVff3RW9w==}
engines: {node: '>= 10'}
cpu: [x64]
os: [freebsd]
'@tailwindcss/oxide-linux-arm-gnueabihf@4.0.17':
resolution: {integrity: sha512-65zXfCOdi8wuaY0Ye6qMR5LAXokHYtrGvo9t/NmxvSZtCCitXV/gzJ/WP5ksXPhff1SV5rov0S+ZIZU+/4eyCQ==}
'@tailwindcss/oxide-linux-arm-gnueabihf@4.1.3':
resolution: {integrity: sha512-GvfbJ8wjSSjbLFFE3UYz4Eh8i4L6GiEYqCtA8j2Zd2oXriPuom/Ah/64pg/szWycQpzRnbDiJozoxFU2oJZyfg==}
engines: {node: '>= 10'}
cpu: [arm]
os: [linux]
'@tailwindcss/oxide-linux-arm64-gnu@4.0.17':
resolution: {integrity: sha512-+aaq6hJ8ioTdbJV5IA1WjWgLmun4T7eYLTvJIToiXLHy5JzUERRbIZjAcjgK9qXMwnvuu7rqpxzej+hGoEcG5g==}
'@tailwindcss/oxide-linux-arm64-gnu@4.1.3':
resolution: {integrity: sha512-35UkuCWQTeG9BHcBQXndDOrpsnt3Pj9NVIB4CgNiKmpG8GnCNXeMczkUpOoqcOhO6Cc/mM2W7kaQ/MTEENDDXg==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
libc: [glibc]
'@tailwindcss/oxide-linux-arm64-musl@4.0.17':
resolution: {integrity: sha512-/FhWgZCdUGAeYHYnZKekiOC0aXFiBIoNCA0bwzkICiMYS5Rtx2KxFfMUXQVnl4uZRblG5ypt5vpPhVaXgGk80w==}
'@tailwindcss/oxide-linux-arm64-musl@4.1.3':
resolution: {integrity: sha512-dm18aQiML5QCj9DQo7wMbt1Z2tl3Giht54uVR87a84X8qRtuXxUqnKQkRDK5B4bCOmcZ580lF9YcoMkbDYTXHQ==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
libc: [musl]
'@tailwindcss/oxide-linux-x64-gnu@4.0.17':
resolution: {integrity: sha512-gELJzOHK6GDoIpm/539Golvk+QWZjxQcbkKq9eB2kzNkOvrP0xc5UPgO9bIMNt1M48mO8ZeNenCMGt6tfkvVBg==}
'@tailwindcss/oxide-linux-x64-gnu@4.1.3':
resolution: {integrity: sha512-LMdTmGe/NPtGOaOfV2HuO7w07jI3cflPrVq5CXl+2O93DCewADK0uW1ORNAcfu2YxDUS035eY2W38TxrsqngxA==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
libc: [glibc]
'@tailwindcss/oxide-linux-x64-musl@4.0.17':
resolution: {integrity: sha512-68NwxcJrZn94IOW4TysMIbYv5AlM6So1luTlbYUDIGnKma1yTFGBRNEJ+SacJ3PZE2rgcTBNRHX1TB4EQ/XEHw==}
'@tailwindcss/oxide-linux-x64-musl@4.1.3':
resolution: {integrity: sha512-aalNWwIi54bbFEizwl1/XpmdDrOaCjRFQRgtbv9slWjmNPuJJTIKPHf5/XXDARc9CneW9FkSTqTbyvNecYAEGw==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
libc: [musl]
'@tailwindcss/oxide-win32-arm64-msvc@4.0.17':
resolution: {integrity: sha512-AkBO8efP2/7wkEXkNlXzRD4f/7WerqKHlc6PWb5v0jGbbm22DFBLbIM19IJQ3b+tNewQZa+WnPOaGm0SmwMNjw==}
'@tailwindcss/oxide-win32-arm64-msvc@4.1.3':
resolution: {integrity: sha512-PEj7XR4OGTGoboTIAdXicKuWl4EQIjKHKuR+bFy9oYN7CFZo0eu74+70O4XuERX4yjqVZGAkCdglBODlgqcCXg==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [win32]
'@tailwindcss/oxide-win32-x64-msvc@4.0.17':
resolution: {integrity: sha512-7/DTEvXcoWlqX0dAlcN0zlmcEu9xSermuo7VNGX9tJ3nYMdo735SHvbrHDln1+LYfF6NhJ3hjbpbjkMOAGmkDg==}
'@tailwindcss/oxide-win32-x64-msvc@4.1.3':
resolution: {integrity: sha512-T8gfxECWDBENotpw3HR9SmNiHC9AOJdxs+woasRZ8Q/J4VHN0OMs7F+4yVNZ9EVN26Wv6mZbK0jv7eHYuLJLwA==}
engines: {node: '>= 10'}
cpu: [x64]
os: [win32]
'@tailwindcss/oxide@4.0.17':
resolution: {integrity: sha512-B4OaUIRD2uVrULpAD1Yksx2+wNarQr2rQh65nXqaqbLY1jCd8fO+3KLh/+TH4Hzh2NTHQvgxVbPdUDOtLk7vAw==}
'@tailwindcss/oxide@4.1.3':
resolution: {integrity: sha512-t16lpHCU7LBxDe/8dCj9ntyNpXaSTAgxWm1u2XQP5NiIu4KGSyrDJJRlK9hJ4U9yJxx0UKCVI67MJWFNll5mOQ==}
engines: {node: '>= 10'}
'@tailwindcss/vite@4.0.17':
resolution: {integrity: sha512-HJbBYDlDVg5cvYZzECb6xwc1IDCEM3uJi3hEZp3BjZGCNGJcTsnCpan+z+VMW0zo6gR0U6O6ElqU1OoZ74Dhww==}
'@tailwindcss/vite@4.1.3':
resolution: {integrity: sha512-lUI/QaDxLtlV52Lho6pu07CG9pSnRYLOPmKGIQjyHdTBagemc6HmgZxyjGAQ/5HMPrNeWBfTVIpQl0/jLXvWHQ==}
peerDependencies:
vite: ^5.2.0 || ^6
@ -5027,8 +5027,8 @@ packages:
resolution: {integrity: sha512-9kY+CygyYM6j02t5YFHbNz2FN5QmYGv9zAjVp4lCDjlCw7amdckXlEt/bjMhUIfj4ThGRE4gCUH5+yGnNuPo5A==}
engines: {node: '>=10.0.0'}
tailwindcss@4.0.17:
resolution: {integrity: sha512-OErSiGzRa6rLiOvaipsDZvLMSpsBZ4ysB4f0VKGXUrjw2jfkJRd6kjRKV2+ZmTCNvwtvgdDam5D7w6WXsdLJZw==}
tailwindcss@4.1.3:
resolution: {integrity: sha512-2Q+rw9vy1WFXu5cIxlvsabCwhU2qUwodGq03ODhLJ0jW4ek5BUtoCsnLB0qG+m8AHgEsSJcJGDSDe06FXlP74g==}
tapable@2.2.1:
resolution: {integrity: sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==}
@ -6790,65 +6790,65 @@ snapshots:
'@sxzz/popperjs-es@2.11.7': {}
'@tailwindcss/node@4.0.17':
'@tailwindcss/node@4.1.3':
dependencies:
enhanced-resolve: 5.18.1
jiti: 2.4.2
tailwindcss: 4.0.17
'@tailwindcss/oxide-android-arm64@4.0.17':
optional: true
'@tailwindcss/oxide-darwin-arm64@4.0.17':
optional: true
'@tailwindcss/oxide-darwin-x64@4.0.17':
optional: true
'@tailwindcss/oxide-freebsd-x64@4.0.17':
optional: true
'@tailwindcss/oxide-linux-arm-gnueabihf@4.0.17':
optional: true
'@tailwindcss/oxide-linux-arm64-gnu@4.0.17':
optional: true
'@tailwindcss/oxide-linux-arm64-musl@4.0.17':
optional: true
'@tailwindcss/oxide-linux-x64-gnu@4.0.17':
optional: true
'@tailwindcss/oxide-linux-x64-musl@4.0.17':
optional: true
'@tailwindcss/oxide-win32-arm64-msvc@4.0.17':
optional: true
'@tailwindcss/oxide-win32-x64-msvc@4.0.17':
optional: true
'@tailwindcss/oxide@4.0.17':
optionalDependencies:
'@tailwindcss/oxide-android-arm64': 4.0.17
'@tailwindcss/oxide-darwin-arm64': 4.0.17
'@tailwindcss/oxide-darwin-x64': 4.0.17
'@tailwindcss/oxide-freebsd-x64': 4.0.17
'@tailwindcss/oxide-linux-arm-gnueabihf': 4.0.17
'@tailwindcss/oxide-linux-arm64-gnu': 4.0.17
'@tailwindcss/oxide-linux-arm64-musl': 4.0.17
'@tailwindcss/oxide-linux-x64-gnu': 4.0.17
'@tailwindcss/oxide-linux-x64-musl': 4.0.17
'@tailwindcss/oxide-win32-arm64-msvc': 4.0.17
'@tailwindcss/oxide-win32-x64-msvc': 4.0.17
'@tailwindcss/vite@4.0.17(vite@6.2.3(@types/node@20.17.28)(jiti@2.4.2)(lightningcss@1.29.2)(sass@1.86.0)(yaml@2.7.0))':
dependencies:
'@tailwindcss/node': 4.0.17
'@tailwindcss/oxide': 4.0.17
lightningcss: 1.29.2
tailwindcss: 4.0.17
tailwindcss: 4.1.3
'@tailwindcss/oxide-android-arm64@4.1.3':
optional: true
'@tailwindcss/oxide-darwin-arm64@4.1.3':
optional: true
'@tailwindcss/oxide-darwin-x64@4.1.3':
optional: true
'@tailwindcss/oxide-freebsd-x64@4.1.3':
optional: true
'@tailwindcss/oxide-linux-arm-gnueabihf@4.1.3':
optional: true
'@tailwindcss/oxide-linux-arm64-gnu@4.1.3':
optional: true
'@tailwindcss/oxide-linux-arm64-musl@4.1.3':
optional: true
'@tailwindcss/oxide-linux-x64-gnu@4.1.3':
optional: true
'@tailwindcss/oxide-linux-x64-musl@4.1.3':
optional: true
'@tailwindcss/oxide-win32-arm64-msvc@4.1.3':
optional: true
'@tailwindcss/oxide-win32-x64-msvc@4.1.3':
optional: true
'@tailwindcss/oxide@4.1.3':
optionalDependencies:
'@tailwindcss/oxide-android-arm64': 4.1.3
'@tailwindcss/oxide-darwin-arm64': 4.1.3
'@tailwindcss/oxide-darwin-x64': 4.1.3
'@tailwindcss/oxide-freebsd-x64': 4.1.3
'@tailwindcss/oxide-linux-arm-gnueabihf': 4.1.3
'@tailwindcss/oxide-linux-arm64-gnu': 4.1.3
'@tailwindcss/oxide-linux-arm64-musl': 4.1.3
'@tailwindcss/oxide-linux-x64-gnu': 4.1.3
'@tailwindcss/oxide-linux-x64-musl': 4.1.3
'@tailwindcss/oxide-win32-arm64-msvc': 4.1.3
'@tailwindcss/oxide-win32-x64-msvc': 4.1.3
'@tailwindcss/vite@4.1.3(vite@6.2.3(@types/node@20.17.28)(jiti@2.4.2)(lightningcss@1.29.2)(sass@1.86.0)(yaml@2.7.0))':
dependencies:
'@tailwindcss/node': 4.1.3
'@tailwindcss/oxide': 4.1.3
tailwindcss: 4.1.3
vite: 6.2.3(@types/node@20.17.28)(jiti@2.4.2)(lightningcss@1.29.2)(sass@1.86.0)(yaml@2.7.0)
'@tootallnate/once@1.1.2': {}
@ -10699,7 +10699,7 @@ snapshots:
string-width: 4.2.3
strip-ansi: 6.0.1
tailwindcss@4.0.17: {}
tailwindcss@4.1.3: {}
tapable@2.2.1: {}

View File

@ -114,7 +114,8 @@ onMounted(() => {
:style="{
cursor: item.disabled === false ? 'pointer' : 'not-allowed',
color: item.disabled === false ? '' : '#00000040',
background: 'transparent'
background: 'transparent',
border: 'none'
}"
@click="onControl(item, key)"
>

View File

@ -54,8 +54,8 @@ const icons = [
// Remix Icon: https://github.com/Remix-Design/RemixIcon
["ri/mind-map", RiMindMap],
["ri/admin-fill", RiAdminFill],
["ri/links-fill", RiTableLine],
["ri/table-line", RiLinksFill],
["ri/table-line", RiTableLine],
["ri/links-fill", RiLinksFill],
["ri/admin-line", RiAdminLine],
["ri/list-check", RiListCheck],
["ri/search-line", RiSearchLine],

View File

@ -255,7 +255,7 @@ export default defineComponent({
<div
{...attrs}
class={[
"w-99/100",
"w-full",
"px-2",
"pb-2",
"bg-bg_color",

View File

@ -248,7 +248,7 @@ export default defineComponent({
<div
{...attrs}
class={[
"w-99/100",
"w-full",
"px-2",
"pb-2",
"bg-bg_color",

View File

@ -49,7 +49,7 @@ function hoverDescription(event, description) {
<template>
<div
class="notice-container border-b-[1px] border-solid border-[#f0f0f0] dark:border-[#303030]"
class="notice-container border-0 border-b-[1px] border-solid border-[#f0f0f0] dark:border-[#303030]"
>
<el-avatar
v-if="noticeItem.avatar"

View File

@ -51,7 +51,7 @@ onBeforeUnmount(() => {
<div class="right-panel-background" />
<div ref="target" class="right-panel bg-bg_color">
<div
class="project-configuration border-b-[1px] border-solid border-[var(--pure-border-color)]"
class="project-configuration border-0 border-b-[1px] border-solid border-[var(--pure-border-color)]"
>
<h4 class="dark:text-white">
{{ t("panel.pureSystemSet") }}
@ -78,7 +78,7 @@ onBeforeUnmount(() => {
</el-scrollbar>
<div
class="flex justify-end p-3 border-t-[1px] border-solid border-[var(--pure-border-color)]"
class="flex justify-end p-3 border-0 border-t-[1px]! border-solid border-[var(--pure-border-color)]"
>
<el-button
v-tippy="{

View File

@ -20,8 +20,8 @@ import { useDataThemeChange } from "@/layout/hooks/useDataThemeChange";
import { useDark, useGlobal, debounce, isNumber } from "@pureadmin/utils";
import Check from "~icons/ep/check";
import LeftArrow from "~icons/ri/arrow-left-s-line";
import RightArrow from "~icons/ri/arrow-right-s-line";
import LeftArrow from "~icons/ri/arrow-left-s-line?width=20&height=20";
import RightArrow from "~icons/ri/arrow-right-s-line?width=20&height=20";
import DayIcon from "@/assets/svg/day.svg?component";
import DarkIcon from "@/assets/svg/dark.svg?component";
import SystemIcon from "@/assets/svg/system.svg?component";
@ -189,7 +189,7 @@ const getThemeColor = computed(() => {
});
const pClass = computed(() => {
return ["mb-[12px]", "font-medium", "text-sm", "dark:text-white"];
return ["mb-[12px]!", "font-medium", "text-sm", "dark:text-white"];
});
const themeOptions = computed<Array<OptionsType>>(() => {
@ -335,7 +335,7 @@ onUnmounted(() => removeMatchMedia);
"
/>
<p :class="['mt-5', pClass]">{{ t("panel.pureThemeColor") }}</p>
<p :class="['mt-5!', pClass]">{{ t("panel.pureThemeColor") }}</p>
<ul class="theme-color">
<li
v-for="(item, index) in themeColors"
@ -354,7 +354,7 @@ onUnmounted(() => removeMatchMedia);
</li>
</ul>
<p :class="['mt-5', pClass]">{{ t("panel.pureLayoutModel") }}</p>
<p :class="['mt-5!', pClass]">{{ t("panel.pureLayoutModel") }}</p>
<ul class="pure-theme">
<li
ref="verticalRef"
@ -397,7 +397,7 @@ onUnmounted(() => removeMatchMedia);
</ul>
<span v-if="useAppStoreHook().getViewportWidth > 1280">
<p :class="['mt-5', pClass]">{{ t("panel.pureStretch") }}</p>
<p :class="['mt-5!', pClass]">{{ t("panel.pureStretch") }}</p>
<Segmented
resize
class="mb-2 select-none"
@ -426,21 +426,19 @@ onUnmounted(() => removeMatchMedia);
>
<IconifyIconOffline
:icon="settings.stretch ? RightArrow : LeftArrow"
height="20"
/>
<div
class="grow border-b border-dashed"
class="grow border-0 border-b border-dashed"
style="border-color: var(--el-color-primary)"
/>
<IconifyIconOffline
:icon="settings.stretch ? LeftArrow : RightArrow"
height="20"
/>
</div>
</button>
</span>
<p :class="['mt-4', pClass]">{{ t("panel.pureTagsStyle") }}</p>
<p :class="['mt-4!', pClass]">{{ t("panel.pureTagsStyle") }}</p>
<Segmented
resize
class="select-none"
@ -449,7 +447,7 @@ onUnmounted(() => removeMatchMedia);
@change="onChange"
/>
<p class="mt-5 font-medium text-sm dark:text-white">
<p class="mt-5! font-medium text-sm dark:text-white">
{{ t("panel.pureInterfaceDisplay") }}
</p>
<ul class="setting">

View File

@ -23,7 +23,7 @@ const iconClass = computed(() => {
"mb-1",
"w-[16px]",
"h-[16px]",
"inline-block",
"inline-block!",
"align-middle",
"cursor-pointer",
"duration-[100ms]"

View File

@ -1,12 +1,3 @@
*,
::before,
::after {
box-sizing: border-box;
border-color: currentColor;
border-style: solid;
border-width: 0;
}
#app {
width: 100%;
height: 100%;

View File

@ -1,4 +1,6 @@
@import "tailwindcss";
@layer theme, base, components, utilities;
@import "tailwindcss/theme.css" layer(theme);
@import "tailwindcss/utilities.css" layer(utilities);
@custom-variant dark (&:is(.dark *));

View File

@ -51,7 +51,9 @@ const load = () => {
代码位置 src/views/able/infinite-scroll.vue
</el-link>
</template>
<p class="mb-2">{{ isBottom ? "已加载全部页" : `加载到第 ${page}` }}</p>
<div class="mb-2">
{{ isBottom ? "已加载全部页" : `加载到第 ${page}` }}
</div>
<el-table
v-el-table-infinite-scroll="load"
border

View File

@ -21,8 +21,8 @@ defineOptions({
</div>
</template>
<p v-html="html('带 音 调')" />
<p class="mt-2" v-html="html('不 带 音 调', { toneType: 'none' })" />
<p class="mt-2 custom" v-html="html('自 定 义 样 式')" />
<p class="mt-2!" v-html="html('不 带 音 调', { toneType: 'none' })" />
<p class="mt-2! custom" v-html="html('自 定 义 样 式')" />
</el-card>
</template>

View File

@ -45,6 +45,6 @@ function onInput() {
</el-tag>
</div>
<el-input v-model="modelValue" @input="onInput" />
<p class="mt-2">{{ modelValue }}</p>
<p class="mt-2!">{{ modelValue }}</p>
</el-card>
</template>

View File

@ -109,7 +109,7 @@ onBeforeUnmount(() => {
<div ref="wavesurferRef" />
<div v-show="totalTime" class="flex justify-between">
<span class="text-[#81888f]">00:00</span>
<h1 class="text-4xl mt-2">{{ curTime }}</h1>
<h1 class="text-4xl mt-2!">{{ curTime }}</h1>
<span class="text-[#81888f]">{{ totalTime }}</span>
</div>
<div v-show="totalTime" class="flex mt-2 w-[180px] justify-around m-auto">

View File

@ -43,7 +43,7 @@ function onClick(item) {
deviceDetection() ? 'max-w-[100%]' : 'max-w-[70%]'
]"
>
<h3 class="my-8">账户管理</h3>
<h3 class="my-8!">账户管理</h3>
<div v-for="(item, index) in list" :key="index">
<div class="flex items-center">
<div class="flex-1">

View File

@ -38,7 +38,7 @@ function onChange(val, item) {
deviceDetection() ? 'max-w-[100%]' : 'max-w-[70%]'
]"
>
<h3 class="my-8">偏好设置</h3>
<h3 class="my-8!">偏好设置</h3>
<div v-for="(item, index) in list" :key="index">
<div class="flex items-center">
<div class="flex-1">

View File

@ -110,7 +110,7 @@ getMine().then(res => {
deviceDetection() ? 'max-w-[100%]' : 'max-w-[70%]'
]"
>
<h3 class="my-8">个人信息</h3>
<h3 class="my-8!">个人信息</h3>
<el-form
ref="userInfoFormRef"
label-position="top"
@ -128,7 +128,7 @@ getMine().then(res => {
:show-file-list="false"
:on-change="onChange"
>
<el-button plain class="ml-4">
<el-button plain class="ml-4!">
<IconifyIconOffline :icon="uploadLine" />
<span class="ml-2">更新头像</span>
</el-button>

View File

@ -78,7 +78,7 @@ onMounted(() => {
deviceDetection() ? 'max-w-[100%]' : 'max-w-[70%]'
]"
>
<h3 class="my-8">安全日志</h3>
<h3 class="my-8!">安全日志</h3>
<pure-table
row-key="id"
table-layout="auto"

View File

@ -109,7 +109,7 @@ watch(size, val =>
代码位置 src/views/components/check-button.vue
</el-link>
</template>
<p class="mb-2">单选紧凑风格的按钮样式</p>
<div class="mb-2">单选紧凑风格的按钮样式</div>
<el-radio-group
v-model="radio"
:size="dynamicSize"
@ -121,7 +121,7 @@ watch(size, val =>
</el-radio-group>
<el-divider />
<p class="mb-2">单选带有边框</p>
<div class="mb-2">单选带有边框</div>
<el-radio-group
v-model="radioBox"
:size="dynamicSize"
@ -133,7 +133,7 @@ watch(size, val =>
</el-radio-group>
<el-divider />
<p class="mb-2">单选自定义内容</p>
<div class="mb-2">单选自定义内容</div>
<el-radio-group
v-model="radioCustom"
:size="dynamicSize"
@ -160,7 +160,7 @@ watch(size, val =>
</el-radio-group>
<el-divider />
<p class="mb-2">多选紧凑风格的按钮样式</p>
<div class="mb-2">多选紧凑风格的按钮样式</div>
<el-checkbox-group
v-model="checkboxGroup"
:size="dynamicSize"
@ -172,7 +172,7 @@ watch(size, val =>
</el-checkbox-group>
<el-divider />
<p class="mb-2">多选带有边框</p>
<div class="mb-2">多选带有边框</div>
<el-checkbox-group
v-model="checkboxGroupBox"
:size="dynamicSize"
@ -184,7 +184,7 @@ watch(size, val =>
</el-checkbox-group>
<el-divider />
<p class="mb-2">多选来点不一样的体验</p>
<div class="mb-2">多选来点不一样的体验</div>
<el-checkbox-group
v-model="checkboxGroupCustom"
class="pure-checkbox"
@ -218,14 +218,14 @@ watch(size, val =>
</el-checkbox-group>
<el-divider />
<p>可控制间距的按钮样式</p>
<div>可控制间距的按钮样式</div>
<el-slider
v-model="spaceSize"
class="mb-2 w-[300px]!"
:show-tooltip="false"
:disabled="size === 'disabled'"
/>
<p class="mb-2">单选</p>
<div class="mb-2">单选</div>
<el-space wrap :size="spaceSize">
<el-check-tag
v-for="(tag, index) in checkTag"
@ -241,7 +241,7 @@ watch(size, val =>
{{ tag.title }}
</el-check-tag>
</el-space>
<p class="mb-2 mt-4">
<div class="mb-2 mt-4">
多选
{{
getKeyList(
@ -249,7 +249,7 @@ watch(size, val =>
"title"
)
}}
</p>
</div>
<el-space wrap :size="spaceSize">
<el-check-tag
v-for="(tag, index) in checkGroupTag"
@ -267,7 +267,7 @@ watch(size, val =>
</el-space>
<el-divider />
<p class="mb-2">单个可选按钮</p>
<div class="mb-2">单个可选按钮</div>
<el-check-tag
:class="[
'select-none',

View File

@ -69,7 +69,7 @@ watch(size, val =>
</el-link>
</template>
<p class="mb-2 mt-4">单选</p>
<div class="mb-2 mt-4">单选</div>
<PlusCheckCardGroup
v-model="list"
:options="options"
@ -77,7 +77,7 @@ watch(size, val =>
:disabled="size === 'disabled'"
/>
<p class="mb-2 mt-4">多选</p>
<div class="mb-2 mt-4">多选</div>
<PlusCheckCardGroup
v-model="list1"
:options="options"

View File

@ -50,12 +50,12 @@ const handleChange = (val: string[]) => {
</el-link>
</template>
<p class="mb-2">基础用法</p>
<div class="mb-2">基础用法</div>
<el-radio-group v-model="radio" class="mb-3">
<el-radio value="">可同时展开多个面板</el-radio>
<el-radio value="accordion">每次只能展开一个面板</el-radio>
</el-radio-group>
<el-button size="small" text bg class="ml-8 mb-1" @click="onClick">
<el-button size="small" text bg class="ml-8! mb-1!" @click="onClick">
外部触发打开关闭
</el-button>
<el-collapse

View File

@ -73,7 +73,7 @@ function onClick() {
</el-link>
</template>
<p class="mb-2">不同尺寸选择透明度预定义颜色</p>
<div class="mb-2">不同尺寸选择透明度预定义颜色</div>
<el-color-picker
v-model="color"
show-alpha
@ -83,7 +83,7 @@ function onClick() {
/>
<el-divider />
<p class="mb-2">外部触发器</p>
<div class="mb-2">外部触发器</div>
<el-space wrap>
<el-color-picker
ref="colorPickerRef"

View File

@ -1,6 +1,6 @@
<template>
<div>
<p class="mb-2">基础用法</p>
<div class="mb-2">基础用法</div>
<div v-contextmenu:contextmenu class="wrapper">
<code>右键点击此区域</code>
</div>

View File

@ -1,6 +1,6 @@
<template>
<div>
<p class="mb-2">动态菜单</p>
<div class="mb-2">动态菜单</div>
<div v-contextmenu:contextmenu class="wrapper">
<code>右键点击此区域</code>
</div>

View File

@ -1,6 +1,6 @@
<template>
<div>
<p class="mb-2">按钮组</p>
<div class="mb-2">按钮组</div>
<div v-contextmenu:contextmenu class="wrapper">
<code>右键点击此区域</code>
</div>

View File

@ -160,7 +160,7 @@ watch(size, val =>
</el-link>
</template>
<p class="mb-2">选择某一天</p>
<div class="mb-2">选择某一天</div>
<el-date-picker
v-model="value"
type="date"
@ -175,7 +175,7 @@ watch(size, val =>
:disabled="size === 'disabled'"
/>
<p class="mb-2 mt-4">选择周年或多个日期</p>
<div class="mb-2 mt-4">选择周年或多个日期</div>
<el-space wrap>
<el-date-picker
v-model="value1"
@ -212,7 +212,7 @@ watch(size, val =>
/>
</el-space>
<p class="mb-2 mt-4">选择一段时间</p>
<div class="mb-2 mt-4">选择一段时间</div>
<el-date-picker
v-model="value5"
type="daterange"
@ -229,7 +229,7 @@ watch(size, val =>
:disabled="size === 'disabled'"
/>
<p class="mb-2 mt-4">选择月份范围</p>
<div class="mb-2 mt-4">选择月份范围</div>
<el-date-picker
v-model="value6"
type="monthrange"
@ -245,7 +245,7 @@ watch(size, val =>
:disabled="size === 'disabled'"
/>
<p class="mb-2 mt-4">日期格式</p>
<div class="mb-2 mt-4">日期格式</div>
<el-radio-group
v-model="dateFormat"
class="mb-2"
@ -271,7 +271,7 @@ watch(size, val =>
<span class="ml-2">{{ value7 }}</span>
</el-space>
<p class="mb-2 mt-4">自定义前缀</p>
<div class="mb-2 mt-4">自定义前缀</div>
<el-date-picker
v-model="value8"
type="date"
@ -282,7 +282,7 @@ watch(size, val =>
:disabled="size === 'disabled'"
/>
<p class="mb-2 mt-4">自定义内容</p>
<div class="mb-2 mt-4">自定义内容</div>
<el-date-picker
v-model="value9"
type="date"

View File

@ -186,7 +186,7 @@ watch(size, val =>
</el-link>
</template>
<p class="mb-2">日期和时间点</p>
<div class="mb-2">日期和时间点</div>
<el-date-picker
v-model="value"
type="datetime"
@ -197,7 +197,7 @@ watch(size, val =>
:disabled="size === 'disabled'"
/>
<p class="mb-2 mt-4">日期时间格式</p>
<div class="mb-2 mt-4">日期时间格式</div>
<el-radio-group
v-model="datetimeFormat"
class="mb-2"
@ -223,7 +223,7 @@ watch(size, val =>
<span class="ml-2">{{ value1 }}</span>
</el-space>
<p class="mb-2 mt-4">日期和时间范围</p>
<div class="mb-2 mt-4">日期和时间范围</div>
<el-date-picker
v-model="value2"
type="datetimerange"
@ -238,9 +238,9 @@ watch(size, val =>
:disabled="size === 'disabled'"
/>
<p class="mb-2 mt-4">
<div class="mb-2 mt-4">
弹出面板位置可控如果弹出位置不足以完整展示面板会自动调整位置
</p>
</div>
<el-space wrap class="w-[400px]">
<el-check-tag
v-for="(tag, index) in checkTag"

View File

@ -84,7 +84,7 @@ watch(size, val =>
</el-link>
</template>
<p class="mb-2">基础按钮</p>
<div class="mb-2">基础按钮</div>
<el-radio-group v-model="baseRadio" class="mb-3">
<el-radio label="default" value="default" />
<el-radio label="plain" value="plain" />
@ -117,7 +117,7 @@ watch(size, val =>
</el-space>
<el-divider />
<p class="mb-4">加载状态按钮</p>
<div class="mb-4">加载状态按钮</div>
<el-button
text
bg
@ -166,7 +166,7 @@ watch(size, val =>
</el-button>
<el-divider />
<p class="mb-4">自定义元素标签例如按钮div链接</p>
<div class="mb-4">自定义元素标签例如按钮div链接</div>
<el-button :size="dynamicSize" :disabled="size === 'disabled'">
button 标签
</el-button>
@ -196,7 +196,7 @@ watch(size, val =>
</el-button>
<el-divider />
<p class="mb-4">自定义颜色</p>
<div class="mb-4">自定义颜色</div>
<el-space wrap>
<el-button
color="#626aef"

View File

@ -25,7 +25,7 @@ defineOptions({
</el-link>
</template>
<h4 class="mb-4">Element Plus 的消息提示点击弹出提示信息</h4>
<h4 class="mb-4!">Element Plus 的消息提示点击弹出提示信息</h4>
<el-space wrap>
<el-button
@ -121,7 +121,7 @@ defineOptions({
<el-divider />
<h4 class="mb-4">
<h4 class="mb-4!">
类似 Ant Design 风格的消息提示点击弹出提示信息基于 ElMessage
样式改版不会影响 ElMessage
原本样式使用和打包大小成本极低并适配整体暗色风格

View File

@ -32,7 +32,7 @@ const format = percentage => (percentage === 100 ? "Full" : `${percentage}%`);
</el-link>
</template>
<p class="mb-4">直线进度条动画</p>
<div class="mb-4">直线进度条动画</div>
<div class="w-1/4">
<el-progress indeterminate :percentage="50" class="mb-4" />
<el-progress
@ -61,7 +61,7 @@ const format = percentage => (percentage === 100 ? "Full" : `${percentage}%`);
/>
</div>
<p class="mb-4">进度条内显示百分比标识</p>
<div class="mb-4">进度条内显示百分比标识</div>
<div class="w-1/4">
<el-progress
:text-inside="true"
@ -97,7 +97,7 @@ const format = percentage => (percentage === 100 ? "Full" : `${percentage}%`);
/>
</div>
<p class="mb-4">自定义内容</p>
<div class="mb-4">自定义内容</div>
<div class="w-1/4 demo-progress">
<el-progress :percentage="50">
<el-button text>自定义内容</el-button>

View File

@ -220,39 +220,39 @@ watch(size, val => (dynamicSize.value = size.value));
</el-link>
</template>
<el-scrollbar>
<p class="mb-2">
<div class="mb-2">
基础用法v-model<span class="text-primary">
{{ optionsBasis[value].label }}
</span>
</p>
</div>
<Segmented v-model="value" :options="optionsBasis" :size="dynamicSize" />
<el-divider />
<p class="mb-2">tooltip 提示</p>
<div class="mb-2">tooltip 提示</div>
<Segmented :options="optionsTooltip" :size="dynamicSize" />
<el-divider />
<p class="mb-2">change 事件</p>
<div class="mb-2">change 事件</div>
<Segmented
:options="optionsChange"
:size="dynamicSize"
@change="onChange"
/>
<el-divider />
<p class="mb-2">禁用</p>
<div class="mb-2">禁用</div>
<Segmented :options="optionsDisabled" :size="dynamicSize" />
<el-divider />
<p class="mb-2">全局禁用</p>
<div class="mb-2">全局禁用</div>
<Segmented :options="optionsBasis" :size="dynamicSize" disabled />
<el-divider />
<p class="mb-2">block 属性(将宽度调整为父元素宽度)</p>
<div class="mb-2">block 属性(将宽度调整为父元素宽度)</div>
<Segmented :options="optionsBlock" block :size="dynamicSize" />
<el-divider />
<p class="mb-2">可设置图标</p>
<div class="mb-2">可设置图标</div>
<Segmented :options="optionsIcon" :size="dynamicSize" />
<el-divider />
<p class="mb-2">只设置图标</p>
<div class="mb-2">只设置图标</div>
<Segmented :options="optionsOnlyIcon" :size="dynamicSize" />
<el-divider />
<p class="mb-2">自定义渲染</p>
<div class="mb-2">自定义渲染</div>
<Segmented :options="optionsLabel" :size="dynamicSize" />
</el-scrollbar>
</el-card>

View File

@ -49,7 +49,7 @@ const selectedVal = ({ left, right }): void => {
:disabled="item.disabled"
@selectedVal="selectedVal"
/>
<h4 v-if="!item.disabled" class="mt-3">选中范围{{ selectRange }}</h4>
<h4 v-if="!item.disabled" class="mt-3!">选中范围{{ selectRange }}</h4>
</el-card>
</div>
</template>

View File

@ -29,28 +29,28 @@ defineOptions({
</el-link>
</div>
</template>
<p class="mb-2">基础用法</p>
<div class="mb-2">基础用法</div>
<Base />
<el-divider />
<p class="mb-2">离散值</p>
<div class="mb-2">离散值</div>
<Step />
<el-divider />
<p class="mb-2">带有输入框的滑块</p>
<div class="mb-2">带有输入框的滑块</div>
<Input />
<el-divider />
<p class="mb-2">不同尺寸</p>
<div class="mb-2">不同尺寸</div>
<Size />
<el-divider />
<p class="mb-2">位置</p>
<div class="mb-2">位置</div>
<Placement />
<el-divider />
<p class="mb-2">范围选择</p>
<div class="mb-2">范围选择</div>
<Range />
<el-divider />
<p class="mb-2">垂直模式</p>
<div class="mb-2">垂直模式</div>
<Vertical />
<el-divider />
<p class="mb-2">显示标记</p>
<div class="mb-2">显示标记</div>
<Marks class="mb-6" />
</el-card>
</template>

View File

@ -63,7 +63,7 @@ function reset() {
format="HH:mm:ss"
:value="value1"
/>
<el-button class="mt-2" type="primary" text bg @click="reset">
<el-button class="mt-2!" type="primary" text bg @click="reset">
重置
</el-button>
</re-col>

View File

@ -94,7 +94,7 @@ const handleInputConfirm = () => {
</el-link>
</template>
<p class="mb-2">基础按钮</p>
<div class="mb-2">基础按钮</div>
<el-radio-group v-model="baseTag" class="mb-3">
<el-radio label="dark" value="dark" />
<el-radio label="light" value="light" />
@ -140,7 +140,7 @@ const handleInputConfirm = () => {
</el-space>
<el-divider />
<p class="mb-2">动态编辑标签</p>
<div class="mb-2">动态编辑标签</div>
<el-tag
v-for="tag in dynamicTags"
:key="tag"
@ -163,7 +163,7 @@ const handleInputConfirm = () => {
/>
<el-button
v-else
class="button-new-tag ml-1"
class="button-new-tag ml-1!"
size="small"
@click="showInput"
>

View File

@ -48,7 +48,7 @@ const changeTooltipContent = () => {
</el-link>
</template>
<p class="mb-2">基础用法</p>
<div class="mb-2">基础用法</div>
<el-space wrap>
<ul class="content">
<li>
@ -64,7 +64,7 @@ const changeTooltipContent = () => {
<el-divider />
<p class="mb-2">自定义 Tooltip 内容</p>
<div class="mb-2">自定义 Tooltip 内容</div>
<div class="mb-2">
<el-button @click="changeTooltipContent">
点击切换下方 Tooltip 内容
@ -94,7 +94,7 @@ const changeTooltipContent = () => {
</el-space>
<el-divider />
<p class="mb-2">自定义 el-text 配置</p>
<div class="mb-2">自定义 el-text 配置</div>
<el-space wrap>
<ul class="content">
<li>
@ -111,7 +111,7 @@ const changeTooltipContent = () => {
</el-space>
<el-divider />
<p class="mb-2">自定义 VueTippy 配置</p>
<div class="mb-2">自定义 VueTippy 配置</div>
<el-space wrap>
<ul class="content">
<li>
@ -132,7 +132,7 @@ const changeTooltipContent = () => {
</el-space>
<el-divider />
<p class="mb-2">组件嵌套: 不需要省略的需设置 truncated false</p>
<div class="mb-2">组件嵌套: 不需要省略的需设置 truncated false</div>
<el-space wrap>
<ul class="content">
<li>

View File

@ -85,7 +85,7 @@ const endTime = ref("");
</el-link>
</template>
<p class="mb-2">日期和时间点</p>
<div class="mb-2">日期和时间点</div>
<el-space wrap>
<p class="text-[15px]">鼠标滚轮进行选择</p>
<el-time-picker
@ -107,7 +107,7 @@ const endTime = ref("");
</el-space>
<el-divider />
<p class="mb-2">限制时间选择范围</p>
<div class="mb-2">限制时间选择范围</div>
<el-time-picker
v-model="value2"
class="w-[140px]!"
@ -120,7 +120,7 @@ const endTime = ref("");
/>
<el-divider />
<p class="mb-2">任意时间范围</p>
<div class="mb-2">任意时间范围</div>
<el-time-picker
v-model="value3"
class="w-[220px]!"
@ -149,7 +149,7 @@ const endTime = ref("");
</div>
</template>
<p class="mb-2">固定时间点</p>
<div class="mb-2">固定时间点</div>
<el-time-select
v-model="value4"
placeholder="请选择时间"
@ -161,7 +161,7 @@ const endTime = ref("");
:disabled="size === 'disabled'"
/>
<p class="mb-2 mt-4">时间格式</p>
<div class="mb-2 mt-4">时间格式</div>
<el-time-select
v-model="value5"
placeholder="请选择时间"
@ -174,7 +174,7 @@ const endTime = ref("");
:disabled="size === 'disabled'"
/>
<p class="mb-2 mt-4">固定时间范围</p>
<div class="mb-2 mt-4">固定时间范围</div>
<el-space wrap>
<el-time-select
v-model="startTime"

View File

@ -79,7 +79,7 @@ const activities = [
</el-timeline-item>
</el-timeline>
<el-timeline class="pl-40">
<el-timeline class="pl-40!">
<el-timeline-item
v-for="(activity, index) in activities"
:key="index"

View File

@ -4,7 +4,7 @@ import { formUpload } from "@/api/mock";
import { message } from "@/utils/message";
import { createFormData } from "@pureadmin/utils";
import UploadIcon from "~icons/ri/upload-2-line";
import UploadIcon from "~icons/ri/upload-2-line?width=26&height=26";
const formRef = ref();
const uploadRef = ref();
@ -62,11 +62,7 @@ const resetForm = formEl => {
:auto-upload="false"
>
<div class="el-upload__text">
<IconifyIconOffline
:icon="UploadIcon"
width="26"
class="m-auto mb-2"
/>
<UploadIcon class="m-auto mb-2" />
可点击或拖拽上传
</div>
</el-upload>

View File

@ -8,7 +8,7 @@ import { message } from "@/utils/message";
import type { UploadFile } from "element-plus";
import { getKeyList, extractFields, downloadByData } from "@pureadmin/utils";
import Add from "~icons/ep/plus";
import EpPlus from "~icons/ep/plus?width=30&height=30";
import Eye from "~icons/ri/eye-line";
import Delete from "~icons/ri/delete-bin-7-line";
@ -124,16 +124,16 @@ const onDownload = () => {
</el-link>
</template>
<el-button class="mb-4" text bg @click="onDownload">
<el-button class="mb-4!" text bg @click="onDownload">
点击下载安全文件进行上传测试
</el-button>
<p class="mb-4">
<p class="mb-4!">
综合示例<span class="text-[14px]">
<span class="text-[red]">自动上传</span>
拖拽上传拖拽排序设置请求头上传进度大图预览多选文件最大文件数量文件类型限制文件大小限制删除文件
</span>
</p>
<p v-show="fileList.length > 0" class="mb-4">
<p v-show="fileList.length > 0" class="mb-4!">
{{ imgInfos }}
</p>
<el-upload
@ -149,15 +149,15 @@ const onDownload = () => {
:on-exceed="onExceed"
:before-upload="onBefore"
>
<IconifyIconOffline :icon="Add" class="m-auto mt-4" width="30" />
<EpPlus class="m-auto mt-4" />
<template #file="{ file }">
<div
v-if="file.status == 'ready' || file.status == 'uploading'"
class="mt-[35%] m-auto"
class="mt-[35%]! m-auto"
>
<p class="font-medium">文件上传中</p>
<el-progress
class="mt-2"
class="mt-2!"
:stroke-width="2"
:text-inside="true"
:show-text="false"
@ -232,7 +232,7 @@ const onDownload = () => {
</p>
<el-divider />
<p class="mb-4 mt-4">
<p class="mb-4! mt-4">
结合表单校验进行<span class="text-[red]">手动上传</span>
<span class="text-[14px]">
可先打开浏览器控制台找到Network然后填写表单内容后点击点提交观察请求变化

View File

@ -15,7 +15,7 @@ const router = useRouter();
<div class="ml-12">
<p
v-motion
class="font-medium text-4xl mb-4 dark:text-white"
class="font-medium text-4xl mb-4! dark:text-white"
:initial="{
opacity: 0,
y: 100
@ -32,7 +32,7 @@ const router = useRouter();
</p>
<p
v-motion
class="mb-4 text-gray-500"
class="mb-4! text-gray-500"
:initial="{
opacity: 0,
y: 100

View File

@ -15,7 +15,7 @@ const router = useRouter();
<div class="ml-12">
<p
v-motion
class="font-medium text-4xl mb-4 dark:text-white"
class="font-medium text-4xl mb-4! dark:text-white"
:initial="{
opacity: 0,
y: 100
@ -32,7 +32,7 @@ const router = useRouter();
</p>
<p
v-motion
class="mb-4 text-gray-500"
class="mb-4! text-gray-500"
:initial="{
opacity: 0,
y: 100

View File

@ -15,7 +15,7 @@ const router = useRouter();
<div class="ml-12">
<p
v-motion
class="font-medium text-4xl mb-4 dark:text-white"
class="font-medium text-4xl mb-4! dark:text-white"
:initial="{
opacity: 0,
y: 100
@ -32,7 +32,7 @@ const router = useRouter();
</p>
<p
v-motion
class="mb-4 text-gray-500"
class="mb-4! text-gray-500"
:initial="{
opacity: 0,
y: 100

View File

@ -69,7 +69,7 @@ function onBack() {
/>
<el-button
:disabled="isDisabled"
class="ml-2"
class="ml-2!"
@click="useVerifyCode().start(ruleFormRef, 'phone')"
>
{{

View File

@ -18,7 +18,7 @@ const { t } = useI18n();
</Motion>
<Motion :delay="150">
<el-button
class="w-full mt-4"
class="w-full mt-4!"
@click="useUserStoreHook().SET_CURRENTPAGE(0)"
>
{{ t("login.pureBack") }}

View File

@ -123,7 +123,7 @@ function onBack() {
/>
<el-button
:disabled="isDisabled"
class="ml-2"
class="ml-2!"
@click="useVerifyCode().start(ruleFormRef, 'phone')"
>
{{

View File

@ -93,7 +93,7 @@ function onBack() {
/>
<el-button
:disabled="isDisabled"
class="ml-2"
class="ml-2!"
@click="useVerifyCode().start(ruleFormRef, 'phone')"
>
{{

View File

@ -245,7 +245,8 @@ watch(loginDay, value => {
width: loginDay < 10 ? '10px' : '16px',
outline: 'none',
background: 'none',
appearance: 'none'
appearance: 'none',
border: 'none'
}"
>
<option value="1">1</option>
@ -272,7 +273,7 @@ watch(loginDay, value => {
</el-button>
</div>
<el-button
class="w-full mt-4"
class="w-full mt-4!"
size="default"
type="primary"
:loading="loading"
@ -290,7 +291,7 @@ watch(loginDay, value => {
<el-button
v-for="(item, index) in operates"
:key="index"
class="w-full mt-4"
class="w-full mt-4!"
size="default"
@click="useUserStoreHook().SET_CURRENTPAGE(index + 1)"
>

View File

@ -45,7 +45,7 @@ sayHello();
代码位置 src/views/markdown
</el-link>
</template>
<h1 class="mb-2">
<h1 class="mb-2!">
双向绑定<span class="text-red-500">{{ text }}</span>
</h1>
<Vditor

View File

@ -39,7 +39,7 @@ const {
ref="formRef"
:inline="true"
:model="form"
class="search-form bg-bg_color w-99/100 pl-8 pt-[12px] overflow-auto"
class="search-form bg-bg_color w-full pl-8 pt-[12px] overflow-auto"
>
<el-form-item label="用户名" prop="username">
<el-input

View File

@ -39,7 +39,7 @@ const {
ref="formRef"
:inline="true"
:model="form"
class="search-form bg-bg_color w-99/100 pl-8 pt-[12px] overflow-auto"
class="search-form bg-bg_color w-full pl-8 pt-[12px] overflow-auto"
>
<el-form-item label="所属模块" prop="module">
<el-input

View File

@ -42,7 +42,7 @@ const {
ref="formRef"
:inline="true"
:model="form"
class="search-form bg-bg_color w-99/100 pl-8 pt-[12px] overflow-auto"
class="search-form bg-bg_color w-full pl-8 pt-[12px] overflow-auto"
>
<el-form-item label="所属模块" prop="module">
<el-input

View File

@ -33,7 +33,7 @@ const {
ref="formRef"
:inline="true"
:model="form"
class="search-form bg-bg_color w-99/100 pl-8 pt-[12px] overflow-auto"
class="search-form bg-bg_color w-full pl-8 pt-[12px] overflow-auto"
>
<el-form-item label="用户名" prop="username">
<el-input

View File

@ -8,7 +8,7 @@ defineOptions({
<template>
<div>
<p class="mb-2">当前拥有的code列表{{ getAuths() }}</p>
<p class="mb-2!">当前拥有的code列表{{ getAuths() }}</p>
<el-card shadow="never" class="mb-2">
<template #header>

View File

@ -11,8 +11,8 @@ defineOptions({
<template>
<div>
<p class="mb-2">当前拥有的code列表{{ permissions }}</p>
<p v-show="permissions?.[0] === '*:*:*'" class="mb-2">
<p class="mb-2!">当前拥有的code列表{{ permissions }}</p>
<p v-show="permissions?.[0] === '*:*:*'" class="mb-2!">
*:*:* 代表拥有全部按钮级别权限
</p>

View File

@ -44,7 +44,7 @@ function onChange() {
<template>
<div>
<p class="mb-2">
<p class="mb-2!">
模拟后台根据不同角色返回对应路由观察左侧菜单变化管理员角色可查看系统管理菜单普通角色不可查看系统管理菜单
</p>
<el-card shadow="never" :style="elStyle">

View File

@ -39,7 +39,7 @@ function onFullscreen() {
ref="formRef"
:inline="true"
:model="form"
class="search-form bg-bg_color w-99/100 pl-8 pt-[12px] overflow-auto"
class="search-form bg-bg_color w-full pl-8 pt-[12px] overflow-auto"
>
<el-form-item label="部门名称:" prop="name">
<el-input

View File

@ -40,7 +40,7 @@ function onFullscreen() {
ref="formRef"
:inline="true"
:model="form"
class="search-form bg-bg_color w-99/100 pl-8 pt-[12px] overflow-auto"
class="search-form bg-bg_color w-full pl-8 pt-[12px] overflow-auto"
>
<el-form-item label="菜单名称:" prop="title">
<el-input

View File

@ -96,7 +96,7 @@ onMounted(() => {
ref="formRef"
:inline="true"
:model="form"
class="search-form bg-bg_color w-99/100 pl-8 pt-[12px] overflow-auto"
class="search-form bg-bg_color w-full pl-8 pt-[12px] overflow-auto"
>
<el-form-item label="角色名称:" prop="name">
<el-input

View File

@ -66,7 +66,7 @@ const {
ref="formRef"
:inline="true"
:model="form"
class="search-form bg-bg_color w-99/100 pl-8 pt-[12px] overflow-auto"
class="search-form bg-bg_color w-full pl-8 pt-[12px] overflow-auto"
>
<el-form-item label="用户名称:" prop="username">
<el-input
@ -198,7 +198,7 @@ const {
</el-popconfirm>
<el-dropdown>
<el-button
class="ml-3 mt-[2px]"
class="ml-3! mt-[2px]!"
link
type="primary"
:size="size"

View File

@ -4,7 +4,7 @@ import { ref, computed, watch, getCurrentInstance } from "vue";
import Dept from "~icons/ri/git-branch-line";
// import Reset from "~icons/ri/restart-line";
import More2Fill from "~icons/ri/more-2-fill";
import More2Fill from "~icons/ri/more-2-fill?width=18&height=18";
import OfficeBuilding from "~icons/ep/office-building";
import LocationCompany from "~icons/ep/add-location";
import ExpandIcon from "./svg/expand.svg?component";
@ -111,17 +111,13 @@ defineExpose({ onTreeReset });
<el-icon class="el-input__icon">
<IconifyIconOffline
v-show="searchValue.length === 0"
icon="ri:search-line"
icon="ri/search-line"
/>
</el-icon>
</template>
</el-input>
<el-dropdown :hide-on-click="false">
<IconifyIconOffline
class="w-[28px] cursor-pointer"
width="18px"
:icon="More2Fill"
/>
<More2Fill class="w-[28px] cursor-pointer outline-none" />
<template #dropdown>
<el-dropdown-menu>
<el-dropdown-item>

View File

@ -31,7 +31,7 @@ const { columns, dataList, onAdd, onDel } = useColumns();
<template #append>
<el-button
plain
class="w-full my-2"
class="w-full my-2!"
:icon="useRenderIcon(AddFill)"
@click="onAdd"
>

View File

@ -65,6 +65,7 @@ const optionsBasis: Array<OptionsType> = [
:icon="item.icon"
:color="item.color"
width="18"
height="18"
/>
</div>
</div>