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
Plain Diff
Browse Files
Authored by
徐炜
9 years ago
Commit
6a2933633ed7c2eadf0a25f580d125f4b49a8cba
2 parents
7f90056d
007c4496
Merge branch 'feature/installment2a' into release/4.9.2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
public/js/home/installment.starting-service.page.js
public/js/yoho-app.js
public/js/home/installment.starting-service.page.js
View file @
6a29336
...
...
@@ -57,7 +57,7 @@ var validateForm = function() {
var
checkCard
=
require
(
'./bind-card-check'
);
const
clearVerifyCode
=
function
()
{
var
clearVerifyCode
=
function
()
{
formModel
.
snsCheckCode
=
''
;
$
(
'#sns-check-code'
).
val
(
''
);
};
...
...
@@ -283,7 +283,7 @@ $('input[maxlength]').keyup(function() {
});
$
(
'#agreements'
).
click
(
function
()
{
const
params
=
{
var
params
=
{
action
:
'go.instalmentProtocol'
,
params
:
{
protocolUrl
:
location
.
protocol
+
'//'
+
location
.
hostname
+
location
.
port
+
$
(
this
).
data
(
'href'
)
...
...
public/js/yoho-app.js
View file @
6a29336
...
...
@@ -29,7 +29,7 @@ var yoho = {
*/
data
:
window
.
yohoInterfaceData
,
ready
(
callback
)
{
ready
:
function
(
callback
)
{
if
(
this
.
isApp
)
{
document
.
addEventListener
(
'deviceready'
,
callback
);
}
else
{
...
...
@@ -44,7 +44,7 @@ var yoho = {
* @param success 调用成功的回调方法
* @param fail 调用失败的回调方法
*/
invokeMethod
(
method
,
args
,
success
,
fail
)
{
invokeMethod
:
function
(
method
,
args
,
success
,
fail
)
{
var
appInterface
=
window
.
yohoInterface
;
if
(
this
.
isApp
&&
appInterface
)
{
...
...
@@ -62,7 +62,7 @@ var yoho = {
* @param name 方法名
* @param callback 回调
*/
addNativeMethod
(
name
,
callback
)
{
addNativeMethod
:
function
(
name
,
callback
)
{
var
appInterface
=
window
.
yohoInterface
;
// 延迟 500ms 注入
...
...
Please
register
or
login
to post a comment