Commit 3f23c4340aeb53d629cf9a205b8efca4e107e8bc
1 parent
22109ef8
调整样式
Showing
4 changed files
with
11 additions
and
13 deletions
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
src/layout/enter.vue
| ... | ... | @@ -26,16 +26,14 @@ let key = ref("/"); |
| 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