Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cust-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
李伟
cust-app
Commits
41104e77
Commit
41104e77
authored
Dec 30, 2024
by
liwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了页面,增加了假数据
parent
735870a9
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
173 additions
and
140 deletions
+173
-140
article.vue
pages/tab/article.vue
+1
-1
index.vue
pages/tab/index.vue
+3
-1
List.vue
pagesArticle/components/List.vue
+1
-1
userInfo.vue
pageslike/like/userInfo.vue
+64
-45
updateInformation.vue
pagesme/me/updateInformation.vue
+104
-92
No files found.
pages/tab/article.vue
View file @
41104e77
...
@@ -236,7 +236,7 @@
...
@@ -236,7 +236,7 @@
// this.getList(true)
// this.getList(true)
},
},
goPage
(
path
)
{
goPage
(
path
)
{
if
(
uni
.
getStorageSync
(
'
i
nfo'
)
!=
''
)
{
if
(
uni
.
getStorageSync
(
'
userI
nfo'
)
!=
''
)
{
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
path
url
:
path
})
})
...
...
pages/tab/index.vue
View file @
41104e77
...
@@ -172,7 +172,9 @@
...
@@ -172,7 +172,9 @@
}
}
bannerList
(
query
).
then
(
res
=>
{
bannerList
(
query
).
then
(
res
=>
{
//将res.data.rows集合里的bannerPicture取出来,放到集合中
//将res.data.rows集合里的bannerPicture取出来,放到集合中
this
.
bannerList
=
res
.
data
.
data
.
map
(
item
=>
item
.
bannerPicture
)
// console.log('res.data.data:',res.data.data)
this
.
bannerList
=
res
.
data
.
data
.
map
(
item
=>
item
.
path
)
console
.
log
(
'this.bannerList:'
,
this
.
bannerList
)
}).
catch
(
e
=>
{
}).
catch
(
e
=>
{
console
.
log
(
e
)
console
.
log
(
e
)
})
})
...
...
pagesArticle/components/List.vue
View file @
41104e77
...
@@ -164,7 +164,7 @@
...
@@ -164,7 +164,7 @@
this
.
dataList
=
[
this
.
dataList
=
[
{
{
createTime
:
'2024-12-28 15:02:01'
,
createTime
:
'2024-12-28 15:02:01'
,
headPortrait
:
'
11111
'
,
//头像
headPortrait
:
'
http://192.168.1.80/upload/CmsBanner/20241230/18E63B570FF04DB3A8EFE277D58256C4.jpg
'
,
//头像
nickName
:
'不爱吃辣的小王'
,
//nickName
nickName
:
'不爱吃辣的小王'
,
//nickName
gender
:
'MALE'
,
//性别
gender
:
'MALE'
,
//性别
information
:
'02·重庆市·硕士·互联网'
,
//个人信息
information
:
'02·重庆市·硕士·互联网'
,
//个人信息
...
...
pageslike/like/userInfo.vue
View file @
41104e77
<
template
>
<
template
>
<view
:class=
"
{ popUpShow: showLikePop}" style="background-color: #F4F5F9;min-height: 100vh;">
<view
:class=
"
{ popUpShow: showLikePop}" style="background-color: #F4F5F9;min-height: 100vh;">
<!-- 页头-->
<u-navbar
@
leftClick=
"backbar"
bgColor=
"#F4F5F9"
title=
"用户详情"
>
</u-navbar>
<u-navbar
@
leftClick=
"backbar"
bgColor=
"#F4F5F9"
title=
"用户详情"
>
</u-navbar>
<view
:style=
"
{'top':navHeight+'px'}" v-if="isInit" :class="{ pagePop: showAnima,'pageanima':true }">
<view
:style=
"
{'top':navHeight+'px'}" v-if="isInit" :class="{ pagePop: showAnima,'pageanima':true }">
<view
class=
"div"
style=
"height: 100%;background: #F4F5F9;"
>
<view
class=
"div"
style=
"height: 100%;background: #F4F5F9;"
>
<view
class=
""
>
<view
class=
""
>
<view
class=
"box"
>
<view
class=
"box"
>
<!-- 下方俩图标 喜欢和不喜欢-->
<view
class=
"swiper"
>
<view
class=
"swiper"
>
<ls-swiper
:list=
"userData.imgList"
imgKey=
""
:loop=
"true"
:dots=
"true"
:autoplay=
"true"
<ls-swiper
:list=
"userData.imgList"
imgKey=
""
:loop=
"true"
:dots=
"true"
:autoplay=
"true"
:height=
"340"
/>
:height=
"340"
/>
<view
class=
"hint"
v-if=
"userData.result
!=null&&
userData.result"
>
<view
class=
"hint"
v-if=
"userData.result
!= null &&
userData.result"
>
<image
src=
"../../static/images/like/02.png"
mode=
"aspectFill"
></image>
<image
src=
"../../static/images/like/02.png"
mode=
"aspectFill"
></image>
<view
class=
"t"
>
<view
class=
"t"
>
{{
{{
'相互喜欢'
}}
'相互喜欢'
}}
</view>
</view>
</view>
</view>
<view
class=
"hint"
<view
class=
"hint"
v-else-if=
"userData.otherMatchingStatus
!=null&&
userData.otherMatchingStatus=='NOT_LIKE_ME'"
>
v-else-if=
"userData.otherMatchingStatus
!= null &&
userData.otherMatchingStatus=='NOT_LIKE_ME'"
>
<image
src=
"../../static/images/like/dislike.png"
mode=
"aspectFill"
></image>
<image
src=
"../../static/images/like/dislike.png"
mode=
"aspectFill"
></image>
<view
class=
"t"
>
<view
class=
"t"
>
{{
{{
'对我无感'
}}
'对我无感'
}}
</view>
</view>
</view>
</view>
<view
class=
"hint"
<view
class=
"hint"
...
@@ -61,12 +59,12 @@
...
@@ -61,12 +59,12 @@
</view>
</view>
</view>
</view>
</view>
</view>
<!-- 个人信息-->
<view
class=
"box-name"
>
<view
class=
"box-name"
>
<view
class=
"name"
>
{{
userData
.
nickName
?
userData
.
nickName
:
''
}}
</view>
<view
class=
"name"
>
{{
userData
.
nickName
?
userData
.
nickName
:
''
}}
</view>
<image
src=
"../../static/xiugai/nv.png"
mode=
"aspectFill"
v-if=
"userData.gender
==
'FEMALE'"
></image>
<image
src=
"../../static/xiugai/nv.png"
mode=
"aspectFill"
v-if=
"userData.gender
==
'FEMALE'"
></image>
<image
src=
"../../static/images/like/male.png"
mode=
"aspectFill"
v-else
></image>
<image
src=
"../../static/images/like/male.png"
mode=
"aspectFill"
v-else
></image>
<view
class=
"hint"
v-if=
"userData.userAuthStatus
!=
null"
>
<view
class=
"hint"
v-if=
"userData.userAuthStatus
!=
null"
>
<image
src=
"../../static/images/auth.png"
mode=
"aspectFill"
></image>
<image
src=
"../../static/images/auth.png"
mode=
"aspectFill"
></image>
<view
class=
"t"
>
<view
class=
"t"
>
{{
{{
...
@@ -99,13 +97,12 @@
...
@@ -99,13 +97,12 @@
:
''
:
''
}}
</view>
}}
</view>
</view>
</view>
<view
class=
"line"
>
<view
class=
"line"
>
<view
class=
"sm-line"
v-for=
"(item, index) in 12"
:key=
"item"
></view>
<view
class=
"sm-line"
v-for=
"(item, index) in 12"
:key=
"item"
></view>
</view>
</view>
<view
class=
"circle"
></view>
<view
class=
"circle"
></view>
<view
class=
"circles"
></view>
<view
class=
"circles"
></view>
<!-- 标签 -->
<view
class=
"lable"
>
<view
class=
"lable"
>
<view
class=
"lable-div"
style=
"margin-right: 20rpx;"
>
<view
class=
"lable-div"
style=
"margin-right: 20rpx;"
>
职业:
{{
userData
.
profession
?
userData
.
profession
:
''
}}
</view>
职业:
{{
userData
.
profession
?
userData
.
profession
:
''
}}
</view>
...
@@ -137,8 +134,9 @@
...
@@ -137,8 +134,9 @@
<view
class=
""
style=
"height: 44rpx;"
></view>
<view
class=
""
style=
"height: 44rpx;"
></view>
</view>
</view>
<view
class=
"safe-bottom"
>
<view
class=
"safe-bottom"
>
<!-- 动态图片-->
<view
class=
"card"
style=
"height: auto;"
@
click=
"goDynamicState"
<view
class=
"card"
style=
"height: auto;"
@
click=
"goDynamicState"
v-if=
"(userData.userArticleViewResponse.articleImg
!==null&&userData.userArticleViewResponse.articleImg.length)||userData.userArticleViewResponse.articleContent!==
null"
>
v-if=
"(userData.userArticleViewResponse.articleImg
!== null && userData.userArticleViewResponse.articleImg.length) || userData.userArticleViewResponse.articleContent !==
null"
>
<view
class=
"content"
>
<view
class=
"content"
>
<view
class=
"have_image"
>
<view
class=
"have_image"
>
<image
src=
"@/static/images/106.svg"
<image
src=
"@/static/images/106.svg"
...
@@ -148,7 +146,7 @@
...
@@ -148,7 +146,7 @@
我的动态
我的动态
</view>
</view>
</view>
</view>
<view
:class=
"['imgs',userData.userArticleViewResponse.articleImg.length
==
2?'twoTemp':'']"
v-if=
"userData.userArticleViewResponse.articleImg!==null&&userData.userArticleViewResponse.articleImg.length"
>
<view
:class=
"['imgs',userData.userArticleViewResponse.articleImg.length
==
2?'twoTemp':'']"
v-if=
"userData.userArticleViewResponse.articleImg!==null&&userData.userArticleViewResponse.articleImg.length"
>
<image
v-for=
"item in userData.userArticleViewResponse.articleImg"
:src=
"item"
<image
v-for=
"item in userData.userArticleViewResponse.articleImg"
:src=
"item"
mode=
"aspectFill"
>
mode=
"aspectFill"
>
</image>
</image>
...
@@ -158,6 +156,7 @@
...
@@ -158,6 +156,7 @@
</view>
</view>
</view>
</view>
</view>
</view>
<!-- 关于我自己-->
<view
class=
"card"
>
<view
class=
"card"
>
<view
class=
"content"
>
<view
class=
"content"
>
<view
class=
"have_image"
>
<view
class=
"have_image"
>
...
@@ -168,6 +167,7 @@
...
@@ -168,6 +167,7 @@
<view
class=
"one"
></view>
<view
class=
"one"
></view>
</view>
</view>
</view>
</view>
<!-- 兴趣爱好-->
<view
class=
"card"
>
<view
class=
"card"
>
<view
class=
"content"
>
<view
class=
"content"
>
<view
class=
"have_image"
>
<view
class=
"have_image"
>
...
@@ -178,6 +178,7 @@
...
@@ -178,6 +178,7 @@
<view
class=
"one"
></view>
<view
class=
"one"
></view>
</view>
</view>
</view>
</view>
<!-- 心仪的Ta-->
<view
class=
"card"
>
<view
class=
"card"
>
<view
class=
"content"
>
<view
class=
"content"
>
<view
class=
"have_image"
>
<view
class=
"have_image"
>
...
@@ -188,6 +189,7 @@
...
@@ -188,6 +189,7 @@
<view
class=
"one"
></view>
<view
class=
"one"
></view>
</view>
</view>
</view>
</view>
<view
class=
"bo"
<view
class=
"bo"
:style=
"
{'border-radius':userData.selfMatchingStatus!==null?'24rpx 24rpx 0 0':'24rpx'}">
:style=
"
{'border-radius':userData.selfMatchingStatus!==null?'24rpx 24rpx 0 0':'24rpx'}">
<u-button
class=
"name"
open-type=
"share"
:hairline=
"false"
:customStyle=
"
{
<u-button
class=
"name"
open-type=
"share"
:hairline=
"false"
:customStyle=
"
{
...
@@ -196,38 +198,37 @@
...
@@ -196,38 +198,37 @@
'font-weight': '800',
'font-weight': '800',
'color': '#434343',
'color': '#434343',
'border':'none',
'border':'none',
}">
}">
<image
src=
"../../static/images/share.png"
class=
"simg"
mode=
"aspectFill"
></image>
<image
src=
"../../static/images/share.png"
class=
"simg"
mode=
"aspectFill"
></image>
将
{{
userData
.
gender
!=
'MALE'
?
'她'
:
'他'
}}
推荐给好友
将
{{
userData
.
gender
!=
'MALE'
?
'她'
:
'他'
}}
推荐给好友
</u-button>
</u-button>
<!--
<view
class=
"name"
>
将
{{
userData
.
gender
!=
'MALE'
?
'她'
:
'他'
}}
推荐给好友
</view>
-->
</view>
</view>
<view
class=
"bo2"
v-if=
"userData.selfMatchingStatus
!==
null"
@
click=
"canelLike()"
>
<view
class=
"bo2"
v-if=
"userData.selfMatchingStatus
!==
null"
@
click=
"canelLike()"
>
<image
v-if=
"userData.selfMatchingStatus
==
'NOT_LIKE'"
<image
v-if=
"userData.selfMatchingStatus
==
'NOT_LIKE'"
src=
"../../static/images/like/noLike.png"
class=
"simg"
mode=
"aspectFill"
></image>
src=
"../../static/images/like/noLike.png"
class=
"simg"
mode=
"aspectFill"
></image>
<image
v-if=
"userData.selfMatchingStatus
==
'LIKE'"
src=
"../../static/images/like/liketo.png"
<image
v-if=
"userData.selfMatchingStatus
==
'LIKE'"
src=
"../../static/images/like/liketo.png"
class=
"simg"
mode=
"aspectFill"
></image>
class=
"simg"
mode=
"aspectFill"
></image>
<view
class=
"name"
>
{{
userData
.
selfMatchingStatus
==
'NOT_LIKE'
?
'取消无感'
:
<view
class=
"name"
>
{{
userData
.
selfMatchingStatus
==
'NOT_LIKE'
?
'取消无感'
:
userData
.
selfMatchingStatus
==
'LIKE'
?
'取消喜欢'
:
''
userData
.
selfMatchingStatus
==
'LIKE'
?
'取消喜欢'
:
''
}}
</view>
}}
</view>
</view>
</view>
<!-- IP地址-->
<view
class=
"fe"
>
<view
class=
"fe"
>
<view
class=
""
style=
"height: 40rpx;display: flex;align-items: center;margin-top: 26rpx;"
>
<view
class=
""
style=
"height: 40rpx;display: flex;align-items: center;margin-top: 26rpx;"
>
<view
class=
"line"
></view>
<view
class=
"line"
></view>
<view
class=
"text"
>
IP属地:
{{
userData
.
city
!=
null
?
userData
.
city
:
city
}}
</view>
<view
class=
"text"
>
IP属地:
{{
userData
.
city
!=
null
?
userData
.
city
:
city
}}
</view>
<view
class=
"line"
></view>
<view
class=
"line"
></view>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
<view
class=
"footer-fixed"
@
click=
"goSedMsg"
v-if=
"userData.result
!=null&&
userData.result"
>
<view
class=
"footer-fixed"
@
click=
"goSedMsg"
v-if=
"userData.result
!= null &&
userData.result"
>
<image
src=
"../../static/images/like/chat.png"
mode=
"aspectFill"
></image
>
<image
src=
"../../static/images/like/chat.png"
mode=
"aspectFill"
/
>
发起聊天
发起聊天
</view>
</view>
<view
v-if=
"showArrowDown"
>
<view
v-if=
"showArrowDown"
>
<view
class=
"footer-fixedlike"
v-if=
"userData.selfMatchingStatus
==
null"
>
<view
class=
"footer-fixedlike"
v-if=
"userData.selfMatchingStatus
==
null"
>
<view
class=
"left"
@
click=
"logion(userData.id, false, '../../static/images/clo.png')"
>
<view
class=
"left"
@
click=
"logion(userData.id, false, '../../static/images/clo.png')"
>
<image
src=
"../../static/images/clo.png"
style=
"width: 100%;height: 100%;;"
mode=
"aspectFill"
></image>
<image
src=
"../../static/images/clo.png"
style=
"width: 100%;height: 100%;;"
mode=
"aspectFill"
></image>
</view>
</view>
...
@@ -275,9 +276,9 @@
...
@@ -275,9 +276,9 @@
</u-popup>
</u-popup>
<login
@
change=
"getUserInfowx"
:isLoginPop=
"isLoginPop"
class=
"my-select"
></login>
<login
@
change=
"getUserInfowx"
:isLoginPop=
"isLoginPop"
class=
"my-select"
></login>
</view>
</view>
<ELM
ref=
"elm"
:msg=
"tipMsg"
></ELM>
<myPopup
v-if=
"isShow"
:content=
"userData.selfMatchingStatus=='NOT_LIKE'?'是否取消无感?':
<myPopup
v-if=
"isShow"
:content=
"userData.selfMatchingStatus=='NOT_LIKE'?'是否取消无感?':
userData.selfMatchingStatus=='LIKE'?'是否取消喜欢?':'是否解除匹配?'"
@
confirm=
"confirm"
@
cancel=
"cancelbtn"
></myPopup>
userData.selfMatchingStatus=='LIKE'?'是否取消喜欢?':'是否解除匹配?'"
@
confirm=
"confirm"
@
cancel=
"cancelbtn"
>
</myPopup>
</view>
</view>
</
template
>
</
template
>
...
@@ -296,8 +297,36 @@
...
@@ -296,8 +297,36 @@
},
},
data
()
{
data
()
{
return
{
return
{
//用户信息
userData
:
{
imgList
:[
'http://192.168.1.80/upload/CmsBanner/20241230/18E63B570FF04DB3A8EFE277D58256C4.jpg'
],
school
:
'天津大学'
,
education
:
'Undergraduate'
,
educationalType
:
'FullTime'
,
nickName
:
'爱吃火锅'
,
gender
:
'FEMALE'
,
userAuthStatus
:
'DOUBLE'
,
age
:
'20'
,
height
:
'165'
,
constellation
:
'学生'
,
city
:
'天津市'
,
emotional
:
'Single'
,
profession
:
'学生'
,
annualSalary
:
'Less_Ten'
,
marriage
:
'Unmarried'
,
userArticleViewResponse
:
{
articleContent
:
'111111111'
,
articleImg
:
[
'http://192.168.1.80/upload/CmsActivity/20241230/E3994EF11C524D48AD88D383A2B5786B.jpg'
,
'http://192.168.1.80/upload/CmsBanner/20241230/18E63B570FF04DB3A8EFE277D58256C4.jpg'
,
'http://192.168.1.80/upload/CmsBanner/20241230/18E63B570FF04DB3A8EFE277D58256C4.jpg'
]
},
aboutMe
:
'111111'
,
interest
:
'222222'
,
loveRequirement
:
'33333'
},
isShow
:
false
,
isShow
:
false
,
tipMsg
:
''
,
mutualInfo
:
{},
mutualInfo
:
{},
showLikePop
:
false
,
showLikePop
:
false
,
animUrl
:
''
,
animUrl
:
''
,
...
@@ -309,12 +338,6 @@
...
@@ -309,12 +338,6 @@
scrollTop
:
0
,
scrollTop
:
0
,
unfold
:
false
,
unfold
:
false
,
isLoginPop
:
false
,
isLoginPop
:
false
,
userData
:
{
userArticleViewResponse
:
{
articleContent
:
null
,
articleImg
:
[]
}
},
img
:
this
.
$BASE_URL
,
img
:
this
.
$BASE_URL
,
// bgColor: 'linear-gradient(to bottom, #e8eef6, #eef5f6)',
// bgColor: 'linear-gradient(to bottom, #e8eef6, #eef5f6)',
bgColor
:
'#F4F5F9'
,
bgColor
:
'#F4F5F9'
,
...
@@ -352,7 +375,7 @@
...
@@ -352,7 +375,7 @@
},
},
onLoad
(
options
)
{
onLoad
(
options
)
{
this
.
id
=
options
.
id
;
this
.
id
=
options
.
id
;
this
.
getUserInfo
();
//
this.getUserInfo();
if
(
options
.
share
!=
null
)
{
if
(
options
.
share
!=
null
)
{
this
.
share
=
options
.
share
;
this
.
share
=
options
.
share
;
}
}
...
@@ -423,8 +446,7 @@
...
@@ -423,8 +446,7 @@
},
},
methods
:
{
methods
:
{
goDynamicState
(){
goDynamicState
(){
this
.
tipMsg
=
"开源版暂未开放,敬请期待!如需旗舰版,可联系作者微信(MMRWXM)咨询"
;
this
.
$refs
.
elm
.
showDialog
();
},
},
confirm
()
{
confirm
()
{
this
.
isShow
=
false
;
this
.
isShow
=
false
;
...
@@ -436,8 +458,7 @@
...
@@ -436,8 +458,7 @@
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
code
==
200
)
{
this
.
getUserInfo
();
this
.
getUserInfo
();
}
else
{
}
else
{
this
.
tipMsg
=
res
.
data
.
msg
;
this
.
$refs
.
elm
.
showDialog
();
}
}
})
})
},
},
...
@@ -543,8 +564,7 @@
...
@@ -543,8 +564,7 @@
console
.
log
(
"匹配结束2:"
+
userId
)
console
.
log
(
"匹配结束2:"
+
userId
)
this
.
getUserInfo
();
this
.
getUserInfo
();
}
else
{
}
else
{
this
.
tipMsg
=
res
.
data
.
msg
;
this
.
$refs
.
elm
.
showDialog
();
this
.
showBtn
=
true
;
this
.
showBtn
=
true
;
}
}
})
})
...
@@ -634,8 +654,7 @@
...
@@ -634,8 +654,7 @@
url
:
'/pagesintroduction/selfIntroduction?code='
+
code
url
:
'/pagesintroduction/selfIntroduction?code='
+
code
});
});
}
else
{
}
else
{
this
.
tipMsg
=
res
.
data
.
msg
;
this
.
$refs
.
elm
.
showDialog
();
}
}
},
},
backbar
()
{
backbar
()
{
...
...
pagesme/me/updateInformation.vue
View file @
41104e77
<
template
>
<
template
>
<view>
<view>
<!-- 头像部分-->
<view
class=
"w-100 pt30 pb60"
>
<view
class=
"w-100 pt30 pb60"
>
<view
class=
"pr40 pl72 pt40 rowa"
v-if=
"userInfo.waitApprovedStatus
!=
'PASS'"
>
<view
class=
"pr40 pl72 pt40 rowa"
v-if=
"userInfo.waitApprovedStatus
!=
'PASS'"
>
<view
class=
"mw32 mt8 h32 bc000 cfff br-50 tc lh32 fs24"
>
!
</view>
<view
class=
"mw32 mt8 h32 bc000 cfff br-50 tc lh32 fs24"
>
!
</view>
<view
class=
"ml14 c333 fs28 lh44"
>
<view
class=
"ml14 c333 fs28 lh44"
>
{{
userInfo
.
remarks
==
null
?
"请上传个人的真实照片,通过后这样才能匹配到高质量好友哦~"
:
userInfo
.
remarks
}}
{{
userInfo
.
remarks
==
null
?
"请上传个人的真实照片,通过后这样才能匹配到高质量好友哦~"
:
userInfo
.
remarks
}}
</view>
</view>
</view>
</view>
<!-- 个人资料 顶部头像-->
<view
class=
"pr32 pl32 rowa"
>
<view
class=
"pr32 pl32 rowa"
>
<!-- 大头像-->
<view
class=
"relative"
@
click=
"showSingleNoPopup(9)"
>
<view
class=
"relative"
@
click=
"showSingleNoPopup(9)"
>
<image
v-if=
"userInfo.waitApprovedImg
!=
null"
class=
"w328 br24 h328 blc "
<image
v-if=
"userInfo.waitApprovedImg
!=
null"
class=
"w328 br24 h328 blc "
:src=
"userInfo.waitApprovedImg[0]"
mode=
"aspectFill"
></image>
:src=
"userInfo.waitApprovedImg[0]"
mode=
"aspectFill"
></image>
<view
class=
"absolute w328 h328 rowjcic top0"
>
<view
class=
"absolute w328 h328 rowjcic top0"
>
<view
class=
"w186 h52 lh52 tc cfff fs28 br10"
style=
"background-color: rgba(0,0,0,0.3);"
>
头像/封面
<view
class=
"w186 h52 lh52 tc cfff fs28 br10"
style=
"background-color: rgba(0,0,0,0.3);"
>
头像/封面
</view>
</view>
</view>
</view>
</view>
</view>
<!-- 4个小头像-->
<view
class=
"h328 crowjb"
>
<view
class=
"h328 crowjb"
>
<view
class=
"ml30 w-100"
>
<view
class=
"ml30 w-100"
>
<view
class=
"rowjbic pr30 w-100 warp h328"
>
<view
class=
"rowjbic pr30 w-100 warp h328"
>
<view
@
click=
"showSingleNoPopup(1)"
<view
@
click=
"showSingleNoPopup(1)"
v-if=
"userInfo.waitApprovedImg
!=null&&userInfo.waitApprovedImg.length>
1"
>
v-if=
"userInfo.waitApprovedImg
!= null && userInfo.waitApprovedImg.length >
1"
>
<image
class=
"w150 h150 br24 blc"
:src=
"userInfo.waitApprovedImg[1]"
mode=
"aspectFill"
>
<image
class=
"w150 h150 br24 blc"
:src=
"userInfo.waitApprovedImg[1]"
mode=
"aspectFill"
>
</image>
</image>
</view>
</view>
...
@@ -32,7 +36,7 @@
...
@@ -32,7 +36,7 @@
</block>
</block>
<view
@
click=
"showSingleNoPopup(2)"
<view
@
click=
"showSingleNoPopup(2)"
v-if=
"userInfo.waitApprovedImg
!=null&&userInfo.waitApprovedImg.length>
2"
>
v-if=
"userInfo.waitApprovedImg
!=null && userInfo.waitApprovedImg.length >
2"
>
<image
class=
"w150 h150 br24 blc"
:src=
"userInfo.waitApprovedImg[2]"
mode=
"aspectFill"
>
<image
class=
"w150 h150 br24 blc"
:src=
"userInfo.waitApprovedImg[2]"
mode=
"aspectFill"
>
</image>
</image>
</view>
</view>
...
@@ -44,7 +48,7 @@
...
@@ -44,7 +48,7 @@
</block>
</block>
<view
@
click=
"showSingleNoPopup(3)"
<view
@
click=
"showSingleNoPopup(3)"
v-if=
"userInfo.waitApprovedImg
!=null&&userInfo.waitApprovedImg.length>
3"
>
v-if=
"userInfo.waitApprovedImg
!= null&&userInfo.waitApprovedImg.length >
3"
>
<image
class=
"w150 h150 br24 blc"
:src=
"userInfo.waitApprovedImg[3]"
mode=
"aspectFill"
>
<image
class=
"w150 h150 br24 blc"
:src=
"userInfo.waitApprovedImg[3]"
mode=
"aspectFill"
>
</image>
</image>
</view>
</view>
...
@@ -56,7 +60,7 @@
...
@@ -56,7 +60,7 @@
</block>
</block>
<view
@
click=
"showSingleNoPopup(4)"
<view
@
click=
"showSingleNoPopup(4)"
v-if=
"userInfo.waitApprovedImg
!=null&&userInfo.waitApprovedImg.length>
4"
>
v-if=
"userInfo.waitApprovedImg
!= null && userInfo.waitApprovedImg.length >
4"
>
<image
class=
"w150 h150 br24 blc"
:src=
"userInfo.waitApprovedImg[4]"
mode=
"aspectFill"
>
<image
class=
"w150 h150 br24 blc"
:src=
"userInfo.waitApprovedImg[4]"
mode=
"aspectFill"
>
</image>
</image>
</view>
</view>
...
@@ -66,13 +70,13 @@
...
@@ -66,13 +70,13 @@
+
+
</view>
</view>
</block>
</block>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
<!-- 基础资料-->
<view
class=
"w690 p30 bcfff br20 ml30 mt35"
style=
"margin-top: -30rpx;"
>
<view
class=
"w690 p30 bcfff br20 ml30 mt35"
style=
"margin-top: -30rpx;"
>
<view
class=
"rowjbic"
>
<view
class=
"rowjbic"
>
<view
class=
"rowic"
>
<view
class=
"rowic"
>
...
@@ -86,20 +90,24 @@
...
@@ -86,20 +90,24 @@
<view
class=
"rowic mt40"
>
<view
class=
"rowic mt40"
>
<view
class=
"fs40 fwb"
style=
"color: #4A4A4A;"
>
{{
userInfo
.
nickName
}}
</view>
<view
class=
"fs40 fwb"
style=
"color: #4A4A4A;"
>
{{
userInfo
.
nickName
}}
</view>
<image
class=
"w48 h48 br-50 ml30"
<image
class=
"w48 h48 br-50 ml30"
:src=
"userInfo.gender
==
'MALE' ?'/static/images/like/male.png': '/static/xiugai/nv.png'"
mode=
"aspectFill"
>
:src=
"userInfo.gender
==
'MALE' ?'/static/images/like/male.png': '/static/xiugai/nv.png'"
mode=
"aspectFill"
>
</image>
</image>
</view>
</view>
<view
class=
"fs28 fwb c333 rowic mt25"
>
<view
class=
"fs28 fwb c333 rowic mt25"
>
<view><text
v-if=
"userInfo.age"
>
{{
userInfo
.
age
}}
</text>
岁 ·
<text
<view>
v-if=
"userInfo.height"
>
{{
userInfo
.
height
}}
</text>
cm ·
<text
<text
v-if=
"userInfo.age"
>
{{
userInfo
.
age
}}
</text>
岁 ·
v-if=
"userInfo.constellation"
>
{{
userInfo
.
constellation
}}
</text></view>
<text
v-if=
"userInfo.height"
>
{{
userInfo
.
height
}}
</text>
cm ·
<text
v-if=
"userInfo.constellation"
>
{{
userInfo
.
constellation
}}
</text>
</view>
<view
class=
"fs24 w3 ml30 mr30 h24"
style=
"background-color: #E0E2E8;"
></view>
<view
class=
"fs24 w3 ml30 mr30 h24"
style=
"background-color: #E0E2E8;"
></view>
<view>
<text
v-if=
"userInfo.city"
>
{{
userInfo
.
city
}}
</text></view>
<view>
<text
v-if=
"userInfo.city"
>
{{
userInfo
.
city
}}
</text>
</view>
</view>
</view>
<view
class=
"rowic mt36"
v-if=
"userInfo.emotional
!=
null"
>
<view
class=
"rowic mt36"
v-if=
"userInfo.emotional
!=
null"
>
<image
class=
"w42 h42"
src=
"../../static/images/indexlable.png"
mode=
"aspectFill"
></image>
<image
class=
"w42 h42"
src=
"../../static/images/indexlable.png"
mode=
"aspectFill"
></image>
<view
class=
"fs24 ml10 c333"
v-if=
"userInfo.emotional
==
'Single'"
>
正在寻觅
</view>
<view
class=
"fs24 ml10 c333"
v-if=
"userInfo.emotional
==
'Single'"
>
正在寻觅
</view>
<view
class=
"fs24 ml10 c333"
v-if=
"userInfo.emotional
==
'Love'"
>
热恋中
</view>
<view
class=
"fs24 ml10 c333"
v-if=
"userInfo.emotional
==
'Love'"
>
热恋中
</view>
</view>
</view>
<view
class=
"w690 rowjbic mt56"
style=
"margin-left: -30rpx;"
>
<view
class=
"w690 rowjbic mt56"
style=
"margin-left: -30rpx;"
>
<view
class=
"circle"
></view>
<view
class=
"circle"
></view>
...
@@ -112,106 +120,108 @@
...
@@ -112,106 +120,108 @@
职业:
{{
userInfo
.
profession
}}
</view>
职业:
{{
userInfo
.
profession
}}
</view>
<view
v-if=
"userInfo.annualSalary"
class=
"w285 mt25 h60 tc fs28 c333 lh60 br100"
<view
v-if=
"userInfo.annualSalary"
class=
"w285 mt25 h60 tc fs28 c333 lh60 br100"
style=
"background-color: #FFE3DE;"
>
年薪:
style=
"background-color: #FFE3DE;"
>
年薪:
<text
v-if=
"userInfo.annualSalary
==
'Less_Ten'"
>
小于10w
</text>
<text
v-if=
"userInfo.annualSalary
==
'Less_Ten'"
>
小于10w
</text>
<text
v-if=
"userInfo.annualSalary
==
'Ten_Two'"
>
10w到20w
</text>
<text
v-if=
"userInfo.annualSalary
==
'Ten_Two'"
>
10w到20w
</text>
<text
v-if=
"userInfo.annualSalary
==
'Two_Three'"
>
20w到30w
</text>
<text
v-if=
"userInfo.annualSalary
==
'Two_Three'"
>
20w到30w
</text>
<text
v-if=
"userInfo.annualSalary
==
'Three_Five'"
>
30w到50w
</text>
<text
v-if=
"userInfo.annualSalary
==
'Three_Five'"
>
30w到50w
</text>
<text
v-if=
"userInfo.annualSalary
==
'Five_Hundred'"
>
50w到100w
</text>
<text
v-if=
"userInfo.annualSalary
==
'Five_Hundred'"
>
50w到100w
</text>
<text
v-if=
"userInfo.annualSalary
==
'Greater_Hundred'"
>
大于100w
</text>
<text
v-if=
"userInfo.annualSalary
==
'Greater_Hundred'"
>
大于100w
</text>
<text
v-if=
"userInfo.annualSalary
==
'Secrecy'"
>
保密
</text>
<text
v-if=
"userInfo.annualSalary
==
'Secrecy'"
>
保密
</text>
</view>
</view>
<view
v-if=
"userInfo.marriage"
class=
"w285 mt25 h60 tc fs28 c333 lh60 br100"
<view
v-if=
"userInfo.marriage"
class=
"w285 mt25 h60 tc fs28 c333 lh60 br100"
style=
"background-color: #F2E8F9;"
>
婚姻状况:
style=
"background-color: #F2E8F9;"
>
婚姻状况:
<text
v-if=
"userInfo.marriage
==
'Unmarried'"
>
未婚
</text>
<text
v-if=
"userInfo.marriage
==
'Unmarried'"
>
未婚
</text>
<text
v-if=
"userInfo.marriage
==
'Divorce'"
>
离异
</text>
<text
v-if=
"userInfo.marriage
==
'Divorce'"
>
离异
</text>
<text
v-if=
"userInfo.marriage
==
'Widow'"
>
丧偶
</text>
<text
v-if=
"userInfo.marriage
==
'Widow'"
>
丧偶
</text>
</view>
</view>
</view>
</view>
</view>
</view>
<!-- 认证板块-->
<view
class=
"w690 p30 bcfff br20 mt30 ml30 p30"
>
<view
class=
"w690 p30 bcfff br20 mt30 ml30 p30"
>
<view
class=
"rowic"
>
<view
class=
"rowic"
>
<image
class=
"w30 h30"
src=
"/static/xiugai/2.png"
mode=
"aspectFill"
></image>
<image
class=
"w30 h30"
src=
"/static/xiugai/2.png"
mode=
"aspectFill"
></image>
<view
style=
"color: #434343;"
class=
"fs28 fwb ml10"
>
双重认证(
{{
numtwo
}}
/2)
</view>
<view
style=
"color: #434343;"
class=
"fs28 fwb ml10"
>
双重认证(
{{
numtwo
}}
/2)
</view>
</view>
</view>
<view
class=
"rowjbic mt25"
>
<view
class=
"rowjbic mt25"
>
<view
class=
"fs28 fwb"
style=
"color: #434343;"
>
实名认证
</view>
<view
class=
"fs28 fwb"
style=
"color: #434343;"
>
实名认证
</view>
<view
class=
"fs24"
style=
"color: #434343;"
>
认证后配对成功率提升200%
</view>
<view
class=
"fs24"
style=
"color: #434343;"
>
认证后配对成功率提升200%
</view>
<view
v-if=
"userInfo.identityAuth
==
'EXAMINE'"
class=
"w120 h52 lh52 tc br100 fs28"
<view
v-if=
"userInfo.identityAuth
==
'EXAMINE'"
class=
"w120 h52 lh52 tc br100 fs28"
style=
"color: #434343; background-color: #F5F6FA;"
@
click=
"gotomation()"
>
审核中
</view>
style=
"color: #434343; background-color: #F5F6FA;"
@
click=
"gotomation()"
>
审核中
</view>
<view
v-if=
"userInfo.identityAuth
==
'PASS'"
class=
"w120 h52 lh52 tc br100 fs28"
<view
v-if=
"userInfo.identityAuth
==
'PASS'"
class=
"w120 h52 lh52 tc br100 fs28"
style=
"color: #434343; background-color: #F5F6FA;"
@
click=
"gotomation()"
>
已认证
</view>
style=
"color: #434343; background-color: #F5F6FA;"
@
click=
"gotomation()"
>
已认证
</view>
<view
v-if=
"userInfo.identityAuth
==
'REFUSE'"
class=
"w120 h52 lh52 tc br100 fs28"
<view
v-if=
"userInfo.identityAuth
==
'REFUSE'"
class=
"w120 h52 lh52 tc br100 fs28"
style=
"color: #434343; background-color: #F5F6FA;"
@
click=
"gotomation()"
>
已拒绝
</view>
style=
"color: #434343; background-color: #F5F6FA;"
@
click=
"gotomation()"
>
已拒绝
</view>
<view
v-if=
"userInfo.identityAuth
==
null"
class=
"w120 h52 lh52 tc br100 fs28"
<view
v-if=
"userInfo.identityAuth
==
null"
class=
"w120 h52 lh52 tc br100 fs28"
style=
"color: #434343; background-color: #F5F6FA;"
@
click=
"gotomation()"
>
未认证
</view>
style=
"color: #434343; background-color: #F5F6FA;"
@
click=
"gotomation()"
>
未认证
</view>
</view>
</view>
<view
class=
"rowjbic mt30"
>
<view
class=
"rowjbic mt30"
>
<view
class=
"fs28 fwb"
style=
"color: #434343;"
>
学历认证
</view>
<view
class=
"fs28 fwb"
style=
"color: #434343;"
>
学历认证
</view>
<view
class=
"fs24"
style=
"color: #434343;"
v-if=
"userInfo.school"
>
{{
userInfo
.
school
}}
<view
class=
"fs24"
style=
"color: #434343;"
v-if=
"userInfo.school"
>
{{
userInfo
.
school
}}
·
<text
class=
"ml10"
></text>
<text
class=
"ml10"
></text>
<text
v-if=
"userInfo.education
==
'Specialty'"
>
专科
</text>
<text
v-if=
"userInfo.education
==
'Specialty'"
>
专科
</text>
<text
v-if=
"userInfo.education
==
'Undergraduate'"
>
本科
</text>
<text
v-if=
"userInfo.education
==
'Undergraduate'"
>
本科
</text>
<text
v-if=
"userInfo.education
==
'Master'"
>
硕士
</text>
<text
v-if=
"userInfo.education
==
'Master'"
>
硕士
</text>
<text
v-if=
"userInfo.education
==
'Doctor'"
>
博士
</text>
<text
v-if=
"userInfo.education
==
'Doctor'"
>
博士
</text>
·
·
<text
v-if=
"userInfo.educationalType
==
'FullTime'"
class=
"ml10"
>
全日制
</text>
<text
v-if=
"userInfo.educationalType
==
'FullTime'"
class=
"ml10"
>
全日制
</text>
<text
v-if=
"userInfo.educationalType
==
'NOFullTime'"
class=
"ml10"
>
非全日制
</text>
<text
v-if=
"userInfo.educationalType
==
'NOFullTime'"
class=
"ml10"
>
非全日制
</text>
</view>
</view>
<view
v-if=
"userInfo.educationAuth
==
'EXAMINE'"
class=
"w120 h52 lh52 tc br100 fs28"
<view
v-if=
"userInfo.educationAuth
==
'EXAMINE'"
class=
"w120 h52 lh52 tc br100 fs28"
style=
"color: #434343; background-color: #F5F6FA;"
@
click=
"gotoeducation()"
>
审核中
</view>
style=
"color: #434343; background-color: #F5F6FA;"
@
click=
"gotoeducation()"
>
审核中
</view>
<view
v-if=
"userInfo.educationAuth
==
'PASS'"
class=
"w120 h52 lh52 tc br100 fs28"
<view
v-if=
"userInfo.educationAuth
==
'PASS'"
class=
"w120 h52 lh52 tc br100 fs28"
style=
"color: #434343; background-color: #F5F6FA;"
@
click=
"gotoeducation()"
>
已认证
</view>
style=
"color: #434343; background-color: #F5F6FA;"
@
click=
"gotoeducation()"
>
已认证
</view>
<view
v-if=
"userInfo.educationAuth
==
'REFUSE'"
class=
"w120 h52 lh52 tc br100 fs28"
<view
v-if=
"userInfo.educationAuth
==
'REFUSE'"
class=
"w120 h52 lh52 tc br100 fs28"
style=
"color: #434343; background-color: #F5F6FA;"
@
click=
"gotoeducation()"
>
已拒绝
</view>
style=
"color: #434343; background-color: #F5F6FA;"
@
click=
"gotoeducation()"
>
已拒绝
</view>
<view
v-if=
"userInfo.educationAuth
==
null"
class=
"w120 h52 lh52 tc br100 fs28"
<view
v-if=
"userInfo.educationAuth
==
null"
class=
"w120 h52 lh52 tc br100 fs28"
style=
"color: #434343; background-color: #F5F6FA;"
@
click=
"gotoeducation()"
>
未认证
</view>
style=
"color: #434343; background-color: #F5F6FA;"
@
click=
"gotoeducation()"
>
未认证
</view>
</view>
</view>
</view>
</view>
<!-- 关于我自己-->
<view
class=
"w690 p30 bcfff br20 mt30 ml30 p30"
>
<view
class=
"w690 p30 bcfff br20 mt30 ml30 p30"
>
<view
class=
"rowjbic"
>
<view
class=
"rowjbic"
>
<view
class=
"rowic"
>
<view
class=
"rowic"
>
<image
class=
"w30 h30"
src=
"/static/images/indexinterest.png"
mode=
"aspectFill"
></image
>
<image
class=
"w30 h30"
src=
"/static/images/indexinterest.png"
mode=
"aspectFill"
/
>
<view
style=
"color: #434343;"
class=
"fs28 fwb ml10"
>
关于我自己
</view>
<view
style=
"color: #434343;"
class=
"fs28 fwb ml10"
>
关于我自己
</view>
</view>
</view>
<view
class=
"w120 h52 lh52 tc br100 fs28"
@
click=
"gotoEditText(1,userInfo.aboutMe)"
<view
class=
"w120 h52 lh52 tc br100 fs28"
@
click=
"gotoEditText(1,userInfo.aboutMe)"
style=
"color: #434343; background-color: #F5F6FA;"
>
style=
"color: #434343; background-color: #F5F6FA;"
>
编辑
</view>
编辑
</view>
</view>
</view>
<view
class=
" mt25 fs28"
style=
"color: #434343; "
>
<view
class=
" mt25 fs28"
style=
"color: #434343; "
>
<view>
{{
userInfo
.
aboutMe
}}
</view>
<view>
{{
userInfo
.
aboutMe
}}
</view>
</view>
</view>
</view>
</view>
<!-- 兴趣爱好-->
<view
class=
"w690 p30 bcfff br20 mt30 ml30 p30"
>
<view
class=
"w690 p30 bcfff br20 mt30 ml30 p30"
>
<view
class=
"rowjbic"
>
<view
class=
"rowjbic"
>
<view
class=
"rowic"
>
<view
class=
"rowic"
>
<image
class=
"w30 h30"
src=
"/static/images/indexlove.png"
mode=
"aspectFill"
></image>
<image
class=
"w30 h30"
src=
"/static/images/indexlove.png"
mode=
"aspectFill"
></image>
<view
style=
"color: #434343;"
class=
"fs28 fwb ml10"
>
兴趣爱好
</view>
<view
style=
"color: #434343;"
class=
"fs28 fwb ml10"
>
兴趣爱好
</view>
</view>
</view>
<view
class=
"w120 h52 lh52 tc br100 fs28"
@
click=
"gotoEditText(2,userInfo.interest)"
<view
class=
"w120 h52 lh52 tc br100 fs28"
@
click=
"gotoEditText(2,userInfo.interest)"
style=
"color: #434343; background-color: #F5F6FA;"
>
style=
"color: #434343; background-color: #F5F6FA;"
>
编辑
</view>
编辑
</view>
</view>
</view>
<view
class=
" mt25 fs28"
style=
"color: #434343; "
>
<view
class=
" mt25 fs28"
style=
"color: #434343; "
>
<view>
{{
userInfo
.
interest
}}
</view>
<view>
{{
userInfo
.
interest
}}
</view>
</view>
</view>
</view>
</view>
<!-- 心仪的Ta-->
<view
class=
"w690 p30 bcfff br20 mt30 ml30 p30"
>
<view
class=
"w690 p30 bcfff br20 mt30 ml30 p30"
>
<view
class=
"rowjbic"
>
<view
class=
"rowjbic"
>
<view
class=
"rowic"
>
<view
class=
"rowic"
>
<image
class=
"w30 h30"
src=
"/static/images/indexcharacter.png"
mode=
"aspectFill"
></image>
<image
class=
"w30 h30"
src=
"/static/images/indexcharacter.png"
mode=
"aspectFill"
></image>
<view
style=
"color: #434343;"
class=
"fs28 fwb ml10"
>
心仪的Ta
</view>
<view
style=
"color: #434343;"
class=
"fs28 fwb ml10"
>
心仪的Ta
</view>
</view>
</view>
<view
class=
"w120 h52 lh52 tc br100 fs28"
@
click=
"gotoEditText(3,userInfo.loveRequirement)"
<view
class=
"w120 h52 lh52 tc br100 fs28"
@
click=
"gotoEditText(3,userInfo.loveRequirement)"
style=
"color: #434343; background-color: #F5F6FA;"
>
style=
"color: #434343; background-color: #F5F6FA;"
>
编辑
</view>
编辑
</view>
</view>
</view>
<view
class=
" mt25 fs28"
style=
"color: #434343; "
>
<view
class=
" mt25 fs28"
style=
"color: #434343; "
>
<view>
{{
userInfo
.
loveRequirement
}}
</view>
<view>
{{
userInfo
.
loveRequirement
}}
</view>
</view>
</view>
</view>
</view>
<view
class=
"h40"
></view>
<view
class=
"h40"
></view>
<!-- 单列不滚动 -->
<!-- 单列不滚动 -->
...
@@ -224,23 +234,46 @@
...
@@ -224,23 +234,46 @@
</view>
</view>
</view>
</view>
</u-popup>
</u-popup>
<ELM
ref=
"elm"
:msg=
"tipMsg"
:isConfirm=
"isConfirm"
@
confirm=
"confirm"
></ELM>
</view>
</view>
</
template
>
</
template
>
<
script
>
<
script
>
import
ELM
from
'@/components/elm-toast/index.vue'
;
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
//用户资料
userInfo
:
{
waitApprovedStatus
:
''
,
waitApprovedImg
:[
'http://192.168.1.80/upload/CmsBanner/20241230/18E63B570FF04DB3A8EFE277D58256C4.jpg'
,
'http://192.168.1.80/upload/CmsActivity/20241230/E3994EF11C524D48AD88D383A2B5786B.jpg'
],
nickName
:
'冬天不怕冷'
,
gender
:
'MALE'
,
age
:
'10'
,
height
:
'188'
,
constellation
:
'111'
,
city
:
'天津市'
,
emotional
:
'Love'
,
profession
:
'医生'
,
annualSalary
:
'Ten_Two'
,
marriage
:
'Unmarried'
,
numtwo
:
0
,
identityAuth
:
null
,
school
:
'天津大学'
,
education
:
'Master'
,
educationalType
:
'FullTime'
,
educationAuth
:
null
,
aboutMe
:
'我是一个医生'
,
interest
:
'我的兴趣爱好是学习'
,
loveRequirement
:
'希望对方也是一名医生'
,
},
multiple
:
100
,
//倍数
multiple
:
100
,
//倍数
percent
:
0
,
//百分比
percent
:
0
,
//百分比
perceptualScore
:
0
,
perceptualScore
:
0
,
value
:
40
,
value
:
40
,
img
:
this
.
$BASE_URL
,
img
:
this
.
$BASE_URL
,
bgColor
:
'rgb(232,241,247)'
,
bgColor
:
'rgb(232,241,247)'
,
userInfo
:
{},
// 新上传的图片路径
// 新上传的图片路径
newImageSrc
:
""
,
newImageSrc
:
""
,
// 单列不滚动
// 单列不滚动
...
@@ -248,19 +281,9 @@
...
@@ -248,19 +281,9 @@
singleIndex
:
0
,
singleIndex
:
0
,
numtwo
:
0
,
numtwo
:
0
,
waitApprovedImg
:
[],
waitApprovedImg
:
[],
tipMsg
:
''
,
isConfirm
:
false
}
}
},
},
components
:
{
ELM
},
onLoad
(
option
)
{
onLoad
(
option
)
{
// this.$myRequest({
// url: '/test/delete/fruser/'+51,
// withToken: true,
// method: 'GET',
// })
uni
.
$once
(
'updateAboutMe'
,
this
.
updateAboutMe
)
uni
.
$once
(
'updateAboutMe'
,
this
.
updateAboutMe
)
uni
.
$once
(
'updateLoveRequirement'
,
this
.
updateLoveRequirement
)
uni
.
$once
(
'updateLoveRequirement'
,
this
.
updateLoveRequirement
)
uni
.
$once
(
'updateInterest'
,
this
.
updateInterest
)
uni
.
$once
(
'updateInterest'
,
this
.
updateInterest
)
...
@@ -271,17 +294,11 @@
...
@@ -271,17 +294,11 @@
},
},
methods
:
{
methods
:
{
gotomation
()
{
gotomation
()
{
// uni.navigateTo({
// url:"/pagesme/me/identityauthentication?type="+type
// })
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
"/pagesme/me/doubleauth"
url
:
"/pagesme/me/doubleauth"
})
})
},
},
gotoeducation
(
type
)
{
gotoeducation
(
type
)
{
// uni.navigateTo({
// url:"/pagesme/me/educationcertification?type="+type
// })
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
"/pagesme/me/doubleauth?type="
+
type
url
:
"/pagesme/me/doubleauth?type="
+
type
})
})
...
@@ -344,8 +361,6 @@
...
@@ -344,8 +361,6 @@
},
},
fail
:
(
loginErr
)
=>
{
fail
:
(
loginErr
)
=>
{
uni
.
hideLoading
();
uni
.
hideLoading
();
this
.
tipMsg
=
"上传失败,请重试"
;
this
.
$refs
.
elm
.
showDialog
();
},
},
complete
()
{}
complete
()
{}
});
});
...
@@ -392,8 +407,7 @@
...
@@ -392,8 +407,7 @@
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
code
==
200
)
{
this
.
getUserIno
();
this
.
getUserIno
();
}
else
{
}
else
{
this
.
tipMsg
=
res
.
data
.
msg
;
this
.
$refs
.
elm
.
showDialog
();
}
}
},
},
updateAboutMe
(
e
)
{
updateAboutMe
(
e
)
{
...
@@ -417,7 +431,6 @@
...
@@ -417,7 +431,6 @@
uni
.
setStorageSync
(
"editText"
,
value
)
uni
.
setStorageSync
(
"editText"
,
value
)
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
"/pagesme/me/editAbout?type="
+
type
url
:
"/pagesme/me/editAbout?type="
+
type
// url:"/pagesintroduction/selectSchool/selectSchool"
})
})
}
else
{
}
else
{
...
@@ -429,18 +442,17 @@
...
@@ -429,18 +442,17 @@
})
})
},
},
async
getUserIno
()
{
async
getUserIno
()
{
const
res
=
await
this
.
$myRequest
({
// const res = await this.$myRequest({
url
:
'/nostalgia/fruser/personalInfo'
,
// url: '/nostalgia/fruser/personalInfo',
withToken
:
true
,
// withToken: true,
method
:
'GET'
,
// method: 'GET',
});
// });
if
(
res
.
data
.
code
==
200
)
{
// if (res.data.code == 200) {
this
.
userInfo
=
res
.
data
.
data
;
// this.userInfo = res.data.data;
this
.
waitApprovedImg
=
res
.
data
.
data
.
waitApprovedImg
;
// this.waitApprovedImg = res.data.data.waitApprovedImg;
}
else
{
// } else {
this
.
tipMsg
=
res
.
data
.
msg
;
this
.
$refs
.
elm
.
showDialog
();
// }
}
},
},
sliderChange
(
e
)
{
sliderChange
(
e
)
{
console
.
log
(
e
)
console
.
log
(
e
)
...
...
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