Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
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
viitto
mallapp
Commits
4d02ad0f
Commit
4d02ad0f
authored
Mar 29, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
60675fc1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
8 deletions
+28
-8
editData.vue
pages/blindDate/editData.vue
+6
-3
persondetails.vue
pages/blindDate/persondetails.vue
+22
-5
No files found.
pages/blindDate/editData.vue
View file @
4d02ad0f
...
...
@@ -95,7 +95,7 @@
export
default
{
data
(){
return
{
time
:
"0"
,
UserId
:
0
,
pageTitle
:
""
,
mainColor
:
""
,
dataList
:[{
...
...
@@ -509,7 +509,7 @@
this
.
request2
(
{
url
:
'/api/AppletMiai/GetMiAiBaseIfo'
,
data
:
{
UserId
:
""
}
data
:
{
UserId
:
this
.
UserId
}
},
res
=>
{
if
(
res
.
resultCode
==
1
){
...
...
@@ -519,6 +519,9 @@
);
}
},
onLoad
(
options
)
{
this
.
UserId
=
options
.
UserId
},
created
()
{
this
.
mainColor
=
this
.
$uiConfig
.
mainColor
;
// this.secondary = this.$uiConfig.secondary;
...
...
@@ -527,7 +530,7 @@
mounted
()
{
this
.
getEnumList
();
this
.
getMarriage
();
//
this.getInfo();
this
.
getInfo
();
uni
.
getStorage
({
key
:
'basedata'
,
success
:
(
res
)
=>
{
...
...
pages/blindDate/persondetails.vue
View file @
4d02ad0f
...
...
@@ -80,7 +80,7 @@
display
:
flex
;
flex-direction
:
row
;
align-items
:
flex-start
;
justify-content
:
space-between
;
justify-content
:
flex-end
;
}
.persondetails
.pd-p-text
{
width
:
100%
;
...
...
@@ -151,9 +151,13 @@
align-items
:
center
;
justify-content
:
center
;
}
.bwytBtn
{
}
</
style
>
<
template
>
<scroll-view
:scroll-y=
"true"
@
scroll=
"scrollHandler"
@
scrolltoupper=
"scrollTopHandler"
style=
"height: 100vh;"
>
<scroll-view
:scroll-y=
"true"
@
scroll=
"scrollHandler"
@
scrolltoupper=
"scrollTopHandler"
style=
"height: 100vh;position: relative;"
>
<button
open-type=
"contact"
:send-message-title=
"dataList.Name"
:send-message-path=
"path"
:send-message-img=
"dataList.Photo"
:show-message-card=
"true"
class=
"bwytBtn"
>
帮我约TA
</button>
<view
class=
"persondetails"
>
<view
class=
"headStatus"
v-if=
"scrollTop > 50"
:style=
"[headStyle,
{
...
...
@@ -193,6 +197,7 @@
未认证
</view>
</view>
<view
@
click=
"dianjiguanzhu(dataList)"
v-if=
"dataList.IsFollow!=-1"
>
<view
class=
"guanzhu"
:style=
"
{background:mainColor}" v-if="dataList.IsFollow==0" >
关注
...
...
@@ -205,9 +210,9 @@
</view>
<view
class=
"guanzhu"
:style=
"
{background:mainColor}" v-if="dataList.IsFollow==3">
互关
</view>
</view>
</view>
</view>
</view>
</view>
...
...
@@ -339,6 +344,7 @@
mall_UserInfo
:
null
,
UserId
:
0
,
isShowBtn
:
true
,
//跳过来不显示编辑按钮
path
:
""
}
},
created
()
{
...
...
@@ -358,7 +364,13 @@
}
else
{
this
.
isShowBtn
=
true
;
}
let
u
=
uni
.
getStorageSync
(
"mall_UserInfo"
);
let
uid
=
u
.
UserId
?
u
.
UserId
:
0
;
let
Up
=
uni
.
getStorageSync
(
"mall_UserInfo"
)?
uni
.
getStorageSync
(
"mall_UserInfo"
).
UserPageType
:
0
;
this
.
path
=
'/pages/index/index?id='
+
options
.
UserId
+
"&user_id="
+
uid
+
"&Up="
+
Up
+
'&JumpType=11'
;
console
.
log
(
this
.
path
)
}
},
onShow
()
{
this
.
init
()
...
...
@@ -398,7 +410,8 @@
},
goedit
(){
uni
.
navigateTo
({
url
:
'/pages/blindDate/personal/editmaterial?UserId='
+
this
.
UserId
// url: '/pages/blindDate/personal/editmaterial?UserId='+this.UserId
url
:
'/pages/blindDate/editData?UserId='
+
this
.
UserId
});
},
dianjiguanzhu
(
x
){
//关注操作
...
...
@@ -428,6 +441,10 @@
uni
.
navigateTo
({
url
:
'/pages/blindDate/basicdata'
})
},
// 帮我约ta
yueta
(){
}
}
}
...
...
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