diff --git a/index.html b/index.html index 2b11570..7e3e725 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ - + <%= title %> @@ -17,7 +17,7 @@
- + logo
diff --git a/public/favicon.png b/public/favicon.png new file mode 100644 index 0000000..929c58a Binary files /dev/null and b/public/favicon.png differ diff --git a/public/resource/loading.css b/public/resource/loading.css index 443a4f1..5194db5 100644 --- a/public/resource/loading.css +++ b/public/resource/loading.css @@ -10,12 +10,6 @@ height: 100%; } -.loading-svg { - width: 128px; - height: 128px; - color: var(--primary-color); -} - .loading-spin__container { width: 56px; height: 56px; diff --git a/public/resource/loading.js b/public/resource/loading.js index 92e8bf7..5740fde 100644 --- a/public/resource/loading.js +++ b/public/resource/loading.js @@ -1,17 +1,3 @@ -/** - * 初始化加载效果的svg格式logo - * @param {string} id - 元素id - */ - function initSvgLogo(id) { - const svgStr = `` - const appEl = document.querySelector(id) - const div = document.createElement('div') - div.innerHTML = svgStr - if (appEl) { - appEl.appendChild(div) - } -} - function addThemeColorCssVars() { const key = '__THEME_COLOR__' const defaultColor = '#316c72' @@ -21,5 +7,3 @@ function addThemeColorCssVars() { } addThemeColorCssVars() - -initSvgLogo('#loadingLogo') diff --git a/public/resource/logo.png b/public/resource/logo.png new file mode 100644 index 0000000..187ff0b Binary files /dev/null and b/public/resource/logo.png differ diff --git a/src/assets/images/logo.png b/src/assets/images/logo.png new file mode 100644 index 0000000..187ff0b Binary files /dev/null and b/src/assets/images/logo.png differ diff --git a/src/layout/components/sidebar/components/SideLogo.vue b/src/layout/components/sidebar/components/SideLogo.vue index 999cf3c..2b4082f 100644 --- a/src/layout/components/sidebar/components/SideLogo.vue +++ b/src/layout/components/sidebar/components/SideLogo.vue @@ -1,6 +1,6 @@