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
50d64689
Commit
50d64689
authored
Jun 04, 2019
by
zhanghaozhe
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'my' into coupons
parents
a432fc73
9849bca0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
13 deletions
+27
-13
src/components/my/index.js
+27
-13
No files found.
src/components/my/index.js
View file @
50d64689
import
React
,
{
Component
}
from
'react'
;
import
React
,
{
Pure
Component
}
from
'react'
;
import
{
Flex
,
WhiteSpace
,
NavBar
,
List
}
from
'antd-mobile'
;
import
{
Flex
,
WhiteSpace
,
NavBar
,
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
{
Link
}
from
"react-router-dom"
;
// import UnVip from './image/unVIP.png';
// import UnVip from './image/unVIP.png';
const
Item
=
List
.
Item
;
const
Item
=
List
.
Item
;
const
Brief
=
Item
.
Brief
;
const
Brief
=
Item
.
Brief
;
class
My
extends
Component
{
class
My
extends
Pure
Component
{
render
()
{
render
()
{
return
(
return
(
...
@@ -37,8 +40,9 @@ class My extends Component {
...
@@ -37,8 +40,9 @@ class My extends Component {
arrow
=
"horizontal"
arrow
=
"horizontal"
multipleLine
multipleLine
thumb
=
{
Avatar
}
thumb
=
{
Avatar
}
onClick
=
{()
=>
{
}}
>
onClick
=
{()
=>
{
<
Brief
style
=
{{
fontSize
:
"18px"
}}
>
}}
>
<
Brief
style
=
{{
fontSize
:
"18px"
}}
>
xuan
先生
xuan
先生
<
img
src
=
{
Vip
}
alt
=
""
/>
<
img
src
=
{
Vip
}
alt
=
""
/>
<
/Brief
>
<
/Brief
>
...
@@ -50,39 +54,49 @@ class My extends Component {
...
@@ -50,39 +54,49 @@ class My extends Component {
<
List
>
<
List
>
<
Item
<
Item
arrow
=
"horizontal"
arrow
=
"horizontal"
onClick
=
{()
=>
{
}}
onClick
=
{()
=>
{
}}
>
>
<
i
className
=
"iconfont iconiconfront-27"
><
/i
>
<
i
className
=
"iconfont iconiconfront-27"
><
/i
>
已购课程
已购课程
<
/Item
>
<
/Item
>
<
Item
<
Item
arrow
=
"horizontal"
arrow
=
"horizontal"
onClick
=
{()
=>
{
}}
onClick
=
{()
=>
{
}}
>
>
<
i
className
=
"iconfont icongouwuche"
><
/i
>
<
i
className
=
"iconfont icongouwuche"
><
/i
>
购物车
购物车
<
/Item
>
<
/Item
>
<
Item
<
Item
arrow
=
"horizontal"
arrow
=
"horizontal"
onClick
=
{()
=>
{
}}
onClick
=
{()
=>
{
}}
>
>
<
i
className
=
"iconfont iconiconfront-24"
><
/i
>
<
i
className
=
"iconfont iconiconfront-24"
><
/i
>
课程订单
课程订单
<
/Item
>
<
/Item
>
<
Item
<
Item
arrow
=
"horizontal"
arrow
=
"horizontal"
onClick
=
{()
=>
{
}}
>
>
<
Link
to
=
{{
pathname
:
'/use-coupons'
,
state
:
{
from
:
this
.
props
.
location
.
pathname
}
}}
>
<
i
className
=
"iconfont iconiconfront-52"
><
/i
>
<
i
className
=
"iconfont iconiconfront-52"
><
/i
>
优惠券
优惠券
<
/Link
>
<
/Item
>
<
/Item
>
<
/List
>
<
/List
>
<
List
renderHeader
=
{()
=>
''
}
>
<
List
renderHeader
=
{()
=>
''
}
>
<
Item
<
Item
arrow
=
"horizontal"
arrow
=
"horizontal"
onClick
=
{()
=>
{
}}
onClick
=
{()
=>
{
}}
>
>
<
i
className
=
"iconfont iconiconfront-51"
><
/i
>
<
i
className
=
"iconfont iconiconfront-51"
><
/i
>
赚奖学金
赚奖学金
...
@@ -90,11 +104,11 @@ class My extends Component {
...
@@ -90,11 +104,11 @@ class My extends Component {
<
/List
>
<
/List
>
<
/Flex.Item
>
<
/Flex.Item
>
<
/Flex
>
<
/Flex
>
<
WhiteSpace
size
=
"lg"
/>
<
WhiteSpace
size
=
"lg"
/>
<
/div
>
<
/div
>
)
)
}
}
}
}
export
default
My
;
export
default
WithTab
(
My
);
\ No newline at end of file
\ No newline at end of file
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