Skip to content

Commit 3fa10b9

Browse files
Changed main logo
1 parent 1b45e39 commit 3fa10b9

File tree

4 files changed

+16
-9
lines changed

4 files changed

+16
-9
lines changed

vue/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import Vue from 'vue'
2-
import App from './App.vue'
2+
import App from './app.vue'
33
import iView from 'iview'
44
import {router} from './router/index';
55
//import 'iview/dist/styles/iview.css';

vue/src/store/modules/app.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ interface AppState{
1010
cachePage:Array<any>;
1111
lang:string;
1212
isFullScreen: boolean;
13-
openedSubmenuArr: Array<any>; // 要展开的菜单数组
14-
menuTheme: string; // 主题
13+
openedSubmenuArr: Array<any>;
14+
menuTheme: string;
1515
themeColor: string,
1616
pageOpenedList:Array<any>;
1717
currentPageName: string;
18-
currentPath:Array<any>; // 面包屑数组
18+
currentPath:Array<any>;
1919
menuList: Array<any>;
2020
routers:Array<any>;
2121
tagsList: Array<any>;
@@ -29,8 +29,8 @@ class AppModule implements Module<AppState,any>{
2929
cachePage: [],
3030
lang: '',
3131
isFullScreen: false,
32-
openedSubmenuArr: [], // 要展开的菜单数组
33-
menuTheme: 'dark', // 主题
32+
openedSubmenuArr: [],
33+
menuTheme: 'dark',
3434
themeColor: '',
3535
pageOpenedList: [{
3636
meta:{title: 'HomePage'},
@@ -44,7 +44,7 @@ class AppModule implements Module<AppState,any>{
4444
path: '',
4545
name: 'home'
4646
}
47-
], // 面包屑数组
47+
],
4848
menuList: [],
4949
routers: [
5050
otherRouters,
@@ -53,7 +53,7 @@ class AppModule implements Module<AppState,any>{
5353
tagsList: [...otherRouters.children],
5454
messageCount: 0,
5555
dontCache: [],
56-
noticeList:[{read:false,type:0,title:'第一条通知',description:'一天前'},{read:false,type:1},{read:false,type:0,title:'第二条通知',description:'一月前'}]
56+
noticeList:[{read:false,type:0,title:'First notice',description:'One day ago'},{read:false,type:1},{read:false,type:0,title:'Second notice',description:'One month ago'}]
5757
};
5858
mutations= {
5959
logout(state:AppState){

vue/src/views/main.less

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,13 @@
266266
display: inline-block;
267267
vertical-align: middle;
268268
}
269+
i{
270+
height: 64px;
271+
width: auto;
272+
display: inline-block;
273+
vertical-align: middle;
274+
padding: 16px 0px 16px 24px;
275+
}
269276
}
270277
.page-body{
271278
margin: 8px;

vue/src/views/main.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
:menu-list="menuList">
1414
<div slot="top" class="logo-con">
1515
<a>
16-
<img src="../images/logo-min.jpg" key="min-logo" />
16+
<Icon type="cube" size="32"></Icon>
1717
<h1 >{{L('AppName')}}</h1>
1818
</a>
1919

0 commit comments

Comments
 (0)