Authored by ccbikai

Merge branch 'hotfix/wechatShare'

@@ -21,9 +21,11 @@ const getPageInfo = (pageInfo) => { @@ -21,9 +21,11 @@ const getPageInfo = (pageInfo) => {
21 dest.couponPic = pageInfo.data.couponPic; 21 dest.couponPic = pageInfo.data.couponPic;
22 dest.oldUserCouponPic = pageInfo.data.oldUserCouponPic; 22 dest.oldUserCouponPic = pageInfo.data.oldUserCouponPic;
23 dest.mobile = pageInfo.data.mobile; 23 dest.mobile = pageInfo.data.mobile;
  24 + //强制活动开始,活动上线产品要求这样设置
  25 + pageInfo.data.flag = 1;
24 if (pageInfo.data.flag === 1) { 26 if (pageInfo.data.flag === 1) {
25 dest.bgImg = pageInfo.data.activityNormalPic; 27 dest.bgImg = pageInfo.data.activityNormalPic;
26 - } else if (pageInfo.data.flag !== 1) { 28 + } else {
27 dest.bgImg = pageInfo.data.activityEndPic; 29 dest.bgImg = pageInfo.data.activityEndPic;
28 dest.ended = true; 30 dest.ended = true;
29 } 31 }
@@ -13,10 +13,10 @@ const coupon = require(`${cRoot}/coupon`); @@ -13,10 +13,10 @@ const coupon = require(`${cRoot}/coupon`);
13 13
14 // routers 14 // routers
15 15
16 -router.get('/index', coupon.index); 16 +router.get('/coupon', coupon.index);
17 17
18 -router.get('/phone', coupon.getCoupon); 18 +router.get('/coupon/phone', coupon.getCoupon);
19 19
20 -router.get('/verify', coupon.verify); 20 +router.get('/coupon/verify', coupon.verify);
21 21
22 module.exports = router; 22 module.exports = router;
@@ -14,5 +14,5 @@ module.exports = app => { @@ -14,5 +14,5 @@ module.exports = app => {
14 // 业务模块 14 // 业务模块
15 app.use('/product', require('./apps/product')); 15 app.use('/product', require('./apps/product'));
16 app.use('/passport', require('./apps/passport')); 16 app.use('/passport', require('./apps/passport'));
17 - app.use('/coupon', require('./apps/coupon')); 17 + app.use('/activity', require('./apps/activity'));
18 }; 18 };
@@ -90,7 +90,7 @@ a{ @@ -90,7 +90,7 @@ a{
90 .iconfont{ 90 .iconfont{
91 text-decoration: none; 91 text-decoration: none;
92 font-style: normal; 92 font-style: normal;
93 - font-size: 0.6rem; 93 + font-size: 0.8rem;
94 font-family: "iconfont" !important; 94 font-family: "iconfont" !important;
95 -webkit-font-smoothing: antialiased; 95 -webkit-font-smoothing: antialiased;
96 -webkit-text-stroke-width: 0.4px; 96 -webkit-text-stroke-width: 0.4px;
@@ -126,29 +126,29 @@ a{ @@ -126,29 +126,29 @@ a{
126 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; 126 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
127 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)"; 127 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
128 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; 128 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
129 - position: fixed;  
130 - top: 0;  
131 - right: 0;  
132 - bottom: 0;  
133 - left: 0;  
134 - background: rgba(0, 0, 0, 0.1);  
135 @keyframes scale{ 129 @keyframes scale{
136 0%{ 130 0%{
137 - transform: scale(1);  
138 opacity: 1; 131 opacity: 1;
139 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; 132 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  133 + transform: scale(1);
140 } 134 }
141 45%{ 135 45%{
142 - transform: scale(0.1);  
143 opacity: 0.7; 136 opacity: 0.7;
144 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)"; 137 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
  138 + transform: scale(0.1);
145 } 139 }
146 80%{ 140 80%{
147 - transform: scale(1);  
148 opacity: 1; 141 opacity: 1;
149 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; 142 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  143 + transform: scale(1);
150 } 144 }
151 } 145 }
  146 + position: fixed;
  147 + top: 0;
  148 + right: 0;
  149 + bottom: 0;
  150 + left: 0;
  151 + background: rgba(0, 0, 0, 0.1);
152 } 152 }
153 .loading-mask .loading{ 153 .loading-mask .loading{
154 position: absolute; 154 position: absolute;
@@ -168,13 +168,13 @@ a{ @@ -168,13 +168,13 @@ a{
168 background: #fff; 168 background: #fff;
169 } 169 }
170 .loading-mask .loading > div:nth-child(1){ 170 .loading-mask .loading > div:nth-child(1){
171 - animation: scale 0.75s 0.12s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08); 171 + animation: scale 0.75s (1 + 1) * 0.12s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08);
172 } 172 }
173 .loading-mask .loading > div:nth-child(2){ 173 .loading-mask .loading > div:nth-child(2){
174 - animation: scale 0.75s 0.24s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08); 174 + animation: scale 0.75s (2 + 1) * 0.12s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08);
175 } 175 }
176 .loading-mask .loading > div:nth-child(3){ 176 .loading-mask .loading > div:nth-child(3){
177 - animation: scale 0.75s 0.36s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08); 177 + animation: scale 0.75s (3 + 1) * 0.12s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08);
178 } 178 }
179 /* stylelint-disable */ 179 /* stylelint-disable */
180 /** 180 /**
@@ -730,7 +730,6 @@ a{ @@ -730,7 +730,6 @@ a{
730 height: auto; 730 height: auto;
731 color: #fff; 731 color: #fff;
732 line-height: 1rem; 732 line-height: 1rem;
733 - font-size: 0.35rem;  
734 } 733 }
735 .homebuttom.boys{ 734 .homebuttom.boys{
736 background-image: linear-gradient(#323232, #414141); 735 background-image: linear-gradient(#323232, #414141);
@@ -2479,10 +2478,10 @@ a{ @@ -2479,10 +2478,10 @@ a{
2479 height: 100%; 2478 height: 100%;
2480 } 2479 }
2481 .break-code-page .banner-swiper{ 2480 .break-code-page .banner-swiper{
2482 - height: auto; 2481 + height: 5rem;
2483 } 2482 }
2484 .break-code-page .banner-swiper ul{ 2483 .break-code-page .banner-swiper ul{
2485 - height: auto; 2484 + height: 5rem;
2486 } 2485 }
2487 .break-code-page .swiper-size{ 2486 .break-code-page .swiper-size{
2488 display: none; 2487 display: none;
@@ -2602,10 +2601,10 @@ a{ @@ -2602,10 +2601,10 @@ a{
2602 background-color: #fff; 2601 background-color: #fff;
2603 } 2602 }
2604 .sale-page .banner-top .swiper-container{ 2603 .sale-page .banner-top .swiper-container{
2605 - height: auto; 2604 + height: 5rem;
2606 } 2605 }
2607 .sale-page .banner-top .swiper-container ul{ 2606 .sale-page .banner-top .swiper-container ul{
2608 - height: auto; 2607 + height: 5rem;
2609 } 2608 }
2610 .sale-page #thumb-row{ 2609 .sale-page #thumb-row{
2611 overflow: hidden; 2610 overflow: hidden;
@@ -2636,10 +2635,10 @@ a{ @@ -2636,10 +2635,10 @@ a{
2636 white-space: nowrap; 2635 white-space: nowrap;
2637 } 2636 }
2638 .sale-vip-page .banner-swiper{ 2637 .sale-vip-page .banner-swiper{
2639 - height: auto; 2638 + height: 5rem;
2640 } 2639 }
2641 .sale-vip-page .banner-swiper ul{ 2640 .sale-vip-page .banner-swiper ul{
2642 - height: auto; 2641 + height: 5rem;
2643 } 2642 }
2644 .discount-page{ 2643 .discount-page{
2645 overflow: hidden; 2644 overflow: hidden;
@@ -5136,447 +5135,308 @@ a{ @@ -5136,447 +5135,308 @@ a{
5136 color: #fff; 5135 color: #fff;
5137 font-size: 0.8rem; 5136 font-size: 0.8rem;
5138 } 5137 }
5139 -.star-page{  
5140 - background: #333;  
5141 -}  
5142 -.star-page a{  
5143 - text-decoration: none;  
5144 - outline: none;  
5145 - color: #000;  
5146 -}  
5147 -.star-page a:link, .star-page a:visited, .star-page a:hover, .star-page a:actived{  
5148 - color: #000;  
5149 -}  
5150 -.star-page *:focus{  
5151 - outline: none;  
5152 -}  
5153 -.star-page .font-bold{  
5154 - font-weight: bold; 5138 +.receive-coupon-page *{
  5139 + margin: 0;
  5140 + padding: 0;
  5141 + font-size: 0.35rem;
5155 } 5142 }
5156 -.star-page .head-tab{  
5157 - position: relative; 5143 +.receive-coupon-page .bg-contain{
5158 width: 100%; 5144 width: 100%;
5159 - height: 2.2rem;  
5160 - background: #000;  
5161 - z-index: 1;  
5162 - transform-origin: top;  
5163 - transform: scale(1, 1);  
5164 - transition: transform 400ms;  
5165 -}  
5166 -.star-page .head-tab li{  
5167 - width: 33.3%;  
5168 - text-align: center;  
5169 - float: left;  
5170 - line-height: 2.2rem;  
5171 - font-size: 0.75rem;  
5172 -}  
5173 -.star-page .head-tab li a{  
5174 - color: #b0b0b0;  
5175 - display: inline-block;  
5176 -}  
5177 -.star-page .head-tab li.cur a{  
5178 - color: #fff;  
5179 -}  
5180 -.star-page .head-tab.hide-tab{  
5181 - transform: scale(1, 0); 5145 + height: 100%;
  5146 + position: absolute;
  5147 + background: #c4211a;
5182 } 5148 }
5183 -.star-page .banner-top{ 5149 +.receive-coupon-page .bg-contain img{
5184 width: 100%; 5150 width: 100%;
5185 height: auto; 5151 height: auto;
5186 - position: relative;  
5187 } 5152 }
5188 -.star-page .banner-top .banner-swiper{ 5153 +.receive-coupon-page .page{
5189 width: 100%; 5154 width: 100%;
5190 height: auto; 5155 height: auto;
  5156 + padding-bottom: 1.5rem;
  5157 + position: absolute;
  5158 + top: 0;
  5159 + bottom: 0;
  5160 +}
  5161 +.receive-coupon-page .coupon-centent, .receive-coupon-page .gain-coupon-centent{
  5162 + margin-top: 10.7rem !important;
  5163 + height: 13rem;
  5164 + margin-left: 0.75rem;
  5165 + margin-right: 0.75rem;
  5166 + background: #9d1a15;
5191 overflow: hidden; 5167 overflow: hidden;
5192 - position: relative; 5168 + border-radius: 0.3rem;
5193 } 5169 }
5194 -.star-page .banner-top .banner-swiper ul{ 5170 +.receive-coupon-page .coupon-centent{
5195 position: relative; 5171 position: relative;
5196 - height: auto;  
5197 -}  
5198 -.star-page .banner-top .banner-swiper ul li{  
5199 - float: left;  
5200 - width: 100%;  
5201 - height: auto;  
5202 -}  
5203 -.star-page .banner-top .banner-swiper ul img{  
5204 - width: 100%;  
5205 - height: 100%;  
5206 } 5172 }
5207 -.star-page .banner-top .swiper-pagination{ 5173 +.receive-coupon-page .coupon-centent .title{
5208 position: absolute; 5174 position: absolute;
5209 - left: 0;  
5210 - right: 0;  
5211 - bottom: 0.5rem;  
5212 - text-align: center;  
5213 - z-index: 1;  
5214 -}  
5215 -.star-page .banner-top .swiper-pagination .pagination-inner{  
5216 - display: inline-block;  
5217 -}  
5218 -.star-page .banner-top .swiper-pagination span{  
5219 - display: inline-block;  
5220 - width: 0.35rem;  
5221 - height: 0.35rem;  
5222 - background: #fff;  
5223 - opacity: 0.5;  
5224 - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";  
5225 - margin: 0 0.25rem;  
5226 - border-radius: 50%;  
5227 -}  
5228 -.star-page .banner-top .swiper-pagination .swiper-pagination-bullet-active{  
5229 - background: #fff;  
5230 - opacity: 1;  
5231 - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";  
5232 -}  
5233 -.star-page .avatar-swiper{  
5234 - overflow: hidden;  
5235 - margin-top: 0.75rem;  
5236 -}  
5237 -.star-page .avatar-swiper li{  
5238 - float: left;  
5239 - width: auto;  
5240 - width: 2.75rem;  
5241 - height: 2.75rem;  
5242 - margin-top: 0.85rem; 5175 + top: 1rem;
  5176 + left: 50%;
  5177 + margin-left: -5rem;
  5178 + width: 10.025rem;
  5179 + height: 1.425rem;
  5180 + background-image: url(../img/sprite.img.png);
  5181 + background-position: -4.25rem -5.45rem;
  5182 + background-size: 14.5rem 9.65rem;
5243 } 5183 }
5244 -.star-page .avatar-swiper li img{ 5184 +.receive-coupon-page .coupon-centent .under-title{
  5185 + position: absolute;
  5186 + top: 2.5rem;
5245 width: 100%; 5187 width: 100%;
5246 - height: 100%;  
5247 - border-radius: 0.1rem;  
5248 -}  
5249 -.star-page .avatar-swiper .swiper-slide-active{  
5250 - width: 4.5rem;  
5251 - height: 4.5rem;  
5252 - margin-top: 0;  
5253 -}  
5254 -.star-page .avatar-swiper .swiper-slide-prev, .star-page .avatar-swiper .swiper-slide-next{  
5255 - width: 3.25rem;  
5256 - height: 3.25rem;  
5257 - margin-top: 0.675rem;  
5258 -}  
5259 -.star-page .avatar-swiper.avatar-clone{  
5260 - position: fixed;  
5261 - left: 0;  
5262 - top: 0;  
5263 - margin-top: 2.15rem;  
5264 - padding: 0.125rem 0;  
5265 - background: #000;  
5266 - z-index: 9; 5188 + height: 11.575rem;
5267 } 5189 }
5268 -.star-page .star-info{  
5269 - margin-top: 0.75rem;  
5270 - background: #000; 5190 +.receive-coupon-page .coupon-centent .input-content{
  5191 + height: 5.15rem;
  5192 + margin: 0.75rem 0.75rem 0;
  5193 + position: relative;
5271 } 5194 }
5272 -.star-page .star-info li{  
5273 - float: left; 5195 +.receive-coupon-page .coupon-centent .input-content input{
  5196 + height: 2.2rem;
  5197 + width: 100%;
5274 margin-bottom: 0.75rem; 5198 margin-bottom: 0.75rem;
  5199 + border: 1px solid #fff;
  5200 + font-size: 0.7rem;
  5201 + color: #fff;
  5202 + background: #9d1a15;
  5203 + border-radius: 0.3rem;
  5204 + text-align: center;
  5205 + outline: none;
5275 } 5206 }
5276 -.star-page .star-avatar{  
5277 - width: 3.35rem;  
5278 - padding-left: 0.75rem;  
5279 - box-sizing: border-box;  
5280 - float: left;  
5281 - overflow: hidden;  
5282 -}  
5283 -.star-page .star-avatar .article-avatar-swiper{  
5284 - width: 2.6rem;  
5285 - overflow: hidden;  
5286 -}  
5287 -.star-page .star-avatar .rank-avatar{  
5288 - width: 2.6rem;  
5289 - height: 2.6rem;  
5290 - border-radius: 50%;  
5291 - float: left;  
5292 -}  
5293 -.star-page .star-avatar .name{  
5294 - font-size: 0.6rem; 5207 +.receive-coupon-page .coupon-centent .input-content div{
  5208 + height: 2.2rem;
5295 width: 100%; 5209 width: 100%;
5296 - text-overflow: ellipsis;  
5297 - overflow: hidden;  
5298 - white-space: nowrap;  
5299 - color: #fff;  
5300 - margin-top: 0.2rem;  
5301 - float: left;  
5302 text-align: center; 5210 text-align: center;
  5211 + font-size: 0.7rem;
  5212 + border-radius: 0.3rem;
  5213 + background: #b0b0b0;
  5214 + color: #e0e0e0;
  5215 + line-height: 2.2rem;
5303 } 5216 }
5304 -.star-page .star-article{  
5305 - width: 11.8rem;  
5306 - position: relative;  
5307 - border-radius: 0.2rem;  
5308 - background: #282828;  
5309 - float: left;  
5310 - padding: 0.5rem 0.75rem;  
5311 - box-sizing: border-box;  
5312 - margin-left: 0.45rem; 5217 +.receive-coupon-page .coupon-centent .input-content .verification-code, .receive-coupon-page .coupon-centent .input-content .get{
  5218 + background: #fff;
  5219 + color: #444;
5313 } 5220 }
5314 -.star-page .star-article .article-arrow{  
5315 - position: absolute;  
5316 - left: -0.325rem;  
5317 - width: 0;  
5318 - height: 0;  
5319 - border-top: 0.25rem solid transparent;  
5320 - border-bottom: 0.25rem solid transparent;  
5321 - border-right: 0.325rem solid #282828; 5221 +.receive-coupon-page .coupon-centent .has-clear{
  5222 + padding-right: 0.75rem;
5322 } 5223 }
5323 -.star-page .star-article .article-title{ 5224 +.receive-coupon-page .coupon-centent .clear-input{
  5225 + position: absolute;
  5226 + padding: 0.25rem;
  5227 + top: 0.4rem;
  5228 + right: 1.25rem;
5324 font-size: 0.7rem; 5229 font-size: 0.7rem;
5325 - line-height: 0.95rem;  
5326 - color: #fff;  
5327 -}  
5328 -.star-page .star-article .artice-cont{  
5329 - margin-top: 0.25rem;  
5330 -}  
5331 -.star-page .star-article .artice-cont p{  
5332 - font-size: 0.45rem;  
5333 - line-height: 0.725rem;  
5334 - color: #969696; 5230 + color: #666;
  5231 + z-index: 1;
5335 } 5232 }
5336 -.star-page .star-article .artice-imgs-area{ 5233 +.receive-coupon-page .coupon-centent .coupon-description{
5337 width: 100%; 5234 width: 100%;
5338 - overflow: hidden;  
5339 -}  
5340 -.star-page .star-article .artice-imgs-area img{  
5341 - width: 6.65rem;  
5342 - float: left;  
5343 - margin: 0.625rem 0;  
5344 -}  
5345 -.star-page .star-article .artice-imgs{  
5346 - margin: 0.625rem 0 0;  
5347 - width: 62.5rem;  
5348 - float: left;  
5349 - overflow: hidden;  
5350 -}  
5351 -.star-page .star-article .artice-imgs li{  
5352 - display: inline-block;  
5353 - margin-left: 0.15rem; 5235 + height: 3.4rem;
5354 position: relative; 5236 position: relative;
  5237 + background-image: url(../img/sprite.img.png);
  5238 + background-position: 0px 0px;
  5239 + background-size: 14.5rem 9.65rem;
5355 } 5240 }
5356 -.star-page .star-article .artice-imgs li:first{  
5357 - margin-left: 0;  
5358 -}  
5359 -.star-page .star-article .artice-imgs img{  
5360 - width: 3.25rem;  
5361 - border-radius: 0.1rem;  
5362 -}  
5363 -.star-page .star-article .artice-imgs .img-size{  
5364 - width: 1.25rem;  
5365 - height: 0.65rem;  
5366 - line-height: 0.7rem;  
5367 - border-radius: 0.325rem;  
5368 - background-color: rgba(0, 0, 0, 0.4);  
5369 - color: #fff; 5241 +.receive-coupon-page .coupon-centent .coupon-description span{
5370 position: absolute; 5242 position: absolute;
5371 - right: 0.25rem;  
5372 - bottom: 0.25rem;  
5373 - font-size: 0.45rem;  
5374 -}  
5375 -.star-page .star-article .artice-imgs .pic-icon{  
5376 - width: 0.475rem;  
5377 - height: 0.375rem;  
5378 - background-image: url(../img/sprite.guang.png);  
5379 - background-position: 0px 0px;  
5380 - background-size: 0.475rem 0.375rem;  
5381 - display: inline-block;  
5382 - margin: 0.15rem 0.1rem 0 0.2rem;  
5383 - vertical-align: top; 5243 + bottom: 0;
  5244 + left: 40%;
  5245 + width: 20%;
  5246 + height: 2rem;
5384 } 5247 }
5385 -.star-page .star-article .artice-o{ 5248 +.receive-coupon-page .gain-coupon-centent p{
5386 width: 100%; 5249 width: 100%;
5387 - float: left;  
5388 - border-top: 1px solid #b0b0b0;  
5389 - padding-top: 0.5rem;  
5390 -}  
5391 -.star-page .star-article .artice-o span{  
5392 - font-size: 0.45rem;  
5393 - color: #b0b0b0;  
5394 - height: 0.55rem;  
5395 - line-height: 0.55rem;  
5396 -}  
5397 -.star-page .star-article .artice-o span i{  
5398 - display: inline-block;  
5399 - margin-right: 0.125rem;  
5400 - font-size: 0.55rem;  
5401 - vertical-align: text-bottom;  
5402 -}  
5403 -.star-page .star-article .artice-o .time{  
5404 - float: left;  
5405 -}  
5406 -.star-page .star-article .artice-o .see{  
5407 - float: left;  
5408 - margin-left: 0.75rem; 5250 + height: 1rem;
  5251 + line-height: 1rem;
  5252 + text-align: center;
  5253 + color: #fff;
  5254 + font-size: 0.425rem;
5409 } 5255 }
5410 -.star-page .star-article .artice-o .time-ico{  
5411 - width: 0.6rem;  
5412 - height: 0.6rem; 5256 +.receive-coupon-page .gain-coupon-centent p.phone{
  5257 + margin-top: 0.25rem;
  5258 + font-size: 0.75rem;
  5259 + font-weight: bold;
5413 } 5260 }
5414 -.star-page .star-article .artice-o .see-ico{  
5415 - width: 0.775rem;  
5416 - height: 0.6rem; 5261 +.receive-coupon-page .gain-coupon-centent .coupon{
  5262 + padding-top: 1.25rem;
  5263 + width: 90%;
  5264 + margin-left: 5%;
  5265 + height: 5.5rem;
  5266 + background: ##9d1a15;
5417 } 5267 }
5418 -.star-page .view-area{  
5419 - height: 100%;  
5420 - position: relative; 5268 +.receive-coupon-page .gain-coupon-centent .coupon img{
  5269 + width: 100%;
  5270 + height: auto;
5421 } 5271 }
5422 -.star-page .swiper-view{  
5423 - height: 100%;  
5424 - background: rgba(0, 0, 0, 0.5); 5272 +.receive-coupon-page .gain-coupon-centent .use-coupon-btn{
  5273 + height: 2.2rem;
  5274 + line-height: 2.2rem;
  5275 + margin: 0.75rem 1.375rem;
  5276 + background: #444;
  5277 + color: #fff;
  5278 + text-align: center;
  5279 + border-radius: 0.1rem;
5425 } 5280 }
5426 -.star-page .view-img{  
5427 - position: fixed;  
5428 - left: 0;  
5429 - right: 0;  
5430 - top: 0;  
5431 - bottom: 0;  
5432 - display: none;  
5433 - z-index: 9; 5281 +.receive-coupon-page .gain-coupon-centent span{
  5282 + font-weight: bold;
  5283 + display: inline-block;
  5284 + width: 3.475rem;
  5285 + height: 1.05rem;
  5286 + align: center;
  5287 + font-size: 0.6rem;
  5288 + color: #fff;
  5289 + margin: 0 40%;
  5290 + background-image: url(../img/sprite.img.png);
  5291 + background-position: -9.825rem -3.45rem;
  5292 + background-size: 14.5rem 9.65rem;
5434 } 5293 }
5435 -.star-page .view-img li{  
5436 - float: left; 5294 +.receive-coupon-page .gain-coupon-centent a{
  5295 + color: #fff;
  5296 + font-size: 0.7rem;
5437 } 5297 }
5438 -.star-page .view-img li img{  
5439 - width: 90%;  
5440 - transform: translate(-50%, -50%); 5298 +.receive-coupon-page .dialog{
  5299 + width: 84%;
  5300 + height: 10.25rem;
5441 position: absolute; 5301 position: absolute;
5442 - top: 50%;  
5443 - left: 50%;  
5444 -}  
5445 -.star-page .rank-avatar{  
5446 - background-image: url('../img/guang/star/user-avatar.png');  
5447 - background-repeat: no-repeat;  
5448 - background-size: contain; 5302 + background: #fff;
  5303 + border-radius: 0.6rem;
  5304 + left: 8%;
  5305 + top: 5.875rem;
  5306 + z-index: 2;
5449 } 5307 }
5450 -.star-page .loading-tip{  
5451 - display: none; 5308 +.receive-coupon-page .dialog .close{
  5309 + width: 1rem;
  5310 + height: 1rem;
  5311 + overflow: hidden;
  5312 + background-image: url(../img/sprite.img.png);
  5313 + background-position: -13.35rem -3.45rem;
  5314 + background-size: 14.5rem 9.65rem;
  5315 + color: #f1f1f1;
  5316 + position: absolute;
  5317 + top: -0.5rem;
  5318 + right: -0.5rem;
  5319 + line-height: 1rem;
5452 text-align: center; 5320 text-align: center;
5453 - color: #ccc;  
5454 - font-size: 0.3rem;  
5455 - margin: 0.75rem 0;  
5456 } 5321 }
5457 -.star-index-bg{  
5458 - background: #000; 5322 +.receive-coupon-page .hidden{
  5323 + display: none;
5459 } 5324 }
5460 -.star-index-bg .star-page{  
5461 - background: #000; 5325 +.receive-coupon-page .phone-error{
  5326 + text-align: center;
  5327 + line-height: 14rem;
5462 } 5328 }
5463 -.star-page .special-list{ 5329 +.receive-coupon-page .mask{
5464 width: 100%; 5330 width: 100%;
5465 - height: auto; 5331 + height: 100%;
5466 overflow: hidden; 5332 overflow: hidden;
  5333 + background-color: #000;
  5334 + opacity: 0.4;
  5335 + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
  5336 + position: fixed;
  5337 + top: 0;
  5338 + left: 0;
  5339 + z-index: 1;
5467 } 5340 }
5468 -.star-page .special-list li{ 5341 +.receive-coupon-page .activity-message{
5469 width: 100%; 5342 width: 100%;
5470 - float: left;  
5471 - background: #000;  
5472 - margin-top: 0.75rem; 5343 + height: 10.25rem;
  5344 + overflow: scroll;
5473 } 5345 }
5474 -.star-page .special-list li img{ 5346 +.receive-coupon-page .activity-message h3{
5475 width: 100%; 5347 width: 100%;
  5348 + height: 1rem;
  5349 + margin-top: 1rem;
  5350 + margin-bottom: 0.25rem;
  5351 + line-height: 1rem;
  5352 + font-size: 0.8rem;
  5353 + text-align: center;
5476 } 5354 }
5477 -.star-page .special-list li p{  
5478 - width: 100%;  
5479 - height: 2.2rem;  
5480 - box-sizing: border-box; 5355 +.receive-coupon-page .activity-message p{
  5356 + width: 85%;
  5357 + height: auto;
5481 overflow: hidden; 5358 overflow: hidden;
5482 - white-space: nowrap;  
5483 - text-overflow: ellipsis;  
5484 - padding: 0 0.85rem;  
5485 - font-size: 0.85rem;  
5486 - line-height: 2.2rem; 5359 + margin: 0 auto;
  5360 + font-size: 0.65rem;
  5361 + line-height: 1rem;
  5362 + padding-left: 0.65rem;
  5363 + text-indent: -0.65rem;
5487 } 5364 }
5488 -.star-page .special-list li a{ 5365 +.receive-coupon-page .messages{
  5366 + width: 84%;
  5367 + height: 4rem;
  5368 + position: absolute;
  5369 + background: rgba(0, 0, 0, 0.9);
  5370 + border-radius: 0.6rem;
  5371 + left: 8%;
  5372 + top: 45%;
  5373 + margin-top: -2rem;
  5374 + z-index: 2;
5489 color: #fff; 5375 color: #fff;
5490 } 5376 }
5491 -.star-page .collocation-list, .star-page .detail-list{  
5492 - width: 100%;  
5493 - float: left; 5377 +.receive-coupon-page .messages p{
  5378 + line-height: 4rem;
  5379 + font-size: 0.6rem;
5494 } 5380 }
5495 -.star-page .collocation-list li, .star-page .detail-list li{  
5496 - float: left; 5381 +.receive-coupon-page .tip-wrap{
5497 width: 100%; 5382 width: 100%;
5498 - margin-top: 0.75rem;  
5499 - background: #000; 5383 + height: 100%;
  5384 + background: #9d1a15;
  5385 + position: fixed;
  5386 + top: 0;
  5387 + left: 0;
  5388 + z-index: 3;
5500 } 5389 }
5501 -.star-page .collocation-list li .cont-area, .star-page .detail-list li .cont-area{ 5390 +.receive-coupon-page .tip{
5502 width: 100%; 5391 width: 100%;
5503 - box-sizing: border-box;  
5504 - padding: 0.75rem;  
5505 -}  
5506 -.star-page .collocation-list li .cont-txt, .star-page .detail-list li .cont-txt{  
5507 - font-size: 0.7rem;  
5508 - line-height: 1.15rem;  
5509 - color: #b0b0b0;  
5510 - margin-top: 0.25rem; 5392 + height: 100%;
  5393 + background: #9d1a15;
  5394 + position: absolute;
  5395 + top: 0;
  5396 + left: 0;
5511 } 5397 }
5512 -.star-page .collocation-list li img, .star-page .detail-list li img{  
5513 - width: 100%; 5398 +.receive-coupon-page .tip .header{
  5399 + width: 4.25rem;
  5400 + height: 4.25rem;
  5401 + margin-top: 40%;
  5402 + margin-left: auto;
  5403 + margin-right: auto;
  5404 + background-image: url(../img/sprite.img.png);
  5405 + background-position: 0px -5.45rem;
  5406 + background-size: 14.5rem 9.65rem;
5514 } 5407 }
5515 -.star-page .collocation-list li .title, .star-page .detail-list li .title{  
5516 - font-size: 1rem;  
5517 - line-height: 1.2rem; 5408 +.receive-coupon-page .tip .title{
  5409 + margin-top: 0.75rem;
  5410 + font-size: 0.7rem;
5518 color: #fff; 5411 color: #fff;
5519 - width: 100%;  
5520 -}  
5521 -.star-page .count-area{  
5522 - position: relative;  
5523 - width: 100%;  
5524 - height: 0.8rem;  
5525 -}  
5526 -.star-page .count-area span{  
5527 - font-size: 0.6rem;  
5528 - color: #b0b0b0;  
5529 - height: 0.8rem;  
5530 - line-height: 0.8rem;  
5531 -}  
5532 -.star-page .count-area span i{  
5533 - display: inline-block;  
5534 - margin-right: 0.125rem;  
5535 - font-size: 0.6rem;  
5536 - position: relative;  
5537 - top: -0.05rem;  
5538 -}  
5539 -.star-page .count-area .time{  
5540 - float: left;  
5541 -}  
5542 -.star-page .count-area .see{  
5543 - float: left;  
5544 - margin-left: 0.5rem;  
5545 -}  
5546 -.star-page .count-area .time-ico{  
5547 - width: 0.6rem;  
5548 - height: 0.6rem;  
5549 -}  
5550 -.star-page .count-area .see-ico{  
5551 - width: 0.775rem;  
5552 - height: 0.6rem;  
5553 -}  
5554 -.star-page .count-area .collection{  
5555 - float: right;  
5556 -}  
5557 -.star-page .count-area .collected-ico{  
5558 - width: 0.85rem;  
5559 - height: 0.8rem;  
5560 - vertical-align: text-bottom; 5412 + text-align: center;
  5413 + margin-left: auto;
  5414 + margin-right: auto;
5561 } 5415 }
5562 -.star-page .count-area .collected{  
5563 - color: #d62927; 5416 +.receive-coupon-page .tip .logo{
  5417 + width: 9.775rem;
  5418 + height: 1.95rem;
  5419 + margin-top: 4.75rem;
  5420 + margin-left: auto;
  5421 + margin-right: auto;
  5422 + background-image: url(../img/sprite.img.png);
  5423 + background-position: 0px -3.45rem;
  5424 + background-size: 14.5rem 9.65rem;
5564 } 5425 }
5565 -.star-page .count-area .forward{  
5566 - width: 1rem;  
5567 - height: 0.7rem;  
5568 - float: right;  
5569 - margin-left: 1.125rem; 5426 +.receive-coupon-page .tip .desc{
5570 font-size: 0.6rem; 5427 font-size: 0.6rem;
5571 - color: #b0b0b0;  
5572 - height: 0.8rem;  
5573 - line-height: 0.8rem; 5428 + color: #444;
5574 } 5429 }
5575 -.star-class-body{  
5576 - background: #333;  
5577 - width: 100%;  
5578 - font: 0.3rem/1.5 Arial, '黑体';  
5579 - float: left; 5430 +.receive-coupon-page .tip .button{
  5431 + display: block;
  5432 + margin: 0.75rem auto;
  5433 + width: 6.75rem;
  5434 + height: 1.4rem;
  5435 + font-size: 0.65rem;
  5436 + line-height: 1.4rem;
  5437 + text-align: center;
  5438 + color: #fff;
  5439 + background: #000;
5580 } 5440 }
5581 5441
5582 /*# sourceMappingURL=index.css.map */ 5442 /*# sourceMappingURL=index.css.map */
This diff could not be displayed because it is too large.
@@ -147,7 +147,7 @@ $('.input-content div').on('click', function() { @@ -147,7 +147,7 @@ $('.input-content div').on('click', function() {
147 return; 147 return;
148 } 148 }
149 $.ajax({ 149 $.ajax({
150 - url: '/coupon/phone', 150 + url: '/activity/coupon/phone',
151 data: { 151 data: {
152 mobile: $('#phone').val(), 152 mobile: $('#phone').val(),
153 ordercode: orderCode 153 ordercode: orderCode
@@ -226,7 +226,7 @@ $('.input-content').on('click', '.get', function() { @@ -226,7 +226,7 @@ $('.input-content').on('click', '.get', function() {
226 $('.input-content div').eq('1').removeClass('get'); 226 $('.input-content div').eq('1').removeClass('get');
227 if ($(this).siblings('input').val().length === 4) { 227 if ($(this).siblings('input').val().length === 4) {
228 $.ajax({ 228 $.ajax({
229 - url: '/coupon/verify', 229 + url: '/activity/coupon/verify',
230 data: { 230 data: {
231 identifycode: $('#verification').val(), 231 identifycode: $('#verification').val(),
232 mobile: $('#phone').val(), 232 mobile: $('#phone').val(),