Commit 3f23c4340aeb53d629cf9a205b8efca4e107e8bc

Authored by 杨泽宇
1 parent 22109ef8

调整样式

README.md
... ... @@ -28,6 +28,7 @@ cnlive-community-web-vue 中国网+智慧社区平台
28 28 + test.community.api.cnlive.com
29 29 + test.community.web.cnlive.com
30 30 + 服务器地址:120.92.119.11
  31 + + 服务器项目位置:cd /cnlive/cnlive-community-web-vue
31 32 + 账号:root
32 33 + 密码:du=K0dB1z
33 34  
... ... @@ -36,6 +37,7 @@ cnlive-community-web-vue 中国网+智慧社区平台
36 37 ## 发布方式
37 38  
38 39 ## 试用地址
  40 + * [测试环境](http://test.community.web.cnlive.com/#/dashboard "测试环境")
39 41  
40 42 ## 参考文档
41 43 + [项目仓库](http://bj.gitlab.cnlive.com/cnlive_project/cnlive-community-web-vue "项目仓库")
... ...
src/App.vue
... ... @@ -32,6 +32,5 @@
32 32 -moz-osx-font-smoothing: grayscale;
33 33 text-align: center;
34 34 color: #2c3e50;
35   - overflow: hidden;
36 35 }
37 36 </style>
... ...
src/layout/enter.vue
... ... @@ -26,16 +26,14 @@ let key = ref(&quot;/&quot;);
26 26 class="view-container"
27 27 :class="store.family.appStore().isCollapse ? 'thinMenu' : 'fatMenu'"
28 28 >
29   - <el-scrollbar wrap-class="scrollbar-wrapper">
30   - <router-view v-slot="{ Component, route }">
31   - <transition :name="route.meta.transitionName">
32   - <keep-alive v-if="route.meta.keepAlive">
33   - <component :is="Component" />
34   - </keep-alive>
35   - <component :is="Component" v-else />
36   - </transition>
37   - </router-view>
38   - </el-scrollbar>
  29 + <router-view v-slot="{ Component, route }">
  30 + <transition :name="route.meta.transitionName">
  31 + <keep-alive v-if="route.meta.keepAlive">
  32 + <component :is="Component" />
  33 + </keep-alive>
  34 + <component :is="Component" v-else />
  35 + </transition>
  36 + </router-view>
39 37 </div>
40 38 <!-- TIP 右侧具体页面内容结束 -->
41 39 </div>
... ...
src/style/menu.scss
... ... @@ -2,11 +2,10 @@
2 2 .main-container {
3 3 *zoom: 1; position: relative;
4 4 .sidebar-container {
5   - width: $sideBarWidth;
6 5 height: 100vh;
7 6 position: fixed;
8 7 left: 0;
9   - top: 60px;
  8 + padding-top: 60px;
10 9 }
11 10 .view-container {
12 11 height: 100vh;
... ...