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
郭成尧
2018-05-16 15:22:52 +0800
Commit
d58925224b7add844790ba3602ca6e16d866a0e3
1 parent
22a6220a
require-yoho-app
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
1 deletions
public/js/activity/feature.page.js
public/js/common/yas-tools.js
public/js/activity/feature.page.js
View file @
d589252
const
$
=
require
(
'yoho-jquery'
);
const
lazyLoad
=
require
(
'yoho-jquery-lazyload'
);
const
Swiper
=
require
(
'yoho-swiper'
);
const
yoho
=
require
(
'
../
yoho-app'
);
const
yoho
=
require
(
'yoho-app'
);
const
qs
=
require
(
'yoho-qs'
);
const
cookie
=
require
(
'yoho-cookie'
);
...
...
public/js/common/yas-tools.js
0 → 100644
View file @
d589252
import
yohoApp
from
'yoho-app'
;
function
getPname
()
{
let
pName
=
''
;
if
(
yohoApp
.
isiOS
)
{
pName
=
'iFP_SalesPromotion_h5'
;
}
if
(
yohoApp
.
isAndroid
)
{
pName
=
'aFP_SalesPromotion_h5'
;
}
return
pName
;
}
module
.
exports
=
{
getPname
};
...
...
Please
register
or
login
to post a comment