Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
Aiden Xu
9 years ago
Commit
8e840721846656905282da881db6d711feb8c903
1 parent
bc45f97d
开通有货分期
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
47 additions
and
14 deletions
apps/home/views/action/installment/starting-service.hbs
public/js/home/installment.starting-service.page.js
public/scss/home/installment/_starting-service.css
apps/home/views/action/installment/starting-service.hbs
View file @
8e84072
...
...
@@ -8,18 +8,17 @@
<div
class=
"field"
>
<label
for=
"userName"
>
姓名:
</label>
<input
id=
"userName"
name=
"userName"
type=
"text"
placeholder=
"姓名"
maxlength=
"20"
/>
<input
id=
"userName"
name=
"userName"
type=
"text"
placeholder=
"
真实
姓名"
maxlength=
"20"
/>
<div
class=
"clearfix"
></div>
</div>
<div
class=
"field"
>
<label
for=
"identityCardNo"
>
身份证号:
</label>
<input
id=
"identityCardNo"
name=
"identityCardNo"
type=
"text"
placeholder=
"身份证号"
maxlength=
"18"
/>
<input
id=
"identityCardNo"
name=
"identityCardNo"
type=
"text"
placeholder=
"
请填写
身份证号"
maxlength=
"18"
/>
<div
class=
"clearfix"
></div>
</div>
<div
class=
"field"
>
<label
for=
"name"
>
卡号:
</label>
...
...
@@ -27,10 +26,17 @@
<div
class=
"clearfix"
></div>
</div>
<div
class=
"field"
>
<div>
<img
src=
""
alt=
""
>
<span>
中国工商银行
</span>
</div>
</div>
<div
class=
"field"
>
<label
for=
"name"
>
手机号:
</label>
<input
id=
"name"
name=
"mobilePhone"
type=
"text"
placeholder=
"银行预留手机号码"
/>
<input
id=
"name"
name=
"mobilePhone"
type=
"text"
placeholder=
"银行预留手机号码"
maxlength=
"11"
/>
<div
class=
"clearfix"
></div>
</div>
...
...
@@ -49,10 +55,15 @@
<div
class=
"clearfix"
></div>
</div>
<div
class=
"data-encryption"
>
数据智能加密,保障您的用卡安全
</div>
<div
class=
"bottom-block"
>
<div
class=
"data-encryption"
>
数据智能加密,保障您的用卡安全
</div>
<button
id=
"apply-button"
class=
"apply-button"
type=
"submit"
>
下一步
</button>
<button
id=
"apply-button"
class=
"apply-button"
type=
"submit"
>
下一步
</button>
<div
class=
"provider-mark"
>
Yoho!Buy信而富联合提供
</div>
</div>
</form>
</div>
...
...
public/js/home/installment.starting-service.page.js
View file @
8e84072
...
...
@@ -6,6 +6,14 @@ const Timer = function() {
};
const
FormModel
=
function
()
{
Object
.
assign
(
this
,
{
userName
:
''
,
identityCardNo
:
''
,
cardNo
:
''
,
mobilePhone
:
''
,
verifyCode
:
''
,
agreements
:
''
});
};
const
formModel
=
new
FormModel
();
...
...
@@ -116,6 +124,11 @@ $('input').on('change', function() {
validateForm
();
});
validateForm
();
setInterval
(()
=>
{
validateForm
();
},
500
);
/**
* 表单提交
...
...
public/scss/home/installment/_starting-service.css
View file @
8e84072
...
...
@@ -34,7 +34,7 @@
}
.field
{
padding
:
30
px
;
padding
:
25
px
;
border-bottom
:
1px
solid
#e0e0e0
;
min-height
:
90px
;
}
...
...
@@ -60,7 +60,7 @@
label
{
font-size
:
27px
;
color
:
#
c6c6c6
;
color
:
#
444
;
}
a
{
...
...
@@ -84,27 +84,36 @@
.data-encryption
{
color
:
#b0b0b0
;
margin
:
128px
auto
20px
;
margin
:
0
auto
20px
;
text-align
:
center
;
}
label
{
font-size
:
40
px
;
font-size
:
32
px
;
color
:
#444
;
float
:
left
;
}
input
[
type
=
text
]
{
font-size
:
30
px
;
font-size
:
27
px
;
height
:
40px
;
color
:
#444
;
float
:
left
;
margin-top
:
5
px
;
margin-top
:
2
px
;
}
.provider-mark
{
text-align
:
center
;
font-size
:
27px
;
color
:
#444
;
margin-top
:
64px
;
margin-bottom
:
24px
;
}
.bottom-block
{
width
:
100%
;
text-align
:
center
;
position
:
fixed
;
bottom
:
0
;
}
}
...
...
Please
register
or
login
to post a comment