Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mayi-mp-shop
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
程默
mayi-mp-shop
Commits
6dacdf55
Commit
6dacdf55
authored
Mar 16, 2023
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user
parent
d32949b4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
13 deletions
+27
-13
src/pages/userInfo/index.vue
+27
-13
No files found.
src/pages/userInfo/index.vue
View file @
6dacdf55
...
...
@@ -64,6 +64,7 @@
@
click=
"sex_show = true"
:value=
"sex_list[userMsg.gender]"
is-link
:class=
"
{'noSelect': sex_list[userMsg.gender] == '未设置'}"
/>
<!--
<div
class=
"covername sex"
>
{{
userMsg
.
gender
}}
</div>
-->
<!-- 设置生日 -->
...
...
@@ -74,7 +75,7 @@
:value=
"userMsg.birth"
is-link
/>
<van-cell
v-else
title=
"生日"
value=
"未设置"
is-link
/>
<van-cell
class=
"noSelect"
v-else
title=
"生日"
value=
"未设置"
is-link
/>
</div>
<div
class=
"line"
></div>
...
...
@@ -88,7 +89,7 @@
>
<!--
{{
correctTel
(
userMsg
.
mobilephone
)
?
userMsg
.
mobilephone
:
"未认证"
}}
-->
{{
mobilephone
}}
<van-icon
name=
"arrow"
/>
<van-icon
name=
"arrow"
v-if=
"!xhyxshopFlag"
/>
</div>
</div>
</div>
...
...
@@ -162,6 +163,9 @@ export default {
computed
:
{
mobilephone
()
{
return
this
.
correctTel
(
this
.
userMsg
.
mobilephone
)
?
this
.
userMsg
.
mobilephone
:
"未认证"
;
},
xhyxshopFlag
()
{
return
this
.
$store
.
state
.
mixid
==
"xhyxshop"
}
},
onLoad
()
{
...
...
@@ -179,6 +183,8 @@ export default {
},
methods
:
{
toUpdateBindPhone
()
{
if
(
this
.
xhyxshopFlag
)
return
;
// 新华优选不可修改手机号
let
_this
=
this
;
if
(
this
.
correctTel
(
this
.
userMsg
.
mobilephone
))
{
app
.
$themeToLink
({
...
...
@@ -407,8 +413,8 @@ i {
font-size
:
18px
;
}
.font15
{
font-size
:
1
5
px
;
color
:
#
929292
;
font-size
:
1
4
px
;
color
:
#
333
;
}
.userInfo
{
.personal-top
{
...
...
@@ -450,6 +456,8 @@ i {
color
:
#333
;
}
.van-cell__value
{
font-size
:
14px
;
color
:
#333
;
}
.van-cell
:not
(
:last-child
)
::after
{
right
:
15px
;
...
...
@@ -467,11 +475,21 @@ i {
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
.van-cell__title{
span{
font-size
:
14px
;
color
:
#333
;
}
.van-cell__title,.van-cell__value{
font-size
:
14px
;
color
:
#333
;
}
}
/
deep
/
.noSelect
{
.van-cell__value{
font-size
:
14px
;
color
:
#999
;
}
}
.shuru
{
/deep/.van-field__label{
font-size
:
14px
;
color
:
#333
;
}
}
.covername
{
...
...
@@ -516,8 +534,4 @@ i {
text-align
:
center
;
}
}
/
deep
/
.van-cell__title
,
.van-cell__value
{
font-size
:
14px
;
}
</
style
>
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