diff --git a/sub-admin/src/assets/fonts/demo.css b/sub-admin/src/assets/fonts/demo.css index a67054a..68ff312 100644 --- a/sub-admin/src/assets/fonts/demo.css +++ b/sub-admin/src/assets/fonts/demo.css @@ -1,15 +1,16 @@ /* Logo 字体 */ @font-face { - font-family: "iconfont logo"; + font-family: 'iconfont logo'; src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834'); - src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834#iefix') format('embedded-opentype'), + src: + url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834#iefix') format('embedded-opentype'), url('https://at.alicdn.com/t/font_985780_km7mi63cihi.woff?t=1545807318834') format('woff'), url('https://at.alicdn.com/t/font_985780_km7mi63cihi.ttf?t=1545807318834') format('truetype'), url('https://at.alicdn.com/t/font_985780_km7mi63cihi.svg?t=1545807318834#iconfont') format('svg'); } .logo { - font-family: "iconfont logo"; + font-family: 'iconfont logo'; font-size: 160px; font-style: normal; -webkit-font-smoothing: antialiased; @@ -48,7 +49,6 @@ color: #666; } - #tabs .active { border-bottom-color: #f00; color: #222; @@ -119,9 +119,15 @@ font-size: 42px; margin: 10px auto; color: #333; - -webkit-transition: font-size 0.25s linear, width 0.25s linear; - -moz-transition: font-size 0.25s linear, width 0.25s linear; - transition: font-size 0.25s linear, width 0.25s linear; + -webkit-transition: + font-size 0.25s linear, + width 0.25s linear; + -moz-transition: + font-size 0.25s linear, + width 0.25s linear; + transition: + font-size 0.25s linear, + width 0.25s linear; } .icon_lists .icon:hover { @@ -215,35 +221,35 @@ margin: 1em 0; } -.markdown>p, -.markdown>blockquote, -.markdown>.highlight, -.markdown>ol, -.markdown>ul { +.markdown > p, +.markdown > blockquote, +.markdown > .highlight, +.markdown > ol, +.markdown > ul { width: 80%; } -.markdown ul>li { +.markdown ul > li { list-style: circle; } -.markdown>ul li, -.markdown blockquote ul>li { +.markdown > ul li, +.markdown blockquote ul > li { margin-left: 20px; padding-left: 4px; } -.markdown>ul li p, -.markdown>ol li p { +.markdown > ul li p, +.markdown > ol li p { margin: 0.6em 0; } -.markdown ol>li { +.markdown ol > li { list-style: decimal; } -.markdown>ol li, -.markdown blockquote ol>li { +.markdown > ol li, +.markdown blockquote ol > li { margin-left: 20px; padding-left: 4px; } @@ -260,7 +266,7 @@ font-weight: 600; } -.markdown>table { +.markdown > table { border-collapse: collapse; border-spacing: 0px; empty-cells: show; @@ -269,21 +275,21 @@ margin-bottom: 24px; } -.markdown>table th { +.markdown > table th { white-space: nowrap; color: #333; font-weight: 600; } -.markdown>table th, -.markdown>table td { +.markdown > table th, +.markdown > table td { border: 1px solid #e9e9e9; padding: 8px 16px; text-align: left; } -.markdown>table th { - background: #F7F7F7; +.markdown > table th { + background: #f7f7f7; } .markdown blockquote { @@ -318,12 +324,11 @@ display: inline-block; } -.markdown>br, -.markdown>p>br { +.markdown > br, +.markdown > p > br { clear: both; } - .hljs { display: block; background: white; @@ -399,8 +404,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc * Based on dabblet (http://dabblet.com) * @author Lea Verou */ -code[class*="language-"], -pre[class*="language-"] { +code[class*='language-'], +pre[class*='language-'] { color: black; background: none; text-shadow: 0 1px white; @@ -422,46 +427,45 @@ pre[class*="language-"] { hyphens: none; } -pre[class*="language-"]::-moz-selection, -pre[class*="language-"] ::-moz-selection, -code[class*="language-"]::-moz-selection, -code[class*="language-"] ::-moz-selection { +pre[class*='language-']::-moz-selection, +pre[class*='language-'] ::-moz-selection, +code[class*='language-']::-moz-selection, +code[class*='language-'] ::-moz-selection { text-shadow: none; background: #b3d4fc; } -pre[class*="language-"]::selection, -pre[class*="language-"] ::selection, -code[class*="language-"]::selection, -code[class*="language-"] ::selection { +pre[class*='language-']::selection, +pre[class*='language-'] ::selection, +code[class*='language-']::selection, +code[class*='language-'] ::selection { text-shadow: none; background: #b3d4fc; } @media print { - - code[class*="language-"], - pre[class*="language-"] { + code[class*='language-'], + pre[class*='language-'] { text-shadow: none; } } /* Code blocks */ -pre[class*="language-"] { +pre[class*='language-'] { padding: 1em; - margin: .5em 0; + margin: 0.5em 0; overflow: auto; } -:not(pre)>code[class*="language-"], -pre[class*="language-"] { +:not(pre) > code[class*='language-'], +pre[class*='language-'] { background: #f5f2f0; } /* Inline code */ -:not(pre)>code[class*="language-"] { - padding: .1em; - border-radius: .3em; +:not(pre) > code[class*='language-'] { + padding: 0.1em; + border-radius: 0.3em; white-space: normal; } @@ -477,7 +481,7 @@ pre[class*="language-"] { } .namespace { - opacity: .7; + opacity: 0.7; } .token.property, @@ -505,7 +509,7 @@ pre[class*="language-"] { .language-css .token.string, .style .token.string { color: #9a6e3a; - background: hsla(0, 0%, 100%, .5); + background: hsla(0, 0%, 100%, 0.5); } .token.atrule, @@ -516,7 +520,7 @@ pre[class*="language-"] { .token.function, .token.class-name { - color: #DD4A68; + color: #dd4a68; } .token.regex, diff --git a/sub-admin/src/assets/fonts/iconfont.css b/sub-admin/src/assets/fonts/iconfont.css index e618efa..2109d60 100644 --- a/sub-admin/src/assets/fonts/iconfont.css +++ b/sub-admin/src/assets/fonts/iconfont.css @@ -1,12 +1,13 @@ @font-face { - font-family: "iconfont"; /* Project id 4425172 */ - src: url('iconfont.woff2?t=1725879404188') format('woff2'), - url('iconfont.woff?t=1725879404188') format('woff'), - url('iconfont.ttf?t=1725879404188') format('truetype'); + font-family: 'iconfont'; /* Project id 4425172 */ + src: + url('iconfont.woff2?t=1725879404188') format('woff2'), + url('iconfont.woff?t=1725879404188') format('woff'), + url('iconfont.ttf?t=1725879404188') format('truetype'); } .iconfont { - font-family: "iconfont" !important; + font-family: 'iconfont' !important; font-size: 16px; font-style: normal; -webkit-font-smoothing: antialiased; @@ -14,182 +15,181 @@ } .icon-data4:before { - content: "\e60c"; + content: '\e60c'; } .icon-data5:before { - content: "\e6be"; + content: '\e6be'; } .icon-recharge-record:before { - content: "\e614"; + content: '\e614'; } .icon-recharge-rule:before { - content: "\e628"; + content: '\e628'; } .icon-user-profile:before { - content: "\e783"; + content: '\e783'; } .icon-achieve:before { - content: "\e616"; + content: '\e616'; } .icon-activity-level:before { - content: "\e61a"; + content: '\e61a'; } .icon-skins:before { - content: "\e790"; + content: '\e790'; } .icon-data1:before { - content: "\e996"; + content: '\e996'; } .icon-data2:before { - content: "\e661"; + content: '\e661'; } .icon-data3:before { - content: "\e632"; + content: '\e632'; } .icon-data:before { - content: "\e64e"; + content: '\e64e'; } .icon-game:before { - content: "\e6d0"; + content: '\e6d0'; } .icon-banner:before { - content: "\e613"; + content: '\e613'; } .icon-verification:before { - content: "\e601"; + content: '\e601'; } .icon-balance:before { - content: "\e6b9"; + content: '\e6b9'; } .icon-refund:before { - content: "\e7af"; + content: '\e7af'; } .icon-wechat:before { - content: "\e681"; + content: '\e681'; } .icon-alipay:before { - content: "\e61e"; + content: '\e61e'; } .icon-user:before { - content: "\e67f"; + content: '\e67f'; } .icon-coupon:before { - content: "\e65a"; + content: '\e65a'; } .icon-level:before { - content: "\e7d8"; + content: '\e7d8'; } .icon-activity:before { - content: "\e67b"; + content: '\e67b'; } .icon-shop:before { - content: "\e60a"; + content: '\e60a'; } .icon-member:before { - content: "\e640"; + content: '\e640'; } .icon-recharge:before { - content: "\e799"; + content: '\e799'; } .icon-marketing:before { - content: "\e765"; + content: '\e765'; } .icon-goods-sku:before { - content: "\e6d7"; + content: '\e6d7'; } .icon-store:before { - content: "\e62b"; + content: '\e62b'; } .icon-goods-store:before { - content: "\e6c6"; + content: '\e6c6'; } .icon-storer:before { - content: "\e64a"; + content: '\e64a'; } .icon-order:before { - content: "\e737"; + content: '\e737'; } .icon-permission:before { - content: "\e612"; + content: '\e612'; } .icon-goods:before { - content: "\e889"; + content: '\e889'; } .icon-menu:before { - content: "\e60e"; + content: '\e60e'; } .icon-dict-type:before { - content: "\e652"; + content: '\e652'; } .icon-dictionary:before { - content: "\e600"; + content: '\e600'; } .icon-role:before { - content: "\e604"; + content: '\e604'; } .icon-fullscreen:before { - content: "\e8fa"; + content: '\e8fa'; } .icon-exit-fullscreen:before { - content: "\e8fb"; + content: '\e8fb'; } .icon-table:before { - content: "\e615"; + content: '\e615'; } .icon-test:before { - content: "\e610"; + content: '\e610'; } .icon-lang:before { - content: "\e649"; + content: '\e649'; } .icon-demo:before { - content: "\e6ee"; + content: '\e6ee'; } .icon-size:before { - content: "\e660"; + content: '\e660'; } - diff --git a/sub-admin/src/assets/fonts/iconfont.js b/sub-admin/src/assets/fonts/iconfont.js index 0c8b2d7..af9a4d8 100644 --- a/sub-admin/src/assets/fonts/iconfont.js +++ b/sub-admin/src/assets/fonts/iconfont.js @@ -1 +1,65 @@ -window._iconfont_svg_string_4425172='',(h=>{var c=(l=(l=document.getElementsByTagName("script"))[l.length-1]).getAttribute("data-injectcss"),l=l.getAttribute("data-disable-injectsvg");if(!l){var a,t,v,o,i,z=function(c,l){l.parentNode.insertBefore(c,l)};if(c&&!h.__iconfont__svg__cssinject__){h.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(c){console&&console.log(c)}}a=function(){var c,l=document.createElement("div");l.innerHTML=h._iconfont_svg_string_4425172,(l=l.getElementsByTagName("svg")[0])&&(l.setAttribute("aria-hidden","true"),l.style.position="absolute",l.style.width=0,l.style.height=0,l.style.overflow="hidden",l=l,(c=document.body).firstChild?z(l,c.firstChild):c.appendChild(l))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(a,0):(t=function(){document.removeEventListener("DOMContentLoaded",t,!1),a()},document.addEventListener("DOMContentLoaded",t,!1)):document.attachEvent&&(v=a,o=h.document,i=!1,s(),o.onreadystatechange=function(){"complete"==o.readyState&&(o.onreadystatechange=null,m())})}function m(){i||(i=!0,v())}function s(){try{o.documentElement.doScroll("left")}catch(c){return void setTimeout(s,50)}m()}})(window); \ No newline at end of file +(window._iconfont_svg_string_4425172 = + ''), + ((h) => { + var c = (l = (l = document.getElementsByTagName('script'))[l.length - 1]).getAttribute('data-injectcss'), + l = l.getAttribute('data-disable-injectsvg'); + if (!l) { + var a, + t, + v, + o, + i, + z = function (c, l) { + l.parentNode.insertBefore(c, l); + }; + if (c && !h.__iconfont__svg__cssinject__) { + h.__iconfont__svg__cssinject__ = !0; + try { + document.write( + '' + ); + } catch (c) { + console && console.log(c); + } + } + (a = function () { + var c, + l = document.createElement('div'); + (l.innerHTML = h._iconfont_svg_string_4425172), + (l = l.getElementsByTagName('svg')[0]) && + (l.setAttribute('aria-hidden', 'true'), + (l.style.position = 'absolute'), + (l.style.width = 0), + (l.style.height = 0), + (l.style.overflow = 'hidden'), + (l = l), + (c = document.body).firstChild ? z(l, c.firstChild) : c.appendChild(l)); + }), + document.addEventListener + ? ~['complete', 'loaded', 'interactive'].indexOf(document.readyState) + ? setTimeout(a, 0) + : ((t = function () { + document.removeEventListener('DOMContentLoaded', t, !1), a(); + }), + document.addEventListener('DOMContentLoaded', t, !1)) + : document.attachEvent && + ((v = a), + (o = h.document), + (i = !1), + s(), + (o.onreadystatechange = function () { + 'complete' == o.readyState && ((o.onreadystatechange = null), m()); + })); + } + function m() { + i || ((i = !0), v()); + } + function s() { + try { + o.documentElement.doScroll('left'); + } catch (c) { + return void setTimeout(s, 50); + } + m(); + } + })(window); diff --git a/sub-admin/src/assets/svgs/tree.svg b/sub-admin/src/assets/svgs/tree.svg deleted file mode 100644 index dd4b7dd..0000000 --- a/sub-admin/src/assets/svgs/tree.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/sub-admin/src/assets/svgs/user.svg b/sub-admin/src/assets/svgs/user.svg deleted file mode 100644 index 0ba0716..0000000 --- a/sub-admin/src/assets/svgs/user.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/sub-admin/src/assets/svgs/vite.svg b/sub-admin/src/assets/svgs/vite.svg deleted file mode 100644 index e7b8dfb..0000000 --- a/sub-admin/src/assets/svgs/vite.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/sub-admin/src/assets/svgs/wechat.svg b/sub-admin/src/assets/svgs/wechat.svg deleted file mode 100644 index c586e55..0000000 --- a/sub-admin/src/assets/svgs/wechat.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/sub-admin/src/layouts/component/Breadcrumb/index.vue b/sub-admin/src/layouts/component/Breadcrumb/index.vue index 2a42b29..c5d1343 100644 --- a/sub-admin/src/layouts/component/Breadcrumb/index.vue +++ b/sub-admin/src/layouts/component/Breadcrumb/index.vue @@ -41,4 +41,4 @@ const matched = computed(() => route.matched.filter((item) => item.meta && item. @include flex-row(); align-items: center; } - \ No newline at end of file + diff --git a/sub-admin/src/router/index.js b/sub-admin/src/router/index.js index f64dc96..cdfc2bb 100644 --- a/sub-admin/src/router/index.js +++ b/sub-admin/src/router/index.js @@ -2,10 +2,10 @@ * @Description: router * @Author: zenghua.wang * @Date: 2023-06-20 11:48:41 - * @LastEditors: zenghua.wang “1048523306@qq.com” - * @LastEditTime: 2025-01-20 10:11:57 + * @LastEditors: zenghua.wang + * @LastEditTime: 2025-01-25 10:20:40 */ -import { createRouter, createWebHistory, createWebHashHistory } from 'vue-router'; +import { createRouter, createWebHistory } from 'vue-router'; import { qiankunWindow } from 'vite-plugin-qiankun/dist/helper'; import Layout from '@/layouts/index.vue'; @@ -55,7 +55,6 @@ export const notFoundRouter = { const router = createRouter({ history: createWebHistory(qiankunWindow.__POWERED_BY_QIANKUN__ ? `/${VITE_APP_NAME}/` : '/'), // history - // history: createWebHashHistory(), // hash routes: constantRoutes, }); diff --git a/sub-admin/src/views/demo/svg.vue b/sub-admin/src/views/demo/svg.vue index f82ae9b..8ac4f7f 100644 --- a/sub-admin/src/views/demo/svg.vue +++ b/sub-admin/src/views/demo/svg.vue @@ -1,5 +1,5 @@