Authored by htoooth

增加用户权限的控制。

@@ -10,7 +10,7 @@ const _ = require('lodash'); @@ -10,7 +10,7 @@ const _ = require('lodash');
10 const helpers = global.yoho.helpers; 10 const helpers = global.yoho.helpers;
11 11
12 module.exports = (req, res, next) => { 12 module.exports = (req, res, next) => {
13 - let refer = req.method === 'GET'? req.get('Referer'):''; 13 + let refer = req.method === 'GET' ? req.get('Referer') : '';
14 14
15 let loginUrl = helpers.urlFormat('/passport/login', {refer: refer}); 15 let loginUrl = helpers.urlFormat('/passport/login', {refer: refer});
16 16
1 -.product-detail-page {  
2 - .brand-banner {  
3 - height: 45px;  
4 - width: 100%;  
5 -  
6 - img {  
7 - display: block;  
8 - height: 45px;  
9 - }  
10 -  
11 - .opt {  
12 - margin-top: 5px;  
13 - }  
14 -  
15 - .home,  
16 - .brand-fav {  
17 - display: inline-block;  
18 - width: 32px;  
19 - height: 32px;  
20 - line-height: 32px;  
21 - border: 1px solid #fff;  
22 - text-align: center;  
23 - color: #fff;  
24 - cursor: pointer;  
25 - }  
26 -  
27 - .home {  
28 - margin-right: 5px;  
29 -  
30 - .iconfont {  
31 - font-size: 14px;  
32 - }  
33 - }  
34 -  
35 - .brand-fav .iconfont {  
36 - font-size: 13px;  
37 - }  
38 -  
39 - .coled {  
40 - color: #ee0014;  
41 - }  
42 - }  
43 -  
44 - .path-nav {  
45 - border: none;  
46 - margin-bottom: 0;  
47 - }  
48 -  
49 - .main {  
50 - width: 990px;  
51 - margin: 0 auto;  
52 -  
53 - .infos {  
54 - width: 465px;  
55 - }  
56 -  
57 - .img {  
58 - position: relative;  
59 - width: 420px;  
60 - height: 560px;  
61 - }  
62 -  
63 - .img-show {  
64 - display: block;  
65 - width: 100%;  
66 - height: 100%;  
67 - }  
68 -  
69 - .tags {  
70 - position: absolute;  
71 - top: 0;  
72 - left: 0;  
73 - }  
74 -  
75 - .good-tag {  
76 - float: left;  
77 - box-sizing: border-box;  
78 - height: 22px;  
79 - line-height: 22px;  
80 - color: #fff;  
81 - padding: 0 7px;  
82 - margin-right: 5px;  
83 - font-size: 12px;  
84 - }  
85 -  
86 - .new-tag {  
87 - background: #78dc7d;  
88 - }  
89 -  
90 - .renew-tag {  
91 - background: #78dc7e;  
92 - }  
93 -  
94 - .new-festival-tag {  
95 - background: #000;  
96 - }  
97 -  
98 - .yep-tag,  
99 - .ymp-tag,  
100 - .sale-tag {  
101 - background: #ff565b;  
102 - }  
103 -  
104 - .few-tag {  
105 - background: #ffac5b;  
106 - }  
107 -  
108 - .limit-tag {  
109 - border: 1px solid #4e4e4e;  
110 - color: #4e4e4e;  
111 - background: #fff;  
112 - }  
113 -  
114 - .thumbs {  
115 - width: 75px;  
116 - height: 510px;  
117 - margin-left: 2px;  
118 - overflow: hidden;  
119 - }  
120 -  
121 - .thumb {  
122 - display: block;  
123 - width: 75px;  
124 - cursor: pointer;  
125 - margin-bottom: 2px;  
126 - }  
127 -  
128 - .name {  
129 - font-size: 18px;  
130 - font-weight: bold;  
131 - line-height: 24px;  
132 - }  
133 -  
134 - .sale-tip {  
135 - color: #ee0014;  
136 - padding-left: 3px;  
137 - }  
138 -  
139 - .brand-name {  
140 - color: #666;  
141 - font-size: 12px;  
142 - }  
143 -  
144 - .title {  
145 - color: #999;  
146 - font-size: 12px;  
147 - }  
148 -  
149 - .market-price {  
150 - margin-top: 8px;  
151 - }  
152 -  
153 - .price {  
154 - color: #000;  
155 - font-size: 22px;  
156 - line-height: 24px;  
157 - font-weight: bold;  
158 - }  
159 -  
160 - .has-other-price {  
161 - color: #999;  
162 - text-decoration: line-through;  
163 - font-size: 12px;  
164 - }  
165 -  
166 - .arrival-date {  
167 - color: #ee0014;  
168 - font-size: 14px;  
169 - font-weight: bold;  
170 - margin-left: 24px;  
171 - }  
172 -  
173 - .vip-price {  
174 - line-height: 14px;  
175 - color: #222;  
176 - margin-top: 5px;  
177 - background: resolve("product/vip-price-icon.png") no-repeat;  
178 - padding-left: calc(5px + width("product/vip-price-icon.png"));  
179 - font-size: 12px;  
180 -  
181 - .login-url,  
182 - .cur {  
183 - color: #f02200;  
184 - }  
185 -  
186 - .vip-price-item {  
187 - margin-left: 5px;  
188 - }  
189 -  
190 - .vip-schedual {  
191 - color: #999;  
192 - text-decoration: underline;  
193 - margin-left: 5px;  
194 - }  
195 - }  
196 -  
197 - .activity {  
198 - margin-top: 12px;  
199 -  
200 - li {  
201 - line-height: 20px;  
202 - }  
203 - }  
204 -  
205 - .ac-type {  
206 - display: inline-block;  
207 - width: 60px;  
208 - height: 16px;  
209 - line-height: 16px;  
210 - margin-right: 5px;  
211 - text-align: center;  
212 - background: #999;  
213 - color: #fff;  
214 - font-size: 12px;  
215 - }  
216 -  
217 - .ac-des {  
218 - font-size: 12px;  
219 - }  
220 -  
221 - .row {  
222 - margin-top: 10px;  
223 - }  
224 -  
225 - .trade-content {  
226 - padding-top: 20px;  
227 - margin-top: 20px;  
228 - border-top: 1px solid #eaeceb;  
229 - }  
230 -  
231 - .chose-color {  
232 - font-size: 12px;  
233 -  
234 - .title {  
235 - margin-top: 14px;  
236 - }  
237 -  
238 - img {  
239 - display: block;  
240 - height: 36px;  
241 - width: 36px;  
242 - border: 2px solid #fff;  
243 - }  
244 -  
245 - .focus img {  
246 - border-color: #222;  
247 - }  
248 -  
249 - li {  
250 - margin-right: 5px;  
251 - margin-bottom: 5px;  
252 - cursor: pointer;  
253 - }  
254 - }  
255 -  
256 - .chose-size {  
257 - font-size: 12px;  
258 -  
259 - .title {  
260 - margin-top: 6px;  
261 - }  
262 -  
263 - li {  
264 - float: left;  
265 - display: block;  
266 - height: 22px;  
267 - line-height: 22px;  
268 - margin-right: 5px;  
269 - margin-bottom: 5px;  
270 - padding: 0 5px;  
271 - border: 1px solid #eaeceb;  
272 - text-align: center;  
273 - cursor: pointer;  
274 - min-width: 28px;  
275 -  
276 - &.disable {  
277 - opacity: 0.5;  
278 - }  
279 -  
280 - &.focus {  
281 - color: #fff;  
282 - background: #222;  
283 - }  
284 - }  
285 - }  
286 -  
287 - .size-wrapper {  
288 - width: 415px;  
289 - }  
290 -  
291 - .size {  
292 - float: left;  
293 - color: #666;  
294 - }  
295 -  
296 - .size-ruler {  
297 - float: left;  
298 - display: block;  
299 - width: 57px;  
300 - height: 24px;  
301 - background: resolve('product/size-ruler.jpg');  
302 - margin-bottom: 5px;  
303 - cursor: pointer;  
304 - }  
305 -  
306 - .size-warn,  
307 - .num-warn {  
308 - float: left;  
309 - height: 24px;  
310 - line-height: 24px;  
311 - }  
312 -  
313 - .color-size-tip {  
314 - color: #999;  
315 - clear: both;  
316 - line-height: 18px;  
317 - }  
318 -  
319 - .chose-count .title {  
320 - margin-top: 6px;  
321 - }  
322 -  
323 - .num {  
324 - display: block;  
325 - width: 38px;  
326 - height: 23px;  
327 - line-height: 23px;  
328 - text-align: center;  
329 - border: 1px solid #eaeceb;  
330 - color: #333;  
331 - font-size: 12px;  
332 - background: #ebebe4;  
333 - }  
334 -  
335 - .minus-plus {  
336 - display: block;  
337 - width: 14px;  
338 - height: 23px;  
339 - border: 1px solid #eaeceb;  
340 - border-left: none;  
341 - text-align: center;  
342 - cursor: pointer;  
343 -  
344 - i {  
345 - display: block;  
346 - width: 13px;  
347 - height: 11px;  
348 - line-height: 8px;  
349 - font-size: 12px;  
350 - -moz-user-select: none;  
351 - }  
352 -  
353 - .dis {  
354 - color: #999;  
355 - }  
356 - }  
357 -  
358 - .minus {  
359 - border-top: 1px solid #eaeceb;  
360 - font-size: 13px;  
361 - }  
362 -  
363 - .lc-btn {  
364 - float: left;  
365 - display: block;  
366 - width: 80px;  
367 - height: 25px;  
368 - line-height: 25px;  
369 - color: #fff;  
370 - background: #222;  
371 - margin-left: 10px;  
372 - font-size: 12px;  
373 - text-align: center;  
374 - cursor: default;  
375 -  
376 - &.had-lc,  
377 - &.lc-sold-out {  
378 - background: #ccc;  
379 - }  
380 -  
381 - &.dis {  
382 - background: #ccc;  
383 - }  
384 - }  
385 -  
386 - .num-wraper {  
387 - position: relative;  
388 - }  
389 -  
390 - $arrowTop: 40px;  
391 - $arrow: product/arrow.png;  
392 - $contentW: 220px;  
393 -  
394 - .lc-container {  
395 - position: absolute;  
396 - top: calc(0 - ($arrowTop - 1px));  
397 - right: calc(0 - (width($arrow) + $contentW));  
398 - z-index: 1;  
399 - }  
400 -  
401 - .lc-arrow {  
402 - position: absolute;  
403 - top: $arrowTop;  
404 - left: calc(0 - (width($arrow) -1px));  
405 - width: width($arrow);  
406 - height: height($arrow);  
407 - background: resolve($arrow);  
408 - }  
409 -  
410 - .lc-content {  
411 - box-sizing: border-box;  
412 - width: $contentW;  
413 - height: 285px;  
414 - text-align: center;  
415 - background: #f8f8f8;  
416 - border: 1px solid #cecece;  
417 - padding: 40px 25px 0;  
418 -  
419 - .qr-code {  
420 - width: 137px;  
421 - height: 137px;  
422 - background: resolve("product/top-good-qr.png");  
423 - margin: 0 auto;  
424 - }  
425 -  
426 - .title {  
427 - font-size: 18px;  
428 - color: #000;  
429 - margin: 12px 0;  
430 - line-height: 24px;  
431 - }  
432 -  
433 - .sub-title {  
434 - font-size: 14px;  
435 - color: #939290;  
436 - }  
437 - }  
438 -  
439 - .buy-btn {  
440 - display: inline-block;  
441 - margin-right: 10px;  
442 - height: 48px;  
443 - line-height: 48px;  
444 - width: 197px;  
445 - text-align: center;  
446 - color: #fff;  
447 - background: #e92601;  
448 - font-size: 14px;  
449 - cursor: pointer;  
450 -  
451 - &.hover {  
452 - background: #eb3b19;  
453 - background: rgba(233, 38, 1, 0.8);  
454 - }  
455 -  
456 - &.dis {  
457 - background: #ccc;  
458 - }  
459 - }  
460 -  
461 - .collect-product,  
462 - .keep-shopping {  
463 - display: inline-block;  
464 - width: 127px;  
465 - height: 48px;  
466 - text-align: center;  
467 - line-height: 48px;  
468 - background: #fff;  
469 - color: #222;  
470 - border: 1px solid #ccc;  
471 - font-weight: bold;  
472 - font-size: 12px;  
473 - cursor: pointer;  
474 -  
475 - .iconfont {  
476 - color: #ccc;  
477 - font-size: 14px;  
478 - }  
479 -  
480 - &.coled .iconfont {  
481 - color: #fa5252;  
482 - }  
483 - }  
484 -  
485 - .share-row {  
486 - margin-top: 20px;  
487 -  
488 - .title {  
489 - margin-top: 2px;  
490 - }  
491 - }  
492 -  
493 - .balance {  
494 - display: none;  
495 -  
496 - .success-tip {  
497 - color: #222;  
498 - font-size: 18px;  
499 - margin-bottom: 10px;  
500 - }  
501 -  
502 - .cart-total {  
503 - color: #999;  
504 - font-size: 12px;  
505 - }  
506 -  
507 - .balance-btns {  
508 - margin-top: 20px;  
509 - }  
510 - }  
511 - }  
512 -  
513 - .other-infos {  
514 - padding-bottom: 30px;  
515 - }  
516 -  
517 - .info-block {  
518 - margin-top: 30px;  
519 - color: #999;  
520 - border-top: 2px solid #eaeceb;  
521 - font-size: 12px;  
522 -  
523 - .basic {  
524 - width: 640px;  
525 - margin: 0 auto;  
526 -  
527 - li {  
528 - float: left;  
529 - width: 25%;  
530 - line-height: 20px;  
531 - }  
532 - }  
533 -  
534 - .comfort {  
535 - width: 470px;  
536 - border: 1px solid #eaeceb;  
537 - margin: 17px auto 0;  
538 - padding-bottom: 15px;  
539 -  
540 - li {  
541 - margin: 12px 20px 0;  
542 - }  
543 - }  
544 -  
545 - .comfort-block {  
546 - display: inline-block;  
547 - width: 14px;  
548 - height: 10px;  
549 - border: 1px solid #eaeceb;  
550 - margin-right: 2px;  
551 -  
552 - &.cur {  
553 - background: #999;  
554 - border: 1px solid #999;  
555 - }  
556 - }  
557 - }  
558 -  
559 - .block-title {  
560 - margin-bottom: 25px;  
561 - text-align: center;  
562 -  
563 - .title {  
564 - display: inline-block;  
565 - padding-top: 15px;  
566 - font-weight: bold;  
567 - cursor: pointer;  
568 -  
569 - &.cur {  
570 - color: #222;  
571 - border-top: 2px solid #222;  
572 - margin-top: -2px;  
573 - }  
574 - }  
575 -  
576 - .sep {  
577 - display: inline-block;  
578 - margin: 0 30px;  
579 - color: #eaeceb;  
580 - font-size: 14px;  
581 - cursor: default;  
582 - font-weight: bold;  
583 - }  
584 - }  
585 -  
586 - .description-content {  
587 - overflow: hidden;  
588 - }  
589 -  
590 - .material-content {  
591 - display: none;  
592 - overflow: hidden;  
593 - }  
594 -  
595 - .material-detail li {  
596 - width: 860px;  
597 - padding-bottom: 20px;  
598 - border-bottom: 1px dotted #eaeceb;  
599 - margin: 0 auto 20px;  
600 -  
601 - img {  
602 - float: left;  
603 - width: 125px;  
604 - height: 50px;  
605 - }  
606 -  
607 - .name {  
608 - float: left;  
609 - width: 100px;  
610 - line-height: 25px;  
611 - border-right: 1px dotted #eaeceb;  
612 - color: #666;  
613 - font-weight: bold;  
614 - text-align: center;  
615 - font-size: 14px;  
616 - }  
617 -  
618 - .text {  
619 - float: left;  
620 - width: 614px;  
621 - padding-left: 20px;  
622 - line-height: 18px;  
623 - }  
624 - }  
625 -  
626 - .wash {  
627 - text-align: center;  
628 -  
629 - li {  
630 - display: inline-block;  
631 - padding: 0 20px;  
632 - color: #666;  
633 - border-right: 1px solid #eaeceb;  
634 - }  
635 - }  
636 -  
637 - .size-info {  
638 - text-align: center;  
639 - }  
640 -  
641 - .size-table,  
642 - .reference-table,  
643 - .fitting-report-table {  
644 - text-align: center;  
645 - margin: 0 auto;  
646 -  
647 - th {  
648 - width: 110px;  
649 - text-align: center;  
650 - }  
651 -  
652 - tr {  
653 - height: 30px;  
654 - }  
655 -  
656 - tr,  
657 - td {  
658 - text-align: center;  
659 - }  
660 -  
661 - thead {  
662 - background: #f5f7f6;  
663 - color: #999;  
664 - }  
665 -  
666 - tbody {  
667 - color: #222;  
668 - }  
669 -  
670 - .avatar {  
671 - width: 26px;  
672 - height: 26px;  
673 - border-radius: 50px;  
674 - }  
675 -  
676 - .avatar-col {  
677 - width: 26px;  
678 - padding-left: 20px;  
679 - padding-right: 20px;  
680 - }  
681 -  
682 - .model-col {  
683 - width: 90px;  
684 - }  
685 -  
686 - .remark-col {  
687 - width: 200px;  
688 - }  
689 - }  
690 -  
691 - .fr-img-wrap {  
692 - width: 100%;  
693 - text-align: center;  
694 -  
695 - img {  
696 - max-width: 100%;  
697 - }  
698 - }  
699 -  
700 - .ref-model {  
701 - padding-top: 10px;  
702 -  
703 - .model {  
704 - width: 444px;  
705 - height: 35px;  
706 - padding-top: 47px;  
707 - padding-left: 316px;  
708 - color: #666;  
709 - overflow: hidden;  
710 - margin: 10px auto 0;  
711 -  
712 - em {  
713 - margin-left: 5px;  
714 - }  
715 - }  
716 - }  
717 -  
718 - .size-tip {  
719 - color: #999;  
720 - margin-top: 15px;  
721 - text-align: center;  
722 - }  
723 -  
724 - .details {  
725 - text-align: center;  
726 - font-size: 12px;  
727 - color: #999;  
728 - line-height: 18px;  
729 - }  
730 -  
731 - .details-html {  
732 - width: 750px;  
733 - text-align: center;  
734 - margin: 0 auto;  
735 -  
736 - b {  
737 - font-weight: bold;  
738 - }  
739 -  
740 - i {  
741 - font-style: italic;  
742 - }  
743 - }  
744 -  
745 - .consults {  
746 - display: none;  
747 - }  
748 -  
749 - .consult-comment .title {  
750 - color: #666;  
751 -  
752 - &.cur {  
753 - color: #666;  
754 - }  
755 - }  
756 -  
757 - .cc-content {  
758 - background: #f5f7f6;  
759 - padding: 20px 20px 0;  
760 - font-size: 12px;  
761 -  
762 - h2 {  
763 - font-weight: bold;  
764 - font-size: 14px;  
765 - margin-bottom: 10px;  
766 - color: #000;  
767 - }  
768 -  
769 - li {  
770 - border-top: 1px solid #eaeceb;  
771 - padding: 20px 0;  
772 - }  
773 -  
774 - .user-info {  
775 - color: #999;  
776 - line-height: 16px;  
777 -  
778 - > * {  
779 - float: left;  
780 - }  
781 -  
782 - .name {  
783 - color: #666;  
784 - }  
785 -  
786 - .date {  
787 - color: #bbb;  
788 - }  
789 -  
790 - .question {  
791 - color: #222;  
792 - }  
793 - }  
794 -  
795 - .user-avatar {  
796 - width: 30px;  
797 - height: 30px;  
798 - margin-right: 5px;  
799 - }  
800 -  
801 - .more-wrap {  
802 - text-align: center;  
803 - color: #666;  
804 - border-top: 1px solid #eaeceb;  
805 - padding: 20px 0;  
806 - font-size: 14px;  
807 - font-weight: bold;  
808 - color: #666;  
809 - }  
810 -  
811 - .btn-wrap {  
812 - padding: 20px 0;  
813 - border-top: 1px solid #eaeceb;  
814 - }  
815 -  
816 - .load-more {  
817 - cursor: pointer;  
818 - }  
819 -  
820 - .btn {  
821 - display: block;  
822 - width: 140px;  
823 - height: 32px;  
824 - line-height: 32px;  
825 - color: #fff;  
826 - background: #222;  
827 - text-align: center;  
828 - font-size: 12px;  
829 - margin: 0 auto;  
830 - cursor: pointer;  
831 -  
832 - .iconfont {  
833 - font-size: 14px;  
834 - }  
835 - }  
836 -  
837 - .comment,  
838 - .consult {  
839 - margin-top: 10px;  
840 - }  
841 -  
842 - .consults {  
843 - display: none;  
844 - }  
845 - }  
846 -  
847 - .new-consult {  
848 - padding: 20px 0;  
849 - border-top: 1px solid #eaeceb;  
850 -  
851 - textarea {  
852 - width: 590px;  
853 - height: 80px;  
854 - padding: 5px;  
855 - outline: none;  
856 - resize: none;  
857 - }  
858 -  
859 - .submit-consult {  
860 - display: block;  
861 - width: 140px;  
862 - height: 32px;  
863 - line-height: 32px;  
864 - margin: 8px 0 0;  
865 - }  
866 -  
867 - .error {  
868 - border-color: #e01;  
869 - }  
870 - }  
871 -  
872 - .consult-success {  
873 - border-top: 1px solid #eaeceb;  
874 - margin-top: 30px;  
875 - text-align: center;  
876 - padding: 20px 0;  
877 -  
878 - p {  
879 - width: 295px;  
880 - height: 55px;  
881 - line-height: 55px;  
882 - margin: 0 auto;  
883 - border: 2px solid #222;  
884 - display: block;  
885 - color: #222;  
886 - font-weight: bold;  
887 - }  
888 - }  
889 -  
890 - .after-service {  
891 - text-align: center;  
892 - margin-top: 30px;  
893 -  
894 - .after-service-content {  
895 - display: none;  
896 - }  
897 -  
898 - .after-service-switch {  
899 - height: 44px;  
900 - line-height: 44px;  
901 - background: #eaeceb;  
902 - text-align: center;  
903 - font-size: 12px;  
904 - cursor: pointer;  
905 -  
906 - .iconfont {  
907 - font-size: 12px;  
908 - }  
909 - }  
910 -  
911 - .text {  
912 - padding: 20px 15px;  
913 - color: #666;  
914 - background: #f5f7f6;  
915 - text-align: left;  
916 - color: #666;  
917 - line-height: 18px;  
918 - }  
919 -  
920 - .orange {  
921 - color: #f9761a;  
922 - }  
923 -  
924 - h4 {  
925 - font-weight: bold;  
926 - font-size: 14px;  
927 - line-height: 24px;  
928 - color: #222;  
929 - margin-top: 10px;  
930 -  
931 - &:first-child {  
932 - margin-top: 0;  
933 - }  
934 - }  
935 -  
936 - .img-1 {  
937 - width: 715px;  
938 - height: 259px;  
939 - margin: 0 auto;  
940 - background: resolve('product/after-service-1.png');  
941 - }  
942 -  
943 - .img-2 {  
944 - width: 715px;  
945 - height: 230px;  
946 - margin: 0 auto;  
947 - background: resolve('product/after-service-2.png');  
948 - }  
949 -  
950 - a {  
951 - color: #666;  
952 - }  
953 - }  
954 -  
955 - .service {  
956 - $service: product/service.png;  
957 - width: width($service);  
958 - height: height($service);  
959 - margin: 45px auto;  
960 - background: resolve($service);  
961 - }  
962 -  
963 - .latest-walk {  
964 - overflow: inherit;  
965 -  
966 - .goods {  
967 - width: 1010px;  
968 - margin: 0 auto;  
969 - height: auto;  
970 -  
971 - > div {  
972 - float: left;  
973 - width: 180px;  
974 - margin-right: 22px;  
975 - }  
976 - }  
977 -  
978 - img {  
979 - height: 240px;  
980 - width: 180px;  
981 - display: block;  
982 - }  
983 -  
984 - .name {  
985 - display: block;  
986 - margin-top: 5px;  
987 - color: #222;  
988 - line-height: 16px;  
989 - }  
990 -  
991 - .price {  
992 - color: #222;  
993 - font-weight: bold;  
994 - margin-top: 5px;  
995 - }  
996 -  
997 - .market-price {  
998 - margin-right: 5px;  
999 - }  
1000 -  
1001 - .has-sale {  
1002 - text-decoration: line-through;  
1003 - color: #999;  
1004 - }  
1005 - }  
1006 -  
1007 - .warn-tip {  
1008 - display: inline-block;  
1009 - color: #e01;  
1010 - margin-left: 7px;  
1011 - font-size: 12px;  
1012 -  
1013 - i {  
1014 - font-size: 14px;  
1015 - }  
1016 - }  
1017 -  
1018 - .hot-point-wrap {  
1019 - position: relative;  
1020 - margin: 0 auto;  
1021 -  
1022 - .hot-point {  
1023 - position: absolute;  
1024 - filter: progid:dximagetransform.microsoft.alpha(Opacity=0); /* IE8 Hack */  
1025 -  
1026 - &.hover .pointer {  
1027 - background-position: 0 -25px;  
1028 - }  
1029 -  
1030 - &.hover .hp-good {  
1031 - display: block;  
1032 - }  
1033 - }  
1034 -  
1035 - .pointer {  
1036 - position: absolute;  
1037 - display: block;  
1038 - background: resolve("product/hp-num.png") no-repeat 0 0;  
1039 - color: #fff;  
1040 - cursor: pointer;  
1041 - width: 25px;  
1042 - height: 25px;  
1043 - line-height: 25px;  
1044 - text-align: center;  
1045 - left: 0;  
1046 - top: 0;  
1047 - font-size: 18px;  
1048 - }  
1049 -  
1050 - .hp-good {  
1051 - display: none;  
1052 - position: absolute;  
1053 - left: 30px;  
1054 - top: 0;  
1055 - width: 210px;  
1056 - background: #000;  
1057 - height: 60px;  
1058 - padding: 10px;  
1059 -  
1060 - .pic {  
1061 - display: block;  
1062 - float: left;  
1063 - width: 60px;  
1064 - height: 60px;  
1065 - margin-right: 10px;  
1066 - }  
1067 -  
1068 - .info {  
1069 - position: relative;  
1070 - float: left;  
1071 - color: #fff;  
1072 - font-size: 12px;  
1073 - width: 140px;  
1074 - height: 60px;  
1075 - line-height: 20px;  
1076 - overflow: hidden;  
1077 - white-space: nowrap;  
1078 - text-overflow: ellipsis;  
1079 - text-align: left;  
1080 - }  
1081 -  
1082 - .check-btn {  
1083 - display: block;  
1084 - position: absolute;  
1085 - height: 18px;  
1086 - width: 40px;  
1087 - text-decoration: none;  
1088 - right: 0;  
1089 - bottom: 0;  
1090 - text-align: center;  
1091 - background: #e8e8e8;  
1092 - border-radius: 2px;  
1093 - }  
1094 - }  
1095 - }  
1096 -}