Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
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
xugong
hls-xcmg-vue-app
Commits
e742856a
Commit
e742856a
authored
Oct 23, 2019
by
李晓兵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'个人中心'
parent
3a738ca6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
61 additions
and
20 deletions
+61
-20
my-info.vue
src/pages/myInfo/my-info.vue
+61
-20
No files found.
src/pages/myInfo/my-info.vue
View file @
e742856a
...
...
@@ -30,15 +30,18 @@
<h-content
class=
"my-content"
>
<div
class=
"userInfo"
>
我的合同
</div>
<div
class=
"my-contract"
>
<div
@
click=
"goSign"
>
<div
class=
"content-wrap"
@
click=
"goSign"
>
<span
:class=
"
{'content-wrap-class-width':signCount>99, 'content-wrap-class':signCount
<99
}"
>
{{
signCount
>
99
?
'99+'
:
signCount
}}
</span>
<img
src=
"@/assets/myInfo/unSign.png"
>
<p>
待签约
</p>
</div>
<div
@
click=
"goConfirm"
>
<div
class=
"content-wrap"
@
click=
"goConfirm"
>
<span
:class=
"
{'content-wrap-class-width':confirmCount>99, 'content-wrap-class':confirmCount
<99
}"
>
{{
confirmCount
>
99
?
'99+'
:
confirmCount
}}
</span>
<img
src=
"@/assets/myInfo/unConfirm.png"
>
<p>
待确认
</p>
</div>
<div>
<div
class=
"content-wrap"
>
<span
:class=
"
{'content-wrap-class-width':vedioCount>99, 'content-wrap-class':vedioCount
<99
}"
>
{{
vedioCount
>
99
?
'99+'
:
vedioCount
}}
</span>
<img
src=
"@/assets/myInfo/unFace.png"
>
<p>
待面签
</p>
</div>
...
...
@@ -48,7 +51,7 @@
</div>
</div>
<list-item
:item-height=
"44"
class=
"list"
>
<item
@
click
.
native=
"goReimburse"
:show-arrow=
"tru
e"
>
<item
:show-arrow=
"true"
@
click
.
native=
"goReimburs
e"
>
<img
slot=
"left-icon"
src=
"@/assets/myInfo/myRefund.png"
class=
"left-icon"
>
<div
slot=
"name"
>
我的还款
</div>
</item>
...
...
@@ -56,12 +59,12 @@
<img
slot=
"left-icon"
src=
"@/assets/myInfo/repay.png"
class=
"left-icon"
>
<div
slot=
"name"
>
业务退款
</div>
</item>
<item
@
click
.
native=
"goMyProduct"
:show-arrow=
"true
"
>
<item
:show-arrow=
"true"
@
click
.
native=
"goMyProduct
"
>
<img
slot=
"left-icon"
src=
"@/assets/myInfo/collect.png"
class=
"left-icon"
>
<div
slot=
"name"
>
我的收藏
</div>
<div
slot=
"right-icon"
class=
"right-icon"
>
15
</div>
<div
slot=
"right-icon"
:class=
"
{'right-icon-width':productCount>99, 'right-icon':productCount
<99
}"
>
{{
productCount
>
99
?
'99+'
:
productCount
}}
</div>
</item>
<item
@
click
.
native=
"changeHelp"
:show-arrow=
"true
"
>
<item
:show-arrow=
"true"
@
click
.
native=
"changeHelp
"
>
<img
slot=
"left-icon"
src=
"@/assets/myInfo/help.png"
class=
"left-icon"
>
<div
slot=
"name"
>
帮助与反馈
</div>
</item>
...
...
@@ -95,6 +98,10 @@ export default {
user_phone
:
''
,
user_bp_name
:
''
,
user_bp_type
:
''
,
signCount
:
10
,
confirmCount
:
100
,
vedioCount
:
0
,
productCount
:
11
,
}
},
watch
:
{
...
...
@@ -434,6 +441,35 @@ export default {
justify-content: space-between;
align-items: center;
text-align: center;
.content-wrap{
position: relative;
.content-wrap-class{
position: absolute;
top: -10px;
left: 25px;
font-size: 10px;
width: 20px;
height: 20px;
text-align: center;
line-height: 20px;
background-color: red;
color: #fff;
border-radius: 50%;
}
.content-wrap-class-width{
position: absolute;
top: -10px;
left: 25px;
font-size: 10px;
width: 30px;
height: 20px;
text-align: center;
line-height: 20px;
background-color: red;
color: #fff;
border-radius: 50%;
}
}
img {
width: 38px;
height: 38px;
...
...
@@ -469,17 +505,22 @@ export default {
.content {
background-color: #fff;
}
.right-icon{
width: 20px;
height: 20px;
text-align: center;
line-height: 20px;
background-color: red;
color: #fff;
border-radius: 50%;
}
.right-icon-width{
width: 30px;
height: 20px;
text-align: center;
line-height: 20px;
background-color: red;
color: #fff;
border-radius: 50%;
}
</
style
>
<!-- <list-item :item-height="45">
<item :show-arrow="true" @click.native="changePageHead">
<div slot="name">头像</div>
</item>
<item :show-arrow="true" @click.native="updateVersion">
<div slot="name">检查更新</div>
</item>
<item :show-arrow="true" @click.native="logOut">
<div slot="name">退出登录</div>
</item>
</list-item>
<button v-if="flag" @click="changePageHead">用户绑定</button>
<button v-if="!flag" @click="unBind">解除绑定</button> -->
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