Skip to content

Commit 7df8c3f

Browse files
authored
publish beta2 version (#151)
1 parent 78feb7c commit 7df8c3f

File tree

8 files changed

+16
-4
lines changed

8 files changed

+16
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lin-cms",
3-
"version": "0.1.0-beta.1",
3+
"version": "0.1.0-beta.2",
44
"private": true,
55
"scripts": {
66
"serve": "node script/plugin-get-config.js && vue-cli-service serve",

public/index.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@
2121
align-items: center;
2222
transition: display 1s ease .5s;
2323
}
24+
.loader-logo {
25+
width: 60px;
26+
height: 98px;
27+
position: fixed;
28+
left: 30px;
29+
}
2430
.spinner {
2531
position: relative;
2632
line-height: 0;
@@ -90,6 +96,7 @@
9096

9197
<div id="loader">
9298
<div class="spinner spinner--rotate-square-2"></div>
99+
<img src="./static/img/logo.png" alt="" class="loader-logo">
93100
</div>
94101
<div id="app"></div>
95102
<!-- built files will be auto injected -->

public/static/img/logo.png

12.4 KB
Loading

src/components/layout/BackTop.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,5 +72,9 @@ export default {
7272
line-height: 50px;
7373
z-index: 3;
7474
color: $theme;
75+
opacity: 0.7;
76+
&:hover{
77+
opacity: 1;
78+
}
7579
}
7680
</style>

src/components/layout/SideBar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<div class="mobile-logo" v-else>
77
<img src="../../assets/img/mobile-logo.png" alt="">
88
</div>
9-
<div>
9+
<div style="margin-bottom:50px">
1010
<el-menu
1111
class="el-menu-vertical-demo"
1212
ref="meun"

src/config/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const Config = {
2-
baseUrl: 'localhost:5000',
2+
baseUrl: 'http://localhost:5000/',
33
stagnateTime: 1 * 60 * 60 * 1000, // 无操作停滞时间 默认1小时
44
openAutoJumpOut: true, // 是否开启无操作跳出
55
notLoginRoute: ['login'], // 无需登录即可访问的路由 name,

src/store/mutations.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export default {
88

99
[types.REMOVE_LOGINED](state) {
1010
state.logined = false
11+
state.user = null
1112
},
1213

1314
[types.SET_USER](state, payload) {

src/views/home/Home.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<menu-tab></menu-tab>
2525
<app-main ref="appMain"></app-main>
2626
</el-main>
27-
<back-top :right="50" :bottom="50" :fontSize="24"></back-top>
27+
<back-top :right="50" :bottom="50" :fontSize="34"></back-top>
2828
</el-container>
2929
</el-container>
3030
</div>

0 commit comments

Comments
 (0)