Authored by hongweigao

左大图右6小图样式+假数据

@@ -19,10 +19,18 @@ exports.index = (req, res, next) => { @@ -19,10 +19,18 @@ exports.index = (req, res, next) => {
19 channelModel.getContent(channelType).then(data => { 19 channelModel.getContent(channelType).then(data => {
20 20
21 // channel为空不缓存 21 // channel为空不缓存
  22 +
  23 + var clone = data['channel'][3]['recommend']['tplrecommend'][0]['products'][0];
  24 + var obj = {'channel':
  25 + {'seven': {'sevendata': [{'products': [clone, clone, clone, clone, clone, clone, clone]}]} },
  26 + 'module': 'channel',
  27 + 'page': 'channel',
  28 + 'pageType': 'boys'
  29 + };
22 if (_.isEmpty(data.channel)) { 30 if (_.isEmpty(data.channel)) {
23 res.set('Cache-Control', 'no-cache'); 31 res.set('Cache-Control', 'no-cache');
24 } 32 }
25 - res.render('channel', data); 33 + res.render('channel', obj);
26 }).catch(next); 34 }).catch(next);
27 }; 35 };
28 36
@@ -265,7 +265,7 @@ const _getJacketData = () => { @@ -265,7 +265,7 @@ const _getJacketData = () => {
265 return { 265 return {
266 tpltopic: { 266 tpltopic: {
267 bigPic: { 267 bigPic: {
268 - img:'http://img12.static.yhbimg.com/yhb-img01/2016/04/18/05/028f86ae48b3c7c 521934037df5f0c8cd9.jpg?imageView2/{mode}/w/{width}/h/{height}', 268 + img: 'http://img12.static.yhbimg.com/yhb-img01/2016/04/18/05/028f86ae48b3c7c 521934037df5f0c8cd9.jpg?imageView2/{mode}/w/{width}/h/{height}',
269 title: '', 269 title: '',
270 url: 'http://list.yohobuy.com/?gender=1,3&msort=1&misort=11' }, 270 url: 'http://list.yohobuy.com/?gender=1,3&msort=1&misort=11' },
271 types: [{ 271 types: [{
@@ -275,51 +275,51 @@ const _getJacketData = () => { @@ -275,51 +275,51 @@ const _getJacketData = () => {
275 img: 'http://img12.static.yhbimg.com/yhb-img01/2016/04/19/01/02e87fb1ec02486b2830a6dab5cb0ea58f.jpg?imageView2/{mode}/w/{width}/h/{height}', 275 img: 'http://img12.static.yhbimg.com/yhb-img01/2016/04/19/01/02e87fb1ec02486b2830a6dab5cb0ea58f.jpg?imageView2/{mode}/w/{width}/h/{height}',
276 title: '', 276 title: '',
277 titleEn: '', 277 titleEn: '',
278 - url:'http://item.yohobuy.com/product/pro_345495_442735/SANGELOLPXieLeiHLP11011U146.html?from=search-s-51227155%2051192447_1_2'  
279 - },{ 278 + url: 'http://item.yohobuy.com/product/pro_345495_442735/SANGELOLPXieLeiHLP11011U146.html?from=search-s-51227155%2051192447_1_2'
  279 + }, {
280 alt: '', 280 alt: '',
281 altEn: '', 281 altEn: '',
282 imgId: '4', 282 imgId: '4',
283 img: 'http://img12.static.yhbimg.com/yhb-img01/2016/04/19/01/02e87fb1ec02486b2830a6dab5cb0ea58f.jpg?imageView2/{mode}/w/{width}/h/{height}', 283 img: 'http://img12.static.yhbimg.com/yhb-img01/2016/04/19/01/02e87fb1ec02486b2830a6dab5cb0ea58f.jpg?imageView2/{mode}/w/{width}/h/{height}',
284 title: '', 284 title: '',
285 titleEn: '', 285 titleEn: '',
286 - url:'http://item.yohobuy.com/product/pro_345495_442735/SANGELOLPXieLeiHLP11011U146.html?from=search-s-51227155%2051192447_1_2'  
287 - },{ 286 + url: 'http://item.yohobuy.com/product/pro_345495_442735/SANGELOLPXieLeiHLP11011U146.html?from=search-s-51227155%2051192447_1_2'
  287 + }, {
288 alt: '', 288 alt: '',
289 altEn: '', 289 altEn: '',
290 imgId: '4', 290 imgId: '4',
291 img: 'http://img12.static.yhbimg.com/yhb-img01/2016/04/19/01/02e87fb1ec02486b2830a6dab5cb0ea58f.jpg?imageView2/{mode}/w/{width}/h/{height}', 291 img: 'http://img12.static.yhbimg.com/yhb-img01/2016/04/19/01/02e87fb1ec02486b2830a6dab5cb0ea58f.jpg?imageView2/{mode}/w/{width}/h/{height}',
292 title: '', 292 title: '',
293 titleEn: '', 293 titleEn: '',
294 - url:'http://item.yohobuy.com/product/pro_345495_442735/SANGELOLPXieLeiHLP11011U146.html?from=search-s-51227155%2051192447_1_2'  
295 - },{ 294 + url: 'http://item.yohobuy.com/product/pro_345495_442735/SANGELOLPXieLeiHLP11011U146.html?from=search-s-51227155%2051192447_1_2'
  295 + }, {
296 alt: '', 296 alt: '',
297 altEn: '', 297 altEn: '',
298 imgId: '4', 298 imgId: '4',
299 img: 'http://img12.static.yhbimg.com/yhb-img01/2016/04/19/01/02e87fb1ec02486b2830a6dab5cb0ea58f.jpg?imageView2/{mode}/w/{width}/h/{height}', 299 img: 'http://img12.static.yhbimg.com/yhb-img01/2016/04/19/01/02e87fb1ec02486b2830a6dab5cb0ea58f.jpg?imageView2/{mode}/w/{width}/h/{height}',
300 title: '', 300 title: '',
301 titleEn: '', 301 titleEn: '',
302 - url:'http://item.yohobuy.com/product/pro_345495_442735/SANGELOLPXieLeiHLP11011U146.html?from=search-s-51227155%2051192447_1_2'  
303 - },{ 302 + url: 'http://item.yohobuy.com/product/pro_345495_442735/SANGELOLPXieLeiHLP11011U146.html?from=search-s-51227155%2051192447_1_2'
  303 + }, {
304 alt: '', 304 alt: '',
305 altEn: '', 305 altEn: '',
306 imgId: '4', 306 imgId: '4',
307 img: 'http://img12.static.yhbimg.com/yhb-img01/2016/04/19/01/02e87fb1ec02486b2830a6dab5cb0ea58f.jpg?imageView2/{mode}/w/{width}/h/{height}', 307 img: 'http://img12.static.yhbimg.com/yhb-img01/2016/04/19/01/02e87fb1ec02486b2830a6dab5cb0ea58f.jpg?imageView2/{mode}/w/{width}/h/{height}',
308 title: '', 308 title: '',
309 titleEn: '', 309 titleEn: '',
310 - url:'http://item.yohobuy.com/product/pro_345495_442735/SANGELOLPXieLeiHLP11011U146.html?from=search-s-51227155%2051192447_1_2'  
311 - },{ 310 + url: 'http://item.yohobuy.com/product/pro_345495_442735/SANGELOLPXieLeiHLP11011U146.html?from=search-s-51227155%2051192447_1_2'
  311 + }, {
312 alt: '', 312 alt: '',
313 altEn: '', 313 altEn: '',
314 imgId: '4', 314 imgId: '4',
315 img: 'http://img12.static.yhbimg.com/yhb-img01/2016/04/19/01/02e87fb1ec02486b2830a6dab5cb0ea58f.jpg?imageView2/{mode}/w/{width}/h/{height}', 315 img: 'http://img12.static.yhbimg.com/yhb-img01/2016/04/19/01/02e87fb1ec02486b2830a6dab5cb0ea58f.jpg?imageView2/{mode}/w/{width}/h/{height}',
316 title: '', 316 title: '',
317 titleEn: '', 317 titleEn: '',
318 - url:'http://item.yohobuy.com/product/pro_345495_442735/SANGELOLPXieLeiHLP11011U146.html?from=search-s-51227155%2051192447_1_2' 318 + url: 'http://item.yohobuy.com/product/pro_345495_442735/SANGELOLPXieLeiHLP11011U146.html?from=search-s-51227155%2051192447_1_2'
319 }] 319 }]
320 } 320 }
321 - }  
322 -} 321 + };
  322 +};
323 323
324 /** 324 /**
325 * 获取boys人气单品模版数据 325 * 获取boys人气单品模版数据
@@ -78,6 +78,9 @@ @@ -78,6 +78,9 @@
78 {{# newArrivls}} 78 {{# newArrivls}}
79 {{> commodity}} 79 {{> commodity}}
80 {{/ newArrivls}} 80 {{/ newArrivls}}
  81 + {{# seven}}
  82 + {{> seven-product}}
  83 + {{/ seven}}
81 {{/ channel}} 84 {{/ channel}}
82 </div> 85 </div>
83 86
@@ -38,5 +38,3 @@ @@ -38,5 +38,3 @@
38 </div> 38 </div>
39 </div> 39 </div>
40 {{/ tplrecommend}} 40 {{/ tplrecommend}}
41 -  
42 -  
  1 +{{# sevendata}}
  2 + <div class="tpl-recommend clearfix">
  3 +
  4 + <div class="tpl-products imgopacity clearfix tpl-list">
  5 + <ul>
  6 + {{#each products}}
  7 + <li><a href="{{url}}" title="{{title}}" target= "_blank"><img class="lazy" data-original="{{image src 222 298}}"/></a></li>
  8 + {{/each}}
  9 + </ul>
  10 + </div>
  11 + </div>
  12 +{{/ sevendata}}
  1 +'use strict';
  2 +
  3 +const yohobuy = (req, res, next) => {
  4 + res.render('help/yohobuy');
  5 +};
  6 +
  7 +const newpower = (req, res, next) => {
  8 + res.render('help/newpower');
  9 +};
  10 +
  11 +const contact = (req, res, next) => {
  12 + res.render('help/contact');
  13 +};
  14 +
  15 +const privacy = (req, res, next) => {
  16 + res.render('help/privacy');
  17 +};
  18 +
  19 +const yoholink = (req, res, next) => {
  20 + res.render('help/link');
  21 +};
  22 +
  23 +module.exports = {
  24 + yohobuy,
  25 + newpower,
  26 + contact,
  27 + privacy,
  28 + yoholink
  29 +};
  1 +'use strict';
  2 +const mRoot = '../models';
  3 +
  4 +const index = (req, res, next) => {
  5 + res.render('help/index', {});
  6 +};
  7 +
  8 +module.exports = {
  9 + index
  10 +};
  1 +/**
  2 + * sub app help
  3 + * @author: yyq<yanqing.yang@yoho.cn>
  4 + * @date: 2016/11/14
  5 + */
  6 +
  7 +var express = require('express'),
  8 + path = require('path');
  9 +
  10 +var app = express();
  11 +
  12 +// set view engin
  13 +var doraemon = path.join(__dirname, '../../doraemon/views'); // parent view root
  14 +
  15 +app.on('mount', function(parent) {
  16 + delete parent.locals.settings; // 不继承父 App 的设置
  17 + Object.assign(app.locals, parent.locals);
  18 +});
  19 +
  20 +app.use(global.yoho.hbs({
  21 + extname: '.hbs',
  22 + defaultLayout: 'layout',
  23 + layoutsDir: doraemon,
  24 + partialsDir: [path.join(__dirname, 'views/partial')],
  25 + views: path.join(__dirname, 'views/action'),
  26 + helpers: global.yoho.helpers
  27 +}));
  28 +
  29 +// router
  30 +app.use(require('./router'));
  31 +
  32 +module.exports = app;
  1 +/**
  2 + * router of sub app help
  3 + * @author: yyq<yanqing.yang@yoho.cn>
  4 + * @date: 2016/11/14
  5 + */
  6 +
  7 +'use strict';
  8 +
  9 +const router = require('express').Router(); // eslint-disable-line
  10 +const cRoot = './controllers';
  11 +
  12 +const help = require(`${cRoot}/index`);
  13 +const about = require(`${cRoot}/about`);
  14 +router.get('/help', help.index);
  15 +
  16 +
  17 +router.get('/yohobuy.html', about.yohobuy);
  18 +router.get('/newpower.html', about.newpower);
  19 +router.get('/contact.html', about.contact);
  20 +router.get('/privacy.html', about.privacy);
  21 +router.get('/link.html', about.yoholink);
  22 +module.exports = router;
  1 +<div class="contact-about-page about-page center-content yoho-page">
  2 + <div class="about-nav right">
  3 + <ul>
  4 + <li><a href="/yohobuy.html">关于YOHO!BUY 有货</a></li>
  5 + <li><a href="/newpower.html">关于新力传媒</a></li>
  6 + <li class="act"><a>联系我们</a></li>
  7 + <li><a href="/privacy.html">隐私条款</a></li>
  8 + <li><a href="/link.html">友情链接</a></li>
  9 + </ul>
  10 + </div>
  11 + <div class="main-container">
  12 + <div class="text-title">联系我们</div>
  13 + <div class="text-info">
  14 + <p>
  15 + <strong>客户服务:</strong><br/>
  16 + 电话:4008899646(工作日9:00-22:30)<br/>
  17 + EMAIL:service#yoho.cn (发送邮件时请将#换成@)
  18 + </p><br/>
  19 + <p>
  20 + <strong>广告服务:</strong><br/>
  21 + 北京:(+86)10 56312657<br/>
  22 + 上海:(+86)21 51698833*8005<br/>
  23 + 广州:(+86)83831060<br/>
  24 + EMAIL:advertising#yoho.cn (发送邮件时请将#换成@)
  25 + </p><br/>
  26 + <p>
  27 + <strong>市场合作:</strong><br/>
  28 + 北京:(+86)10 56312548<br/>
  29 + 上海:(+86)21 51698833*8013<br/>
  30 + EMAIL:marketing#yoho.cn (发送邮件时请将#换成@)
  31 + </p><br/>
  32 + <p>
  33 + <strong>网站合作:</strong><br/>
  34 + EMAIL:community#yoho.cn (发送邮件时请将#换成@)
  35 + </p><br/>
  36 + <p>
  37 + <strong>有货品牌合作:</strong><br/>
  38 + 上海:(+86)21 51698833*8007<br/>
  39 + 广州:(+86)83831060<br/>
  40 + EMAIL:brands#yoho.cn (发送邮件时请将#换成@)
  41 + </p><br/>
  42 + <p>
  43 + <strong>有货推广合作:</strong><br/>
  44 + EMAIL:haizheng.zhao#yoho.cn (发送邮件时请将#换成@)
  45 + </p><br/>
  46 + <p>
  47 + <strong>南京新与力文化传播有限公司:</strong><br/>
  48 + 地址:南京市建邺区嘉陵江东街18号国家广告产业园5栋17,18楼<br/>
  49 + 邮编:210017<br/>
  50 + 电话:(+86)25 87781000<br/>
  51 + 传真:(+86)25 87781155<br/>
  52 + </p><br/>
  53 + <p>
  54 + <strong>南京新与力文化传播有限公司北京分公司:</strong><br/>
  55 + 地址:北京市朝阳区建国路81号华贸中心1号楼3层<br/>
  56 + 邮编:100025<br/>
  57 + 电话:(+86)10 56312400<br/>
  58 + </p><br/>
  59 + <p>
  60 + <strong>南京新与力文化传播有限公司上海分公司:</strong><br/>
  61 + 地址:上海市徐汇区富民路291号悟锦世纪大厦801室<br/>
  62 + 邮编:200040<br/>
  63 + 电话:(+86)21 51698833
  64 + </p><br/>
  65 + <p>
  66 + <strong>南京新与力文化传播有限公司广州分公司:</strong><br/>
  67 + 地址:广州市天河区林和西路157号保利中汇大厦A座602室<br/>
  68 + 邮编:510610<br/>
  69 + 电话:(+86)20 83777600
  70 + </p><br/>
  71 + <p>
  72 + <strong>南京新与力文化传播有限公司香港分公司:</strong><br/>
  73 + 地址:香港鰂魚涌海澤街28號東港中心1505室<br/>
  74 + 电话:(+852)34602671
  75 + </p><br/>
  76 + </div>
  77 + </div>
  78 +</div>
  1 +<div class="link-about-page about-page center-content yoho-page">
  2 + <div class="about-nav right">
  3 + <ul>
  4 + <li><a href="/yohobuy.html">关于YOHO!BUY 有货</a></li>
  5 + <li><a href="/newpower.html">关于新力传媒</a></li>
  6 + <li><a href="/contact.html">联系我们</a></li>
  7 + <li><a href="/privacy.html">隐私条款</a></li>
  8 + <li class="act"><a>友情链接</a></li>
  9 + </ul>
  10 + </div>
  11 + <div class="main-container">
  12 + <div class="text-title">友情链接</div>
  13 + <div class="text-info">
  14 + <br>
  15 + <br>
  16 + <h2>文字链接:</h2>
  17 + <ul>
  18 + <li><a href="//www.kuaidi100.com" target="_blank">快递查询</a></li>
  19 + </ul>
  20 + <h2>图片链接:</h2>
  21 + <ul class="linkpic">
  22 + <li><a href="//www.yoho.cn" target="_blank"><img alt="YOHO!" src="//static.yohobuy.com/images/links/yohocn.jpg"></a></li>
  23 + </ul>
  24 + </div>
  25 + </div>
  26 +</div>
  1 +
  2 +<div class="newpower-about-page about-page center-content yoho-page">
  3 + <div class="about-nav right">
  4 + <ul>
  5 + <li><a href="/yohobuy.html">关于YOHO!BUY 有货</a></li>
  6 + <li class="act"><a>关于新力传媒</a></li>
  7 + <li><a href="/contact.html">联系我们</a></li>
  8 + <li><a href="/privacy.html">隐私条款</a></li>
  9 + <li><a href="/link.html">友情链接</a></li>
  10 + </ul>
  11 + </div>
  12 + <div class="main-container">
  13 + {{#if devEnv}}
  14 + <img src="//cdn.yoho.cn/yohobuy/assets/img/about/aboutnewpower.png?random=1466056691"/>
  15 + {{^}}
  16 + <img src="//cdn.yoho.cn/yohobuy/assets/img/about/aboutnewpower.png?random=1466056691"/>
  17 + {{/if}}
  18 + <div class="text-info">
  19 + <p style="font-family:微软雅黑; text-align:left;">
  20 + <span style="font-size:18px; line-height:68px;">一、公司概况:</span>
  21 + <br/>
  22 + &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;南京新与力文化传播有限公司(简称新力传媒)——中国潮流文化生态圈的创造者和引领者。10年以来,YOHO!致力于中国潮流产业的发展,从一本《YOHO!潮流志》开始,延伸到网络社区、电子商务等等领域,成为中国最权威和最具影响力的潮流“营、销”平台。我们通过媒体+零售线上线下一体化布局,为中国数以亿计的潮流消费者提供潮流讯息、产品及服务,并传播积极健康、全球化的潮流生活方式,更为中国的年轻一代消费者带来了来自全球的潮流生活方式。公司总部位于南京建邺区国家广告产业园,并在北京、上海、广州、香港、东京设立了分(子)公司。公司已获得鼎晖投资、新加坡淡马锡祥峰基金、软银赛富基金、达晨创投、华人文化等数轮投资。公司致力于将“YOHO!”打造成为中国年轻人最喜爱和最值得信赖的品牌,引领中国潮流文化产业的发展。
  23 + <br/>
  24 + <br/>
  25 + <span style="font-size:18px; line-height:68px;">二、公司主要项目:</span>
  26 + <br/>
  27 + 1、平面杂志及电子平台
  28 + <br/>
  29 + &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;《YOHO!潮流志》、《YOHO!GIRL》为YOHO!旗下在国内潮流领域影响力的杂志媒体。《YOHO!潮流志》2005 年10月创刊。他是国内第一本完全原创版权的,提供潮流和 lifestyle 资讯,属于年轻人的潮流时尚半月刊,通过正规发行渠道(报刊亭、连锁商超等)发行至全国各大中城市,深受全国年轻人的喜爱。设计给国内年轻女性的中高端时装月刊《YOHO!GIRL》,2013年3月正式创刊,在香港、大陆以及日本东京茑屋地区同步发行。以大量独家资讯加上独特的编采手法,改变读者的阅读习惯,扩阔大家在时装、美容、设计、生活、次文化等各方面的视野。深入结构品牌背后的哲学和时装趋势,带领各读者一探最新时尚。
  30 + <br/>
  31 + <br/>
  32 + &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;作为中国影响力最大、权威性最高、发行量最广的潮流杂志电子平台, “Yoho!Now”于 iOS 和 Android平台触亮全球潮流资讯,“Yoho!Now”7*24h 无休供应时装、运动、设计、科技、美容、家居、趣闻等严选潮流营养,并于每周发布特别线上专题,与读者Play and Learn。《YOHO!潮流志》和《YOHO!GIRL》亦于各自App內每周上架新鲜线上周刊,打包纸质版内容精华,汇通YOHO!潮流矩阵。
  33 + <br/>
  34 + <br/>
  35 + 2、关于“Yoho!Buy有货”
  36 + <br/>
  37 + &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;“Yoho!Buy有货”(www.yohobuy.com)——年轻人潮流购物中心,同样秉承YOHO!“年轻是种态度”的口号,Yoho!Buy有货专注于中国潮流趋势和受众的需要,凭借专业的买手团队和对中国潮流趋势敏锐的嗅觉,积极开拓符合中国年轻人喜爱的品牌和商品。销售包括国际知名、日韩港台流行、明星设计师、内地原创等等超过1000 个潮流品牌商品,满足18-35岁年轻群体的时尚个性化述求,涵盖男女服装、鞋帽、配件、童装及创意生活用品等。Yoho!Buy有货所销售的品牌均与品牌直接签订销售协议,保持货品与国际国内实体店铺同步,通过独家定制、限定发售、明星合作品牌等,并结合“逛”内容频道及社区互动引导消费。Yoho!Buy有货已成为中国年轻态群体最喜爱的潮流购物平台。
  38 + <br/>
  39 + <br/>
  40 + 3、关于“mars - 新鲜好去处”
  41 + <br/>
  42 + &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;“mars - 新鲜好去处”是一款由YOHO!出品的潮流生活应用,立志为百万年轻人打造最酷的“城市探索”线上枢纽。连续两周被 Apple 评选为App Store“最佳新应用”,并获得 2016 年“一月最佳 App”、“最佳生活 App”等推荐。mars深入探索全球热点城市潮流坐标,现已上线北京、上海、成都、台北、香港、东京、首尔、纽约、洛杉矶等城市,未来还将陆续上线更多城市。集优质潮流攻略、专属玩乐线路、每日热点话题等功能,邀集世界各地时髦生活方式达人与所有用户分享好去处,让潮流随时、随地、随享。我们的目标就是带你去那些“如果你不用 mars 可能一辈子都不知道”的潮流好去处。
  43 + </p>
  44 + </div>
  45 + </div>
  46 +</div>
  1 +<div class="privacy-about-page about-page center-content yoho-page">
  2 + <div class="about-nav right">
  3 + <ul>
  4 + <li><a href="/yohobuy.html">关于YOHO!BUY 有货</a></li>
  5 + <li><a href="/newpower.html">关于新力传媒</a></li>
  6 + <li><a href="/contact.html">联系我们</a></li>
  7 + <li class="act"><a>隐私条款</a></li>
  8 + <li><a href="/link.html">友情链接</a></li>
  9 + </ul>
  10 + </div>
  11 + <div class="main-container">
  12 + <div class="text-title">隐私条款</div>
  13 + <div class="text-info">
  14 + <p>
  15 + 欢迎访问YOHO!BUY 有货!我们以本隐私申明声明对访问者隐私保护的许诺。<br>
  16 + <br>
  17 + <strong>YOHO!BUY</strong>
  18 + <strong>有货的信息收集与使用</strong><br>
  19 + YOHO!BUY 有货收集用户提交的个人识别信息(下称“个人识别信息”), 一旦注册,YOHO!BUY 有货用户即可以建立由一页或多页网页组成的含有用户信息的用户档案。YOHO!BUY 有货 将收集用户发布在其用户档案中的数据,包括但不限于: 会员信息,联系信息,购物&amp;着装习惯和喜爱品牌(合称为“用户档案信息”),我们使用这些信息来获得用户的统计资料。我们将会用这些统计数据来给我们的用户分类,以便有针对性地向我们的用户提供新的服务。我们会通过您的邮件地址来通知您这些新的服务。<br>
  20 + <br>
  21 + YOHO!BUY 有货同样从用户处收集其他非个人识别信息(下称“非个人识别信息”),包括IP地址、集合的用户数据和浏览器类型。该等数据会被用来管理YOHO!BUY 有货网站,跟踪使用记录,改进YOHO!BUY 有货网站的服务。该等非个人识别信息通常被用于下列目的:研究和分析站点的使用情况,订制您浏览的广告和内容,满足您对服务的要求,以及改进我们的服务。出于安全和监管的目的,用户的IP地址将会被记录。<br>
  22 + <br>
  23 + YOHO!BUY 有货或其商业伙伴可能在YOHO!BUY 有货上不时地进行促销或者抽奖。用户可能会被要求提供个人识别信息,包括姓名,电子邮件地址或家庭住址。因进行促销或者抽奖而收集个人识别信息时,您将清楚地被告知个人识别信息的收集方以及适用的隐私政策。<br>
  24 + <br>
  25 + <strong>YOHO!BUY</strong>
  26 + <strong>有货收集信息的共享与披露</strong><br>
  27 + 除本隐私政策另有规定,YOHO!BUY 有货不会在未经您同意的情况下在YOHO!BUY 有货及其母公司、子公司或者关联公司(为本隐私政策之目的,包括遵守本隐私政策的技术提供者)之外泄露您的个人识别信息或者用户档案信息,除非我们认为这种披露是有必要的:(1)为遵守法律的要求或者回应YOHO!BUY 有货收到的传票、搜查令或者其他法律程序,而不论该等回应是否为适用法律所要求的;(2)为回应主管政府部门的要求;(3)为了保护公众和服务用户的安全;或者(4)为了维护YOHO!BUY 有货的法律权利和利益。<br>
  28 + 当YOHO!BUY 有货出售YOHO!BUY 有货或其全部资产时,YOHO!BUY 有货保留向其继任者转让个人识别信息和用户档案信息的权利。<br>
  29 + YOHO!BUY 有货也可以向某些您明确同意接收其信息的广告合作伙伴转让您的个人识别信息和用户档案信息。因此进行个人识别信息的收集时,您将清楚地被告知适用的隐私政策。<br>
  30 + <br>
  31 + <br>
  32 + <br>
  33 + <strong>用户名和密码</strong><br>
  34 + YOHO!BUY 有货用户账号通过用户创设的密码确保其安全性。您应当对您密码的保密负全部责任。请不要和他人分享此信息。如果您泄漏了密码,您可能丢失了您的个人识别信息,并且有可能导致对您不利的司法行为。如果您和他人共享一台电脑,您应该在离开YOHO!服务时退出系统以保证您的信息不被后来使用该电脑者获取。<br>
  35 + 因此不管任何原因使您的密码安全受到危及,您应该立即通过请与我们客服联系客服热线:400-889-9646和我们取得联系 。<br>
  36 + <br>
  37 + <strong>您的交易行为</strong><br>
  38 + 我们跟踪IP地址仅仅只是为了安全的必要。如果我们没有发现任何安全问题,我们会及时删除我们收集到的IP地址。我们还跟踪全天的页面访问数据。全天页面访问数据被用来反映网站的流量,我们可以为未来的发展制定计划(例如,增加服务器)。<br>
  39 + <br>
  40 + <strong>邮件</strong>
  41 + <strong>/</strong>
  42 + <strong>短信</strong>
  43 + <strong>/</strong>
  44 + <strong>会刊服务</strong><br>
  45 + YOHO!BUY 有货保留通过邮件、短信、邮寄会刊的形式,对本网站注册、购物用户发送订单信息、促销活动等告知服务的权利。如果您在YOHO!BUY 有货注册、购物,表明您已默示同意接受此项服务。如果您不想接收来自YOHO!BUY 有货的邮件、短信或会刊,您可以向YOHO!BUY 有货客服提出退阅申请,并注明您的E-mail地址、手机号或相关地址信息,YOHO!BUY 有货会在收到申请后为您办理退阅。<br>
  46 + <br>
  47 + <strong>Cookies</strong>
  48 + <strong>的使用</strong><br>
  49 + YOHO!BUY 有货使用cookies来储存用户的喜好和记录活动信息以确保用户不会重复收到同样的广告和定制的时事通讯、广告以及基于浏览器类型和用户档案信息的网页内容。我们不会把在cookies中保存的信息与您在我们网站上提交的任何个人识别信息相连接。您可以通过设置您的浏览器以接受或者拒绝全部或部分的cookies,或要求在cookies被设置时通知您。由于每个浏览器是不同的,请查看浏览器的“帮助”菜单来了解如何更改您的cookies选择参数。但是,您应允许来自YOHO!BUY 有货的cookies以使您可以使用网站的更多的功能。<br>
  50 + <br>
  51 + <strong>外部链接</strong><br>
  52 + YOHO!BUY 有货包含其他网站的链接。YOHO!BUY 有货不对其他网站上的隐私政策和/或其执行承担责任。当链接到其他网站时,用户应该阅读该网站贴示的隐私政策。我们的隐私政策仅适用于YOHO!BUY 有货收集的信息。<br>
  53 + <br>
  54 + <strong>第三方广告</strong><br>
  55 + YOHO!BUY 有货可能会通过与第三方合作向用户提供YOHO!服务。因此,YOHO!BUY 有货可能向该第三方提供您提交给YOHO!BUY 有货的个人识别信息和用户档案信息;但该第三方应同意承担与YOHO!BUY 有货相同的责任以保护用户的隐私。另外,在不会披露用户的个人识别信息和用户档案信息的前提下,YOHO!BUY 有货可以对集合的用户个人识别信息和用户档案进行分析和商业性使用。<br>
  56 + <br>
  57 + <strong>安全</strong><br>
  58 + 我们网站有相应的安全措施来确保我们掌握的信息不丢失,不被滥用和变造。这些安全措施包括向其它服务器备份数据和对用户密码。<br>
  59 + <br>
  60 + YOHO!BUY 有货会采取合理的防范措施以确保用户个人识别信息和用户档案信息的保密性。我们会采取合理措施保护存储在我们数据库中的用户个人识别信息和用户档案信息,并且对那些需要履行其工作职责的雇员,比如我们的客户服务人员和技术人员,获取用户个人识别信息和用户档案信息进行限制。请注意,我们无法保证用户个人识别信息和用户档案信息的安全性。未授权的登陆或使用、硬件或软件的故障、以及其他因素均可能在任何时候危及用户个人识别信息的安全性。<br>
  61 + <br>
  62 + <strong>隐私政策的变更</strong><br>
  63 + 我们可能对本隐私政策不时进行修改。如果我们进行任何修改,我们将在YOHO!BUY 有货主页上发布为期30天的通知以使用户知道被修改内容的类型以及指示用户审阅更新的隐私政策。如果您在对本隐私政策任何细微修改发布后继续使用网站,则表示您同意遵守任何该等修改。<br>
  64 + <br>
  65 + <strong>联系我们</strong><br>
  66 + 如果您就本隐私政策有任何疑问,请与我们客服联系客服热线:400-889-9646。<br>
  67 + </p>
  68 + </div>
  69 + </div>
  70 +</div>
  1 +
  2 +<div class="yohobuy-about-page about-page center-content yoho-page">
  3 + <div class="about-nav right">
  4 + <ul>
  5 + <li class="act"><a>关于YOHO!BUY 有货</a></li>
  6 + <li><a href="/newpower.html">关于新力传媒</a></li>
  7 + <li><a href="/contact.html">联系我们</a></li>
  8 + <li><a href="/privacy.html">隐私条款</a></li>
  9 + <li><a href="/link.html">友情链接</a></li>
  10 + </ul>
  11 + </div>
  12 + <div class="main-container">
  13 + {{#if devEnv}}
  14 + <img src="//cdn.yoho.cn/yohobuy/assets/img/about/about.jpg?random=1466056691" />
  15 + {{^}}
  16 + <img src="//cdn.yoho.cn/yohobuy/assets/img/about/about.jpg?random=1466056691" />
  17 + {{/if}}
  18 + <div class="text-info">
  19 + <p style="font-family:微软雅黑; text-align:left;">关于“Yoho!Buy 有货”</p>
  20 + <p style="font-family:微软雅黑; text-align:left;">
  21 + &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;“Yoho!Buy 有货”(
  22 + <a style=" font:#000;" href="//www.yohobuy.com" target="_blank">www.yohobuy.com</a>
  23 + )——年轻人潮流购物中心,同样秉承YOHO!“年轻是种态度”的口号,Yoho!Buy有货专注于中国潮流趋势和受众的需要,凭借专业的买手团队和对中国潮流趋势敏锐的嗅觉,积极开拓符合中国年轻人喜爱的品牌和商品。销售包括国际知名、日韩港台流行、明星设计师、内地原创等等超过1000 个潮流品牌商品,满足18-35岁年轻群体的时尚个性化述求,涵盖男女服装、鞋帽、配件、童装及创意生活用品等。Yoho!Buy有货所销售的品牌均与品牌直接签订销售协议,保持货品与国际国内实体店铺同步,通过独家定制、限定发售、明星合作品牌等,并结合“逛”内容频道及社区互动引导消费。Yoho!Buy有货已成为中国年轻态群体最喜爱的潮流购物平台。<br>
  24 + </p>
  25 + <p>
  26 + {{#if devEnv}}
  27 + <img src="//cdn.yoho.cn/yohobuy/assets/img/about/about_yohobuy.jpg?random=1466056691" />
  28 + {{^}}
  29 + <img src="//cdn.yoho.cn/yohobuy/assets/img/about/about_yohobuy.jpg?random=1466056691" />
  30 + {{/if}}
  31 + </p>
  32 + </div>
  33 + </div>
  34 +</div>
@@ -34,7 +34,7 @@ const EXHIBITION_TICKET = 51335912; @@ -34,7 +34,7 @@ const EXHIBITION_TICKET = 51335912;
34 const _getProductAdditionInfoAsync = (data) => { 34 const _getProductAdditionInfoAsync = (data) => {
35 return co(function * () { 35 return co(function * () {
36 let productId = _.get(data, 'product_id', 0); 36 let productId = _.get(data, 'product_id', 0);
37 - let brandId = _.get(data, 'brand_info.brand_id', 0); 37 + let brandId = _.get(data, 'brand_id', 0);
38 38
39 // 获取相关数据 39 // 获取相关数据
40 let promiseData = { 40 let promiseData = {
@@ -207,7 +207,7 @@ const _getBrandDataByProductBaseInfo = (data, additionalData) => { @@ -207,7 +207,7 @@ const _getBrandDataByProductBaseInfo = (data, additionalData) => {
207 return {}; 207 return {};
208 } 208 }
209 209
210 - let brandId = data.brand_info.brand_id; 210 + let brandId = data.brand_id;
211 let bgImg = ''; 211 let bgImg = '';
212 let logo = ''; 212 let logo = '';
213 let bannerInfo = null; 213 let bannerInfo = null;
@@ -12,6 +12,7 @@ module.exports = app => { @@ -12,6 +12,7 @@ module.exports = app => {
12 // 业务模块 12 // 业务模块
13 app.use(require('./apps/channel')); // 频道页 13 app.use(require('./apps/channel')); // 频道页
14 app.use(require('./apps/activity')); // 专题活动等活动页面 14 app.use(require('./apps/activity')); // 专题活动等活动页面
  15 + app.use(require('./apps/help')); // 帮助中心
15 app.use('/product', require('./apps/product')); // 商品相关页面 16 app.use('/product', require('./apps/product')); // 商品相关页面
16 app.use(require('./apps/passport')); // 登录注册 17 app.use(require('./apps/passport')); // 登录注册
17 app.use('/home', require('./apps/home')); // 会员中心 18 app.use('/home', require('./apps/home')); // 会员中心
@@ -110,7 +110,14 @@ @@ -110,7 +110,14 @@
110 } 110 }
111 } 111 }
112 } 112 }
  113 + .tpl-products.tpl-list{
  114 + li {
113 115
  116 + a {
  117 + width: 154px;
  118 + }
  119 + }
  120 + }
114 .tpl-nav { 121 .tpl-nav {
115 width: 185px; 122 width: 185px;
116 123
@@ -208,6 +215,15 @@ @@ -208,6 +215,15 @@
208 width: 490px; 215 width: 490px;
209 height: 430px; 216 height: 430px;
210 } 217 }
  218 +
  219 + .tpl-products.tpl-list{
  220 + li {
  221 +
  222 + a {
  223 + width: 130px;
  224 + }
  225 + }
  226 + }
211 } 227 }
212 228
213 /* 单品模板样式 */ 229 /* 单品模板样式 */
  1 +.contact-about-page {
  2 +
  3 + .main-container {
  4 + width: 720px;
  5 + border: 1px solid #d7d7d7;
  6 + border-radius: 5px;
  7 + overflow: hidden;
  8 +
  9 + .text-title {
  10 + border-bottom: #ff0000 4px solid;
  11 + font-family: 微软雅黑;
  12 + font-weight: bold;
  13 + height: 100px;
  14 + line-height: 100px;
  15 + font-weight: bold;
  16 + font-size: 36px;
  17 + color: #333;
  18 + text-align: center;
  19 +
  20 + }
  21 +
  22 + .text-info {
  23 + padding: 20px;
  24 + color: #333;
  25 + overflow: hidden;
  26 + font-size: 12px;
  27 + font-weight: normal;
  28 + line-height: 24px;
  29 + }
  30 +
  31 + strong {
  32 + font-weight: bold;
  33 + }
  34 + }
  35 +}
  1 +.about-page {
  2 + width: 990px;
  3 + padding: 10px 0 20px;
  4 +
  5 + .about-nav {
  6 + width: 210px;
  7 + padding: 10px 20px;
  8 + background-color: #EBE9EA;
  9 + border: 1px solid #d7d7d7;
  10 + border-radius: 5px;
  11 +
  12 + li {
  13 + line-height: 30px;
  14 + font-size: 12px;
  15 + text-align: center;
  16 + border-bottom: #ddd 1px solid;
  17 + border-top: #fff 1px solid;
  18 +
  19 + a {
  20 + color: #333;
  21 + font-weight: bold;
  22 + }
  23 +
  24 + a:hover {
  25 + color: #f60;
  26 + }
  27 + }
  28 +
  29 + li:first-child {
  30 + border-top: 0px;
  31 + }
  32 +
  33 + .act {
  34 + a {
  35 + color: #ed004c;
  36 + cursor: pointer;
  37 + }
  38 +
  39 + a:hover {
  40 + color: #ed004c;
  41 + }
  42 + }
  43 + }
  44 +}
  45 +
  46 +
  47 +
  48 +@import "_yohobuy.css";
  49 +@import "_newpower.css";
  50 +@import "_contact.css";
  51 +@import "_privacy.css";
  52 +@import "_link.css";
  1 +.link-about-page {
  2 +
  3 + .main-container {
  4 + width: 720px;
  5 + border: 1px solid #d7d7d7;
  6 + border-radius: 5px;
  7 + overflow: hidden;
  8 +
  9 + .text-title {
  10 + border-bottom: #ff0000 4px solid;
  11 + font-family: 微软雅黑;
  12 + font-weight: bold;
  13 + height: 100px;
  14 + line-height: 100px;
  15 + font-weight: bold;
  16 + font-size: 36px;
  17 + color: #333;
  18 + text-align: center;
  19 +
  20 + }
  21 +
  22 + .text-info {
  23 + padding: 20px;
  24 + color: #333;
  25 + overflow: hidden;
  26 + font-size: 12px;
  27 + font-weight: normal;
  28 + line-height: 24px;
  29 + }
  30 +
  31 + h2 {
  32 + font-size: 14px;
  33 + line-height: 30px;
  34 + border-bottom: 1px dashed #ccc;
  35 + }
  36 +
  37 + ul {
  38 + padding: 10px 0px;
  39 + list-style: none;
  40 + }
  41 +
  42 + strong {
  43 + font-weight: bold;
  44 + }
  45 + }
  46 +}
  1 +.newpower-about-page {
  2 +
  3 + .main-container {
  4 + width: 720px;
  5 + border: 1px solid #d7d7d7;
  6 + border-radius: 5px;
  7 + overflow: hidden;
  8 +
  9 + .text-info {
  10 + line-height: 30px;
  11 + font-size: 14px;
  12 + font-weight: bold;
  13 + text-align: center;
  14 + color: #333;
  15 + padding: 20px;
  16 + overflow: hidden;
  17 + }
  18 + }
  19 +}
  1 +.privacy-about-page {
  2 +
  3 + .main-container {
  4 + width: 720px;
  5 + border: 1px solid #d7d7d7;
  6 + border-radius: 5px;
  7 + overflow: hidden;
  8 +
  9 + .text-title {
  10 + border-bottom: #ff0000 4px solid;
  11 + font-family: 微软雅黑;
  12 + font-weight: bold;
  13 + height: 100px;
  14 + line-height: 100px;
  15 + font-weight: bold;
  16 + font-size: 36px;
  17 + color: #333;
  18 + text-align: center;
  19 +
  20 + }
  21 +
  22 + .text-info {
  23 + padding: 20px;
  24 + color: #333;
  25 + overflow: hidden;
  26 + font-size: 12px;
  27 + font-weight: normal;
  28 + line-height: 24px;
  29 + }
  30 +
  31 + strong {
  32 + font-weight: bold;
  33 + }
  34 + }
  35 +}
  1 +.yohobuy-about-page {
  2 +
  3 + .main-container {
  4 + width: 720px;
  5 + border: 1px solid #d7d7d7;
  6 + border-radius: 5px;
  7 + overflow: hidden;
  8 +
  9 + .text-title {
  10 + border-bottom: #ff0000 4px solid;
  11 + font-family: 微软雅黑;
  12 + font-weight: bold;
  13 + height: 100px;
  14 + line-height: 100px;
  15 + font-weight: bold;
  16 + font-size: 36px;
  17 + color: #333;
  18 + text-align: center;
  19 +
  20 + }
  21 +
  22 + .text-info {
  23 + padding: 20px;
  24 + color: #333;
  25 + overflow: hidden;
  26 + font-size: 12px;
  27 + font-weight: normal;
  28 + line-height: 24px;
  29 + }
  30 +
  31 + }
  32 +}
@@ -13,4 +13,5 @@ @@ -13,4 +13,5 @@
13 @import "passport/index"; 13 @import "passport/index";
14 @import "share"; 14 @import "share";
15 @import 'home/index'; 15 @import 'home/index';
16 -@import 'guang/index'  
  16 +@import 'guang/index';
  17 +@import 'help/index'