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. 109
      src/views/subfile/index.vue

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

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

1
src/styles/element-ui.scss

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

2
src/views/filemange/index.vue

@ -29,7 +29,7 @@
width="auto"> width="auto">
<template slot-scope="scope"> <template slot-scope="scope">
<div class="type_file_click"> <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"> <a :href="'#/filemange/subfile?id='+scope.row.id">
<!-- <el-button type="warning" icon="el-icon-notebook-1">{{scope.row.name}}</el-button> --> <!-- <el-button type="warning" icon="el-icon-notebook-1">{{scope.row.name}}</el-button> -->
<img src="../../common/img/file.png" alt="图片"/> <img src="../../common/img/file.png" alt="图片"/>

109
src/views/subfile/index.vue

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