diff --git a/static/sass/product/_detail.scss b/static/sass/product/_detail.scss index 8f8f132..68ff48a 100644 --- a/static/sass/product/_detail.scss +++ b/static/sass/product/_detail.scss @@ -114,6 +114,10 @@ $basicBtnC:#eb0313; background-color: #000; color: #fff; } + .yohood-tag { + background-color: #000; + color: #fff; + } .limit-tag { border: 1px solid #000; background-color: #fff; @@ -131,7 +135,7 @@ $basicBtnC:#eb0313; // overflow: hidden; } .banner-top-single{ - height:pxToRem(600px); + width: pxToRem(448px); margin:pxToRem(30px) pxToRem(72px); overflow: hidden; diff --git a/static/sass/product/_product-description.scss b/static/sass/product/_product-description.scss index d54af68..e4be9f2 100644 --- a/static/sass/product/_product-description.scss +++ b/static/sass/product/_product-description.scss @@ -130,9 +130,10 @@ div { text-align: center; &.cell { + line-height: pxToRem(53px); font-size: pxToRem(24px); background-color: $tableCellC; - padding: pxToRem(15px) pxToRem(40px); + padding: 0 pxToRem(40px); border: 1px solid #fff; } } @@ -143,14 +144,15 @@ #reference-swiper-container { .first-group { width: pxToRem(70px); - margin-top: pxToRem(66px); - .avatar { - // line-height: pxToRem(40px); - display: inline-block; - width: pxToRem(40px); - border-radius: 50%; - height: pxToRem(40px); - margin: pxToRem(12px) 0; + margin-top: pxToRem(55px); + div{ + height: pxToRem(55px); + .avatar { + display: inline-block; + width: pxToRem(40px); + border-radius: 50%; + margin-top:pxToRem(7px); + } } } } diff --git a/template/m.yohobuy.com/actions/product/detail/index.phtml b/template/m.yohobuy.com/actions/product/detail/index.phtml index c563454..fe46aa1 100644 --- a/template/m.yohobuy.com/actions/product/detail/index.phtml +++ b/template/m.yohobuy.com/actions/product/detail/index.phtml @@ -13,7 +13,7 @@ <p class="good-tag sale-tag">SALE</p> {{/ is_discount}} {{# is_yohoood}} - <div class="good-tag yohood-tag"></div> + <div class="good-tag yohood-tag">新品节</div> {{/ is_yohoood}} {{# is_limited}} <p class="good-tag limit-tag">限量商品</p> @@ -113,6 +113,7 @@ {{/ enterStore}} <div id="productDesc"> </div> + <!-- {{> product/product-description}} --> {{> product/recommend-for-you}} {{#cartInfo}} diff --git a/template/m.yohobuy.com/partials/product/product-description.phtml b/template/m.yohobuy.com/partials/product/product-description.phtml index f378520..c870a12 100644 --- a/template/m.yohobuy.com/partials/product/product-description.phtml +++ b/template/m.yohobuy.com/partials/product/product-description.phtml @@ -72,7 +72,9 @@ {{#params}} {{#if @first}} {{else}} - <img class="avatar lazy" data-original="{{param}}" alt=""> + <div> + <img class="avatar lazy" data-original="{{param}}" alt=""> + </div> {{/if}} {{/params}} </div>