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
cb01c1be
Commit
cb01c1be
authored
Mar 09, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
相亲小程序的首页
parent
3741c65d
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
62 additions
and
37 deletions
+62
-37
index.vue
components/matchmaking/index.vue
+15
-15
pointRecharge.vue
pages/appointment/personal/pointRecharge.vue
+6
-1
postDetails.vue
pages/blindDate/postDetails.vue
+27
-17
postPublishing.vue
pages/blindDate/postPublishing.vue
+5
-1
friendcircle.vue
pages/friendcircle/friendcircle.vue
+7
-2
index.vue
pages/index/index.vue
+2
-1
No files found.
components/matchmaking/index.vue
View file @
cb01c1be
<
template
>
<view
class=
"matchmaking"
style=
"margin-bottom:70px;"
>
<view
class=
"matchmaking-box"
v-for=
"(item,index) in
data"
:key=
'index'
@
click=
"goDetail(
)"
>
<view
class=
"matchmaking-box"
v-for=
"(item,index) in
navs.list"
:key=
'index'
@
click=
"goDetail(item
)"
>
<view
class=
"box-top"
>
<u-avatar
:src=
"item.
tximg
"
size=
"80"
></u-avatar>
<image
class=
"gstyle"
v-if=
"item.
Gender==1
"
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/basic-nan-b.png"
></image>
<image
class=
"gstyle"
v-if=
"item.
Gender==2
"
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/basic-nv-b.png"
></image>
<u-avatar
:src=
"item.
Photo
"
size=
"80"
></u-avatar>
<image
class=
"gstyle"
v-if=
"item.
SexStr=='男'
"
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/basic-nan-b.png"
></image>
<image
class=
"gstyle"
v-if=
"item.
SexStr=='女'
"
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/basic-nv-b.png"
></image>
<view
class=
"boxt-center"
>
<view
class=
"row"
>
<view
class=
"boxtc-t-f"
:style=
"
{color:mainColor}">
{{
item
.
fen
}}
分
{{
item
.
Score
}}
分
</view>
<view
class=
"box-name"
>
{{
item
.
name
}}
</view>
</view>
<view
class=
"row"
>
<view
class=
"boxtc-b-item"
>
{{
item
.
Age
}}
岁
</view>
<view
class=
"boxtc-b-item"
>
{{
item
.
e
ducation
}}
</view>
<view
class=
"boxtc-b-item"
>
{{
item
.
m
arriage
}}
</view>
<view
class=
"boxtc-b-item"
>
{{
item
.
E
ducation
}}
</view>
<view
class=
"boxtc-b-item"
>
{{
item
.
M
arriage
}}
</view>
</view>
</view>
<view
class=
"boxt-r"
>
匹配度
{{
item
.
matching
}}
匹配度
{{
item
.
MatchingRate
}}
%
</view>
</view>
<view
class=
"box-img"
>
<view
v-if=
"
item.type==
1"
class=
"box-img-one"
>
<image
:src=
"item.
tximg
"
mode=
"aspectFill"
style=
"width: 100%;height: 100%;border-radius: 15px;"
></image>
<view
v-if=
"
navs.listStyle==-
1"
class=
"box-img-one"
>
<image
:src=
"item.
AlbumList[0]
"
mode=
"aspectFill"
style=
"width: 100%;height: 100%;border-radius: 15px;"
></image>
</view>
<view
v-if=
"
item.type==2
"
class=
"box-img-two"
>
<view
class=
"box-img-two-item"
v-for=
"(x,y) in item.
imgs
"
:key=
'y'
>
<view
v-if=
"
navs.listStyle==0
"
class=
"box-img-two"
>
<view
class=
"box-img-two-item"
v-for=
"(x,y) in item.
AlbumList
"
:key=
'y'
>
<image
:src=
"x"
mode=
"aspectFill"
style=
"width: 100%;height: 100%;border-radius: 15px;"
></image>
</view>
<view
style=
"width: 1px;height: 10px;"
></view>
...
...
@@ -39,7 +39,7 @@
<
script
>
export
default
{
//
props: ["navs"],
props
:
[
"navs"
],
data
(){
return
{
type
:
2
,
...
...
@@ -64,9 +64,9 @@
this
.
secondary
=
this
.
$uiConfig
.
secondary
;
},
methods
:{
goDetail
(){
goDetail
(
x
){
uni
.
navigateTo
({
url
:
'/pages/blindDate/persondetails?UserId='
+
'123559'
url
:
'/pages/blindDate/persondetails?UserId='
+
x
.
id
});
}
}
...
...
pages/appointment/personal/pointRecharge.vue
View file @
cb01c1be
...
...
@@ -80,8 +80,13 @@
this
.
RechargeMsg
.
PointGoodsId
=
item
.
ID
;
},
queren
(){
let
mall_UserInfo
=
uni
.
getStorageSync
(
"mall_UserInfo"
)?
uni
.
getStorageSync
(
"mall_UserInfo"
):
''
;
let
url
=
'/api/WeChatPay/GetPointPayInfo'
if
(
mall_UserInfo
.
IsOpenMiAi
==
1
){
url
=
'/api/WeChatPay/GetStarsPayInfo'
}
this
.
request2
({
url
:
'/api/WeChatPay/GetPointPayInfo'
,
url
:
url
,
data
:
this
.
RechargeMsg
},
res
=>
{
...
...
pages/blindDate/postDetails.vue
View file @
cb01c1be
...
...
@@ -424,7 +424,7 @@
:focus=
'showreply'
confirm-type=
'send'
@
blur=
'initialize()'
@
focus=
'getfocus
'
@
keyboardheightchange=
'keyboardheightchange
'
/>
</view>
</view>
...
...
@@ -588,6 +588,10 @@
},
oneheight
:
0
,
}
},
mounted
(){
},
created
()
{
this
.
mainColor
=
this
.
$uiConfig
.
mainColor
;
...
...
@@ -722,7 +726,18 @@
);
}
}
else
{
this
.
init2
();
this
.
request2
(
{
url
:
'/api/AppletMiai/GetActivityReplyPageList'
,
data
:
{
pageIndex
:
1
,
pageSize
:
20
,
ParentId
:
this
.
msg2
.
ParentId
}
},
res
=>
{
if
(
res
.
resultCode
==
1
){
this
.
g2
.
unshift
(
res
.
data
.
pageData
[
0
])
}
}
);
this
.
initialize
();
this
.
sendMsg
.
ParentId
=
this
.
twodata
.
Id
this
.
ParentName
=
''
;
...
...
@@ -788,7 +803,9 @@
this
.
twodata
=
x
;
this
.
twoshow
=
true
;
this
.
msg2
.
ParentId
=
x
.
Id
this
.
sendMsg
.
ParentId
=
x
.
Id
this
.
sendMsg
.
ParentId
=
x
.
Id
;
this
.
msg2
.
pageIndex
=
1
;
this
.
g2
=
[]
this
.
init2
()
},
inputscroll2
(){
//二级回复时
...
...
@@ -901,20 +918,13 @@
}
);
},
getfocus
(){
setTimeout
(()
=>
{
uni
.
onKeyboardHeightChange
(
res
=>
{
console
.
log
(
res
.
height
,
'高度'
)
if
(
res
.
height
!=
0
){
this
.
oneheight
=
res
.
height
-
1
;
console
.
log
(
this
.
showreply
)
this
.
showreply
=
true
this
.
$forceUpdate
()
}
})
},
10
)
}
keyboardheightchange
(
e
){
console
.
log
(
e
.
detail
.
height
)
let
that
=
this
that
.
oneheight
=
e
.
detail
.
height
-
1
;
that
.
$forceUpdate
()
},
}
}
...
...
pages/blindDate/postPublishing.vue
View file @
cb01c1be
...
...
@@ -134,7 +134,7 @@
</view>
</u-upload>
</view>
<view
class=
"release"
@
click=
"releasebtn
"
:style=
"
{background:mainColor}">
<view
class=
"release"
:ripple=
"true"
@
click=
"disbth==false?releasebtn():''
"
:style=
"
{background:mainColor}">
发布
</view>
</view>
...
...
@@ -177,6 +177,7 @@ export default {
showAuth
:
false
,
show
:
false
,
u
:{},
disbth
:
false
,
fileList
:[],
list
:
[],
mainColor
:
""
,
...
...
@@ -327,6 +328,8 @@ export default {
})
return
}
this
.
disbth
=
true
let
pages
=
getCurrentPages
();
// 当前页面
let
beforePage
=
pages
[
pages
.
length
-
2
];
// 前一个页面
uni
.
showLoading
({
...
...
@@ -338,6 +341,7 @@ export default {
data
:
this
.
addMsg
},
res
=>
{
this
.
disbth
=
false
uni
.
hideLoading
()
if
(
res
.
resultCode
==
1
){
uni
.
showToast
({
...
...
pages/friendcircle/friendcircle.vue
View file @
cb01c1be
...
...
@@ -481,9 +481,14 @@
},
methods
:
{
init
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
let
mall_UserInfo
=
uni
.
getStorageSync
(
"mall_UserInfo"
)?
uni
.
getStorageSync
(
"mall_UserInfo"
):
''
;
let
url
=
'/api/AppletSchool/GetDynamicList'
if
(
mall_UserInfo
.
IsOpenMiAi
==
1
){
url
=
'/api/AppletSchool/GetMiAiDynamicList'
}
this
.
request2
({
url
:
'/api/AppletSchool/GetDynamicList'
,
url
:
url
,
data
:
this
.
msg
},
res
=>
{
...
...
pages/index/index.vue
View file @
cb01c1be
...
...
@@ -60,8 +60,9 @@
<educationteacher
v-if=
"d.id == 'educationteacher'"
:goods=
"d.data"
:key=
"di"
></educationteacher>
<!--导航栏-->
<navpage
v-if=
"d.id == 'nav-page'"
:navs=
"d.data"
:key=
"di"
></navpage>
<matchmaking
v-if=
"d.id == 'miaiuser'"
:navs=
"d.data"
:key=
"di"
></matchmaking>
</
template
>
<matchmaking></matchmaking>
</view>
</template>
<view
v-if=
"showtabs==true"
>
...
...
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