Browse Source

样式优化

pixel 5 years ago
parent
commit
a87454e1d8
3 changed files with 11 additions and 2 deletions
  1. BIN
      QMPlusVuePage/src/assets/logo.png
  2. 10 1
      QMPlusVuePage/src/view/layout/index.vue
  3. 1 1
      README.md

BIN
QMPlusVuePage/src/assets/logo.png


+ 10 - 1
QMPlusVuePage/src/view/layout/index.vue

@@ -1,7 +1,9 @@
 <template>
   <el-container class="layout-cont">
     <el-header class="header-cont">
-      <h1 class="fl-left">QMPlus gin-vue-admin</h1>
+      <h1 class="fl-left left-box">
+        <img :src="require('@/assets/logo.png')" height="40" width="40">
+        Gin-Vue-Admin</h1>
       <div class="fl-right right-box">
         <el-dropdown>
           <span class="el-dropdown-link">
@@ -52,6 +54,7 @@ export default {
     Aside
   },
   methods: {
+    
     ...mapMutations('user', ['LoginOut']),
     totalCollapse() {
       this.$bus.emit('totalCollapse')
@@ -85,6 +88,12 @@ $mainHight: calc(100vh - 52px);
   padding-bottom: 17px;
 }
 .layout-cont {
+  .left-box{
+    vertical-align: middle;
+    img{
+      vertical-align: middle;
+    }
+  }
   .right-box {
     text-align: center;
     vertical-align: middle;

+ 1 - 1
README.md

@@ -11,7 +11,7 @@
 </div>
 
 
-# QMPlus gin+vue开源快速项目模板
+# gin-vue-admin gin+vue开源快速项目模板
 
 ## 写在前面
     本项目主要是小弟在接各种私活的时候发现频繁得书写CURD、权限管理、用户管理、列表、分页、上传下载、日志包封装、文档自动化等等功能