From e0f4a8fc2ecaa5d7a8c5c9543644716700f1825f Mon Sep 17 00:00:00 2001 From: Qiuxia Fan Date: Mon, 28 Mar 2022 12:08:08 +0800 Subject: [PATCH] update side bar --- src/assets/icons/version.svg | 15 +++ src/components/Icon.vue | 4 +- src/layout/components/SideBar.vue | 207 +++++++++++++++--------------- src/styles/reset.scss | 18 +++ vue.config.js | 2 +- 5 files changed, 138 insertions(+), 108 deletions(-) create mode 100644 src/assets/icons/version.svg diff --git a/src/assets/icons/version.svg b/src/assets/icons/version.svg new file mode 100644 index 00000000..fba69678 --- /dev/null +++ b/src/assets/icons/version.svg @@ -0,0 +1,15 @@ + + \ No newline at end of file diff --git a/src/components/Icon.vue b/src/components/Icon.vue index e7805416..7848aacc 100644 --- a/src/components/Icon.vue +++ b/src/components/Icon.vue @@ -55,8 +55,8 @@ defineProps({ } &.lg { - width: 24px; - height: 24px; + width: 22px; + height: 22px; } &.loading { diff --git a/src/layout/components/SideBar.vue b/src/layout/components/SideBar.vue index 1316cdef..cacd8502 100644 --- a/src/layout/components/SideBar.vue +++ b/src/layout/components/SideBar.vue @@ -13,93 +13,95 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -->