Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CFFP-HB
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chao Sun
CFFP-HB
Commits
24298af0
Commit
24298af0
authored
Nov 11, 2022
by
kyle
Browse files
Options
Browse Files
Download
Plain Diff
合并代码
parents
33792b3f
fd1c9544
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
128 additions
and
4 deletions
+128
-4
pages.json
+9
-2
pages/index/index.vue
+1
-1
pages/myPoints/myPoints.vue
+117
-0
pages/personalCenter/personalCenter.vue
+1
-1
No files found.
pages.json
View file @
24298af0
...
...
@@ -148,8 +148,15 @@
"navigationBarTitleText"
:
""
,
"enablePullDownRefresh"
:
false
}
}
},
{
"path"
:
"pages/myPoints/myPoints"
,
"style"
:
{
"navigationBarTitleText"
:
""
,
"enablePullDownRefresh"
:
false
}
}
],
//
"tabBar"
:
{
//
"color"
:
"#7A7E83"
,
//
tab
上的文字默认颜色
...
...
pages/index/index.vue
View file @
24298af0
...
...
@@ -68,7 +68,7 @@
return
{
featureLists
:[
{
key
:
'00'
,
name
:
'销售课程'
,
icon
:
'salesCourse'
,
link
:
''
,
isOpen
:
false
},
{
key
:
'01'
,
name
:
'我的积分'
,
icon
:
'integral'
,
link
:
'
'
,
isOpen
:
fals
e
},
{
key
:
'01'
,
name
:
'我的积分'
,
icon
:
'integral'
,
link
:
'
../myPoints/myPoints'
,
isOpen
:
tru
e
},
{
key
:
'02'
,
name
:
'申请加盟'
,
icon
:
'applyJoin'
,
link
:
'../application-process/basic-info'
,
isOpen
:
true
},
{
key
:
'03'
,
name
:
'学习认证'
,
icon
:
'learningCertify'
,
link
:
'../learnCertify/learnCertify'
,
isOpen
:
true
},
{
key
:
'04'
,
name
:
'邀请加盟'
,
icon
:
'shareJoin'
,
link
:
'../inviteJoin/inviteJoin'
,
isOpen
:
true
},
...
...
pages/myPoints/myPoints.vue
0 → 100644
View file @
24298af0
<
template
>
<view
class=
"container"
>
<view
class=
"top"
>
<view
class=
""
>
<text>
可兑换积分
</text><text>
5555.55积分
</text>
</view>
<view
class=
""
>
<text>
可兑换提现5555.55
</text>
</view>
<ul
class=
"nav"
>
<li
class=
"nav_item"
v-for=
"navItem in navList"
@
click=
"selectNav(navItem)"
:class=
"
{'selected':navItem.id==selectedId}">
{{
navItem
.
name
}}
</li>
</ul>
</view>
<view
class=
"point_content"
>
<view
class=
"title"
>
<h4>
积分明细
</h4>
</view>
<ul
class=
"point_content_list"
>
<li>
课程大类
</li>
<li>
积分来源
</li>
<li>
获得积分
</li>
<li>
操作
</li>
</ul>
<ul
class=
"point_content_list"
v-for=
"pointItem in pointList"
>
<li>
{{
pointItem
.
classify
}}
</li>
<li>
{{
pointItem
.
source
}}
</li>
<li
class=
"get_point"
>
{{
pointItem
.
score
}}
</li>
<li
class=
"point_detail"
>
查看明细
</li>
</ul>
</view>
</view>
</
template
>
<
script
>
export
default
{
data
(){
return
{
navList
:[{
name
:
'日积分'
,
id
:
1
},{
name
:
'月积分'
,
id
:
2
},{
name
:
'年积分'
,
id
:
3
}],
selectedId
:
1
,
pointList
:[{
name
:
'课程大类'
,
id
:
1
,
source
:
'销售收入'
,
classify
:
'家组信托'
,
score
:
100
}]
}
},
components
:{},
onLoad
(){
},
methods
:{
selectNav
(
navItem
){
this
.
selectedId
=
navItem
.
id
}
}
}
</
script
>
<
style
lang=
"scss"
>
.container
{
padding
:
30
rpx
;
.top{
.nav{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
height
:
80
rpx
;
.nav_item.selected{
color
:
#CDA464
;
padding-bottom
:
10
rpx
;
border-bottom
:
2
rpx
solid
#CDA464
;
}
}
}
.point_content
{
background
:
#fff
;
position
:
relative
;
.title{
padding
:
20
rpx
;
display
:
flex
;
justify-content
:
space-between
;
h4{
margin-left
:
20
rpx
;
}
}
.title
:before
{
position
:
absolute
;
left
:
20
rpx
;
top
:
20
rpx
;
display
:
inline-block
;
content
:
''
;
width
:
2px
;
height
:
44
rpx
;
background-color
:
#FA882F
;
border-radius
:
2px
;
}
.point_content_list
{
display
:
flex
;
justify-content
:
space-between
;
text-align
:
center
;
align-items
:
center
;
height
:
70
rpx
;
li{
width
:
25%
;
text-align
:
center
;
}
.get_point
{
color
:
#FF0000
;
}
.point_detail
{
color
:
#0A2F99
;
}
}
}
}
</
style
>
\ No newline at end of file
pages/personalCenter/personalCenter.vue
View file @
24298af0
...
...
@@ -69,7 +69,7 @@
},
{
id
:
'01'
,
categoryName
:
'积分管理'
,
children
:[
{
title
:
'我的积分'
,
icon
:
'integral'
,
link
:
''
,
isOpen
:
true
,
isShow
:
true
},
{
title
:
'我的积分'
,
icon
:
'integral'
,
link
:
'
/pages/myPoints/myPoints
'
,
isOpen
:
true
,
isShow
:
true
},
{
title
:
'积分兑换'
,
icon
:
'integralShopping'
,
link
:
''
,
isOpen
:
true
,
isShow
:
true
}
],
},
...
...
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