Authored by 张孝茹

商品详情页 H1 tdk

... ... @@ -65,13 +65,11 @@ const newDetail = {
canonical: {
currentHref: `//www.yohobuy.com${req.originalUrl}`
},
title: `${result.brandName}|${result.sortName}|${result.goodsName}|YOHO!BUY 有货`,
keywords: result.brandName + result.sortName + ',' + result.brandName + '官网专卖店,' +
result.brandName + '官方授权店,' + result.brandName + '正品,' + result.brandName + '打折,' +
result.brandName + '折扣店,' +
result.brandName + '真品,' + result.brandName + '代购',
description: `YOHO!BUY 有货-${result.brandName}官方授权店,${result.goodsName}图片、报价、介绍。` +
`YOHO!BUY 有货${result.brandName}官网专卖店提供${result.brandName}正品、${result.brandName}真品、 ${result.brandName}打折、${result.brandName}代购等。`, // eslint-disable-line
title: `【${result.brandName}${result.sortName}${result.goodsName}|YOHO!BUY 有货`,
keywords: result.brandName + result.sortName + ',' + result.brandName + result.sortName + '价格,' +
result.brandName + result.sortName + '图片,',
description: result.name + ' 有货网仅售' + result.goodsPrice.currentPrice + '元,购买' +
result.brandName + result.sortName + ',了解' + result.brandName + result.sortName + '商品信息就上有货网!',
pageFooter: true,
localCss: true,
appPath: appPath,
... ...
... ... @@ -31,32 +31,33 @@
{{/ bannerTop}}
</div>
<h2 class="goods-name">
<div class="goods-name">
{{# marketPhrase}}
<span class="activity-phrase">{{.}}</span>
{{/ marketPhrase}}
{{# goodsName}}
<span class="name">{{.}}</span>
<h1 class="name">{{.}}</h1>
{{/ goodsName}}
</h2>
</div>
{{# goodsSubtitle}}
<h1 class="goods-subtitle"><span>{{.}}</span></h1>
<h2 class="goods-subtitle"><span>{{.}}</span></h2>
{{/ goodsSubtitle}}
<div class="price-date">
<div class="goods-price">
<h1 class="current-price">{{goodsPrice.currentPrice}}</h1>
<h1 class="previous-price">{{goodsPrice.previousPrice}}</h1>
<h2 class="current-price">{{goodsPrice.currentPrice}}</h2>
<h2 class="previous-price">{{goodsPrice.previousPrice}}</h2>
</div>
<button class="limit-sale data-can-get-limit-code data-bind" id='limit-sale'>获取限购码</button>
<button class="got-limit-sale data-code-empty data-bind">限购码已被抢光</button>
<button class="got-limit-sale data-got-code data-bind">已获取限购码</button>
</div>
{{#if periodOfMarket}}
<div class="period-of-market">
<h1>上市期:</h1>
<h1 >{{periodOfMarket}}</h1>
<h2>上市期:</h2>
<h2>{{periodOfMarket}}</h2>
</div>
{{/if}}
... ... @@ -85,7 +86,7 @@
{{!--占位: 购物车部分--}}
<div id="placeholder-infodata">
<div class="cart-bar">
<a href="javascript:;" class="new-foot-ico">
<a href="javascript:;" class="new-foot-ico" rel="nofollow">
<div class="num-incart iconfont">
<span class="num-tag {{#unless @root.cartCount}}hide{{/unless}}">{{@root.cartCount}}</span>
&#xe62c;
... ...
... ... @@ -57,7 +57,7 @@
</div>
{{/ consults}}
</div>
<a class="consult-content-footer tap-hightlight" href="{{consultsUrl}}">
<a class="consult-content-footer tap-hightlight" href="{{consultsUrl}}" rel="nofollow">
查看更多
<span class="iconfont">&#xe604;</span>
</a>
... ...
... ... @@ -3,7 +3,7 @@
{{#unless @root.wap.common.removeCartCount}}
<input type="hidden" id="remove-cart-count" value="1">
{{/unless}}
<a class="new-foot-ico" href="{{cartUrl}}">
<a class="new-foot-ico" href="{{cartUrl}}" rel="nofollow">
<div class="num-incart iconfont">
<span class="num-tag {{#unless @root.cartCount}}hide{{/unless}}">{{@root.cartCount}}</span>
&#xe62c;
... ...
... ... @@ -3,10 +3,10 @@
<div class="goods-discount" id="goodsDiscount">
{{#each promotion}}
{{#if @first}}
<h1 class="first-item short-text tap-hightlight"><span class="promotion-icon"></span>{{promotionTitle}}<span class="icon-down iconfont dropdown">&#xe609;</span></h1>
<h2 class="first-item short-text tap-hightlight"><span class="promotion-icon"></span>{{promotionTitle}}<span class="icon-down iconfont dropdown">&#xe609;</span></h2>
{{else}}
<div class="discount-folder">
<h1 class="folder-item tap-hightlight"><span class="promotion-icon"></span>{{promotionTitle}}</h1>
<h2 class="folder-item tap-hightlight"><span class="promotion-icon"></span>{{promotionTitle}}</h2>
</div>
{{/if}}
{{/each}}
... ...
... ... @@ -560,7 +560,7 @@ $basicBtnC: #eb0313;
float: left;
font-size: 34.59px;
h1 {
h2 {
display: inline-block;
line-height: 88px;
}
... ... @@ -603,7 +603,7 @@ $basicBtnC: #eb0313;
font-size: 24px;
border-bottom: 1px solid #e0e0e0;
h1 {
h2 {
display: inline-block;
line-height: 88px;
}
... ... @@ -729,7 +729,7 @@ $basicBtnC: #eb0313;
color: $mainFontC;
font-size: 28px;
h1 {
h2 {
position: relative;
padding: 30px 60px 30px 30px;
line-height: 36px;
... ...