Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
A
admin-base
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
new-sing
admin-base
Commits
f7ad327c
Commit
f7ad327c
authored
Sep 10, 2018
by
王
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去除tab/home注释开发中...
parent
7c9b1052
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
12 deletions
+11
-12
headIndex.vue
src/components/framework/headIndex.vue
+4
-1
index.vue
src/components/framework/index.vue
+2
-2
dialog.vue
src/components/lesson/dialog.vue
+2
-7
index.vue
src/components/login/index.vue
+1
-1
index.vue
src/components/main/index.vue
+2
-1
No files found.
src/components/framework/headIndex.vue
View file @
f7ad327c
<
template
>
<div
class=
"head-index"
>
<img
class=
"logo"
:src=
"iconUrl"
/>
{{
$store
.
state
.
userName
}}
<img
class=
"logo"
:src=
"iconUrl"
@
click=
"toHome"
/>
{{
$store
.
state
.
userName
}}
<div
class=
"fl-r"
>
<el-button
round
size=
"mini"
@
click=
"logOut"
>
退出登录
</el-button>
</div>
...
...
@@ -33,6 +33,9 @@
}).
catch
(()
=>
{
});
},
toHome
(){
this
.
$router
.
push
({
name
:
'first'
})
}
}
}
...
...
src/components/framework/index.vue
View file @
f7ad327c
...
...
@@ -12,7 +12,7 @@
</transition>
<div
class=
"content"
>
<div
class=
"router-block"
>
<
tab/
>
<
!--
<tab/>
--
>
<transition
name=
"el-fade-in-linear"
>
<keep-alive>
<router-view
class=
"child-view"
v-loading=
"$store.state.mainLoad"
/>
...
...
@@ -67,7 +67,7 @@
position: relative;
.child-view{
position: absolute;
top:
42px
;
top:
0
;
height: auto;
left: 0;
bottom:0;
...
...
src/components/lesson/dialog.vue
View file @
f7ad327c
...
...
@@ -287,13 +287,8 @@
this
.
$store
.
dispatch
(
'setProgress'
,{
type
:
'new'
,
id
:
a
.
file
.
uid
});
this
.
fileUid
=
a
.
file
.
uid
;
uploadFileApi
({
file
:
a
.
file
,
type
:
'local'
}).
then
(
res
=>
{
if
(
this
.
form
.
goods_desc
.
img
){
this
.
form
.
goods_desc
.
img
[
0
]
=
{
name
:
res
.
url
,
url
:
process
.
env
.
IMAGE_URL_HEAD
+
res
.
url
,
title
:
''
,
lable
:
''
}
}
else
{
this
.
form
.
goods_desc
.
img
=
[];
this
.
form
.
goods_desc
.
img
[
0
]
=
{
name
:
res
.
url
,
url
:
process
.
env
.
IMAGE_URL_HEAD
+
res
.
url
,
title
:
''
,
lable
:
''
}
}
this
.
form
.
cover
=
process
.
env
.
IMAGE_URL_HEAD
+
res
.
url
;
this
.
imageList
[
0
]
=
{
name
:
res
.
url
,
url
:
process
.
env
.
IMAGE_URL_HEAD
+
res
.
url
,
title
:
''
,
lable
:
''
};
})
}
},
...
...
src/components/login/index.vue
View file @
f7ad327c
...
...
@@ -52,7 +52,7 @@
loginApi
(
json
).
then
(
res
=>
{
this
.
$store
.
dispatch
(
'setToken'
,
res
.
token
);
this
.
$store
.
dispatch
(
'setUserName'
,
res
.
user_name
);
this
.
$router
.
push
({
name
:
'
index
'
})
this
.
$router
.
push
({
name
:
'
resources
'
})
})
}
})
...
...
src/components/main/index.vue
View file @
f7ad327c
<
template
>
<div
class=
"index"
>
<!-- 组件有两个属性 value 传入内容双向绑定 setting传入配置信息 -->
<img
:src=
"indexImg"
class=
"indexImg"
/>
<!--
<img
:src=
"indexImg"
class=
"indexImg"
/>
-->
<div
style=
"text-align: center;margin-top: 5%;"
>
正在开发中...
</div>
</div>
</
template
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment