Showing
27 changed files
with
1916 additions
and
1 deletions
@@ -56,3 +56,20 @@ exports.getNewArrival = (req, res, next) => { | @@ -56,3 +56,20 @@ exports.getNewArrival = (req, res, next) => { | ||
56 | res.send(result); | 56 | res.send(result); |
57 | }).catch(next); | 57 | }).catch(next); |
58 | }; | 58 | }; |
59 | + | ||
60 | +exports.getIndexGuide = (req, res,next) => { | ||
61 | + channelModel.getIndexGuideData().then(data => { | ||
62 | + console.log(data); | ||
63 | + if(data.code !== 200){ | ||
64 | + const err = new Error('异常'); | ||
65 | + throw err; | ||
66 | + } | ||
67 | + return channelModel.formatIndexGuideData(data.data); | ||
68 | + }).then(data => { | ||
69 | + data.layout = false; | ||
70 | + //console.log('-----'); | ||
71 | + //console.log(data); | ||
72 | + res.render('guide', {list: data}); | ||
73 | + | ||
74 | +}).catch(next); | ||
75 | +} |
@@ -646,6 +646,121 @@ const processFloorData = (rawData, type) => { | @@ -646,6 +646,121 @@ const processFloorData = (rawData, type) => { | ||
646 | }; | 646 | }; |
647 | }; | 647 | }; |
648 | 648 | ||
649 | +const _formatResourceParams = (code) => { | ||
650 | + return serviceApi.get('operations/api/v5/resource/get', {content_code: code}).then(data => { | ||
651 | + let result = data.data[0]; | ||
652 | + result.channel = channel; | ||
653 | + | ||
654 | + return result; | ||
655 | + }); | ||
656 | +}; | ||
657 | + | ||
658 | +/** | ||
659 | + * 频道页首次登陆导航并行调接口数据 | ||
660 | + * @param {Object} data | ||
661 | + * @return {Object} formatData | ||
662 | + */ | ||
663 | +const _formatParams = (channel, data) => { | ||
664 | + let params = {}; | ||
665 | + | ||
666 | + // 排序数据映射表 | ||
667 | + let orderMaps = { | ||
668 | + 's_t_desc': 'shelve_time:desc', | ||
669 | + 's_t_asc': 'shelve_time:asc', | ||
670 | + 's_p_asc': 'sales_price:asc', | ||
671 | + 's_p_desc': 'sales_price:desc', | ||
672 | + 'p_d_desc': 'discount:desc', | ||
673 | + 'p_d_asc': 'discount:asc', | ||
674 | + 'skn_desc': 'product_skn:desc', | ||
675 | + 'skn_asc': 'product_skn:asc', | ||
676 | + 'activities_desc': 'activities.order_by:desc', | ||
677 | + 'activities_asc': 'activities.order_by:asc', | ||
678 | + 's_n_asc': 'sales_num:asc', | ||
679 | + 's_n_desc': 'sales_num:desc', | ||
680 | + 'activities_id_desc': 'activities.activity_id:desc', | ||
681 | + 'activities_id_asc': 'activities.activity_id:asc', | ||
682 | + 'brand_desc': 'brand_weight:desc' | ||
683 | + }; | ||
684 | + | ||
685 | + params.status = 1; // 是否上架,1表示在架,2表示不在 | ||
686 | + params.sales = 'Y'; // 只搜索销售的产品 | ||
687 | + params.outlets = 2; // 非奥莱商品 | ||
688 | + params.stocknumber = 1; // 过滤掉已售罄的商品 | ||
689 | + params.attribute_not = 2; //过滤掉赠品 | ||
690 | + if (!data.order) { | ||
691 | + params.order = orderMaps.s_t_desc; | ||
692 | + } else { | ||
693 | + params.order = orderMaps[data.order] ? orderMaps[data.order] : ''; | ||
694 | + } | ||
695 | + if (!data.page) { | ||
696 | + params.page = 1; | ||
697 | + } | ||
698 | + | ||
699 | + if(data.viewNum) { | ||
700 | + params.viewNum = data.viewNum; | ||
701 | + } else if (!data.limit) { | ||
702 | + params.viewNum = 60; | ||
703 | + } else { | ||
704 | + params.viewNum = data.limit; | ||
705 | + delete data.limit; | ||
706 | + } | ||
707 | + if (data) { | ||
708 | + params = Object.assign(data); | ||
709 | + } | ||
710 | + return searchApi.get('/search.json', params).then(data => { | ||
711 | + let result = data.data; | ||
712 | + result.channel = channel; | ||
713 | + | ||
714 | + return result; | ||
715 | + }); | ||
716 | +} | ||
717 | + | ||
718 | +/** | ||
719 | + * 格式化频道页首次登陆导航数据 | ||
720 | + * @param {Object} data | ||
721 | + * @return {Object} formatData | ||
722 | + */ | ||
723 | +exports.formatIndexGuideData = data => { | ||
724 | + let channels = { | ||
725 | + 'boys': {'gender': '1,3','limit': 1}, | ||
726 | + 'girls': {'gender': '2,3', 'limit': 1}, | ||
727 | + 'lifestyle': {'msort': 10 , 'misort': '266,280,101,103,259', 'limit': 1}, | ||
728 | + 'kids': {'msort': 365, 'limit': 1} | ||
729 | + }; | ||
730 | + | ||
731 | + let formatData = []; | ||
732 | + let promiseArr = []; | ||
733 | + | ||
734 | + _.forEach(data, item => { | ||
735 | + let channel = item.sort_name_en.toLowerCase().replace(' ', ''); | ||
736 | + | ||
737 | + formatData.push({ | ||
738 | + 'channel': channel, | ||
739 | + 'url': item.sort_url, | ||
740 | + 'sort_name': item.sort_name, | ||
741 | + 'sort_name_en': item.sort_name_en, | ||
742 | + 'content_code': item.content_code, | ||
743 | + 'src': '', | ||
744 | + 'num': 0 | ||
745 | + }); | ||
746 | + | ||
747 | + if (channels[channel]) { | ||
748 | + promiseArr.push(_formatParams(channel, channels[channel])) | ||
749 | + } | ||
750 | + }) | ||
751 | + | ||
752 | + return Promise.all(promiseArr).then(data => { | ||
753 | + _.forEach(formatData, (item, index) => { | ||
754 | + _.forEach(data, (item, ind) => { | ||
755 | + if (formatData[index].channel === data[ind].channel) { | ||
756 | + formatData[index].num = data[ind].total; | ||
757 | + } | ||
758 | + }) | ||
759 | + }) | ||
760 | + | ||
761 | + return formatData; | ||
762 | + }); | ||
763 | +} | ||
649 | 764 | ||
650 | /** | 765 | /** |
651 | * 获取频道页数据 | 766 | * 获取频道页数据 |
@@ -732,3 +847,40 @@ exports.getbrandFloorDataAjax = type => { | @@ -732,3 +847,40 @@ exports.getbrandFloorDataAjax = type => { | ||
732 | return data; | 847 | return data; |
733 | }); | 848 | }); |
734 | }; | 849 | }; |
850 | + | ||
851 | +exports.getResourceData = (formatData) => { | ||
852 | + let promiseArr = []; | ||
853 | + | ||
854 | + _.forEach(data, item => { | ||
855 | + if (item.content_code) { | ||
856 | + promiseArr.push(_formatResourceParams(content_code)) | ||
857 | + } | ||
858 | + | ||
859 | + return Promise.all(promiseArr).then(data => { | ||
860 | + //console.log(formatData); | ||
861 | + _.forEach(formatData, (item, index) => { | ||
862 | + _.forEach(data, (item, ind) => { | ||
863 | + if (formatData[index].channel === data[ind].channel) { | ||
864 | + formatData[index].src = data[ind].src; | ||
865 | + } | ||
866 | + }) | ||
867 | + }) | ||
868 | + console.log(formatData); | ||
869 | + return formatData; | ||
870 | + }) | ||
871 | + }) | ||
872 | +} | ||
873 | + | ||
874 | +/** | ||
875 | + * 获取频道页首次登陆导航数据 | ||
876 | + * @param {String} type 传入频道页类型,值可以是: boys, girls, kids, lifestyle | ||
877 | + * @return {Object} | ||
878 | + */ | ||
879 | +exports.getIndexGuideData = () => { | ||
880 | + let params = { | ||
881 | + client_type: 'web', | ||
882 | + private_key: '0ed29744ed318fd28d2c07985d3ba633' | ||
883 | + }; | ||
884 | + | ||
885 | + return serviceApi.get('operations/api/v6/category/getCategory', params); | ||
886 | +} |
@@ -6,7 +6,7 @@ | @@ -6,7 +6,7 @@ | ||
6 | 6 | ||
7 | 'use strict'; | 7 | 'use strict'; |
8 | 8 | ||
9 | -const router = require('express').Router(); // eslint-disable-line | 9 | +const router = require('express').Router(); // eslint-disable-line |
10 | const cRoot = './controllers'; | 10 | const cRoot = './controllers'; |
11 | 11 | ||
12 | // Your controller here | 12 | // Your controller here |
@@ -21,5 +21,6 @@ router.get('/lifestyle', channelController.index); | @@ -21,5 +21,6 @@ router.get('/lifestyle', channelController.index); | ||
21 | // ajax | 21 | // ajax |
22 | router.get('/getbrandFloorDataAjax', channelController.getbrandFloorDataAjax); | 22 | router.get('/getbrandFloorDataAjax', channelController.getbrandFloorDataAjax); |
23 | router.post('/common/getNewArrival', channelController.getNewArrival); | 23 | router.post('/common/getNewArrival', channelController.getNewArrival); |
24 | +router.get('/guide', channelController.getIndexGuide); | ||
24 | 25 | ||
25 | module.exports = router; | 26 | module.exports = router; |
apps/channel/views/action/guide.hbs
0 → 100644
1 | +<div class="con"></div> | ||
2 | +<div class="guide-box" spm-name="homepage_guide" style="top: 255.5px;"> | ||
3 | + <a class="close" href="javascript:void(0)">x</a> | ||
4 | + <ul class="clear"> | ||
5 | + {{#list}} | ||
6 | + <li class="{{channel}}" > | ||
7 | + <dl> | ||
8 | + <dt class="tag_img_warpper"> | ||
9 | + <a href="{{url}}" target="_self"> | ||
10 | + <img spm-name="homepage_guide_manimg" alt="YOHO!BOYS" src="{{src}}"></a> | ||
11 | + </dt> | ||
12 | + <dd class="block_cn">{{sort_name}}</dd> | ||
13 | + <dd class="block_en"> <b>{{sort_name_en}}</b> | ||
14 | + </dd> | ||
15 | + <dd class="block_line"> | ||
16 | + </dd> | ||
17 | + <dd class="goods-num"> <b>{{num}}+ Items.</b> | ||
18 | + </dd> | ||
19 | + <dd> | ||
20 | + <a class="go" href="{{url}}"> | ||
21 | + Enter | ||
22 | + <span class="ifont">></span> | ||
23 | + </a> | ||
24 | + </dd> | ||
25 | + </dl> | ||
26 | + </li> | ||
27 | + {{/list}} | ||
28 | + </ul> | ||
29 | +</div> |
public/img/header/bottom-arrow.png
0 → 100644

1008 Bytes
public/img/header/cart/boys.png
0 → 100644

1.26 KB
public/img/header/cart/girls.png
0 → 100644

538 Bytes
public/img/header/cart/kids.png
0 → 100644

541 Bytes
public/img/header/cart/lifestyle.png
0 → 100644

539 Bytes
public/img/header/cart/outlets.png
0 → 100644

360 Bytes
public/img/header/empty_car.png
0 → 100644

3.9 KB
public/img/header/hamburger.png
0 → 100644

946 Bytes
public/img/header/heart.png
0 → 100644

1.08 KB
public/img/header/ic-information.png
0 → 100644

1.23 KB
public/img/header/iphone.png
0 → 100644

1.01 KB
public/img/header/loading.gif
0 → 100644

7.28 KB
public/img/header/logo.png
0 → 100644

4.81 KB
public/img/header/mail.png
0 → 100644

1.1 KB
public/img/header/new.png
0 → 100644

20.3 KB
public/img/header/outlets.png
0 → 100644

3.62 KB
public/img/header/paper.png
0 → 100644

1.01 KB
public/img/header/qr.png
0 → 100644

3.05 KB
public/img/header/search.png
0 → 100644

1.15 KB
public/img/sprite.header.png
0 → 100644

1.15 KB
@@ -434,3 +434,100 @@ $subNav.on({ | @@ -434,3 +434,100 @@ $subNav.on({ | ||
434 | $thirdNav.hide(); | 434 | $thirdNav.hide(); |
435 | } | 435 | } |
436 | }); | 436 | }); |
437 | + | ||
438 | +/** | ||
439 | + * 首次进入有弹窗 | ||
440 | + * @return {[type]} [description] | ||
441 | + */ | ||
442 | +function actionCover() { | ||
443 | + var gender = window.cookie('_Gender'); | ||
444 | + var newMask = ''; | ||
445 | + var windowheight = ''; | ||
446 | + var selfheight = ''; | ||
447 | + var containertop; | ||
448 | + var length = ''; | ||
449 | + | ||
450 | + if (true) { | ||
451 | + $.get('/guide', function(data) { | ||
452 | + newMask = document.createElement('div'); | ||
453 | + newMask.id = 'cover'; | ||
454 | + newMask.innerHTML = data; | ||
455 | + document.body.appendChild(newMask); | ||
456 | + windowheight = $(window).height(); | ||
457 | + selfheight = $('.guide-box').height(); | ||
458 | + containertop = windowheight / 2 - selfheight / 2; | ||
459 | + length = $('.guide-box .clear').find('li').length; | ||
460 | + $('.guide-box').css({ | ||
461 | + width: (200 * length) + 'px', | ||
462 | + top: containertop + 'px' | ||
463 | + }); | ||
464 | + $('#cover').bind('click', function(event) { | ||
465 | + window.setCookie('_Gender', '1,3', { | ||
466 | + path: '/', | ||
467 | + domain: '.yohobuy.com', | ||
468 | + expires: 90 | ||
469 | + }); | ||
470 | + window.setCookie('_Channel', 'boys', { | ||
471 | + path: '/', | ||
472 | + domain: '.yohobuy.com', | ||
473 | + expires: 7 | ||
474 | + }); | ||
475 | + closeCover(); | ||
476 | + }) | ||
477 | + $('#cover .guide-box .close').bind('click', function(event) { | ||
478 | + getSource('弹窗', 'CLOSE', 'homepage_man'); | ||
479 | + window.setCookie('_Gender', '1,3', { | ||
480 | + path: '/', | ||
481 | + domain: '.yohobuy.com', | ||
482 | + expires: 90 | ||
483 | + }); | ||
484 | + window.setCookie('_Channel', 'boys', { | ||
485 | + path: '/', | ||
486 | + domain: '.yohobuy.com', | ||
487 | + expires: 7 | ||
488 | + }); | ||
489 | + closeCover(); | ||
490 | + }); | ||
491 | + $('.boys img , .boys .go').bind('click', function(event) { | ||
492 | + getSource('弹窗', 'BOYS', 'homepage_man'); | ||
493 | + window.setCookie('_Gender', '1,3', { | ||
494 | + path: '/', | ||
495 | + domain: '.yohobuy.com', | ||
496 | + expires: 90 | ||
497 | + }); | ||
498 | + window.setCookie('_Channel', 'boys', { | ||
499 | + path: '/', | ||
500 | + domain: '.yohobuy.com', | ||
501 | + expires: 7 | ||
502 | + }); | ||
503 | + closeCover(); | ||
504 | + }); | ||
505 | + $('.girls img, .girls .go').bind('click', function(event) { | ||
506 | + getSource('弹窗', 'GIRLS', 'homepage_woman'); | ||
507 | + window.setCookie('_Gender', '2,3', { | ||
508 | + path: '/', | ||
509 | + domain: '.yohobuy.com', | ||
510 | + expires: 90 | ||
511 | + }); | ||
512 | + window.setCookie('_Channel', 'girls', { | ||
513 | + path: '/', | ||
514 | + domain: '.yohobuy.com', | ||
515 | + expires: 7 | ||
516 | + }); | ||
517 | + }); | ||
518 | + $('.lifestyle img, .lifestyle .go').bind('click', function(event) { | ||
519 | + window.setCookie('_Channel', 'lifestyle', { | ||
520 | + path: '/', | ||
521 | + domain: '.yohobuy.com', | ||
522 | + expires: 7 | ||
523 | + }); | ||
524 | + getSource('弹窗', 'LIEFSTYLE', 'homepage_lifestyle'); | ||
525 | + }); | ||
526 | + $('#cover .guide-box').bind('click', function(event) { | ||
527 | + event.stopPropagation(); | ||
528 | + }); | ||
529 | + }).error(function(err){alert(JSON.parse(err.responseText).message)}); | ||
530 | + } | ||
531 | +}; | ||
532 | + | ||
533 | +actionCover(); |
public/scss/_header.css
0 → 100644
1 | +.yoho-notice { | ||
2 | + width: 100%; | ||
3 | + height: 100px; | ||
4 | + font-size: 12px; | ||
5 | + background-color: #555; | ||
6 | + font-family: '微软雅黑'; | ||
7 | + | ||
8 | + .notice-title{ | ||
9 | + height: 100px; | ||
10 | + line-height: 100px; | ||
11 | + font-size: 27px; | ||
12 | + font-weight: bold; | ||
13 | + color: #fff; | ||
14 | + width: 245px; | ||
15 | + position: absolute; | ||
16 | + } | ||
17 | + | ||
18 | + .notice-content { | ||
19 | + padding: 16px 0 0 300px; | ||
20 | + color: #e8e8e8; | ||
21 | + | ||
22 | + | ||
23 | + .tips { | ||
24 | + margin-bottom: 10px; | ||
25 | + } | ||
26 | + | ||
27 | + .detail { | ||
28 | + line-height: 16px; | ||
29 | + } | ||
30 | + } | ||
31 | +} | ||
32 | + | ||
33 | + | ||
34 | +.yoho-header { | ||
35 | + .header-topwrapper { | ||
36 | + width: 100%; | ||
37 | + background-color: #f4f4f4; | ||
38 | + min-width: 1150px; | ||
39 | + } | ||
40 | + | ||
41 | + .header-top { | ||
42 | + width: 1150px; | ||
43 | + height: 32px; | ||
44 | + line-height: 32px; | ||
45 | + margin: 0 auto; | ||
46 | + position: relative; | ||
47 | + } | ||
48 | + | ||
49 | + #loginBox { | ||
50 | + display: none; | ||
51 | + } | ||
52 | + | ||
53 | + .leftpart { | ||
54 | + position: relative; | ||
55 | + padding-left: 5px; | ||
56 | + padding-right: 5px; | ||
57 | + } | ||
58 | + | ||
59 | + .leftpart:hover { | ||
60 | + background-color: #dcdcdc; | ||
61 | + | ||
62 | + .yohoproducts-list { | ||
63 | + display: block !important; | ||
64 | + } | ||
65 | + } | ||
66 | + | ||
67 | + .leftpart .acttags { | ||
68 | + background-color: #dcdcdc; | ||
69 | + } | ||
70 | + | ||
71 | + .yohoproducts-list { | ||
72 | + position: absolute; | ||
73 | + display: none; | ||
74 | + width: 170px; | ||
75 | + left: 0; | ||
76 | + top: 32px; | ||
77 | + background-color: #f4f4f4; | ||
78 | + padding-top: 30px; | ||
79 | + padding-bottom: 10px; | ||
80 | + padding-left: 20px; | ||
81 | + z-index: 10000000; | ||
82 | + } | ||
83 | + | ||
84 | + .yohoproducts-item { | ||
85 | + height: 14px; | ||
86 | + line-height: 14px; | ||
87 | + margin-bottom: 20px; | ||
88 | + | ||
89 | + a { | ||
90 | + color: #9196a0; | ||
91 | + font-size: 14px; | ||
92 | + } | ||
93 | + | ||
94 | + &:hover a { | ||
95 | + color: black; | ||
96 | + } | ||
97 | + } | ||
98 | + | ||
99 | + .rightpart { | ||
100 | + position: absolute; | ||
101 | + right: 0; | ||
102 | + top: 0; | ||
103 | + | ||
104 | + .acttags { | ||
105 | + background-color: #dcdcdc; | ||
106 | + } | ||
107 | + | ||
108 | + .tag-seprate { | ||
109 | + border-color: #dcdcdc; | ||
110 | + } | ||
111 | + } | ||
112 | + | ||
113 | + .hi, | ||
114 | + .loginbar, | ||
115 | + .registbar { | ||
116 | + display: inline-block; | ||
117 | + float: left; | ||
118 | + } | ||
119 | + | ||
120 | + .hi { | ||
121 | + color: #8e8e8e; | ||
122 | + font-size: 12px; | ||
123 | + } | ||
124 | + | ||
125 | + #loginBox a, | ||
126 | + #loginBox span { | ||
127 | + color: black; | ||
128 | + font-size: 12px; | ||
129 | + } | ||
130 | + | ||
131 | + .header-yoho, | ||
132 | + .loginbar, | ||
133 | + .login-out, | ||
134 | + .registbar { | ||
135 | + color: black; | ||
136 | + font-size: 12px; | ||
137 | + } | ||
138 | + | ||
139 | + .registbar { | ||
140 | + margin-left: 7px; | ||
141 | + } | ||
142 | + | ||
143 | + .tag-list-wrapper { | ||
144 | + margin-left: 13px; | ||
145 | + float: left; | ||
146 | + } | ||
147 | + | ||
148 | + .tag-list { | ||
149 | + margin-left: 13px; | ||
150 | + height: 34px; | ||
151 | + } | ||
152 | + | ||
153 | + .tag-seprate { | ||
154 | + margin-top: 11px; | ||
155 | + width: 0; | ||
156 | + height: 14px; | ||
157 | + display: inline-block; | ||
158 | + float: left; | ||
159 | + border-left: 1px solid #dcdcdc; | ||
160 | + } | ||
161 | + | ||
162 | + .tag-item { | ||
163 | + display: inline-block; | ||
164 | + float: left; | ||
165 | + line-height: 32px; | ||
166 | + box-sizing: border-box; | ||
167 | + margin-left: -1px; | ||
168 | + | ||
169 | + a { | ||
170 | + color: #8e8e8e; | ||
171 | + font-size: 12px; | ||
172 | + display: inline-block; | ||
173 | + } | ||
174 | + | ||
175 | + span { | ||
176 | + display: inline-block; | ||
177 | + } | ||
178 | + } | ||
179 | + | ||
180 | + .myyoho { | ||
181 | + padding-right: 10px; | ||
182 | + position: relative; | ||
183 | + | ||
184 | + .tag-seprate { | ||
185 | + margin-right: 12px; | ||
186 | + } | ||
187 | + } | ||
188 | + | ||
189 | + .myyoho-info { | ||
190 | + position: absolute; | ||
191 | + display: none; | ||
192 | + top: 32px; | ||
193 | + left: -110px; | ||
194 | + width: 300px; | ||
195 | + background-color: #f8f8f8; | ||
196 | + z-index: 1000000; | ||
197 | + } | ||
198 | + | ||
199 | + .myyoho-photo { | ||
200 | + overflow: hidden; | ||
201 | + | ||
202 | + img{ | ||
203 | + display: block; | ||
204 | + margin:0 auto; | ||
205 | + width: 63px; | ||
206 | + height: 63px; | ||
207 | + border-radius: 50%; | ||
208 | + } | ||
209 | + } | ||
210 | + | ||
211 | + .myyoho-info-header { | ||
212 | + margin: 17px auto 0; | ||
213 | + width: 257px; | ||
214 | + border-bottom: 1px solid #dcdcdc; | ||
215 | + text-align: center; | ||
216 | + padding-bottom: 15px; | ||
217 | + } | ||
218 | + | ||
219 | + .user-email { | ||
220 | + margin-top: 14px; | ||
221 | + color: black; | ||
222 | + height: 25px; | ||
223 | + line-height: 20px; | ||
224 | + font-size: 18px; | ||
225 | + } | ||
226 | + | ||
227 | + .user-level { | ||
228 | + color: black; | ||
229 | + height: 20px; | ||
230 | + line-height: 20px; | ||
231 | + font-size: 18px; | ||
232 | + | ||
233 | + .leveldetail { | ||
234 | + color: #8cc4f9; | ||
235 | + } | ||
236 | + } | ||
237 | + | ||
238 | + .levelinfo { | ||
239 | + width: 100%; | ||
240 | + padding-top: 10px; | ||
241 | + clear: both; | ||
242 | + height: 15px; | ||
243 | + } | ||
244 | + | ||
245 | + .levelwrapper { | ||
246 | + width: 150px; | ||
247 | + height: 14px; | ||
248 | + background-color: #e2e2e2; | ||
249 | + margin-left: 40px; | ||
250 | + position: relative; | ||
251 | + } | ||
252 | + | ||
253 | + .levelspan { | ||
254 | + position: absolute; | ||
255 | + left: 2px; | ||
256 | + height: 14px; | ||
257 | + top: 0; | ||
258 | + line-height: 16px; | ||
259 | + } | ||
260 | + | ||
261 | + .levelwrapper .integrate { | ||
262 | + height: 14px; | ||
263 | + line-height: 15px; | ||
264 | + background-color: #ceae64; | ||
265 | + text-align: left; | ||
266 | + padding-left: 5px; | ||
267 | + } | ||
268 | + | ||
269 | + .cardcate { | ||
270 | + font-size: 14px; | ||
271 | + line-height: 14px; | ||
272 | + margin-left: 5px; | ||
273 | + } | ||
274 | + | ||
275 | + .myyoho-info-content { | ||
276 | + margin: 20px auto 0; | ||
277 | + padding-left: 35px; | ||
278 | + padding-right: 29px; | ||
279 | + border-bottom: 1px solid #dcdcdc; | ||
280 | + | ||
281 | + .item { | ||
282 | + height: 12px; | ||
283 | + line-height: 12px; | ||
284 | + margin-bottom: 16px; | ||
285 | + | ||
286 | + a { | ||
287 | + font-size: 14px; | ||
288 | + color: black; | ||
289 | + } | ||
290 | + } | ||
291 | + } | ||
292 | + | ||
293 | + .myyoho-info-footer { | ||
294 | + height: 51px; | ||
295 | + line-height: 51px; | ||
296 | + text-align: center; | ||
297 | + | ||
298 | + a { | ||
299 | + color: black; | ||
300 | + font-size: 14px; | ||
301 | + } | ||
302 | + } | ||
303 | + | ||
304 | + .myorder { | ||
305 | + padding-right: 10px; | ||
306 | + | ||
307 | + .tag-seprate { | ||
308 | + margin-right: 11px; | ||
309 | + } | ||
310 | + } | ||
311 | + | ||
312 | + .mycollect { | ||
313 | + padding-right: 11px; | ||
314 | + | ||
315 | + .tag-seprate { | ||
316 | + margin-right: 11px; | ||
317 | + } | ||
318 | + } | ||
319 | + | ||
320 | + .message { | ||
321 | + padding-right: 10px; | ||
322 | + | ||
323 | + .tag-seprate { | ||
324 | + margin-right: 11px; | ||
325 | + } | ||
326 | + } | ||
327 | + | ||
328 | + .phone { | ||
329 | + padding-right: 8px; | ||
330 | + position: relative; | ||
331 | + | ||
332 | + .tag-seprate { | ||
333 | + margin-right: 10px; | ||
334 | + } | ||
335 | + } | ||
336 | + | ||
337 | + .qr { | ||
338 | + position: absolute; | ||
339 | + display: none; | ||
340 | + top: 32px; | ||
341 | + left: -100px; | ||
342 | + width: 231px; | ||
343 | + height: 290px; | ||
344 | + background-color: #f8f8f8; | ||
345 | + z-index: 10000000; | ||
346 | + } | ||
347 | + | ||
348 | + .qr-img { | ||
349 | + position: relative; | ||
350 | + background-image: resolve(header/qr.png); | ||
351 | + background-repeat: no-repeat; | ||
352 | + background-size: 100% 100%; | ||
353 | + margin: 32px auto 15px; | ||
354 | + width: 143px; | ||
355 | + height: 147px; | ||
356 | + } | ||
357 | + | ||
358 | + .qr-words { | ||
359 | + height: 25px; | ||
360 | + line-height: 25px; | ||
361 | + font-size: 16px; | ||
362 | + text-align: center; | ||
363 | + } | ||
364 | + | ||
365 | + .qr-more { | ||
366 | + margin-top: 6px; | ||
367 | + line-height: 25px; | ||
368 | + font-size: 14px; | ||
369 | + text-align: center; | ||
370 | + } | ||
371 | + | ||
372 | + .onlineserver .tag-seprate { | ||
373 | + margin-right: 10px; | ||
374 | + } | ||
375 | + | ||
376 | + .header-navwrapper { | ||
377 | + width: 100%; | ||
378 | + height: 130px; | ||
379 | + position: relative; | ||
380 | + min-width: 1150px; | ||
381 | + } | ||
382 | + | ||
383 | + .header-navcontent { | ||
384 | + width: 1150px; | ||
385 | + height: 130px; | ||
386 | + margin: 0 auto; | ||
387 | + } | ||
388 | + | ||
389 | + .first-nav-list { | ||
390 | + margin-top: 45px; | ||
391 | + } | ||
392 | + | ||
393 | + .first-nav-item { | ||
394 | + float: left; | ||
395 | + padding: 8px 23px 0; | ||
396 | + | ||
397 | + .menu-ico { | ||
398 | + width: 84px; | ||
399 | + height: 32px; | ||
400 | + display: block; | ||
401 | + } | ||
402 | + } | ||
403 | + | ||
404 | + .all a, | ||
405 | + .girls a, | ||
406 | + .boys a, | ||
407 | + .kids a, | ||
408 | + .lifestyle a { | ||
409 | + color: white !important; | ||
410 | + } | ||
411 | + | ||
412 | + .all span, | ||
413 | + .girls span, | ||
414 | + .boys span, | ||
415 | + .kids span, | ||
416 | + .lifestyle span { | ||
417 | + color: white !important; | ||
418 | + } | ||
419 | + | ||
420 | + .all { | ||
421 | + background-color: #5e4b3c; | ||
422 | + | ||
423 | + .sub-nav-wrapper { | ||
424 | + background-color: black; | ||
425 | + display: block !important; | ||
426 | + } | ||
427 | + | ||
428 | + .third-nav-wrapper { | ||
429 | + border-top: 2px solid black; | ||
430 | + } | ||
431 | + } | ||
432 | + | ||
433 | + .searchcateboys { | ||
434 | + .searchinput { | ||
435 | + border: 1px solid #3a3a3a | ||
436 | + } | ||
437 | + .icon-search { | ||
438 | + background-color: #3a3a3a!important | ||
439 | + } | ||
440 | + } | ||
441 | + .searchcategirls { | ||
442 | + .searchinput { | ||
443 | + border: 1px solid #ff88ae | ||
444 | + } | ||
445 | + .icon-search { | ||
446 | + background-color: #ff88ae!important | ||
447 | + } | ||
448 | + } | ||
449 | + .searchcatewoman { | ||
450 | + .searchinput { | ||
451 | + border: 1px solid #ff88ae | ||
452 | + } | ||
453 | + .icon-search { | ||
454 | + background-color: #ff88ae!important | ||
455 | + } | ||
456 | + } | ||
457 | + .searchcatekids { | ||
458 | + .searchinput { | ||
459 | + border: 1px solid #7bd3f9 !important | ||
460 | + } | ||
461 | + .icon-search { | ||
462 | + background-color: #7bd3f9!important | ||
463 | + } | ||
464 | + } | ||
465 | + .gobuyboys { | ||
466 | + background: url(header/cart/boys.png) no-repeat; | ||
467 | + } | ||
468 | + .gobuygirls { | ||
469 | + background: url(header/cart/girls.png) no-repeat; | ||
470 | + } | ||
471 | + .gobuykids { | ||
472 | + background: url(header/cart/kids.png) no-repeat; | ||
473 | + } | ||
474 | + .gobuylifestyle { | ||
475 | + background: url(header/cart/lifestyle.png) no-repeat; | ||
476 | + } | ||
477 | + .gobuyoutlets { | ||
478 | + background: url(header/cart/outlets.png) no-repeat; | ||
479 | + } | ||
480 | + .searchcatelifestyle { | ||
481 | + .searchinput { | ||
482 | + border: 1px solid #5e4b3c !important | ||
483 | + } | ||
484 | + .icon-search { | ||
485 | + background-color: #5e4b3c !important | ||
486 | + } | ||
487 | + } | ||
488 | + .boys { | ||
489 | + background-color: #3a3a3a; | ||
490 | + | ||
491 | + .sub-nav-wrapper { | ||
492 | + background-color: #3a3a3a; | ||
493 | + display: block !important; | ||
494 | + } | ||
495 | + | ||
496 | + .third-nav-wrapper { | ||
497 | + border-top: 2px solid #3a3a3a; | ||
498 | + } | ||
499 | + } | ||
500 | + | ||
501 | + .girls { | ||
502 | + background-color: #ff88ae; | ||
503 | + | ||
504 | + .sub-nav-wrapper { | ||
505 | + background-color: #ff88ae; | ||
506 | + display: block !important; | ||
507 | + } | ||
508 | + | ||
509 | + .third-nav-wrapper { | ||
510 | + border-top: 2px solid #ff88ae; | ||
511 | + } | ||
512 | + } | ||
513 | + | ||
514 | + .kids { | ||
515 | + background-color: #7bd3f9; | ||
516 | + | ||
517 | + .sub-nav-wrapper { | ||
518 | + background-color: #7bd3f9; | ||
519 | + display: block !important; | ||
520 | + } | ||
521 | + | ||
522 | + .third-nav-wrapper { | ||
523 | + border-top: 2px solid #7bd3f9; | ||
524 | + } | ||
525 | + } | ||
526 | + | ||
527 | + .lifestyle { | ||
528 | + background-color: #5e4b3c; | ||
529 | + | ||
530 | + .sub-nav-wrapper { | ||
531 | + background-color: #5e4b3c; | ||
532 | + display: block !important; | ||
533 | + } | ||
534 | + | ||
535 | + .third-nav-wrapper { | ||
536 | + border-top: 2px solid #5e4b3c; | ||
537 | + } | ||
538 | + } | ||
539 | + | ||
540 | + .outlets > .sub-nav-wrapper { | ||
541 | + display: block !important; | ||
542 | + } | ||
543 | + | ||
544 | + .name-cn { | ||
545 | + text-align: center; | ||
546 | + line-height: 16px !important; | ||
547 | + | ||
548 | + a { | ||
549 | + color: black; | ||
550 | + font-size: 16px !important; | ||
551 | + } | ||
552 | + } | ||
553 | + | ||
554 | + .name-en { | ||
555 | + text-align: center; | ||
556 | + line-height: 14px !important; | ||
557 | + margin-bottom: 6px; | ||
558 | + | ||
559 | + a { | ||
560 | + color: #8e8e8e; | ||
561 | + font-size: 12px; | ||
562 | + line-height: 14px !important; | ||
563 | + font-family: 'arial' !important; | ||
564 | + } | ||
565 | + } | ||
566 | + | ||
567 | + .sub-nav-wrapper { | ||
568 | + display: none; | ||
569 | + height: 40px; | ||
570 | + left: 0; | ||
571 | + width: 100%; | ||
572 | + position: absolute; | ||
573 | + z-index: 1000; | ||
574 | + } | ||
575 | + | ||
576 | + .sub-nav-list { | ||
577 | + width: 1150px; | ||
578 | + height: 40px; | ||
579 | + margin: 0 auto; | ||
580 | + overflow: hidden; | ||
581 | + } | ||
582 | + | ||
583 | + .sub-nav-item { | ||
584 | + float: left; | ||
585 | + padding: 12px 46px 12px 0; | ||
586 | + box-sizing: border-box; | ||
587 | + margin-right: 38px; | ||
588 | + | ||
589 | + &:last-child { | ||
590 | + margin-right: 0 !important; | ||
591 | + } | ||
592 | + | ||
593 | + a { | ||
594 | + position: relative; | ||
595 | + color: white; | ||
596 | + font-size: 14px; | ||
597 | + line-height: 14px; | ||
598 | + display: inline-block; | ||
599 | + } | ||
600 | + } | ||
601 | + | ||
602 | + .newlogo { | ||
603 | + display: block; | ||
604 | + width: 26px; | ||
605 | + height: 12px; | ||
606 | + background-image: resolve(header/new.png); | ||
607 | + background-repeat: no-repeat; | ||
608 | + position: absolute; | ||
609 | + right: -29px; | ||
610 | + top: -6px; | ||
611 | + } | ||
612 | + | ||
613 | + .sub-nav-item:hover > a { | ||
614 | + padding-bottom: 3px; | ||
615 | + border-bottom: 2px solid white; | ||
616 | + } | ||
617 | + | ||
618 | + .actsecondnav { | ||
619 | + padding-bottom: 3px; | ||
620 | + border-bottom: 2px solid white; | ||
621 | + } | ||
622 | + | ||
623 | + .sub-nav-item:hover .third-nav-wrapper { | ||
624 | + display: block; | ||
625 | + } | ||
626 | + | ||
627 | + .third-nav-wrapper { | ||
628 | + box-sizing: border-box; | ||
629 | + height: 410px; | ||
630 | + position: absolute; | ||
631 | + left: 0; | ||
632 | + top: 38px; | ||
633 | + width: 100%; | ||
634 | + min-width: 1150px; | ||
635 | + display: none; | ||
636 | + z-index: 10000; | ||
637 | + padding-top: 30px; | ||
638 | + padding-bottom: 30px; | ||
639 | + background-color: #f8f8f8; | ||
640 | + } | ||
641 | + | ||
642 | + .third-nav { | ||
643 | + width: 1150px; | ||
644 | + height: 100%; | ||
645 | + margin: 0 auto; | ||
646 | + } | ||
647 | + | ||
648 | + .category { | ||
649 | + width: 880px; | ||
650 | + float: left; | ||
651 | + overflow: hidden; | ||
652 | + | ||
653 | + .thirdnavlist { | ||
654 | + box-sizing: border-box; | ||
655 | + width: 220px; | ||
656 | + height: 240px; | ||
657 | + float: left; | ||
658 | + padding-left: 20px; | ||
659 | + border-right: 1px solid #dcdcdc; | ||
660 | + padding-right: 20px; | ||
661 | + } | ||
662 | + } | ||
663 | + | ||
664 | + .category-title { | ||
665 | + color: black; | ||
666 | + font-size: 16px; | ||
667 | + width: 178px; | ||
668 | + padding-bottom: 12px; | ||
669 | + border-bottom: 1px solid #000; | ||
670 | + line-height: 16px; | ||
671 | + margin-bottom: 20px; | ||
672 | + a { | ||
673 | + color: black !important; | ||
674 | + } | ||
675 | + } | ||
676 | + | ||
677 | + .category-list { | ||
678 | + margin-top: 16px; | ||
679 | + margin-bottom: 30px; | ||
680 | + } | ||
681 | + | ||
682 | + .category-item { | ||
683 | + line-height: 28px; | ||
684 | + } | ||
685 | + | ||
686 | + .category-list a { | ||
687 | + color: #a1a1a1 !important; | ||
688 | + font-size: 14px; | ||
689 | + } | ||
690 | + | ||
691 | + .category-list .category-item .hot { | ||
692 | + color: #ee0011 !important; | ||
693 | + font-size: 14px; | ||
694 | + } | ||
695 | + | ||
696 | + .category-item-act a { | ||
697 | + color: black !important; | ||
698 | + } | ||
699 | + | ||
700 | + .showdetail { | ||
701 | + box-sizing: border-box; | ||
702 | + padding-left: 19px; | ||
703 | + padding-right: 19px; | ||
704 | + width: 337px; | ||
705 | + height: 250px; | ||
706 | + float: right; | ||
707 | + } | ||
708 | + | ||
709 | + [class^="icon-"], [class*=" icon-"] { | ||
710 | + display: inline-block; | ||
711 | + vertical-align: middle; | ||
712 | + background-repeat: none; | ||
713 | + } | ||
714 | + | ||
715 | + .icon-hamburger { | ||
716 | + background: url(header/hamburger.png) no-repeat; | ||
717 | + width: 13px; | ||
718 | + height: 11px; | ||
719 | + } | ||
720 | + | ||
721 | + .icon-headphones { | ||
722 | + background: url(header/iphone.png) no-repeat; | ||
723 | + width: 15px; | ||
724 | + height: 10px; | ||
725 | + margin-top: 2px; | ||
726 | + } | ||
727 | + | ||
728 | + .icon-heart { | ||
729 | + background: url(header/heart.png) no-repeat; | ||
730 | + width: 12px; | ||
731 | + height: 11px; | ||
732 | + margin-top: -2px; | ||
733 | + } | ||
734 | + | ||
735 | + .icon-mail { | ||
736 | + background: url(header/mail.png) no-repeat; | ||
737 | + width: 16px; | ||
738 | + height: 10px; | ||
739 | + margin-top: -2px; | ||
740 | + } | ||
741 | + | ||
742 | + .icon-iphone { | ||
743 | + background: url(header/iphone.png) no-repeat; | ||
744 | + width: 8px; | ||
745 | + height: 14px; | ||
746 | + margin-top: -2px; | ||
747 | + } | ||
748 | + | ||
749 | + .icon-papers { | ||
750 | + background: url(header/paper.png) no-repeat; | ||
751 | + width: 10px; | ||
752 | + height: 14px; | ||
753 | + margin-top: -2px; | ||
754 | + } | ||
755 | + | ||
756 | + .icon-bottomarrow { | ||
757 | + background: url(header/bottom-arrow.png) no-repeat; | ||
758 | + width: 10px; | ||
759 | + height: 5px; | ||
760 | + margin-top: -2px; | ||
761 | + } | ||
762 | + | ||
763 | + .outlets-logo { | ||
764 | + background: resolve(header/outlets.png) no-repeat center center; | ||
765 | + width: 200px; | ||
766 | + height: 34px; | ||
767 | + left: 42%; | ||
768 | + margin-top: 28px; | ||
769 | + position: absolute; | ||
770 | + display: none; | ||
771 | + } | ||
772 | + | ||
773 | + .icon-logo { | ||
774 | + background: resolve(header/logo.png) no-repeat center center; | ||
775 | + width: 182px; | ||
776 | + height: 53px; | ||
777 | + top: 22px; | ||
778 | + left: 44.2%; | ||
779 | + position: absolute; | ||
780 | + .main-link { | ||
781 | + display: block; | ||
782 | + width: 100%; | ||
783 | + height: 100%; | ||
784 | + } | ||
785 | + } | ||
786 | + | ||
787 | + .search { | ||
788 | + position: relative; | ||
789 | + } | ||
790 | + | ||
791 | + .searchspan { | ||
792 | + margin-top: 45px; | ||
793 | + float: left; | ||
794 | + display: inline-block; | ||
795 | + overflow: hidden; | ||
796 | + } | ||
797 | + | ||
798 | + .searchinput { | ||
799 | + float: left; | ||
800 | + width: 240px; | ||
801 | + height: 28px; | ||
802 | + border: 1px solid #000; | ||
803 | + box-sizing: border-box; | ||
804 | + padding: 6px 0 5px 10px; | ||
805 | + border-right: none; | ||
806 | + } | ||
807 | + | ||
808 | + .icon-search { | ||
809 | + background: resolve(header/search.png) no-repeat center center; | ||
810 | + width: 80px; | ||
811 | + height: 28px; | ||
812 | + float: left; | ||
813 | + border: none; | ||
814 | + margin-top: 45px; | ||
815 | + background-color: #3a3a3a; | ||
816 | + } | ||
817 | + | ||
818 | + .search-list { | ||
819 | + position: absolute; | ||
820 | + top: 73px; | ||
821 | + left: 0; | ||
822 | + z-index: 1000; | ||
823 | + box-sizing: border-box; | ||
824 | + display: none; | ||
825 | + background-color: white; | ||
826 | + padding-top: 20px; | ||
827 | + width: 100%; | ||
828 | + max-height: 500px; | ||
829 | + border-left: 1px solid #000; | ||
830 | + border-right: 1px solid #000; | ||
831 | + border-bottom: 1px solid #000; | ||
832 | + } | ||
833 | + | ||
834 | + .search-item { | ||
835 | + position: relative; | ||
836 | + padding: 5px; | ||
837 | + height: 25px; | ||
838 | + line-height: 25px; | ||
839 | + font: 12px; | ||
840 | + | ||
841 | + &:hover { | ||
842 | + background-color: #f4f4f4; | ||
843 | + } | ||
844 | + } | ||
845 | + | ||
846 | + .searchvalue { | ||
847 | + position: absolute; | ||
848 | + left: 10px; | ||
849 | + max-width: 192px; | ||
850 | + font-size: 12px; | ||
851 | + @mixin ellipsis; | ||
852 | + } | ||
853 | + | ||
854 | + .valuenum { | ||
855 | + position: absolute; | ||
856 | + right: 10px; | ||
857 | + font-size: 12px; | ||
858 | + } | ||
859 | + | ||
860 | + .header-tool { | ||
861 | + padding-right: 23px; | ||
862 | + } | ||
863 | + | ||
864 | + .gobuy { | ||
865 | + margin-top: 47px; | ||
866 | + margin-left: 23px; | ||
867 | + width: 26px; | ||
868 | + height: 26px; | ||
869 | + position: relative; | ||
870 | + cursor: pointer; | ||
871 | + } | ||
872 | + | ||
873 | + .gobuy-wrapper { | ||
874 | + position: absolute; | ||
875 | + display: none; | ||
876 | + top: 24px; | ||
877 | + right: -14px; | ||
878 | + width: 378px; | ||
879 | + padding-top: 6px; | ||
880 | + z-index: 10000000; | ||
881 | + } | ||
882 | + | ||
883 | + .gobuy-empty { | ||
884 | + position: absolute; | ||
885 | + width: 100%; | ||
886 | + height: 507px; | ||
887 | + z-index: 1; | ||
888 | + background: #f8f8f8 resolve(header/empty_car.png) no-repeat 106px 132px; | ||
889 | + | ||
890 | + .information { | ||
891 | + margin-top: 300px; | ||
892 | + width: 100%; | ||
893 | + height: 18px; | ||
894 | + line-height: 18px; | ||
895 | + font-size: 18px; | ||
896 | + text-align: center; | ||
897 | + } | ||
898 | + } | ||
899 | + | ||
900 | + .gobuy-loading { | ||
901 | + position: absolute; | ||
902 | + width: 100%; | ||
903 | + height: 407px; | ||
904 | + z-index: 1; | ||
905 | + background: #f8f8f8 resolve(header/loading.gif) no-repeat center 150px; | ||
906 | + | ||
907 | + .information { | ||
908 | + margin-top: 180px; | ||
909 | + width: 100%; | ||
910 | + height: 12px; | ||
911 | + line-height: 12px; | ||
912 | + font-size: 12px; | ||
913 | + text-align: center; | ||
914 | + } | ||
915 | + } | ||
916 | + | ||
917 | + .gobuy-notempty { | ||
918 | + position: absolute; | ||
919 | + width: 100%; | ||
920 | + z-index: 1; | ||
921 | + background-color: #f8f8f8; | ||
922 | + overflow: hidden; | ||
923 | + } | ||
924 | + | ||
925 | + .goods-list-wrapper { | ||
926 | + width: 100%; | ||
927 | + max-height: 444px; | ||
928 | + margin-bottom: 19px; | ||
929 | + overflow-y: auto; | ||
930 | + overflow-x: hidden; | ||
931 | + } | ||
932 | + | ||
933 | + .goods-list { | ||
934 | + margin-top: 40px; | ||
935 | + } | ||
936 | + | ||
937 | + .goods-item { | ||
938 | + height: 64px; | ||
939 | + margin-bottom: 18px; | ||
940 | + padding-left: 18px; | ||
941 | + } | ||
942 | + | ||
943 | + .goods-img { | ||
944 | + display: inline-block; | ||
945 | + float: left; | ||
946 | + width: 46px; | ||
947 | + height: 62px; | ||
948 | + margin-right: 13px; | ||
949 | + } | ||
950 | + | ||
951 | + .goods-detail { | ||
952 | + margin-right: 16px; | ||
953 | + | ||
954 | + .content { | ||
955 | + width: 170px; | ||
956 | + height: 14px; | ||
957 | + line-height: 14px; | ||
958 | + font-size: 14px; | ||
959 | + margin-bottom: 13px; | ||
960 | + @mixin ellipsis; | ||
961 | + | ||
962 | + a { | ||
963 | + color: #666; | ||
964 | + outline: none; | ||
965 | + text-decoration: none; | ||
966 | + } | ||
967 | + } | ||
968 | + | ||
969 | + .style { | ||
970 | + height: 14px; | ||
971 | + line-height: 14px; | ||
972 | + font-size: 14px; | ||
973 | + color: #b0b0b0; | ||
974 | + } | ||
975 | + } | ||
976 | + | ||
977 | + .goods-price .priceandnum { | ||
978 | + height: 14px; | ||
979 | + line-height: 14px; | ||
980 | + font-size: 14px; | ||
981 | + margin-bottom: 13px; | ||
982 | + min-width: 75px; | ||
983 | + text-align: right; | ||
984 | + } | ||
985 | + | ||
986 | + .goods-price .delete { | ||
987 | + display: inline-block; | ||
988 | + float: right; | ||
989 | + font-size: 14px; | ||
990 | + color: #000; | ||
991 | + } | ||
992 | + | ||
993 | + .activity-item { | ||
994 | + margin-bottom: 8px; | ||
995 | + padding-left: 18px; | ||
996 | + } | ||
997 | + | ||
998 | + .activity-name { | ||
999 | + display: inline-block; | ||
1000 | + box-sizing:border-box; | ||
1001 | + border: none; | ||
1002 | + width: 60px; | ||
1003 | + height: 18px; | ||
1004 | + line-height: 18px; | ||
1005 | + background-color: #3a3a3a; | ||
1006 | + color: white; | ||
1007 | + font-size: 14px; | ||
1008 | + text-align: center; | ||
1009 | + margin-right: 13px; | ||
1010 | + vertical-align: top; | ||
1011 | + } | ||
1012 | + | ||
1013 | + .activity-content { | ||
1014 | + display: inline-block; | ||
1015 | + line-height: 14px; | ||
1016 | + width: 250px; | ||
1017 | + color: #3a3a3a; | ||
1018 | + font-size: 12px; | ||
1019 | + word-break: break-all; | ||
1020 | + } | ||
1021 | + | ||
1022 | + .gobuy-notempty-footer { | ||
1023 | + width: 100%; | ||
1024 | + height: 61px; | ||
1025 | + text-align: center; | ||
1026 | + | ||
1027 | + h3 { | ||
1028 | + box-sizing: border-box; | ||
1029 | + width: 349px; | ||
1030 | + margin: 0 auto; | ||
1031 | + height: 61px; | ||
1032 | + line-height: 61px; | ||
1033 | + border-top: 1px solid #dcdcdc; | ||
1034 | + } | ||
1035 | + | ||
1036 | + a { | ||
1037 | + font-size: 18px; | ||
1038 | + color: #444; | ||
1039 | + } | ||
1040 | + } | ||
1041 | + | ||
1042 | + .ic-infomation { | ||
1043 | + position: absolute; | ||
1044 | + background: url(header/ic-information.png) no-repeat; | ||
1045 | + width: 27px; | ||
1046 | + height: 20px; | ||
1047 | + top: -10px; | ||
1048 | + right: -15px; | ||
1049 | + color: white; | ||
1050 | + text-align: center; | ||
1051 | + line-height: 20px; | ||
1052 | + font-size: 12px; | ||
1053 | + } | ||
1054 | + | ||
1055 | + .float-left { | ||
1056 | + float: left; | ||
1057 | + } | ||
1058 | + | ||
1059 | + .float-right { | ||
1060 | + float: right; | ||
1061 | + } | ||
1062 | + | ||
1063 | + .showdetail img { | ||
1064 | + display: block; | ||
1065 | + box-sizing: border-box; | ||
1066 | + width: 337px; | ||
1067 | + height: 250px; | ||
1068 | + } | ||
1069 | + | ||
1070 | + .showdetail .title { | ||
1071 | + display: block; | ||
1072 | + margin-top: 40px; | ||
1073 | + width: 100%; | ||
1074 | + height: 15px; | ||
1075 | + text-align: center; | ||
1076 | + line-height: 15px; | ||
1077 | + font-size: 14px; | ||
1078 | + color: black !important; | ||
1079 | + @mixin ellipsis; | ||
1080 | + } | ||
1081 | + | ||
1082 | + .cate_row { | ||
1083 | + float:left; | ||
1084 | + height:352px; | ||
1085 | + box-sizing:border-box; | ||
1086 | + | ||
1087 | + li { | ||
1088 | + box-sizing:border-box; | ||
1089 | + } | ||
1090 | + } | ||
1091 | + | ||
1092 | + .cate_row1 { | ||
1093 | + width:253px; | ||
1094 | + } | ||
1095 | + | ||
1096 | + .cate_row2 { | ||
1097 | + width:278px; | ||
1098 | + border-left:1px solid #ccc; | ||
1099 | + padding-left: 50px; | ||
1100 | + } | ||
1101 | + | ||
1102 | + .cate_row3 { | ||
1103 | + width: 270px; | ||
1104 | + border-left:1px solid #ccc; | ||
1105 | + padding-left: 50px; | ||
1106 | + } | ||
1107 | + | ||
1108 | + .third-nav .cattitle { | ||
1109 | + width: 180px; | ||
1110 | + padding-bottom: 10px; | ||
1111 | + border-bottom: 1px solid #000; | ||
1112 | + line-height: 18px; | ||
1113 | + margin-bottom: 20px; | ||
1114 | + } | ||
1115 | + | ||
1116 | + .third-nav .cattitle h3 a { | ||
1117 | + color: black !important; | ||
1118 | + font-size: 14px; | ||
1119 | + } | ||
1120 | + | ||
1121 | + .third-nav .catdetail { | ||
1122 | + line-height: 14px; | ||
1123 | + height: 14px; | ||
1124 | + margin-bottom: 24px; | ||
1125 | + min-width: 200px; | ||
1126 | + | ||
1127 | + a { | ||
1128 | + color: #a1a1a1 !important; | ||
1129 | + font-size: 14px; | ||
1130 | + } | ||
1131 | + | ||
1132 | + .hot { | ||
1133 | + color: #ee0011 !important ; | ||
1134 | + } | ||
1135 | + } | ||
1136 | + | ||
1137 | + .thirdcatelink:hover { | ||
1138 | + text-decoration: underline !important ; | ||
1139 | + } | ||
1140 | + | ||
1141 | + .hovercontent { | ||
1142 | + display: none; | ||
1143 | + } | ||
1144 | +} | ||
1145 | + | ||
1146 | +.yoho-header.outlets { | ||
1147 | + .header-navwrapper { | ||
1148 | + background-color: #3a3a3a; | ||
1149 | + | ||
1150 | + .sub-nav-wrapper { | ||
1151 | + background-color: #e6e6e6; | ||
1152 | + margin-top: 37px; | ||
1153 | + } | ||
1154 | + | ||
1155 | + .third-nav-wrapper { | ||
1156 | + border-top: 0; | ||
1157 | + } | ||
1158 | + } | ||
1159 | + | ||
1160 | + .outlets-logo { | ||
1161 | + display: block; | ||
1162 | + } | ||
1163 | + | ||
1164 | + .icon-logo { | ||
1165 | + display: none; | ||
1166 | + } | ||
1167 | + | ||
1168 | + .first-nav-item.cure { | ||
1169 | + background: none; | ||
1170 | + } | ||
1171 | + | ||
1172 | + .first-nav-item > h3 { | ||
1173 | + display: none; | ||
1174 | + } | ||
1175 | + | ||
1176 | + .header-tool > .search { | ||
1177 | + display: none; | ||
1178 | + } | ||
1179 | + | ||
1180 | + .sub-nav-list { | ||
1181 | + padding-left: 15%; | ||
1182 | + | ||
1183 | + .sub-nav-item { | ||
1184 | + width: 14%; | ||
1185 | + text-align: center; | ||
1186 | + | ||
1187 | + & > a { | ||
1188 | + color: #222!important; | ||
1189 | + } | ||
1190 | + } | ||
1191 | + | ||
1192 | + .sub-nav-item:hover a { | ||
1193 | + border-color: #555; | ||
1194 | + } | ||
1195 | + | ||
1196 | + .third-nav { | ||
1197 | + text-align: left; | ||
1198 | + } | ||
1199 | + } | ||
1200 | +} | ||
1201 | + | ||
1202 | +.simple-header { | ||
1203 | + height: 66px; | ||
1204 | + margin: 0 0 20px 0; | ||
1205 | + border-bottom: 2px solid #222; | ||
1206 | + | ||
1207 | + .header-inner { | ||
1208 | + width: 990px; | ||
1209 | + height: 100%; | ||
1210 | + margin: 0 auto; | ||
1211 | + } | ||
1212 | + | ||
1213 | + .logo { | ||
1214 | + float: left; | ||
1215 | + line-height: 66px; | ||
1216 | + font-size: 0; | ||
1217 | + img { | ||
1218 | + vertical-align: middle; | ||
1219 | + } | ||
1220 | + } | ||
1221 | +} | ||
1222 | + | ||
1223 | +.simple-header .header-tool { | ||
1224 | + float: right; | ||
1225 | + line-height: 66px; | ||
1226 | + font-size: 0; | ||
1227 | + | ||
1228 | + li { | ||
1229 | + display: inline-block; | ||
1230 | + padding: 0 10px; | ||
1231 | + line-height: 28px; | ||
1232 | + font-size: 12px; | ||
1233 | + vertical-align: middle; | ||
1234 | + | ||
1235 | + span, a { | ||
1236 | + font-size: 12px; | ||
1237 | + vertical-align: middle; | ||
1238 | + } | ||
1239 | + | ||
1240 | + .tell-icon { | ||
1241 | + font-size: 12px; | ||
1242 | + } | ||
1243 | + | ||
1244 | + .tell-icon ~ span { | ||
1245 | + font-weight: bold; | ||
1246 | + } | ||
1247 | + } | ||
1248 | + | ||
1249 | + .login-box a { | ||
1250 | + color: #666; | ||
1251 | + } | ||
1252 | + | ||
1253 | + .tool-options { | ||
1254 | + position: relative; | ||
1255 | + font-size: 0; | ||
1256 | + cursor: pointer; | ||
1257 | + | ||
1258 | + &:hover { | ||
1259 | + background-color: #eaeceb; | ||
1260 | + .iconfont { | ||
1261 | + &.up { | ||
1262 | + display: inline-block; | ||
1263 | + } | ||
1264 | + | ||
1265 | + &.down { | ||
1266 | + display: none; | ||
1267 | + } | ||
1268 | + } | ||
1269 | + } | ||
1270 | + | ||
1271 | + .iconfont, span{ | ||
1272 | + display: inline-block; | ||
1273 | + font-size: 12px; | ||
1274 | + height: 28px; | ||
1275 | + line-height: 28px; | ||
1276 | + vertical-align: top; | ||
1277 | + &.up { | ||
1278 | + display: none; | ||
1279 | + } | ||
1280 | + } | ||
1281 | + | ||
1282 | + .tool-select { | ||
1283 | + display: none; | ||
1284 | + position: absolute; | ||
1285 | + width: 74px; | ||
1286 | + left: 0; | ||
1287 | + background: #eaeceb; | ||
1288 | + z-index: 9; | ||
1289 | + a { | ||
1290 | + display: block; | ||
1291 | + padding: 0 0 0 10px; | ||
1292 | + border-top: 1px solid #ddd; | ||
1293 | + } | ||
1294 | + } | ||
1295 | + } | ||
1296 | +} | ||
1297 | + | ||
1298 | +.min-screen .yoho-header { | ||
1299 | + .header-topwrapper { | ||
1300 | + min-width: 990px; | ||
1301 | + } | ||
1302 | + .header-top { | ||
1303 | + width: 990px; | ||
1304 | + } | ||
1305 | + .header-navwrapper { | ||
1306 | + min-width: 990px; | ||
1307 | + } | ||
1308 | + .header-wrapper { | ||
1309 | + width: 990px; | ||
1310 | + } | ||
1311 | + .header-navcontent { | ||
1312 | + width: 990px; | ||
1313 | + } | ||
1314 | + .icon-logo { | ||
1315 | + left: 39.2%; | ||
1316 | + .main-link { | ||
1317 | + display: block; | ||
1318 | + width: 100%; | ||
1319 | + height: 100%; | ||
1320 | + } | ||
1321 | + } | ||
1322 | + .sub-nav-list { | ||
1323 | + width: 990px; | ||
1324 | + min-width: 990px; | ||
1325 | + } | ||
1326 | + .sub-nav-item { | ||
1327 | + margin-right:15px; | ||
1328 | + } | ||
1329 | + .first-nav-item { | ||
1330 | + float: left; | ||
1331 | + padding: 10px 14px 0; | ||
1332 | + margin-right: 3px; | ||
1333 | + } | ||
1334 | + .third-nav { | ||
1335 | + width: 990px; | ||
1336 | + } | ||
1337 | + .third-nav-wrapper { | ||
1338 | + min-width: 990px; | ||
1339 | + } | ||
1340 | + .category { | ||
1341 | + width: 800px; | ||
1342 | + } | ||
1343 | + .cate_row1 { | ||
1344 | + width: 204px; | ||
1345 | + } | ||
1346 | + .cate_row2 { | ||
1347 | + width: 244px; | ||
1348 | + border-left: 1px solid #ccc; | ||
1349 | + padding-left: 39px; | ||
1350 | + } | ||
1351 | + .cate_row3 { | ||
1352 | + width: 163px; | ||
1353 | + border-left: 1px solid #ccc; | ||
1354 | + padding-left: 28px; | ||
1355 | + } | ||
1356 | + .category .thirdnavlist { | ||
1357 | + width: 200px; | ||
1358 | + } | ||
1359 | + .category-title { | ||
1360 | + width: 152px; | ||
1361 | + } | ||
1362 | + .showdetail { | ||
1363 | + width: 190px; | ||
1364 | + padding-right: 0; | ||
1365 | + img { | ||
1366 | + width: 174px; | ||
1367 | + height: 155px; | ||
1368 | + } | ||
1369 | + } | ||
1370 | +} | ||
1371 | + | ||
1372 | +#cover { | ||
1373 | + left: 0px; | ||
1374 | + top: 0px; | ||
1375 | + width: 100%; | ||
1376 | + height: 100%; | ||
1377 | + position: fixed; | ||
1378 | + z-index: 1001; | ||
1379 | + | ||
1380 | + .con { | ||
1381 | + background: rgba(0, 0, 0, 0.6) !important; | ||
1382 | + left: 0px; | ||
1383 | + top: 0px; | ||
1384 | + width: 100%; | ||
1385 | + height: 100%; | ||
1386 | + position: absolute; | ||
1387 | + z-index: 1002; | ||
1388 | + opacity: 0.5; | ||
1389 | + } | ||
1390 | + | ||
1391 | + .tag_img_warpper { | ||
1392 | + margin: 0px auto; | ||
1393 | + width: 180px; | ||
1394 | + height: 168px; | ||
1395 | + | ||
1396 | + img { | ||
1397 | + width: 100%; | ||
1398 | + height: 100%; | ||
1399 | + } | ||
1400 | + } | ||
1401 | + | ||
1402 | + .guide-box { | ||
1403 | + background: rgb(255, 255, 255); | ||
1404 | + margin: 0px auto; | ||
1405 | + height: 400px; | ||
1406 | + position: relative; | ||
1407 | + z-index: 1003; | ||
1408 | + | ||
1409 | + .close { | ||
1410 | + top: -15px; | ||
1411 | + text-align: center; | ||
1412 | + right: -15px; | ||
1413 | + color: rgb(255, 255, 255); | ||
1414 | + line-height: 22px; | ||
1415 | + font-size: 24px; | ||
1416 | + position: absolute; | ||
1417 | + background: rgb(0, 0, 0); | ||
1418 | + border-radius: 50px; | ||
1419 | + border: currentColor; | ||
1420 | + border-image: none; | ||
1421 | + width: 28px; | ||
1422 | + height: 28px; | ||
1423 | + line-height: 25px; | ||
1424 | + display: block; | ||
1425 | + } | ||
1426 | + | ||
1427 | + li { | ||
1428 | + padding: 10px; | ||
1429 | + width: 200px; | ||
1430 | + height: 400px; | ||
1431 | + float: left; | ||
1432 | + box-sizing: border-box; | ||
1433 | + | ||
1434 | + &.girls { | ||
1435 | + border-left-color: rgb(238, 238, 238); | ||
1436 | + border-left-width: 1px; | ||
1437 | + border-left-style: solid; | ||
1438 | + | ||
1439 | + .goods-num { | ||
1440 | + text-align: center; | ||
1441 | + color: rgb(187, 187, 187); | ||
1442 | + line-height: 12px; | ||
1443 | + font-size: 12px; | ||
1444 | + margin-top: 16px; | ||
1445 | + } | ||
1446 | + } | ||
1447 | + | ||
1448 | + &.lifestyle { | ||
1449 | + border-left-color: rgb(238, 238, 238); | ||
1450 | + border-left-width: 1px; | ||
1451 | + border-left-style: solid; | ||
1452 | + | ||
1453 | + .goods-num { | ||
1454 | + text-align: center; | ||
1455 | + color: rgb(187, 187, 187); | ||
1456 | + line-height: 12px; | ||
1457 | + font-size: 12px; | ||
1458 | + margin-top: 16px; | ||
1459 | + } | ||
1460 | + } | ||
1461 | + | ||
1462 | + &.kids { | ||
1463 | + border-left-color: rgb(238, 238, 238); | ||
1464 | + border-left-width: 1px; | ||
1465 | + border-left-style: solid; | ||
1466 | + | ||
1467 | + .goods-num { | ||
1468 | + text-align: center; | ||
1469 | + color: rgb(187, 187, 187); | ||
1470 | + line-height: 12px; | ||
1471 | + font-size: 12px; | ||
1472 | + margin-top: 16px; | ||
1473 | + } | ||
1474 | + } | ||
1475 | + | ||
1476 | + &.boys .goods-num { | ||
1477 | + text-align: center; | ||
1478 | + color: rgb(187, 187, 187); | ||
1479 | + line-height: 12px; | ||
1480 | + font-size: 12px; | ||
1481 | + margin-top: 16px; | ||
1482 | + } | ||
1483 | + | ||
1484 | + .go { | ||
1485 | + margin: 26px auto 0px; | ||
1486 | + width: 100%; | ||
1487 | + height: 18px; | ||
1488 | + text-align: center; | ||
1489 | + color: rgb(176, 176, 176); | ||
1490 | + line-height: 18px; | ||
1491 | + font-size: 18px; | ||
1492 | + font-style: italic; | ||
1493 | + font-weight: lighter; | ||
1494 | + display: block; | ||
1495 | + } | ||
1496 | + } | ||
1497 | + } | ||
1498 | + | ||
1499 | + .boys .block_cn { | ||
1500 | + text-align: center; | ||
1501 | + line-height: 26px; | ||
1502 | + font-size: 26px; | ||
1503 | + font-weight: bold; | ||
1504 | + margin-top: 30px; | ||
1505 | + } | ||
1506 | + | ||
1507 | + .girls .block_cn { | ||
1508 | + text-align: center; | ||
1509 | + line-height: 26px; | ||
1510 | + font-size: 26px; | ||
1511 | + font-weight: bold; | ||
1512 | + margin-top: 30px; | ||
1513 | + } | ||
1514 | + | ||
1515 | + .kids .block_cn { | ||
1516 | + text-align: center; | ||
1517 | + line-height: 26px; | ||
1518 | + font-size: 26px; | ||
1519 | + font-weight: bold; | ||
1520 | + margin-top: 30px; | ||
1521 | + } | ||
1522 | + | ||
1523 | + .lifestyle .block_cn { | ||
1524 | + text-align: center; | ||
1525 | + line-height: 26px; | ||
1526 | + font-size: 26px; | ||
1527 | + font-weight: bold; | ||
1528 | + margin-top: 30px; | ||
1529 | + } | ||
1530 | + | ||
1531 | + .boys .block_en { | ||
1532 | + text-align: center; | ||
1533 | + line-height: 26px; | ||
1534 | + font-size: 26px; | ||
1535 | + font-weight: bold; | ||
1536 | + margin-top: 19px; | ||
1537 | + } | ||
1538 | + | ||
1539 | + .girls .block_en { | ||
1540 | + text-align: center; | ||
1541 | + line-height: 26px; | ||
1542 | + font-size: 26px; | ||
1543 | + font-weight: bold; | ||
1544 | + margin-top: 19px; | ||
1545 | + } | ||
1546 | + | ||
1547 | + .kids .block_en { | ||
1548 | + text-align: center; | ||
1549 | + line-height: 26px; | ||
1550 | + font-size: 26px; | ||
1551 | + font-weight: bold; | ||
1552 | + margin-top: 19px; | ||
1553 | + } | ||
1554 | + | ||
1555 | + .lifestyle .block_en { | ||
1556 | + text-align: center; | ||
1557 | + line-height: 26px; | ||
1558 | + font-size: 26px; | ||
1559 | + font-weight: bold; | ||
1560 | + margin-top: 19px; | ||
1561 | + } | ||
1562 | + | ||
1563 | + .boys .block_cn, | ||
1564 | + .boys .block_en { | ||
1565 | + color: #000; | ||
1566 | + } | ||
1567 | + | ||
1568 | + .girls .block_cn, | ||
1569 | + .girls .block_en { | ||
1570 | + color: rgb(255, 136, 174); | ||
1571 | + } | ||
1572 | + | ||
1573 | + .kids .block_cn, | ||
1574 | + .kids .block_en { | ||
1575 | + color: rgb(122, 217, 248); | ||
1576 | + } | ||
1577 | + | ||
1578 | + .lifestyle .block_cn, | ||
1579 | + .lifestyle .block_en { | ||
1580 | + color: rgb(79, 64, 55) !important; | ||
1581 | + } | ||
1582 | + | ||
1583 | + .boys .block_line { | ||
1584 | + margin: 20px auto 0px; | ||
1585 | + width: 50px; | ||
1586 | + height: 0px; | ||
1587 | + border-bottom-color: rgb(204, 204, 204); | ||
1588 | + border-bottom-width: 1px; | ||
1589 | + border-bottom-style: solid; | ||
1590 | + } | ||
1591 | + | ||
1592 | + .girls .block_line { | ||
1593 | + margin: 20px auto 0px; | ||
1594 | + width: 50px; | ||
1595 | + height: 0px; | ||
1596 | + border-bottom-color: rgb(204, 204, 204); | ||
1597 | + border-bottom-width: 1px; | ||
1598 | + border-bottom-style: solid; | ||
1599 | + } | ||
1600 | + | ||
1601 | + .kids .block_line { | ||
1602 | + margin: 20px auto 0px; | ||
1603 | + width: 50px; | ||
1604 | + height: 0px; | ||
1605 | + border-bottom-color: rgb(204, 204, 204); | ||
1606 | + border-bottom-width: 1px; | ||
1607 | + border-bottom-style: solid; | ||
1608 | + } | ||
1609 | + | ||
1610 | + .lifestyle .block_line { | ||
1611 | + margin: 20px auto 0px; | ||
1612 | + width: 50px; | ||
1613 | + height: 0px; | ||
1614 | + border-bottom-color: rgb(204, 204, 204); | ||
1615 | + border-bottom-width: 1px; | ||
1616 | + border-bottom-style: solid; | ||
1617 | + } | ||
1618 | +} |
-
Please register or login to post a comment