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
张孝茹
8 years ago
Commit
b8f9a072f3d36cda5ec600c8b247d0514ddcb48b
2 parents
5bcf3421
da96a2b2
Merge branch 'feature/freeMailAct' into 'release/6.0'
样式调整 See merge request
!753
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
14 deletions
apps/activity/models/free-mail.js
public/img/activity/free-mail/list-banner.png
public/scss/activity/free-mail-index.page.css
public/scss/activity/free-mail-list.page.css
apps/activity/models/free-mail.js
View file @
b8f9a07
...
...
@@ -21,8 +21,8 @@ module.exports = class extends global.yoho.BaseModel {
if
(
result
&&
result
.
code
===
200
)
{
_
.
forEach
(
result
.
data
.
freePostCoupons
,
function
(
data
)
{
data
.
startTime
=
moment
.
unix
(
data
.
startTime
).
format
(
'YYYY.M.D'
);
data
.
endTime
=
moment
.
unix
(
data
.
endTime
).
format
(
'YYYY.M.D'
);
data
.
startTime
=
moment
.
unix
(
data
.
startTime
).
format
(
'YYYY.MM.DD'
);
data
.
endTime
=
moment
.
unix
(
data
.
endTime
).
format
(
'YYYY.MM.DD'
);
});
return
result
.
data
;
...
...
public/img/activity/free-mail/list-banner.png
View file @
b8f9a07
285 KB
|
W:
|
H:
242 KB
|
W:
|
H:
2-up
Swipe
Onion skin
public/scss/activity/free-mail-index.page.css
View file @
b8f9a07
.free-mail-index-page
{
.top-banner
{
width
:
100%
;
height
:
37
5
px
;
height
:
37
3
px
;
background-image
:
resolve
(
"activity/free-mail/banner.png"
);
background-size
:
100%
;
background-repeat
:
no-repeat
;
...
...
public/scss/activity/free-mail-list.page.css
View file @
b8f9a07
...
...
@@ -9,9 +9,8 @@
.coupon-name
{
display
:
inline-block
;
font-size
:
4
5
px
;
font-size
:
4
7
px
;
color
:
#fff
;
font-family
:
"SourceHanSansCN"
;
transform
:
rotate
(
-9.5deg
);
margin
:
40px
0
0
186px
;
font-weight
:
700
;
...
...
@@ -20,7 +19,7 @@
}
.coupon-list
{
padding
:
0
2
5
px
150px
;
padding
:
0
2
3
px
150px
;
color
:
#fff
;
.coupon-item
{
...
...
@@ -34,35 +33,39 @@
.item-left
{
padding-left
:
110px
;
font-family
:
"SourceHanSansCN"
;
width
:
340px
;
height
:
100%
;
display
:
inline-block
;
float
:
left
;
}
.name
{
font-size
:
4
2
px
;
font-size
:
4
1
px
;
font-weight
:
700
;
display
:
inline-block
;
max-width
:
205px
;
max-width
:
100%
;
overflow
:
hidden
;
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
padding-top
:
1
0px
;
padding-top
:
2
0px
;
width
:
100%
;
}
.time
{
font-size
:
12px
;
width
:
310px
;
transform
:
scale
(
0.85
,
0.85
);
display
:
inline-block
;
margin-left
:
-24px
;
}
.item-right
{
height
:
100%
;
display
:
inline-
block
;
display
:
block
;
font-size
:
101px
;
font-family
:
"IKEASans"
;
padding-left
:
74px
;
padding-left
:
90px
;
font-weight
:
800
;
width
:
170px
;
float
:
left
;
}
}
...
...
Please
register
or
login
to post a comment