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
陈峰
2018-12-17 15:25:57 +0800
Commit
99321f98c1c479e63c85b1a53e236777b5047c69
2 parents
f9ff0bdf
b6880c5a
Merge branch 'feature/yoluck' into 'release/6.8.3'
Feature/yoluck See merge request
!1614
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
25 deletions
apps/activity/controllers/yoluck.js
apps/activity/views/partial/yoluck/product-item-header.hbs
package.json
public/hbs/activity/yoluck/product-item-header.hbs
public/js/activity/yoluck-detail.page.js
public/scss/activity/yoluck/fellow-bar.scss
apps/activity/controllers/yoluck.js
View file @
99321f9
...
...
@@ -26,7 +26,8 @@ function index(req, res, next) {
page
:
'yoluck-list'
,
tabpanel
:
result
,
localCss
:
true
,
nodownload
:
true
nodownload
:
true
,
width750
:
true
});
}).
catch
(
next
);
...
...
@@ -75,7 +76,8 @@ function detail(req, res, next) {
page
:
'yoluck-detail'
,
result
,
localCss
:
true
,
nodownload
:
true
nodownload
:
true
,
width750
:
true
});
}).
catch
(
next
);
...
...
apps/activity/views/partial/yoluck/product-item-header.hbs
View file @
99321f9
...
...
@@ -4,7 +4,7 @@
</div>
{{/
ifcond
}}
<img
class=
"product_image"
src=
"
{{
image2
cover_img
q
=
60
}}
"
alt=
""
>
<img
class=
"product_image"
src=
"
{{
image2
cover_img
w
=
760
h
=
470
q
=
60
}}
"
alt=
""
>
<div
class=
"product_name"
>
{{
name
}}
</div>
<div
class=
"product_lucky_bg"
>
...
...
package.json
View file @
99321f9
{
"name"
:
"yohobuywap-node"
,
"version"
:
"6.8.5
0
"
,
"version"
:
"6.8.5
1
"
,
"private"
:
true
,
"description"
:
"A New Yohobuy Project With Express"
,
"repository"
:
{
...
...
public/hbs/activity/yoluck/product-item-header.hbs
View file @
99321f9
...
...
@@ -6,7 +6,7 @@
</div>
{{/
ifcond
}}
<img
class=
"product_image"
src=
"
{{
cover_img
}}
"
alt=
""
>
<img
class=
"product_image"
src=
"
{{
image2
cover_img
w
=
760
h
=
470
q
=
60
}}
"
alt=
""
>
<div
class=
"product_name"
>
{{
name
}}
</div>
<div
class=
"product_lucky_bg"
>
...
...
public/js/activity/yoluck-detail.page.js
View file @
99321f9
...
...
@@ -110,7 +110,6 @@ clipboard.on('success', function(e) {
});
luckAlert
.
init
();
yoSdk
.
auth
();
setInterval
(()
=>
{
let
$countdown
=
$
(
'.product_countdown'
);
...
...
public/scss/activity/yoluck/fellow-bar.scss
View file @
99321f9
...
...
@@ -26,24 +26,5 @@
line-height
:
40px
;
background-color
:
#d0021b
;
text-align
:
center
;
animation
:
scaleDraw
3s
ease-in-out
infinite
;
}
@keyframes
scaleDraw
{
0
%
{
transform
:
scale
(
1
);
}
25
%
{
transform
:
scale
(
1
.2
);
}
50
%
{
transform
:
scale
(
1
);
}
75
%
{
transform
:
scale
(
1
.2
);
}
}
}
...
...
Please
register
or
login
to post a comment