diff --git a/package.json b/package.json index bbe6fed2c..7ac8cfc91 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e34ffbd5c..e665c351a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -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: {} diff --git a/src/components/ReFlowChart/src/Control.vue b/src/components/ReFlowChart/src/Control.vue index e0f46fb8a..c578a46a8 100644 --- a/src/components/ReFlowChart/src/Control.vue +++ b/src/components/ReFlowChart/src/Control.vue @@ -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)" > diff --git a/src/components/ReIcon/src/offlineIcon.ts b/src/components/ReIcon/src/offlineIcon.ts index 82b6ec069..6387cd258 100644 --- a/src/components/ReIcon/src/offlineIcon.ts +++ b/src/components/ReIcon/src/offlineIcon.ts @@ -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], diff --git a/src/components/RePureTableBar/src/bar.tsx b/src/components/RePureTableBar/src/bar.tsx index d0bbf98cc..86c381b09 100644 --- a/src/components/RePureTableBar/src/bar.tsx +++ b/src/components/RePureTableBar/src/bar.tsx @@ -255,7 +255,7 @@ export default defineComponent({
{

{{ t("panel.pureSystemSet") }} @@ -78,7 +78,7 @@ onBeforeUnmount(() => {
{ }); 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>(() => { @@ -335,7 +335,7 @@ onUnmounted(() => removeMatchMedia); " /> -

{{ t("panel.pureThemeColor") }}

+

{{ t("panel.pureThemeColor") }}

  • removeMatchMedia);
-

{{ t("panel.pureLayoutModel") }}

+

{{ t("panel.pureLayoutModel") }}

  • removeMatchMedia);
-

{{ t("panel.pureStretch") }}

+

{{ t("panel.pureStretch") }}

removeMatchMedia); >
-

{{ t("panel.pureTagsStyle") }}

+

{{ t("panel.pureTagsStyle") }}

removeMatchMedia); @change="onChange" /> -

+

