Authored by 张孝茹

Merge branch 'feature/freeMailAct' into 'release/6.0'

样式调整



See merge request !753
@@ -21,8 +21,8 @@ module.exports = class extends global.yoho.BaseModel { @@ -21,8 +21,8 @@ module.exports = class extends global.yoho.BaseModel {
21 if (result && result.code === 200) { 21 if (result && result.code === 200) {
22 22
23 _.forEach(result.data.freePostCoupons, function(data) { 23 _.forEach(result.data.freePostCoupons, function(data) {
24 - data.startTime = moment.unix(data.startTime).format('YYYY.M.D');  
25 - data.endTime = moment.unix(data.endTime).format('YYYY.M.D'); 24 + data.startTime = moment.unix(data.startTime).format('YYYY.MM.DD');
  25 + data.endTime = moment.unix(data.endTime).format('YYYY.MM.DD');
26 }); 26 });
27 27
28 return result.data; 28 return result.data;

285 KB | W: | H:

242 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
1 .free-mail-index-page { 1 .free-mail-index-page {
2 .top-banner { 2 .top-banner {
3 width: 100%; 3 width: 100%;
4 - height: 375px; 4 + height: 373px;
5 background-image: resolve("activity/free-mail/banner.png"); 5 background-image: resolve("activity/free-mail/banner.png");
6 background-size: 100%; 6 background-size: 100%;
7 background-repeat: no-repeat; 7 background-repeat: no-repeat;
@@ -9,9 +9,8 @@ @@ -9,9 +9,8 @@
9 9
10 .coupon-name { 10 .coupon-name {
11 display: inline-block; 11 display: inline-block;
12 - font-size: 45px; 12 + font-size: 47px;
13 color: #fff; 13 color: #fff;
14 - font-family: "SourceHanSansCN";  
15 transform: rotate(-9.5deg); 14 transform: rotate(-9.5deg);
16 margin: 40px 0 0 186px; 15 margin: 40px 0 0 186px;
17 font-weight: 700; 16 font-weight: 700;
@@ -20,7 +19,7 @@ @@ -20,7 +19,7 @@
20 } 19 }
21 20
22 .coupon-list { 21 .coupon-list {
23 - padding: 0 25px 150px; 22 + padding: 0 23px 150px;
24 color: #fff; 23 color: #fff;
25 24
26 .coupon-item { 25 .coupon-item {
@@ -34,35 +33,39 @@ @@ -34,35 +33,39 @@
34 33
35 .item-left { 34 .item-left {
36 padding-left: 110px; 35 padding-left: 110px;
37 - font-family: "SourceHanSansCN";  
38 width: 340px; 36 width: 340px;
39 height: 100%; 37 height: 100%;
40 - display: inline-block; 38 + float: left;
41 } 39 }
42 40
43 .name { 41 .name {
44 - font-size: 42px; 42 + font-size: 41px;
45 font-weight: 700; 43 font-weight: 700;
46 display: inline-block; 44 display: inline-block;
47 - max-width: 205px; 45 + max-width: 100%;
48 overflow: hidden; 46 overflow: hidden;
49 white-space: nowrap; 47 white-space: nowrap;
50 text-overflow: ellipsis; 48 text-overflow: ellipsis;
51 - padding-top: 10px; 49 + padding-top: 20px;
52 width: 100%; 50 width: 100%;
53 } 51 }
54 52
55 .time { 53 .time {
56 font-size: 12px; 54 font-size: 12px;
  55 + width: 310px;
  56 + transform: scale(0.85, 0.85);
  57 + display: inline-block;
  58 + margin-left: -24px;
57 } 59 }
58 60
59 .item-right { 61 .item-right {
60 height: 100%; 62 height: 100%;
61 - display: inline-block; 63 + display: block;
62 font-size: 101px; 64 font-size: 101px;
63 - font-family: "IKEASans";  
64 - padding-left: 74px; 65 + padding-left: 90px;
65 font-weight: 800; 66 font-weight: 800;
  67 + width: 170px;
  68 + float: left;
66 } 69 }
67 } 70 }
68 71