Browse Source

修改, 优化

master
wen 2 years ago
parent
commit
3e55ab3e5c
  1. 7
      src/layout/components/Sidebar/index.vue
  2. 1
      src/styles/element-ui.scss
  3. 2
      src/views/filemange/index.vue
  4. 115
      src/views/subfile/index.vue

7
src/layout/components/Sidebar/index.vue

@ -1,6 +1,7 @@ @@ -1,6 +1,7 @@
<template>
<div :class="{'has-logo':showLogo}">
<logo v-if="showLogo" :collapse="isCollapse" />
<!-- <logo v-if="showLogo" :collapse="isCollapse" /> -->
<div>gergerg</div>
<el-scrollbar wrap-class="scrollbar-wrapper">
<el-menu
:default-active="activeMenu"
@ -27,7 +28,7 @@ @@ -27,7 +28,7 @@
import { mapGetters } from 'vuex'
import EventBus from '@/utils/EventBus.js'
import Logo from './Logo'
//import Logo from './Logo'
import SidebarItem from './SidebarItem'
import variables from '@/styles/variables.scss'
import menusdata from './leftMenusData.js'
@ -35,7 +36,7 @@ import { mirlist } from '@/api/user' @@ -35,7 +36,7 @@ import { mirlist } from '@/api/user'
//console.log(menusdata);
export default {
components: { SidebarItem, Logo },
components: { SidebarItem },
created: function () {
this.getmunusdata();

1
src/styles/element-ui.scss

@ -57,4 +57,5 @@ @@ -57,4 +57,5 @@
// 如果是移动端
@media (max-width: 990px) {
.el-dialog{width:80%;}
.el-message-box{width:80%;z-index:3000;}
}

2
src/views/filemange/index.vue

@ -29,7 +29,7 @@ @@ -29,7 +29,7 @@
width="auto">
<template slot-scope="scope">
<div class="type_file_click">
<el-tooltip content="进入子文件夹" placement="bottom-start" effect="light">
<el-tooltip content="点击进入子文件夹" placement="bottom-start" effect="light">
<a :href="'#/filemange/subfile?id='+scope.row.id">
<!-- <el-button type="warning" icon="el-icon-notebook-1">{{scope.row.name}}</el-button> -->
<img src="../../common/img/file.png" alt="图片"/>

115
src/views/subfile/index.vue

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save