Authored by 李靖

逛增加底部导航

... ... @@ -4,6 +4,7 @@
const mRoot = '../models';
const newGuangModel = require(`${mRoot}/guang-new`);
const headerModel = require('../../../doraemon/models/header'); // 头部model
const footerModel = require('../../../doraemon/models/footer_tab'); // 底部tab
const channels = {
boys: '1,3',
... ... @@ -24,14 +25,16 @@ exports.index = (req, res, next) => {
pageHeader: headerModel.setNav({
navTitle: '有货逛不停'
}),
title: '逛潮流,最新原创潮流资讯 |YOHO!BUY有货',
title: '逛潮流,最新原创潮流资讯 | YOHO!BUY有货',
keywords: '潮流资讯,潮流文章,有货潮流分享',
description: '来有货玩潮流,潮流资讯大分享!年轻人潮流购物中心,了解潮流趋势、掌握潮流文化知识信息,尽在有货逛潮流!',
module: 'guang',
page: 'guang-new',
width750: true,
localCss: true,
pageStyle: 'guang-new-bg'
pageStyle: 'guang-new-bg',
isWechat: req.yoho.isWechat,
showFooterTab: footerModel.getUrlData('guang')
};
let params = {
... ...
... ... @@ -177,6 +177,11 @@
</div>
</div>
}}
<a href="//m.yohobuy.com/guang/type?gender={{gender}}&type=0" class="guang-fixed fixed"></a>
<div class="float-top fixed"></div>
</div>
\ No newline at end of file
<a href="//m.yohobuy.com/guang/type?gender={{gender}}&type=0" class="guang-fixed fixed {{#if @root.isWechat}}is-wechat{{/if}}"></a>
<div class="float-top fixed {{#if @root.isWechat}}is-wechat{{/if}}"></div>
</div>
{{#if @root.isWechat}}
<div class="footer-tab-c">
{{> footer-tab}}
</div>
{{/if}}
\ No newline at end of file
... ...
@import "layout/swiper";
@import "channel/footer-tab";
.guang-new-bg {
background-color: #f0f0f0;
... ... @@ -545,9 +546,17 @@
border-radius: 50%;
background: resolve("guang/new.png") no-repeat;
background-size: cover;
&.is-wechat {
bottom: 280px;
}
}
}
.footer-tab-c {
height: 120px;
}
.float-top {
position: fixed;
bottom: 78px;
... ... @@ -559,4 +568,8 @@
background-size: cover;
display: none;
z-index: 9999;
&.is-wechat {
bottom: 160px;
}
}
... ...