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
90deeaf7
Commit
90deeaf7
authored
May 12, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
98e77443
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
68 additions
and
6 deletions
+68
-6
editData.vue
pages/blindDate/editData.vue
+1
-1
IDidentification.vue
pages/blindDate/personal/IDidentification.vue
+65
-3
persondetails.vue
pages/blindDate/persondetails.vue
+2
-2
No files found.
pages/blindDate/editData.vue
View file @
90deeaf7
...
...
@@ -358,7 +358,7 @@
type
:
3
},{
name
:
"期待的未来生活是怎样的"
,
field
:
"
SingleReason
"
,
field
:
"
OtherInfo
"
,
placehloder
:
"写下你期待的未来生活是怎样的"
,
type
:
3
},
...
...
pages/blindDate/personal/IDidentification.vue
View file @
90deeaf7
...
...
@@ -89,7 +89,8 @@
addMsg
:{
Name
:
''
,
cardNo
:
''
,
}
},
Jumptype
:
0
}
},
...
...
@@ -100,6 +101,11 @@
title
:
this
.
pageTitle
});
},
onLoad
(
options
)
{
if
(
options
&&
options
.
Jumptype
){
this
.
Jumptype
=
options
.
Jumptype
}
},
methods
:{
gorenzheng
(){
let
regName
=
/^
[\u
4e00-
\u
9fa5
]{2,4}
$/
;
...
...
@@ -118,11 +124,67 @@
})
}
else
{
let
birthday
=
this
.
getBirthdayFromIdCard
(
this
.
addMsg
.
cardNo
)
console
.
log
(
birthday
)
this
.
getCallinterface
(
)
}
},
getBirthdayFromIdCard
(
idCard
)
{
getCallinterface
(){
let
pages
=
getCurrentPages
();
// 当前页面
let
beforePage
=
pages
[
pages
.
length
-
2
];
// 前一个页面
setTimeout
(()
=>
{
if
(
this
.
Jumptype
==
0
){
uni
.
navigateBack
({
delta
:
1
});
}
else
if
(
this
.
Jumptype
==
2
){
uni
.
navigateBack
({
success
:
function
()
{
beforePage
.
$vm
.
getisAttestation
();
// 执行前一个页面的方法
}
});
}
},
1000
)
// this.request2({
// url: '/api/AppletMiai/GetSetMiAiBaseInfo',
// data: msg
// },
// res => {
// if (res.resultCode == 1) {
// uni.showToast({
// title: res.message,
// duration: 2000,
// icon:"success",
// success:()=>{
// setTimeout(()=>{
// if(this.Jumptype == 0){
// uni.navigateBack({
// delta: 1
// });
// }else if(this.Jumptype == 1){
// uni.reLaunch({
// url: '/pages/blindDate/persondetails?UserId='+ this.UserId+'&Jumptype=1'
// })
// }else if(this.Jumptype == 2){
// uni.navigateBack({
// success: function() {
// beforePage.$vm.getisAttestation(); // 执行前一个页面的方法
// }
// });
// }
// },1000)
// }
// });
// }
// }
// );
},
getBirthdayFromIdCard
(
idCard
)
{
//获取出生日期
var
birthday
=
""
;
if
(
idCard
!=
null
&&
idCard
!=
""
){
if
(
idCard
.
length
==
15
){
...
...
pages/blindDate/persondetails.vue
View file @
90deeaf7
...
...
@@ -105,7 +105,7 @@
align-items
:
center
;
}
.box-grdt-i-box
{
display
:
inline-block
;
margin-top
:
1
0
px
;
display
:
inline-block
;
margin-top
:
1
5
px
;
}
.box-grdt-i-t
{
padding
:
0
20rpx
;
...
...
@@ -350,7 +350,7 @@
</span>
</view>
<view
class=
"box-grdt-i-c"
>
<text
v-if=
"dataList.
SingleReason!=''"
>
{{
dataList
.
SingleReason
}}
</text>
<text
v-if=
"dataList.
OtherInfo!=''"
>
{{
dataList
.
OtherInfo
}}
</text>
<view
v-else
class=
"box-grdt-i-c-w"
>
暂无
</view>
</view>
</view>
...
...
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