File tree Expand file tree Collapse file tree 4 files changed +59
-5
lines changed
Expand file tree Collapse file tree 4 files changed +59
-5
lines changed Original file line number Diff line number Diff line change 1+ <template >
2+ <div class =" header_container" >
3+
4+ <el-breadcrumb separator =" /" >
5+ <el-breadcrumb-item :to =" { path: '/' }" >首页</el-breadcrumb-item >
6+ <el-breadcrumb-item >活动管理</el-breadcrumb-item >
7+ <el-breadcrumb-item >活动列表</el-breadcrumb-item >
8+ <el-breadcrumb-item >活动详情</el-breadcrumb-item >
9+ </el-breadcrumb >
10+ <el-dropdown @command =" handleCommand" menu-align =' start' >
11+ <img src =" ../assets/img/avator.jpg" class =" avator" >
12+ <el-dropdown-menu slot =" dropdown" >
13+ <el-dropdown-item command =" home" >首页</el-dropdown-item >
14+ <el-dropdown-item command =" singout" >退出</el-dropdown-item >
15+ </el-dropdown-menu >
16+ </el-dropdown >
17+ </div >
18+ </template >
19+
20+ <script >
21+ export default {
22+ methods: {
23+ handleCommand (command ) {
24+ this .$message (command);
25+ }
26+ }
27+ }
28+ </script >
29+
30+ <style lang="less">
31+ @import ' ../style/mixin' ;
32+ .header_container {
33+ background-color : #EFF2F7 ;
34+ height : 60px ;
35+ display : flex ;
36+ justify-content : space-between ;
37+ align-items : center ;
38+ padding-left : 20px ;
39+ }
40+ .avator {
41+ .wh (36px , 36px );
42+ border-radius : 50% ;
43+ margin-right : 30px ;
44+ }
45+ .el-dropdown-menu__item {
46+ text-align : center ;
47+ }
48+ </style >
Original file line number Diff line number Diff line change 11<template >
2- <div class =" fillcontain" >
3- home
2+ <div class =" fillcontain home_page " >
3+ < head-top ></ head-top >
44 </div >
55</template >
66
77<script >
8+ import headTop from ' ../components/headTop'
89 export default {
9-
10+ components: {
11+ headTop,
12+ }
1013 }
1114 </script >
1215
1316<style lang="less">
1417 @import ' ../style/mixin' ;
18+ .home_page {
19+
20+ }
1521 </style >
Original file line number Diff line number Diff line change 11<template >
2- <div class =" home_page fillcontain" >
2+ <div class =" manage_page fillcontain" >
33 <el-row style =" height : 100% ;" >
44 <el-col :span =" 4" style =" min-height : 100% ; background-color : #324057 ;" >
55 <el-menu default-active =" manage" style =" min-height : 100% ;" theme =" dark" router >
5353
5454<style lang="less" scoped>
5555 @import ' ../style/mixin' ;
56- .home_page {
56+ .manage_page {
5757
5858 }
5959 </style >
You can’t perform that action at this time.
0 commit comments