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
460ca7cc
Commit
460ca7cc
authored
Apr 29, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
匹配条件
parent
29bd98f9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
30 deletions
+41
-30
peoplescreen.vue
pages/blindDate/personal/peoplescreen.vue
+41
-30
No files found.
pages/blindDate/personal/peoplescreen.vue
View file @
460ca7cc
...
...
@@ -154,21 +154,23 @@
</scroll-view>
</view>
<auth
v-if=
"showAuth"
@
changeuserinfo=
"reloadUserinfo"
@
gbAuth=
'gbAuth'
></auth>
</div>
</
template
>
<
script
>
import
matchmaking
from
"@/components/matchmaking/index"
import
rangeSlider
from
"../components/range-slider.vue"
import
rangeSlider
from
"../components/range-slider.vue"
import
auth
from
"@/components/auth/index.vue"
;
export
default
{
components
:
{
matchmaking
,
rangeSlider
rangeSlider
,
auth
},
data
()
{
return
{
showAuth
:
false
,
u
:{},
mainColor
:
''
,
active
:
0
,
searchKey
:
""
,
...
...
@@ -212,10 +214,7 @@
},
page_count
:
1
,
status
:
"loadmore"
,
data
:
{
listStyle
:
-
1
,
list
:
[],
},
width
:
0
,
//滑块的高度
cHeight
:
0
,
ages
:
[
0
,
0
],
//年龄
...
...
@@ -237,19 +236,18 @@
}
}
this
.
cHeight
=
this
.
$uiConfig
.
is_bang
?
60
:
52
;
if
(
uni
.
getStorageSync
(
'blindDate_listStyle'
))
{
//从缓存里获取图片模式
this
.
data
.
listStyle
=
uni
.
getStorageSync
(
'blindDate_listStyle'
).
style
;
this
.
Styletype
=
uni
.
getStorageSync
(
'blindDate_listStyle'
).
style
;
}
else
{
uni
.
setStorageSync
(
"blindDate_listStyle"
,
{
style
:
this
.
data
.
listStyle
});
//吧当前时间存起来
this
.
u
=
uni
.
getStorageSync
(
"mall_UserInfo"
);
if
(
!
this
.
u
)
{
this
.
u
=
{
nickName
:
"未登录"
,
avatarUrl
:
""
};
this
.
showAuth
=
true
;
}
else
{
this
.
getmethod
()
}
this
.
GetBaseInfoQueryList
()
//获取筛选数据
this
.
getEnumList
();
//学历
this
.
getMarriage
();
//婚姻
this
.
GetHouseList
()
//获取房屋枚举
this
.
GetCarList
()
//获取车辆枚举
},
created
()
{
this
.
mainColor
=
this
.
$uiConfig
.
mainColor
;
...
...
@@ -273,7 +271,14 @@
},
methods
:
{
methods
:
{
getmethod
(){
this
.
GetBaseInfoQueryList
()
//获取筛选数据
this
.
getEnumList
();
//学历
this
.
getMarriage
();
//婚姻
this
.
GetHouseList
()
//获取房屋枚举
this
.
GetCarList
()
//获取车辆枚举
},
GetBaseInfoQueryList
()
{
this
.
request2
({
url
:
'/api/AppletMiai/GetBaseInfoQueryList'
,
...
...
@@ -350,7 +355,7 @@
this
.
active
=
i
;
this
.
msg
.
Sex
=
this
.
typeList
[
i
].
Id
;
this
.
msg
.
pageIndex
=
1
;
this
.
data
.
list
=
[];
this
.
getscreen
(
this
.
queryList
)
},
goreset
()
{
//重置
...
...
@@ -377,17 +382,14 @@
this
.
Weights
=
[
0
,
0
];
//体重
this
.
YearMoeys
=
[
0
,
0
];
//年收入
this
.
msg
=
data
;
this
.
data
.
list
=
[];
this
.
init
(
2
);
},
determine
()
{
//确定
this
.
msg
.
pageIndex
=
1
;
this
.
data
.
list
=
[];
this
.
data
.
listStyle
=
this
.
Styletype
uni
.
setStorageSync
(
"blindDate_listStyle"
,
{
style
:
this
.
data
.
listStyle
});
//吧当前时间存起来
this
.
init
(
1
);
this
.
show
=
false
},
...
...
@@ -479,6 +481,15 @@
}
}
);
},
reloadUserinfo
()
{
this
.
u
=
uni
.
getStorageSync
(
"mall_UserInfo"
);
// this.showAuth=false;
this
.
getmethod
();
},
//关闭登录窗口
gbAuth
(){
uni
.
navigateBack
()
},
}
...
...
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