Authored by zhangxiaoru

editorialC

... ... @@ -3,7 +3,7 @@
<div class="goods" data-id="{{productId}}" data-url="{{url}}">
<div class="goods-img">
<a href="{{url}}" target="_blank">
<img class="lazy" data-original="{{image defaultImages 267 354}}" width="267" height="354" alt="">
<img class="lazy" data-original="{{image defaultImages 263 351}}" width="263" height="351" alt="">
</a>
</div>
{{#if showBrand}}
... ... @@ -22,7 +22,7 @@
</div>
<div class="goods-list hide">
{{#each goodsList}}
<i data-url="{{url}}">{{image imagesUrl 267 354}}</i>
<i data-url="{{url}}">{{image imagesUrl 263 351}}</i>
{{/each}}
</div>
</div>
... ...
... ... @@ -52,7 +52,7 @@ module.exports = {
udp: { // send by udp
measurement: 'yohoblk_pc_log',
level: 'debug', // logger level
host: '54.222.219.223', // influxdb host
host: 'influxdblog.yohoops.org', // influxdb host
port: '4444' // influxdb port
},
console: {
... ... @@ -88,7 +88,7 @@ if (isProduction) {
Object.assign(module.exports, {
appName: 'www.yohoblk.com',
domains: {
singleApi: 'http://api_single.yoho.cn/',
singleApi: 'http://single.yoho.cn/',
api: 'http://api.yoho.yohoops.org/',
service: 'http://service.yoho.yohoops.org/',
search: 'http://search.yohoops.org/yohosearch/'
... ...
... ... @@ -13,7 +13,7 @@ module.exports = (req, res, next) => {
let refer = '';
if (req.method === 'GET') {
refer = req.getUrl();
refer = `${req.protocol}://${req.hostname}${req.originalUrl}`;
} else {
refer = req.get('Referer');
}
... ...
... ... @@ -15,7 +15,6 @@
{{/if}}
</li>
<li><a href="{{siteUrl}}/me">个人中心</a></li>
<li><a href="{{siteUrl}}/me/order">订单中心</a></li>
<li><a href="{{siteUrl}}/help">帮助中心</a></li>
</ul>
</div>
... ...
... ... @@ -301,17 +301,16 @@
}
.goods-area {
margin: 0 -12px;
margin: 0 -15px;
position: relative;
.goods {
margin: 10px 0 26px;
padding: 10px;
margin: 10px 0 16px;
padding: 10px 13px;
float: left;
text-align: center;
border: 2px solid #fff;
cursor: pointer;
width: 287px;
.goods-brand {
font-weight: 700;
... ... @@ -324,8 +323,8 @@
.goods-img {
position: relative;
overflow: hidden;
width: 267px;
height: 354px;
width: 263px;
height: 351px;
img {
margin: 0;
... ... @@ -345,7 +344,7 @@
.goods-name {
padding: 4px 10px 10px;
width: 265px;
width: 263px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
... ...