Showing
4 changed files
with
142 additions
and
36 deletions
@@ -107,8 +107,7 @@ | @@ -107,8 +107,7 @@ | ||
107 | <div class="description-material-tab info-block"> | 107 | <div class="description-material-tab info-block"> |
108 | <p class="block-title"> | 108 | <p class="block-title"> |
109 | <span class="title cur">尺码信息 Size Guide</span> | 109 | <span class="title cur">尺码信息 Size Guide</span> |
110 | - <span class="sep">|</span> | ||
111 | - <span class="title">模特试穿 Model Fitting</span> | 110 | + |
112 | </p> | 111 | </p> |
113 | <div class="size-content"> | 112 | <div class="size-content"> |
114 | 113 | ||
@@ -149,6 +148,14 @@ | @@ -149,6 +148,14 @@ | ||
149 | </div> | 148 | </div> |
150 | {{/if}} | 149 | {{/if}} |
151 | </div> | 150 | </div> |
151 | + | ||
152 | + </div> | ||
153 | + <div class="description-material-tab info-block"> | ||
154 | + <p class="block-title"> | ||
155 | + | ||
156 | + <span class="title cur">模特试穿 Model Fitting</span> | ||
157 | + </p> | ||
158 | + | ||
152 | <div class="model-content"> | 159 | <div class="model-content"> |
153 | 160 | ||
154 | {{#if reference}} | 161 | {{#if reference}} |
@@ -234,7 +241,6 @@ | @@ -234,7 +241,6 @@ | ||
234 | 241 | ||
235 | </div> | 242 | </div> |
236 | </div> | 243 | </div> |
237 | - | ||
238 | <div class="details info-block"> | 244 | <div class="details info-block"> |
239 | <p class="block-title"> | 245 | <p class="block-title"> |
240 | <span class="title cur">商品详情 Product Description</span> | 246 | <span class="title cur">商品详情 Product Description</span> |
@@ -262,7 +268,7 @@ | @@ -262,7 +268,7 @@ | ||
262 | </textarea> | 268 | </textarea> |
263 | </div> | 269 | </div> |
264 | 270 | ||
265 | - <div class="consult-comment info-block"> | 271 | + <div class="consult-comment info-block" id="judge"> |
266 | 272 | ||
267 | <p class="block-title"> | 273 | <p class="block-title"> |
268 | <span class="title cur">商品评价 Customer Reviews</span> | 274 | <span class="title cur">商品评价 Customer Reviews</span> |
@@ -273,6 +279,7 @@ | @@ -273,6 +279,7 @@ | ||
273 | <h2 class="active" data-comment-type="7"> 全部(<em class="comment-num all-comment-num">0</em>)</h2> | 279 | <h2 class="active" data-comment-type="7"> 全部(<em class="comment-num all-comment-num">0</em>)</h2> |
274 | <h2 data-comment-type="6"> 有图(<em class="comment-num img-comment-num">0</em>)</h2> | 280 | <h2 data-comment-type="6"> 有图(<em class="comment-num img-comment-num">0</em>)</h2> |
275 | </div> | 281 | </div> |
282 | + <div class="judge-content"> | ||
276 | <div data-comment-list="7"> | 283 | <div data-comment-list="7"> |
277 | <ul></ul> | 284 | <ul></ul> |
278 | <p class="more-wrap"> | 285 | <p class="more-wrap"> |
@@ -298,6 +305,7 @@ | @@ -298,6 +305,7 @@ | ||
298 | 我要评论 | 305 | 我要评论 |
299 | </a> | 306 | </a> |
300 | </p> | 307 | </p> |
308 | + </div> | ||
301 | </div> | 309 | </div> |
302 | 310 | ||
303 | 311 | ||
@@ -360,8 +368,8 @@ | @@ -360,8 +368,8 @@ | ||
360 | </p> | 368 | </p> |
361 | </div> | 369 | </div> |
362 | <div class="common-question "> | 370 | <div class="common-question "> |
363 | - <p><span class="common-advice"><i class="iconfont advice"></i> | ||
364 | - 我要咨询 ></span></p> | 371 | + <p><span class="common-advice"><a href="#textbox"><i class="iconfont advice"></i> |
372 | + 我要咨询 ></a></span></p> | ||
365 | 373 | ||
366 | </div> | 374 | </div> |
367 | <div class="common-question buy-consults"> | 375 | <div class="common-question buy-consults"> |
@@ -388,10 +396,50 @@ | @@ -388,10 +396,50 @@ | ||
388 | </div> | 396 | </div> |
389 | </div> | 397 | </div> |
390 | </div> | 398 | </div> |
399 | + <div class="common-question"> | ||
400 | + <p> | ||
401 | + <span class="top-question"> | ||
402 | + <i class="iconfont"></i> | ||
403 | + <small>183****3432 为什么图片是黑色的呢?图片不是白色的呢?</small> | ||
404 | + <small class="right-time">2015-3-24 13:30:24</small> | ||
405 | + </span> | ||
406 | + <span> | ||
407 | + <i class="iconfont"></i> | ||
408 | + 您好,该商品的颜色是灰色的,有货的商品都是实物拍摄,由于拍摄时的角度,光线等因素, | ||
409 | + 以及个人显示屏分辨率的不同,商品会与图片存在少许的色差,请您谅解。如有其他问题, | ||
410 | + 请登录"my有货",联系在线客服,感谢您对YOHO!有货的关注。 | ||
411 | + </span> | ||
412 | + </p> | ||
413 | + <div class="common-zan"> | ||
414 | + <div class="zan-content"> | ||
415 | + <span class="icon-border"><i class="iconfont getzan"></i>赞(5)</span> | ||
416 | + <span><i class="iconfont"></i>有用(5)</span> | ||
417 | + </div> | ||
418 | + </div> | ||
419 | + </div> | ||
420 | + <div class="common-question"> | ||
421 | + <p> | ||
422 | + | ||
423 | + <span> | ||
424 | + <i class="iconfont"></i><small class="leave-message"> | ||
425 | + 客服留言: 感谢你的咨询,YOHO潮流网站双十一期间服装五折抢购 | ||
426 | + 感谢您对有货YOHO!的关注</small> | ||
427 | + </span> | ||
428 | + </p> | ||
429 | + <div class="common-message"> | ||
430 | + | ||
431 | + </div> | ||
432 | + </div> | ||
433 | + | ||
434 | + <div class="common-question"> | ||
435 | + <textarea id="textbox"></textarea> | ||
436 | + <span id="submit-consult" class="btn">提交咨询</span> | ||
437 | + </div> | ||
438 | + | ||
391 | </div> | 439 | </div> |
392 | 440 | ||
393 | 441 | ||
394 | - <div class="consults cc-content"> | 442 | + <!-- <div class="consults cc-content"> |
395 | <h2>顾客咨询(<em class="consult-num">0</em>)</h2> | 443 | <h2>顾客咨询(<em class="consult-num">0</em>)</h2> |
396 | <ul id="consults-ul"></ul> | 444 | <ul id="consults-ul"></ul> |
397 | <p class="more-wrap"> | 445 | <p class="more-wrap"> |
@@ -421,7 +469,7 @@ | @@ -421,7 +469,7 @@ | ||
421 | 咨询成功,请等待客服回复 | 469 | 咨询成功,请等待客服回复 |
422 | </p> | 470 | </p> |
423 | </div> | 471 | </div> |
424 | - </div> | 472 | + </div> --> |
425 | </div> | 473 | </div> |
426 | {{/ consultComment}} | 474 | {{/ consultComment}} |
427 | 475 |
@@ -7,6 +7,13 @@ | @@ -7,6 +7,13 @@ | ||
7 | <dl class="pull-right"> | 7 | <dl class="pull-right"> |
8 | {{#if color}}<dd>颜色:{{color}}</dd>{{/if}} | 8 | {{#if color}}<dd>颜色:{{color}}</dd>{{/if}} |
9 | {{#if size}}<dd>尺码:{{size}}</dd>{{/if}} | 9 | {{#if size}}<dd>尺码:{{size}}</dd>{{/if}} |
10 | + {{#if height}}<dd>身高:{{height}} 厘米</dd>{{/if}} | ||
11 | + {{#if weight}}<dd>体重:{{weight}} 公斤</dd>{{/if}} | ||
12 | + <dd>尺码符合度: | ||
13 | + {{#if_cond comfort "===" "MIDDLE"}}合适{{/if_cond}} | ||
14 | + {{#if_cond comfort "===" "SMALL"}}偏小{{/if_cond}} | ||
15 | + {{#if_cond comfort "===" "BIG"}}偏大{{/if_cond}} | ||
16 | + </dd> | ||
10 | </dl> | 17 | </dl> |
11 | <div class="comment-detail"> | 18 | <div class="comment-detail"> |
12 | <div class="tag-list clearfix"> | 19 | <div class="tag-list clearfix"> |
@@ -14,7 +21,7 @@ | @@ -14,7 +21,7 @@ | ||
14 | <span class="star-{{star}} active"></span> | 21 | <span class="star-{{star}} active"></span> |
15 | </span> | 22 | </span> |
16 | <dl class="horizontal-list pull-right"> | 23 | <dl class="horizontal-list pull-right"> |
17 | - <dd> | 24 | + <dd>尺码符合度: |
18 | {{#if_cond comfort "===" "MIDDLE"}}合适{{/if_cond}} | 25 | {{#if_cond comfort "===" "MIDDLE"}}合适{{/if_cond}} |
19 | {{#if_cond comfort "===" "SMALL"}}偏小{{/if_cond}} | 26 | {{#if_cond comfort "===" "SMALL"}}偏小{{/if_cond}} |
20 | {{#if_cond comfort "===" "BIG"}}偏大{{/if_cond}} | 27 | {{#if_cond comfort "===" "BIG"}}偏大{{/if_cond}} |
@@ -718,30 +718,30 @@ $('#brand-favour').click(function() { | @@ -718,30 +718,30 @@ $('#brand-favour').click(function() { | ||
718 | // } | 718 | // } |
719 | // }); | 719 | // }); |
720 | 720 | ||
721 | -$('.description-material-tab').on('click', '.title', function() { | ||
722 | - var $this = $(this), | ||
723 | - index = $this.index(); | ||
724 | - | ||
725 | - var $sizeContent = $('.size-content'), | ||
726 | - $modelContent = $('.model-content'); | ||
727 | - | ||
728 | - if ($this.hasClass('cur')) { | ||
729 | - return; | ||
730 | - } | ||
731 | - | ||
732 | - $this.addClass('cur'); | ||
733 | - $this.siblings('.cur').removeClass('cur'); | ||
734 | - | ||
735 | - if (index === 0) { | ||
736 | - | ||
737 | - // 商品信息 | ||
738 | - $sizeContent.slideDown(SLIDETIME); | ||
739 | - $modelContent.slideUp(SLIDETIME); | ||
740 | - } else { | ||
741 | - $sizeContent.slideUp(SLIDETIME); | ||
742 | - $modelContent.slideDown(SLIDETIME); | ||
743 | - } | ||
744 | -}); | 721 | +// $('.description-material-tab').on('click', '.title', function() { |
722 | +// var $this = $(this), | ||
723 | +// index = $this.index(); | ||
724 | +// | ||
725 | +// var $sizeContent = $('.size-content'), | ||
726 | +// $modelContent = $('.model-content'); | ||
727 | +// | ||
728 | +// if ($this.hasClass('cur')) { | ||
729 | +// return; | ||
730 | +// } | ||
731 | +// | ||
732 | +// $this.addClass('cur'); | ||
733 | +// $this.siblings('.cur').removeClass('cur'); | ||
734 | +// | ||
735 | +// if (index === 0) { | ||
736 | +// | ||
737 | +// // 商品信息 | ||
738 | +// $sizeContent.slideDown(SLIDETIME); | ||
739 | +// $modelContent.slideUp(SLIDETIME); | ||
740 | +// } else { | ||
741 | +// $sizeContent.slideUp(SLIDETIME); | ||
742 | +// $modelContent.slideDown(SLIDETIME); | ||
743 | +// } | ||
744 | +// }); | ||
745 | 745 | ||
746 | // 售后服务 | 746 | // 售后服务 |
747 | $('.after-service-switch').click(function() { | 747 | $('.after-service-switch').click(function() { |
@@ -953,9 +953,9 @@ | @@ -953,9 +953,9 @@ | ||
953 | } | 953 | } |
954 | } | 954 | } |
955 | 955 | ||
956 | - .cc-content { | 956 | + .cc-content { |
957 | background: #f5f7f6; | 957 | background: #f5f7f6; |
958 | - padding: 20px 20px 0; | 958 | + padding: 20px 0px 0px; |
959 | font-size: 12px; | 959 | font-size: 12px; |
960 | 960 | ||
961 | .comment-star { | 961 | .comment-star { |
@@ -1704,6 +1704,29 @@ | @@ -1704,6 +1704,29 @@ | ||
1704 | font-size: 14px; | 1704 | font-size: 14px; |
1705 | margin : 30px auto; | 1705 | margin : 30px auto; |
1706 | 1706 | ||
1707 | + textarea{ | ||
1708 | + width: 100%; | ||
1709 | + height: 130px; | ||
1710 | + padding: 5px; | ||
1711 | + outline: #e0e0e0; | ||
1712 | + resize: none; | ||
1713 | + background-color: #f5f5f5; | ||
1714 | + } | ||
1715 | + | ||
1716 | + .btn{ | ||
1717 | + display: block; | ||
1718 | + width: 140px; | ||
1719 | + height: 32px; | ||
1720 | + line-height: 32px; | ||
1721 | + color: #fff; | ||
1722 | + background: #222; | ||
1723 | + text-align: center; | ||
1724 | + font-size: 12px; | ||
1725 | + margin: 0 auto; | ||
1726 | + cursor: pointer; | ||
1727 | + margin-top: 20px; | ||
1728 | + } | ||
1729 | + | ||
1707 | 1730 | ||
1708 | span{ | 1731 | span{ |
1709 | display:block; | 1732 | display:block; |
@@ -1712,10 +1735,14 @@ | @@ -1712,10 +1735,14 @@ | ||
1712 | 1735 | ||
1713 | i{ | 1736 | i{ |
1714 | margin-right: 8px; | 1737 | margin-right: 8px; |
1715 | - color: #000; | 1738 | + /*color: #000;*/ |
1716 | font-size: 18px; | 1739 | font-size: 18px; |
1717 | } | 1740 | } |
1718 | 1741 | ||
1742 | + .leave-message{ | ||
1743 | + color: #000; | ||
1744 | + } | ||
1745 | + | ||
1719 | } | 1746 | } |
1720 | 1747 | ||
1721 | .top-question{ | 1748 | .top-question{ |
@@ -1743,6 +1770,11 @@ | @@ -1743,6 +1770,11 @@ | ||
1743 | cursor: pointer; | 1770 | cursor: pointer; |
1744 | } | 1771 | } |
1745 | 1772 | ||
1773 | + .common-message{ | ||
1774 | + border-bottom: 2px solid #ccc; | ||
1775 | + min-height: 30px; | ||
1776 | + } | ||
1777 | + | ||
1746 | .common-zan{ | 1778 | .common-zan{ |
1747 | border-bottom: 2px solid #ccc; | 1779 | border-bottom: 2px solid #ccc; |
1748 | 1780 | ||
@@ -1764,6 +1796,11 @@ | @@ -1764,6 +1796,11 @@ | ||
1764 | font-size: 20px; | 1796 | font-size: 20px; |
1765 | } | 1797 | } |
1766 | 1798 | ||
1799 | + .getzan{ | ||
1800 | + color:#d0001b; | ||
1801 | + font-size: 22px; | ||
1802 | + } | ||
1803 | + | ||
1767 | } | 1804 | } |
1768 | 1805 | ||
1769 | .icon-border{ | 1806 | .icon-border{ |
@@ -1789,3 +1826,17 @@ | @@ -1789,3 +1826,17 @@ | ||
1789 | } | 1826 | } |
1790 | 1827 | ||
1791 | } | 1828 | } |
1829 | + | ||
1830 | + #judge{ | ||
1831 | + margin: 10px 40px 10px 40px; | ||
1832 | + | ||
1833 | + | ||
1834 | + .judge-content{ | ||
1835 | + background-color: #fff; | ||
1836 | + } | ||
1837 | + | ||
1838 | + .comment-tabs{ | ||
1839 | + margin-left: 30px; | ||
1840 | + } | ||
1841 | + | ||
1842 | + } |
-
Please register or login to post a comment