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
郭成尧
2016-12-08 11:26:38 +0800
Commit
67039ff933781058522e540da949ecdfe533b16c
1 parent
c7e4156b
'mg-master'
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
8 additions
and
7 deletions
apps/home/controllers/installment.js
config/cache.js
public/js/channel/home.page.js
public/js/common/helpers/image2.js
public/js/guang/index-editor.page.js
public/js/guang/index.page.js
public/js/guang/info-index.page.js
public/js/home/suggest.page.js
utils/helpers.js
apps/home/controllers/installment.js
View file @
67039ff
config/cache.js
View file @
67039ff
...
...
@@ -18,6 +18,7 @@ const cachePage = {
// 商品详情页
'/product/\\/pro_([\\d]+)_([\\d]+)\\/(.*)/'
:
30
*
MINUTE
,
'/product/\\/show_([\\d]+)/'
:
30
*
MINUTE
,
// 商品详情ajax
// 逛
...
...
public/js/channel/home.page.js
View file @
67039ff
...
...
@@ -3,8 +3,8 @@
* @author: liangzhifeng<zhifeng.liang@yoho.cn>
* @date: 2015/10/12
*/
//加载css
require
(
"channel/home.page.css"
)
// 加载css
require
(
'channel/home.page.css'
);
var
$
=
require
(
'yoho-jquery'
),
...
...
public/js/common/helpers/image2.js
View file @
67039ff
module
.
exports
=
function
(
url
,
opts
)
{
module
.
exports
=
function
(
url
,
opts
)
{
if
(
url
)
{
let
params
=
opts
.
hash
;
let
urls
=
url
.
split
(
'?'
);
...
...
public/js/guang/index-editor.page.js
View file @
67039ff
...
...
@@ -3,7 +3,7 @@
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/10
*/
require
(
"guang/index-editor.page.css"
)
require
(
'guang/index-editor.page.css'
);
var
$
=
require
(
'yoho-jquery'
);
...
...
public/js/guang/index.page.js
View file @
67039ff
...
...
@@ -3,7 +3,7 @@
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/10
*/
require
(
"guang/index.page.css"
)
require
(
'guang/index.page.css'
);
...
...
public/js/guang/info-index.page.js
View file @
67039ff
...
...
@@ -3,7 +3,7 @@
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/13
*/
require
(
"guang/info-index.page.css"
)
require
(
'guang/info-index.page.css'
);
var
$
=
require
(
'yoho-jquery'
),
ellipsis
=
require
(
'yoho-mlellipsis'
),
...
...
public/js/home/suggest.page.js
View file @
67039ff
utils/helpers.js
View file @
67039ff
...
...
@@ -48,7 +48,7 @@ module.exports = {
var
opt
=
args
[
args
.
length
-
1
];
var
isTrue
=
false
;
for
(
var
i
=
0
;
i
<
args
.
length
-
1
;
i
++
)
{
for
(
var
i
=
0
;
i
<
args
.
length
-
1
;
i
++
)
{
if
(
args
[
i
])
{
isTrue
=
true
;
break
;
...
...
Please
register
or
login
to post a comment