Showing
15 changed files
with
330 additions
and
5 deletions
@@ -6,7 +6,7 @@ exports.index = (req, res, next) => { | @@ -6,7 +6,7 @@ exports.index = (req, res, next) => { | ||
6 | res.locals.width750 = true; | 6 | res.locals.width750 = true; |
7 | 7 | ||
8 | res.render('vip_day/index', { | 8 | res.render('vip_day/index', { |
9 | - pageStyle: 'vip-day' | 9 | + pageStyle: 'vip-day entry' |
10 | }); | 10 | }); |
11 | }; | 11 | }; |
12 | 12 | ||
@@ -16,7 +16,7 @@ exports.crazyWheel = (req, res, next) => { | @@ -16,7 +16,7 @@ exports.crazyWheel = (req, res, next) => { | ||
16 | res.locals.width750 = true; | 16 | res.locals.width750 = true; |
17 | 17 | ||
18 | res.render('vip_day/crazy_wheel', { | 18 | res.render('vip_day/crazy_wheel', { |
19 | - pageStyle: 'vip-day', | 19 | + pageStyle: 'vip-day game', |
20 | isWheel: true, | 20 | isWheel: true, |
21 | }); | 21 | }); |
22 | }; | 22 | }; |
@@ -27,7 +27,7 @@ exports.crazyLuck = (req, res, next) => { | @@ -27,7 +27,7 @@ exports.crazyLuck = (req, res, next) => { | ||
27 | res.locals.width750 = true; | 27 | res.locals.width750 = true; |
28 | 28 | ||
29 | res.render('vip_day/crazy_luck', { | 29 | res.render('vip_day/crazy_luck', { |
30 | - pageStyle: 'vip-day', | 30 | + pageStyle: 'vip-day game', |
31 | isLuck: true | 31 | isLuck: true |
32 | }); | 32 | }); |
33 | }; | 33 | }; |
1 | -index | ||
1 | +{{! header }} | ||
2 | +<header class="vip-day-header"></header> | ||
3 | + | ||
4 | +<h4 class="vip-day-slogan">每月28日 尽情釋放</h4> | ||
5 | + | ||
6 | +<section class="vip-day-sec qiangjuan"> | ||
7 | + <ul class="chits"> | ||
8 | + <li class="chit chit10"></li> | ||
9 | + <li class="chit chit30"></li> | ||
10 | + <li class="chit chit60"></li> | ||
11 | + </ul> | ||
12 | + <button class="qiangjuan-foucs">立刻关注抢优惠券</button> | ||
13 | +</section> | ||
14 | + | ||
15 | +{{! section: 玩转有货币 }} | ||
16 | +<section class="vip-day-sec play-coin"> | ||
17 | + <header class="header"> | ||
18 | + <h5 class="title">[ 玩转有货币 ]</h5> | ||
19 | + </header> | ||
20 | + <ul class="clearfix"> | ||
21 | + <li class="item item-1 pull-left"> | ||
22 | + <img class="play-icon-flag" src="{{imgSrc '/img/activity/vip_day/play-icon-1.png'}}" alt="签到福利"> | ||
23 | + </li> | ||
24 | + <li class="item item-2 pull-right"> | ||
25 | + <img class="play-icon-flag" src="{{imgSrc '/img/activity/vip_day/play-icon-2.png'}}" alt="拼手气"> | ||
26 | + </li> | ||
27 | + </ul> | ||
28 | +</section> | ||
29 | + | ||
30 | +{{! section: vip等级加速 }} | ||
31 | +<section class="vip-day-sec vip-rocket"> | ||
32 | + <header class="header"> | ||
33 | + <h5 class="title">[ VIP等级加速 ]</h5> | ||
34 | + </header> | ||
35 | + <div class="content text-center"> | ||
36 | + <p>会员日当天消费的会员将获得<strong>翻倍</strong>VIP积分奖励</p> | ||
37 | + <button type="button" class="vip-rocket-privilege">VIP 专享权</button><br> | ||
38 | + <button type="button" class="vip-rocket-buynow">立即买</button> | ||
39 | + </div> | ||
40 | +</section> | ||
41 | + | ||
42 | +{{! section: 会员日专享商品 }} | ||
43 | +<section class="vip-day-sec vip-goods"> | ||
44 | + <header class="header"> | ||
45 | + <h5 class="title">[ 会员日专享商品 ]</h5> | ||
46 | + </header> | ||
47 | + <div class="content"> | ||
48 | + <div class="vip-goods-sec"> | ||
49 | + <h5 class="vip-goods-sec-label">潮牌尖嘴</h5> | ||
50 | + <ul class="vip-goods-list"> | ||
51 | + <li class="vip-good"> | ||
52 | + <img class="vip-good-show" src="" alt=""> | ||
53 | + <div class="vip-good-price"> | ||
54 | + <div> | ||
55 | + <sup>¥</sup><span>539</span> | ||
56 | + </div> | ||
57 | + <div> | ||
58 | + <span class="disable-price">¥539</span> | ||
59 | + </div> | ||
60 | + </div> | ||
61 | + <div class="vip-good-bottom"> | ||
62 | + <h6 class="vip-good-name">The Hundreds</h6> | ||
63 | + <button class="vip-good-fav" type="button">马上收藏</button> | ||
64 | + </div> | ||
65 | + </li> | ||
66 | + <li></li> | ||
67 | + <li></li> | ||
68 | + </ul> | ||
69 | + </div> | ||
70 | + </div> | ||
71 | +</section> | ||
72 | + | ||
73 | +{{! section: 欢乐福利加倍区 }} | ||
74 | +<section id="" class="vip-day-sec"> | ||
75 | + <header class="header"> | ||
76 | + <h5 class="title">[ 欢乐福利加倍区 ]</h5> | ||
77 | + </header> | ||
78 | +</section> | ||
79 | + | ||
80 | +{{! footer }} | ||
81 | +<footer class="vip-day-footer"> | ||
82 | +</footer> |
public/img/activity/vip_day/activity.png
0 → 100644
111 KB
public/img/activity/vip_day/chit10.png
0 → 100644
6.57 KB
public/img/activity/vip_day/chit30.png
0 → 100644
7.95 KB
public/img/activity/vip_day/chit60.png
0 → 100644
7.99 KB
public/img/activity/vip_day/fuli-qiandao.png
0 → 100644
6.05 KB
public/img/activity/vip_day/luck.png
0 → 100644
5.25 KB
public/img/activity/vip_day/play-icon-1.png
0 → 100644
20.2 KB
public/img/activity/vip_day/play-icon-2.png
0 → 100644
19.9 KB
public/scss/activity/vip_day/_entry.css
0 → 100644
1 | +.vip-day.entry { | ||
2 | + background-color: #f2613c; | ||
3 | +} | ||
4 | + | ||
5 | +.vip-day-header { | ||
6 | + background: resolve('activity/vip_day/activity.png'); | ||
7 | + background-size: cover; | ||
8 | + height: 362px; | ||
9 | + box-shadow: 0 4px 25px rgba(0, 0, 0, 0.28); | ||
10 | +} | ||
11 | + | ||
12 | +.vip-day-slogan { | ||
13 | + width: 310px; | ||
14 | + margin: 30px auto 28px; | ||
15 | + border: 2PX solid #fff; | ||
16 | + font-size: 28px; | ||
17 | + line-height: 45px; | ||
18 | + color: #fff; | ||
19 | + font-weight: bold; | ||
20 | + text-align: center; | ||
21 | +} | ||
22 | + | ||
23 | +.vip-day-sec { | ||
24 | + margin-left: 17px; | ||
25 | + margin-right: 17px; | ||
26 | + | ||
27 | + | ||
28 | + .header { | ||
29 | + position: relative; | ||
30 | + height: 80px; | ||
31 | + line-height: 80px; | ||
32 | + background-color: #000; | ||
33 | + text-align: center; | ||
34 | + | ||
35 | + &:after { | ||
36 | + position: absolute; | ||
37 | + top: 50%; | ||
38 | + left: 50%; | ||
39 | + content: ''; | ||
40 | + width: 680px; | ||
41 | + height: 1PX; | ||
42 | + margin-left: -340px; | ||
43 | + background-color: #fff; | ||
44 | + } | ||
45 | + } | ||
46 | + | ||
47 | + .title { | ||
48 | + position: relative; | ||
49 | + z-index: 1; | ||
50 | + display: inline-block; | ||
51 | + padding-left: 20px; | ||
52 | + padding-right: 20px; | ||
53 | + font-size: 42px; | ||
54 | + color: #fff; | ||
55 | + background-color: #000; | ||
56 | + } | ||
57 | + | ||
58 | + .content { | ||
59 | + background-color: #fff; | ||
60 | + overflow: hidden; | ||
61 | + } | ||
62 | +} | ||
63 | + | ||
64 | +.vip-day { | ||
65 | +/* 福利: 抢券 */ | ||
66 | + .qiangjuan { | ||
67 | + padding-top: 35px; | ||
68 | + margin-bottom: 65px; | ||
69 | + text-align: center; | ||
70 | + background-color: #fff; | ||
71 | + | ||
72 | + .chits { | ||
73 | + margin-bottom: 25px; | ||
74 | + overflow: hidden; | ||
75 | + } | ||
76 | + | ||
77 | + .chit { | ||
78 | + display: inline-block; | ||
79 | + width: 212px; | ||
80 | + height: 89px; | ||
81 | + margin-right: 7px; | ||
82 | + } | ||
83 | + | ||
84 | + .chit:last-of-type { | ||
85 | + margin-right: 0; | ||
86 | + } | ||
87 | + | ||
88 | + .chit10 { background-image: url('/activity/vip_day/chit10.png');} | ||
89 | + .chit30 { background-image: url('/activity/vip_day/chit30.png');} | ||
90 | + .chit60 { background-image: url('/activity/vip_day/chit60.png');} | ||
91 | + } | ||
92 | + | ||
93 | + .qiangjuan-foucs { | ||
94 | + width: 382px; | ||
95 | + height: 64px; | ||
96 | + font-size: 34px; | ||
97 | + background-color: #000; | ||
98 | + color: #fff; | ||
99 | + box-shadow: 4px 4px #f2613c; | ||
100 | + margin-bottom: 40px; | ||
101 | + } | ||
102 | + | ||
103 | +/* 福利: 玩转有货币 */ | ||
104 | + .play-coin { | ||
105 | + margin-bottom: 60px; | ||
106 | + | ||
107 | + .item { | ||
108 | + width: 355px; | ||
109 | + padding-top: 20px; | ||
110 | + padding-bottom: 25px; | ||
111 | + text-align: center; | ||
112 | + background-color: #fff; | ||
113 | + } | ||
114 | + } | ||
115 | + | ||
116 | + .play-icon-flag { | ||
117 | + width: 204px; | ||
118 | + height: 190px; | ||
119 | + } | ||
120 | + | ||
121 | +/* VIP 等级加速 */ | ||
122 | + .vip-rocket { | ||
123 | + margin-bottom: 30px; | ||
124 | + | ||
125 | + p { | ||
126 | + font-size: 24px; | ||
127 | + font-weight: bold; | ||
128 | + margin-top: 25px; | ||
129 | + margin-bottom: 30px; | ||
130 | + } | ||
131 | + | ||
132 | + strong { | ||
133 | + font-size: 48px; | ||
134 | + } | ||
135 | + | ||
136 | + button { | ||
137 | + width: 190px; | ||
138 | + height: 54px; | ||
139 | + } | ||
140 | + } | ||
141 | + | ||
142 | + .vip-rocket-privilege { | ||
143 | + margin-bottom: 20px; | ||
144 | + background-color: #000; | ||
145 | + color: #fff; | ||
146 | + } | ||
147 | + | ||
148 | + .vip-rocket-buynow { | ||
149 | + margin-bottom: 40px; | ||
150 | + border: 2PX solid #000; | ||
151 | + background-color: #fff; | ||
152 | + } | ||
153 | + | ||
154 | +/* 福利 会员日专享商品 */ | ||
155 | + .vip-goods { | ||
156 | + | ||
157 | + } | ||
158 | + | ||
159 | + .vip-goods-sec { | ||
160 | + overflow: hidden; | ||
161 | + } | ||
162 | + | ||
163 | + .vip-goods-sec-label { | ||
164 | + width: 200px; | ||
165 | + height: 57px; | ||
166 | + line-height: 57px; | ||
167 | + margin: 50px auto 25px; | ||
168 | + background-color: #e95d3f; | ||
169 | + font-size: 40px; | ||
170 | + color: #fff; | ||
171 | + text-align: center; | ||
172 | + letter-spacing: 2PX; | ||
173 | + } | ||
174 | + | ||
175 | + .vip-good { | ||
176 | + width: 225px; | ||
177 | + border: 1PX solid #000; | ||
178 | + margin-right: 8px; | ||
179 | + } | ||
180 | + | ||
181 | + .vip-good-show { | ||
182 | + width: 220px; | ||
183 | + height: 155px; | ||
184 | + } | ||
185 | + | ||
186 | + .vip-good-price { | ||
187 | + position: relative; | ||
188 | + text-align: center; | ||
189 | + font-size: 20px; | ||
190 | + padding-bottom: 14px; | ||
191 | + overflow: hidden; | ||
192 | + | ||
193 | + sup { | ||
194 | + font-size: 10px; | ||
195 | + vertical-align: text-top; | ||
196 | + } | ||
197 | + | ||
198 | + .disable-price { | ||
199 | + margin-left: 5px; | ||
200 | + text-decoration: line-through; | ||
201 | + color: #5b5b5b; | ||
202 | + } | ||
203 | + | ||
204 | + &:after { | ||
205 | + position: absolute; | ||
206 | + left: 50%; | ||
207 | + bottom: 0; | ||
208 | + content: ''; | ||
209 | + display: block; | ||
210 | + width: 0; | ||
211 | + height: 0; | ||
212 | + border-left: 10px solid transparent; | ||
213 | + border-right: 10px solid transparent; | ||
214 | + border-bottom: 9px solid #000; | ||
215 | + transform: translate3d(-50%, 0, 0); | ||
216 | + // border: 5px solid #e95d3f; | ||
217 | + } | ||
218 | + } | ||
219 | + | ||
220 | + .vip-good-bottom { | ||
221 | + height: 69px; | ||
222 | + background-color: #000; | ||
223 | + text-align: center; | ||
224 | + } | ||
225 | + | ||
226 | + .vip-good-name { | ||
227 | + font-size: 20px; | ||
228 | + color: #fff; | ||
229 | + } | ||
230 | + | ||
231 | + .vip-good-fav { | ||
232 | + line-height: 25px; | ||
233 | + font-size: 16px; | ||
234 | + background-color: #fff; | ||
235 | + color: #000; | ||
236 | + } | ||
237 | + | ||
238 | +} |
-
Please register or login to post a comment