Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mr-julyedu
Overview
Overview
Details
Activity
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
baiguangyao
mr-julyedu
Commits
a0ece39f
Commit
a0ece39f
authored
Jun 13, 2019
by
xuzhenghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
detail
parent
f2679d5d
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
294 additions
and
57 deletions
+294
-57
src/common/HeaderBar/index.js
+14
-2
src/common/HeaderBar/index.scss
+11
-3
src/common/HeaderSearch/index.js
+1
-1
src/components/classify/index.js
+3
-1
src/components/detail/index.js
+1
-1
src/components/my/edit.js
+110
-0
src/components/my/index.js
+28
-27
src/components/my/index.scss
+109
-0
src/components/myOrders/index.js
+6
-6
src/components/purchased/index.js
+1
-1
src/components/sharePoster/index.js
+1
-1
src/components/shopCart/index.js
+4
-14
src/router/router-config.js
+5
-0
No files found.
src/common/HeaderBar/index.js
View file @
a0ece39f
...
@@ -5,18 +5,30 @@ class HeaderBar extends Component {
...
@@ -5,18 +5,30 @@ class HeaderBar extends Component {
constructor
(
props
)
{
constructor
(
props
)
{
super
(
props
);
super
(
props
);
}
}
goBack
=
()
=>
{
goBack
=
()
=>
{
window
.
history
.
go
(
-
1
);
window
.
history
.
go
(
-
1
);
}
}
goShop
=
()
=>
{
goShop
=
()
=>
{
location
.
replace
(
'/shopcart'
);
location
.
replace
(
'/shopcart'
);
}
}
render
()
{
render
()
{
return
(
return
(
<
div
className
=
"detail-header"
style
=
{{...
this
.
props
.
style
}}
>
<
div
className
=
"detail-header"
style
=
{{...
this
.
props
.
style
}}
>
<
i
className
=
{
`iconfont
${
this
.
props
.
arrow
?
'iconiconfront-68'
:
''
}
return`
}
onClick
=
{
this
.
goBack
}
><
/i
>
{
this
.
props
.
arrow
&&
<
i
className
=
'iconfont iconiconfront-68'
onClick
=
{
this
.
goBack
}
><
/i
>
}
<
span
className
=
'herder'
>
{
this
.
props
.
title
}
<
/span
>
<
span
className
=
'herder'
>
{
this
.
props
.
title
}
<
/span
>
<
i
className
=
{
`iconfont
${
this
.
props
.
cart
?
'icongouwuche-xianxing'
:
''
}
shopping-cart`
}
onClick
=
{
this
.
goShop
}
><
/i
>
{
this
.
props
.
cart
&&
<
i
className
=
'iconfont icongouwuche-xianxing'
onClick
=
{
this
.
goShop
}
><
/i
>
}
{
this
.
props
.
delete
&&
<
i
className
=
'iconfont iconiconfront-56'
onClick
=
{
this
.
props
.
toDelete
}
><
/i
>
}
<
/div
>
<
/div
>
);
);
}
}
...
...
src/common/HeaderBar/index.scss
View file @
a0ece39f
...
@@ -3,13 +3,21 @@
...
@@ -3,13 +3,21 @@
line-height
:
44px
;
line-height
:
44px
;
padding
:
0
15px
;
padding
:
0
15px
;
background-color
:
$bg_f7f9fc
;
background-color
:
$bg_f7f9fc
;
display
:
flex
;
text-align
:
center
;
justify-content
:
space-between
;
.shopping-cart
,
.return
{
i
{
font-size
:
18px
!
important
;
font-size
:
18px
!
important
;
}
}
i
:nth-of-type
(
1
)
{
float
:
left
;
}
i
:nth-of-type
(
2
)
{
float
:
right
;
}
.herder
{
.herder
{
font-size
:
16px
;
font-size
:
16px
;
color
:
$color_202426
;
color
:
$color_202426
;
...
...
src/common/HeaderSearch/index.js
View file @
a0ece39f
...
@@ -21,7 +21,7 @@ class HeaderBar extends Component {
...
@@ -21,7 +21,7 @@ class HeaderBar extends Component {
onFocus
=
{
this
.
toSearch
.
bind
(
this
)}
onFocus
=
{
this
.
toSearch
.
bind
(
this
)}
showCancelButton
=
{
false
}
showCancelButton
=
{
false
}
/
>
/
>
<
i
className
=
{
'iconfont icongouwuche shopping-cart'
}
><
/i
>
<
i
className
=
{
'iconfont icongouwuche
-xianxing
shopping-cart'
}
><
/i
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
)
)
...
...
src/components/classify/index.js
View file @
a0ece39f
...
@@ -4,6 +4,8 @@ import './index.scss';
...
@@ -4,6 +4,8 @@ import './index.scss';
import
{
http
,
api
}
from
"@/utils"
;
import
{
http
,
api
}
from
"@/utils"
;
import
{
Link
}
from
'react-router-dom'
import
{
Link
}
from
'react-router-dom'
import
{
Toast
}
from
'antd-mobile'
import
{
Toast
}
from
'antd-mobile'
import
{
HeaderBar
}
from
"@/common"
class
Classify
extends
Component
{
class
Classify
extends
Component
{
constructor
(
props
)
{
constructor
(
props
)
{
...
@@ -45,7 +47,7 @@ class Classify extends Component {
...
@@ -45,7 +47,7 @@ class Classify extends Component {
render
()
{
render
()
{
return
(
return
(
<
div
className
=
'class-box'
>
<
div
className
=
'class-box'
>
<
div
className
=
"class-title"
>
分类
<
/div
>
<
HeaderBar
title
=
'分类'
arrow
=
{
false
}
cart
=
{
false
}
><
/HeaderBar
>
<
ClassCourseBox
data
=
{
this
.
state
.
camp
.
list
}
title
=
{
this
.
state
.
camp
.
name
}
type
=
{
1
}
/
>
<
ClassCourseBox
data
=
{
this
.
state
.
camp
.
list
}
title
=
{
this
.
state
.
camp
.
name
}
type
=
{
1
}
/
>
<
ClassCourseBox
data
=
{
this
.
state
.
employment
.
list
}
title
=
{
this
.
state
.
employment
.
name
}
type
=
{
1
}
/
>
<
ClassCourseBox
data
=
{
this
.
state
.
employment
.
list
}
title
=
{
this
.
state
.
employment
.
name
}
type
=
{
1
}
/
>
<
ClassCourseBox
data
=
{
this
.
state
.
basics
.
list
}
title
=
{
this
.
state
.
basics
.
name
}
type
=
{
2
}
/
>
<
ClassCourseBox
data
=
{
this
.
state
.
basics
.
list
}
title
=
{
this
.
state
.
basics
.
name
}
type
=
{
2
}
/
>
...
...
src/components/detail/index.js
View file @
a0ece39f
...
@@ -74,7 +74,7 @@ class Detail extends Component {
...
@@ -74,7 +74,7 @@ class Detail extends Component {
return
(
return
(
<
div
className
=
'detail-box'
>
<
div
className
=
'detail-box'
>
<
ToApp
className
=
'toapp'
toApp
=
{
this
.
toApp
}
><
/ToApp
>
<
ToApp
className
=
'toapp'
toApp
=
{
this
.
toApp
}
><
/ToApp
>
<
HeaderBar
title
=
{
'课程详情'
}
><
/HeaderBar
>
<
HeaderBar
title
=
'课程详情'
arrow
=
{
true
}
cart
=
{
true
}
><
/HeaderBar
>
{
/*弹幕*/
}
{
/*弹幕*/
}
<
Carouselw
><
/Carouselw
>
<
Carouselw
><
/Carouselw
>
{
/*课程*/
}
{
/*课程*/
}
...
...
src/components/my/edit.js
0 → 100644
View file @
a0ece39f
import
React
,
{
PureComponent
}
from
'react'
import
'./index.scss'
import
{
connect
}
from
"react-redux"
import
{
Toast
}
from
'antd-mobile'
import
{
api
,
http
}
from
"@/utils"
import
{
HeaderBar
}
from
"@/common"
class
MyEdut
extends
PureComponent
{
constructor
(
props
)
{
super
(
props
)
this
.
state
=
{
isShow
:
false
,
value
:
''
}
}
// 点击编辑
toEditName
=
()
=>
{
this
.
setState
({
isShow
:
true
,
value
:
''
})
}
// 取消
cancle
=
()
=>
{
this
.
setState
({
isShow
:
false
})
}
// 获取input的值
handleChange
=
(
e
)
=>
{
this
.
setState
({
value
:
e
.
target
.
value
})
}
// 退出登录
outLogin
=
()
=>
{
}
// 确定修改
submit
=
()
=>
{
console
.
log
(
this
.
state
.
value
)
if
(
this
.
state
.
value
.
length
>
12
)
{
Toast
.
info
(
'不超过12个字符'
,
2
)
}
else
if
(
this
.
state
.
value
.
length
===
0
)
{
Toast
.
info
(
'请输入昵称'
,
2
)
}
else
{
let
data
=
{
user_name
:
this
.
state
.
value
}
http
.
post
(
`
${
api
.
home
}
/m/user_info/update`
,
data
).
then
((
res
)
=>
{
if
(
res
.
data
.
code
===
200
)
{
this
.
setState
({
isShow
:
false
})
Toast
.
info
(
'修改成功'
,
2
)
}
else
{
Toast
.
info
(
res
.
data
.
msg
,
2
)
}
})
}
}
render
()
{
const
{
user
}
=
this
.
props
const
username
=
user
&&
user
.
data
&&
user
.
data
.
username
const
avatar
=
user
&&
user
.
data
&&
user
.
data
.
avatar
return
(
<
div
className
=
"edit-name"
>
<
HeaderBar
title
=
'账号'
arrow
=
{
true
}
cart
=
{
false
}
><
/HeaderBar
>
<
div
className
=
'my-mess'
>
<
img
src
=
{
avatar
}
alt
=
""
/>
<
span
className
=
"name"
>
{
username
}
<
/span
>
<
span
onClick
=
{
this
.
toEditName
}
className
=
"edit"
>
编辑
<
/span
>
<
/div
>
<
div
className
=
"out-login"
onClick
=
{
this
.
outLogin
}
>
退出登录
<
/div
>
{
this
.
state
.
isShow
&&
<
div
className
=
"edit-mbc"
>
<
div
className
=
"edit-content"
>
<
div
className
=
"edit-title"
>
修改昵称
<
/div
>
<
input
type
=
"text"
placeholder
=
'请输入昵称(不超过12个字符)'
value
=
{
this
.
state
.
value
}
onChange
=
{
this
.
handleChange
.
bind
(
this
)}
/
>
<
div
className
=
"edit-btn"
>
<
button
className
=
'cancle'
onClick
=
{
this
.
cancle
}
>
取消
<
/button
>
<
button
className
=
'submit'
onClick
=
{
this
.
submit
}
>
确认
<
/button
>
<
/div
>
<
/div
>
<
/div
>
}
<
/div
>
)
}
}
export
default
connect
(
state
=>
({
user
:
state
.
user
}),
null
)(
MyEdut
)
src/components/my/index.js
View file @
a0ece39f
import
React
,
{
PureComponent
}
from
'react'
;
import
React
,
{
PureComponent
}
from
'react'
import
{
Flex
,
WhiteSpace
,
NavBar
,
List
}
from
'antd-mobile'
;
import
{
Flex
,
WhiteSpace
,
List
}
from
'antd-mobile'
import
'./index.scss'
;
import
'./index.scss'
import
Avatar
from
'./image/avatar.png'
;
import
Avatar
from
'./image/avatar.png'
import
Vip
from
'./image/vip.png'
;
import
Vip
from
'./image/vip.png'
import
{
WithTab
}
from
'@/HOCs'
import
{
WithTab
}
from
'@/HOCs'
import
{
Link
}
from
"react-router-dom"
;
import
{
Link
}
from
"react-router-dom"
import
{
connect
}
from
"react-redux"
;
import
{
connect
}
from
"react-redux"
import
{
HeaderBar
}
from
"@/common"
const
Item
=
List
.
Item
;
const
Item
=
List
.
Item
;
const
Brief
=
Item
.
Brief
;
const
Brief
=
Item
.
Brief
;
...
@@ -43,25 +44,26 @@ class My extends PureComponent {
...
@@ -43,25 +44,26 @@ class My extends PureComponent {
<
/List
>
<
/List
>
}
else
{
}
else
{
list
=
<
List
className
=
"my-list"
>
list
=
<
List
className
=
"my-list"
>
<
Item
<
Link
to
=
'/myedit'
>
className
=
"avatar-wrap"
<
Item
arrow
=
"horizontal
"
className
=
"avatar-wrap
"
multipleLine
arrow
=
"horizontal"
thumb
=
{
avatar
}
multipleLine
onClick
=
{()
=>
{
thumb
=
{
avatar
}
}}
>
>
<
Brief
>
<
Brief
>
{
username
}
{
username
}
{
{
isVIP
===
1
&&
isVIP
===
1
&&
<
img
src
=
{
Vip
}
className
=
'vip'
alt
=
""
/>
<
img
src
=
{
Vip
}
className
=
'vip'
alt
=
""
/>
}
}
<
/Brief
>
<
/Brief
>
<
Brief
style
=
{{
fontSize
:
"12px"
}}
>
学号
:
{
uid
}
<
/Brief
>
<
Brief
style
=
{{
fontSize
:
"12px"
}}
>
学号
:
{
uid
}
<
/Brief
>
<
/Item
>
<
/Item
>
<
/Link
>
{
{
isVIP
===
0
&&
(
isVIP
===
0
||
!
isVIP
)
&&
<
div
className
=
"my-isvip"
><
/div
>
<
div
className
=
"my-isvip"
><
/div
>
}
}
<
/List
>
<
/List
>
...
@@ -70,9 +72,8 @@ class My extends PureComponent {
...
@@ -70,9 +72,8 @@ class My extends PureComponent {
<
div
className
=
"flex-container"
>
<
div
className
=
"flex-container"
>
<
Flex
>
<
Flex
>
<
Flex
.
Item
>
<
Flex
.
Item
>
<
NavBar
className
=
"my-tab"
mode
=
"light"
>
<
HeaderBar
title
=
'我的'
arrow
=
{
false
}
cart
=
{
false
}
><
/HeaderBar
>
我的
<
/NavBar
>
{
list
}
{
list
}
<
div
className
=
"am-list-header"
><
/div
>
<
div
className
=
"am-list-header"
><
/div
>
...
...
src/components/my/index.scss
View file @
a0ece39f
...
@@ -128,4 +128,112 @@
...
@@ -128,4 +128,112 @@
background-color
:
transparent
!
important
;
background-color
:
transparent
!
important
;
height
:
0
!
important
;
height
:
0
!
important
;
}
}
}
.edit-name
{
width
:
100%
;
height
:
100%
;
background-color
:
$bg_f5f5f5
;
position
:
relative
;
.my-mess
{
width
:
100%
;
height
:
94px
;
padding
:
0
20px
;
line-height
:
94px
;
font-size
:
16px
;
background-color
:
$bg_fff
;
img
{
width
:
64px
;
height
:
64px
;
border-radius
:
50%
;
margin-right
:
15px
;
vertical-align
:
middle
;
}
.name
{
display
:
inline-block
;
margin-left
:
15px
;
color
:
$color_666
;
}
.edit
{
color
:
$active
;
float
:
right
;
}
}
.out-login
{
width
:
100%
;
height
:
44px
;
background-color
:
$bg_fff
;
line-height
:
44px
;
text-align
:
center
;
font-size
:
16px
;
color
:
$color_333
;
position
:
absolute
;
bottom
:
50px
;
}
.edit-mbc
{
position
:
fixed
;
top
:
0
;
bottom
:
0
;
left
:
0
;
right
:
0
;
background
:
rgba
(
0
,
0
,
0
,
.5
);
.edit-content
{
background-color
:
$bg_fff
;
width
:
300px
;
height
:
135px
;
border-radius
:
5px
;
margin
:
224px
auto
0
auto
;
text-align
:
center
;
padding-top
:
20px
;
.edit-title
{
font-size
:
16px
;
color
:
$color_333
;
height
:
16px
;
line-height
:
16px
;
}
input
{
width
:
240px
;
height
:
30px
;
border
:
1px
solid
$border_ddd
;
border-radius
:
3px
;
padding-left
:
15px
;
margin-top
:
15px
;
}
.edit-btn
{
height
:
40px
;
margin-top
:
15px
;
font-size
:
16px
;
border-top
:
1px
solid
$border_ddd
;
button
{
background-color
:
$bg_fff
;
width
:
50%
;
height
:
100%
;
border
:
none
;
}
.cancle
{
border-right
:
1px
solid
$border_ddd
;
border-radius
:
0
0
0
3px
;
}
.submit
{
color
:
$active
;
border-radius
:
0
0
3px
0
;
}
}
}
}
}
}
\ No newline at end of file
src/components/myOrders/index.js
View file @
a0ece39f
import
React
,
{
Component
}
from
'react'
;
import
React
,
{
Component
}
from
'react'
import
'./index.scss'
;
import
'./index.scss'
import
{
HeaderBar
}
from
'../../common'
import
{
HeaderBar
}
from
'../../common'
import
OrderList
from
'@/common/OrderList'
;
import
OrderList
from
'@/common/OrderList'
import
{
http
,
api
}
from
"@/utils"
;
import
{
http
,
api
}
from
"@/utils"
import
{
Link
}
from
'react-router-dom'
import
{
Link
}
from
'react-router-dom'
import
{
Checkbox
,
NavBar
,
Modal
,
Toast
}
from
'antd-mobile'
import
{
Modal
,
Toast
}
from
'antd-mobile'
const
alert
=
Modal
.
alert
;
const
alert
=
Modal
.
alert
;
...
@@ -61,7 +61,7 @@ class MyOrders extends Component {
...
@@ -61,7 +61,7 @@ class MyOrders extends Component {
return
(
return
(
<
div
className
=
'myorders-box'
>
<
div
className
=
'myorders-box'
>
<
HeaderBar
title
=
{
'我的订单'
}
><
/HeaderBar
>
<
HeaderBar
title
=
'我的订单'
arrow
=
{
true
}
cart
=
{
false
}
><
/HeaderBar
>
{
{
this
.
state
.
data
&&
this
.
state
.
data
.
length
>
0
?
this
.
state
.
data
&&
this
.
state
.
data
.
length
>
0
?
this
.
state
.
data
.
map
((
item
,
index
)
=>
{
this
.
state
.
data
.
map
((
item
,
index
)
=>
{
...
...
src/components/purchased/index.js
View file @
a0ece39f
...
@@ -38,7 +38,7 @@ class Purchased extends Component {
...
@@ -38,7 +38,7 @@ class Purchased extends Component {
const
uid
=
user
&&
user
.
data
&&
user
.
data
.
uid
const
uid
=
user
&&
user
.
data
&&
user
.
data
.
uid
return
(
return
(
<
div
className
=
'purchased-box'
>
<
div
className
=
'purchased-box'
>
<
HeaderBar
title
=
{
'已购课程'
}
><
/HeaderBar
>
<
HeaderBar
title
=
'已购课程'
arrow
=
{
true
}
cart
=
{
false
}
><
/HeaderBar
>
{
{
this
.
state
.
data
&&
this
.
state
.
data
.
length
>
0
?
this
.
state
.
data
&&
this
.
state
.
data
.
length
>
0
?
<
div
className
=
"purchased-body"
>
<
div
className
=
"purchased-body"
>
...
...
src/components/sharePoster/index.js
View file @
a0ece39f
...
@@ -229,7 +229,7 @@ class SharePoster extends Component {
...
@@ -229,7 +229,7 @@ class SharePoster extends Component {
render
()
{
render
()
{
return
(
return
(
<
div
className
=
'share-poster'
>
<
div
className
=
'share-poster'
>
<
HeaderBar
title
=
{
'生成专属海报'
}
><
/HeaderBar
>
<
HeaderBar
title
=
'生成专属海报'
arrow
=
{
true
}
cart
=
{
false
}
><
/HeaderBar
>
<
div
className
=
"total-container"
>
<
div
className
=
"total-container"
>
<
div
className
=
'placard-img-container'
id
=
'imgWrapper'
>
<
div
className
=
'placard-img-container'
id
=
'imgWrapper'
>
<
img
src
=
{
this
.
state
.
billSrc
.
src
}
alt
=
""
/>
<
img
src
=
{
this
.
state
.
billSrc
.
src
}
alt
=
""
/>
...
...
src/components/shopCart/index.js
View file @
a0ece39f
import
React
,
{
Component
}
from
'react'
import
React
,
{
Component
}
from
'react'
import
{
connect
}
from
'react-redux'
import
{
connect
}
from
'react-redux'
import
{
Checkbox
,
NavBar
,
Modal
,
Toast
}
from
'antd-mobile'
import
{
Checkbox
,
Modal
,
Toast
}
from
'antd-mobile'
import
{
HeaderBar
}
from
'../../common'
//组件
//组件
import
ShopCart
from
'./cartList.js'
import
ShopCart
from
'./cartList.js'
...
@@ -126,7 +127,7 @@ class Cart extends Component {
...
@@ -126,7 +127,7 @@ class Cart extends Component {
}
}
// 删除
// 删除
detail
=
()
=>
{
todelete
=
()
=>
{
if
(
this
.
state
.
courseIdarr
.
length
>
0
)
{
if
(
this
.
state
.
courseIdarr
.
length
>
0
)
{
alert
(
''
,
'确定从购物车中删除?'
,
[
alert
(
''
,
'确定从购物车中删除?'
,
[
{
text
:
'取消'
,
onPress
:
()
=>
console
.
log
(
'cancel'
)},
{
text
:
'取消'
,
onPress
:
()
=>
console
.
log
(
'cancel'
)},
...
@@ -155,18 +156,7 @@ class Cart extends Component {
...
@@ -155,18 +156,7 @@ class Cart extends Component {
render
()
{
render
()
{
return
(
return
(
<
div
className
=
"cart-page"
style
=
{{
overflow
:
'hidden'
}}
>
<
div
className
=
"cart-page"
style
=
{{
overflow
:
'hidden'
}}
>
<
NavBar
<
HeaderBar
title
=
'购物车'
arrow
=
{
true
}
cart
=
{
false
}
delete
=
{
true
}
toDelete
=
{
this
.
todelete
}
><
/HeaderBar
>
style
=
{{
"height"
:
"44px"
}}
className
=
"order-tab"
mode
=
"light"
icon
=
{
<
i
style
=
{{
"fontSize"
:
'24px'
}}
className
=
"iconfont iconiconfront-68"
><
/i>
}
rightContent
=
{[
<
i
key
=
"0"
style
=
{{
"fontSize"
:
'24px'
}}
className
=
"iconfont iconiconfront-56"
onClick
=
{
this
.
detail
}
><
/i
>
]}
>
购物车
<
/NavBar
>
<
div
className
=
"cart-body"
>
<
div
className
=
"cart-body"
>
<
ShopCart
checkChange
=
{
this
.
checkChange
.
bind
(
this
)}
data
=
{
this
.
state
.
data
}
/
>
<
ShopCart
checkChange
=
{
this
.
checkChange
.
bind
(
this
)}
data
=
{
this
.
state
.
data
}
/
>
...
...
src/router/router-config.js
View file @
a0ece39f
...
@@ -4,6 +4,7 @@ import loadable from '@loadable/component'
...
@@ -4,6 +4,7 @@ import loadable from '@loadable/component'
import
Index
from
'@/components/Index'
;
import
Index
from
'@/components/Index'
;
import
Classify
from
'@/components/classify'
;
import
Classify
from
'@/components/classify'
;
import
My
from
'@/components/my'
;
import
My
from
'@/components/my'
;
import
MyEdit
from
'@/components/my/edit'
;
import
CourseList
from
'@/components/classify/courselist'
;
import
CourseList
from
'@/components/classify/courselist'
;
import
Order
from
'@/components/order/index'
;
import
Order
from
'@/components/order/index'
;
import
Orderinfo
from
'@/components/order/orderinfo'
;
import
Orderinfo
from
'@/components/order/orderinfo'
;
...
@@ -44,6 +45,10 @@ export default [
...
@@ -44,6 +45,10 @@ export default [
component
:
My
component
:
My
},
},
{
{
path
:
'/myedit'
,
component
:
MyEdit
},
{
path
:
'/courselist'
,
path
:
'/courselist'
,
component
:
CourseList
component
:
CourseList
},
},
...
...
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