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
96d12c53
Commit
96d12c53
authored
Nov 12, 2019
by
linxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
个人中心头像
parent
3caedc26
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
11 deletions
+17
-11
my-info.vue
src/pages/myInfo/my-info.vue
+17
-11
No files found.
src/pages/myInfo/my-info.vue
View file @
96d12c53
...
...
@@ -14,7 +14,7 @@
<div
class=
"top"
style=
"margin-top:-1px;"
>
<div
class=
"card-top"
>
<img
src=
"@/assets/myInfo/1.png"
@
click=
"ch
angePageHead
"
>
<img
src=
"@/assets/myInfo/1.png"
@
click=
"ch
eckType
"
>
<div
class=
"sign"
>
<span>
{{
user_phone
}}
</span>
<div>
...
...
@@ -326,14 +326,6 @@ export default {
},
})
},
showActionSheet
()
{
this
.
hlsPopup
.
showActionSheet
({
buttonArray
:
[
'查看头像'
,
'选择头像'
],
callback
:
(
index
)
=>
{
console
.
log
(
index
)
},
})
},
unBind
()
{
let
vm
=
this
hlsPopup
.
showConfirm
({
...
...
@@ -373,6 +365,20 @@ export default {
},
})
},
checkType
()
{
this
.
hlsPopup
.
showActionSheet
({
buttonArray
:
this
.
user_bp_status
===
'NEW'
?
[
'修改头像'
]
:
[
'修改头像'
,
'用户信息'
,
'角色切换'
],
callback
:
(
index
)
=>
{
if
(
index
===
0
)
{
hlsPopup
.
showLongCenter
(
'修改头像功能敬请期待!'
)
}
else
if
(
index
===
1
)
{
this
.
changePageHead
()
}
else
if
(
index
===
2
)
{
hlsPopup
.
showLongCenter
(
'角色切换功能敬请期待!'
)
}
},
})
},
changePageHead
()
{
let
vm
=
this
if
(
vm
.
bp_id
)
{
...
...
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