{{ t("panel.pureInterfaceDisplay") }}

    diff --git a/src/layout/components/lay-sidebar/components/SidebarLeftCollapse.vue b/src/layout/components/lay-sidebar/components/SidebarLeftCollapse.vue index 32ea646f1..6f26b0e4a 100644 --- a/src/layout/components/lay-sidebar/components/SidebarLeftCollapse.vue +++ b/src/layout/components/lay-sidebar/components/SidebarLeftCollapse.vue @@ -23,7 +23,7 @@ const iconClass = computed(() => { "mb-1", "w-[16px]", "h-[16px]", - "inline-block", + "inline-block!", "align-middle", "cursor-pointer", "duration-[100ms]" diff --git a/src/style/reset.scss b/src/style/reset.scss index 486471da8..07fdfb8e2 100644 --- a/src/style/reset.scss +++ b/src/style/reset.scss @@ -1,12 +1,3 @@ -*, -::before, -::after { - box-sizing: border-box; - border-color: currentColor; - border-style: solid; - border-width: 0; -} - #app { width: 100%; height: 100%; diff --git a/src/style/tailwind.css b/src/style/tailwind.css index 3cde6e853..e495ae295 100644 --- a/src/style/tailwind.css +++ b/src/style/tailwind.css @@ -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 *)); diff --git a/src/views/able/infinite-scroll.vue b/src/views/able/infinite-scroll.vue index 547b25d6a..787197c93 100644 --- a/src/views/able/infinite-scroll.vue +++ b/src/views/able/infinite-scroll.vue @@ -51,7 +51,9 @@ const load = () => { 代码位置 src/views/able/infinite-scroll.vue -

    {{ isBottom ? "已加载全部页" : `加载到第 ${page} 页` }}

    +
    + {{ isBottom ? "已加载全部页" : `加载到第 ${page} 页` }} +

    -

    -

    +

    +

    diff --git a/src/views/able/sensitive.vue b/src/views/able/sensitive.vue index 6b141622e..5100d32d3 100644 --- a/src/views/able/sensitive.vue +++ b/src/views/able/sensitive.vue @@ -45,6 +45,6 @@ function onInput() {

-

{{ modelValue }}

+

{{ modelValue }}

diff --git a/src/views/able/wavesurfer/index.vue b/src/views/able/wavesurfer/index.vue index f2117dcd1..f2406639c 100644 --- a/src/views/able/wavesurfer/index.vue +++ b/src/views/able/wavesurfer/index.vue @@ -109,7 +109,7 @@ onBeforeUnmount(() => {
00:00 -

{{ curTime }}

+

{{ curTime }}

{{ totalTime }}
diff --git a/src/views/account-settings/components/AccountManagement.vue b/src/views/account-settings/components/AccountManagement.vue index 837f6a7b3..f131b8bd3 100644 --- a/src/views/account-settings/components/AccountManagement.vue +++ b/src/views/account-settings/components/AccountManagement.vue @@ -43,7 +43,7 @@ function onClick(item) { deviceDetection() ? 'max-w-[100%]' : 'max-w-[70%]' ]" > -

账户管理

+

账户管理

diff --git a/src/views/account-settings/components/Preferences.vue b/src/views/account-settings/components/Preferences.vue index 93a510a54..fa6cfb2cb 100644 --- a/src/views/account-settings/components/Preferences.vue +++ b/src/views/account-settings/components/Preferences.vue @@ -38,7 +38,7 @@ function onChange(val, item) { deviceDetection() ? 'max-w-[100%]' : 'max-w-[70%]' ]" > -

偏好设置

+

偏好设置

diff --git a/src/views/account-settings/components/Profile.vue b/src/views/account-settings/components/Profile.vue index aadb55119..b213d6cda 100644 --- a/src/views/account-settings/components/Profile.vue +++ b/src/views/account-settings/components/Profile.vue @@ -110,7 +110,7 @@ getMine().then(res => { deviceDetection() ? 'max-w-[100%]' : 'max-w-[70%]' ]" > -

个人信息

+

个人信息

{ :show-file-list="false" :on-change="onChange" > - + 更新头像 diff --git a/src/views/account-settings/components/SecurityLog.vue b/src/views/account-settings/components/SecurityLog.vue index 845540c29..bddbce472 100644 --- a/src/views/account-settings/components/SecurityLog.vue +++ b/src/views/account-settings/components/SecurityLog.vue @@ -78,7 +78,7 @@ onMounted(() => { deviceDetection() ? 'max-w-[100%]' : 'max-w-[70%]' ]" > -

安全日志

+

安全日志

代码位置 src/views/components/check-button.vue -

单选(紧凑风格的按钮样式)

+
单选(紧凑风格的按钮样式)
-

单选(带有边框)

+
单选(带有边框)
-

单选(自定义内容)

+
单选(自定义内容)
-

多选(紧凑风格的按钮样式)

+
多选(紧凑风格的按钮样式)
-

多选(带有边框)

+
多选(带有边框)
-

多选(来点不一样的体验)

+
多选(来点不一样的体验)
-

可控制间距的按钮样式

+
可控制间距的按钮样式
-

单选

+
单选
{{ tag.title }} -

+

多选 {{ getKeyList( @@ -249,7 +249,7 @@ watch(size, val => "title" ) }} -

+
-

单个可选按钮

+
单个可选按钮
单选

+
单选
:disabled="size === 'disabled'" /> -

多选

+
多选
{ -

基础用法

+
基础用法
可同时展开多个面板 每次只能展开一个面板 - + 外部触发打开、关闭 -

不同尺寸、选择透明度、预定义颜色

+
不同尺寸、选择透明度、预定义颜色
-

外部触发器

+
外部触发器
-

基础用法

+
基础用法
右键点击此区域
diff --git a/src/views/components/contextmenu/menuDynamic.vue b/src/views/components/contextmenu/menuDynamic.vue index c326c333b..5fbcb8c9d 100644 --- a/src/views/components/contextmenu/menuDynamic.vue +++ b/src/views/components/contextmenu/menuDynamic.vue @@ -1,6 +1,6 @@ -

日期和时间点

+
日期和时间点
:disabled="size === 'disabled'" /> -

日期时间格式

+
日期时间格式
{{ value1 }} -

日期和时间范围

+
日期和时间范围
:disabled="size === 'disabled'" /> -

+

弹出面板位置可控(如果弹出位置不足以完整展示面板会自动调整位置) -

+
-

基础按钮

+
基础按钮
@@ -117,7 +117,7 @@ watch(size, val =>
-

加载状态按钮

+
加载状态按钮
-

自定义元素标签。例如:按钮、div、链接

+
自定义元素标签。例如:按钮、div、链接
button 标签 @@ -196,7 +196,7 @@ watch(size, val => -

自定义颜色

+
自定义颜色
-

Element Plus 的消息提示,点击弹出提示信息

+

Element Plus 的消息提示,点击弹出提示信息

-

+

类似 Ant Design 风格的消息提示,点击弹出提示信息(基于 ElMessage 样式改版,不会影响 ElMessage 原本样式,使用和打包大小成本极低并适配整体暗色风格) diff --git a/src/views/components/progress.vue b/src/views/components/progress.vue index 3c70946b5..de403d6f9 100644 --- a/src/views/components/progress.vue +++ b/src/views/components/progress.vue @@ -32,7 +32,7 @@ const format = percentage => (percentage === 100 ? "Full" : `${percentage}%`); -

直线进度条动画

+
直线进度条动画
(percentage === 100 ? "Full" : `${percentage}%`); />
-

进度条内显示百分比标识

+
进度条内显示百分比标识
(percentage === 100 ? "Full" : `${percentage}%`); />
-

自定义内容

+
自定义内容
自定义内容 diff --git a/src/views/components/segmented.vue b/src/views/components/segmented.vue index fa2ca45fd..79f4ae731 100644 --- a/src/views/components/segmented.vue +++ b/src/views/components/segmented.vue @@ -220,39 +220,39 @@ watch(size, val => (dynamicSize.value = size.value)); -

+

基础用法(v-model) {{ optionsBasis[value].label }} -

+
-

tooltip 提示

+
tooltip 提示
-

change 事件

+
change 事件
-

禁用

+
禁用
-

全局禁用

+
全局禁用
-

block 属性(将宽度调整为父元素宽度)

+
block 属性(将宽度调整为父元素宽度)
-

可设置图标

+
可设置图标
-

只设置图标

+
只设置图标
-

自定义渲染

+
自定义渲染
diff --git a/src/views/components/selector.vue b/src/views/components/selector.vue index e63bfd528..4c2e23ec1 100644 --- a/src/views/components/selector.vue +++ b/src/views/components/selector.vue @@ -49,7 +49,7 @@ const selectedVal = ({ left, right }): void => { :disabled="item.disabled" @selectedVal="selectedVal" /> -

选中范围:{{ selectRange }}

+

选中范围:{{ selectRange }}

diff --git a/src/views/components/slider/index.vue b/src/views/components/slider/index.vue index 8ab1134cd..e5d20a6ea 100644 --- a/src/views/components/slider/index.vue +++ b/src/views/components/slider/index.vue @@ -29,28 +29,28 @@ defineOptions({

-

基础用法

+
基础用法
-

离散值

+
离散值
-

带有输入框的滑块

+
带有输入框的滑块
-

不同尺寸

+
不同尺寸
-

位置

+
位置
-

范围选择

+
范围选择
-

垂直模式

+
垂直模式
-

显示标记

+
显示标记
diff --git a/src/views/components/statistic.vue b/src/views/components/statistic.vue index 47a7c81f1..ee6b5f697 100644 --- a/src/views/components/statistic.vue +++ b/src/views/components/statistic.vue @@ -63,7 +63,7 @@ function reset() { format="HH:mm:ss" :value="value1" /> - + 重置 diff --git a/src/views/components/tag.vue b/src/views/components/tag.vue index 730a4ec08..eb3aefc12 100644 --- a/src/views/components/tag.vue +++ b/src/views/components/tag.vue @@ -94,7 +94,7 @@ const handleInputConfirm = () => { -

基础按钮

+
基础按钮
@@ -140,7 +140,7 @@ const handleInputConfirm = () => {
-

动态编辑标签

+
动态编辑标签
{ /> diff --git a/src/views/components/text.vue b/src/views/components/text.vue index fa4f4236c..db8db0e53 100644 --- a/src/views/components/text.vue +++ b/src/views/components/text.vue @@ -48,7 +48,7 @@ const changeTooltipContent = () => { -

基础用法

+
基础用法
  • @@ -64,7 +64,7 @@ const changeTooltipContent = () => { -

    自定义 Tooltip 内容

    +
    自定义 Tooltip 内容
    点击切换下方 Tooltip 内容 @@ -94,7 +94,7 @@ const changeTooltipContent = () => { -

    自定义 el-text 配置

    +
    自定义 el-text 配置
    • @@ -111,7 +111,7 @@ const changeTooltipContent = () => { -

      自定义 VueTippy 配置

      +
      自定义 VueTippy 配置
      • @@ -132,7 +132,7 @@ const changeTooltipContent = () => { -

        组件嵌套: 不需要省略的需设置 truncated 为 false

        +
        组件嵌套: 不需要省略的需设置 truncated 为 false
        • diff --git a/src/views/components/time-picker.vue b/src/views/components/time-picker.vue index 3a8479424..90a88de7f 100644 --- a/src/views/components/time-picker.vue +++ b/src/views/components/time-picker.vue @@ -85,7 +85,7 @@ const endTime = ref(""); -

          日期和时间点

          +
          日期和时间点

          鼠标滚轮进行选择

          -

          限制时间选择范围

          +
          限制时间选择范围
          -

          任意时间范围

          +
          任意时间范围
          -

          固定时间点

          +
          固定时间点
          -

          时间格式

          +
          时间格式
          -

          固定时间范围

          +
          固定时间范围
          - + { :auto-upload="false" >
          - + 可点击或拖拽上传
          diff --git a/src/views/components/upload/index.vue b/src/views/components/upload/index.vue index 23635dffb..7459ed5ad 100644 --- a/src/views/components/upload/index.vue +++ b/src/views/components/upload/index.vue @@ -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 = () => { - + 点击下载安全文件进行上传测试 -

          +

          综合示例自动上传 、拖拽上传、拖拽排序、设置请求头、上传进度、大图预览、多选文件、最大文件数量、文件类型限制、文件大小限制、删除文件)

          -

          +

          {{ imgInfos }}

          { :on-exceed="onExceed" :before-upload="onBefore" > - + -

          +

          双向绑定:{{ text }}

          -

          当前拥有的code列表:{{ getAuths() }}

          +

          当前拥有的code列表:{{ getAuths() }}