Authored by ccbikai

基础样式 调整

... ... @@ -28,23 +28,19 @@ const saleModel = require(`${mRoot}/sale`);
* @return {[type]}
*/
const _processPublicData = (req, title, page) => {
let data = {};
let headerData = headerModel.setNav({
navTitle: title
});
data = {
return {
channel: req.yoho.channel,
renderData: {
module: 'product',
page: page,
title: title,
pageHeader: headerData,
pageHeader: headerModel.setNav({
navTitle: title,
navBtn: false
}),
pageFooter: true
}
};
return data;
};
/**
... ...
... ... @@ -47,6 +47,8 @@
<script src="//cdn.yoho.cn/m-yohobuy-node/{{version}}/libs.js"></script>
<script src="//cdn.yoho.cn/m-yohobuy-node/{{version}}/{{module}}.{{page}}.js"></script>
{{/if}}
{{#unless devEnv}}
{{> analysis}}
{{/unless}}
</body>
</html>
... ...
{{#pageHeader}}
{{# ../pageChannel}}
{{# @root.pageChannel}}
<header id="yoho-header" class="yoho-header{{#if boys}} boys{{/if}}{{#if girls}} girls{{/if}}{{#if kids}} kids{{/if}}{{#if lifeStyle}} life-style{{/if}}{{#if lifestyle}} life-style{{/if}}">
{{/ ../pageChannel}}
{{/ @root.pageChannel}}
{{#navBack}}
<a href="{{#if backUrl}}{{backUrl}}{{^}}javascript:history.go(-1);{{/if}}" class="iconfont nav-back">&#xe610;</a>
{{/navBack}}
... ... @@ -22,9 +22,9 @@
{{/navTitle}}
</header>
{{#navBtn}}
{{# ../../pageChannel}}
{{# @root.pageChannel}}
<div class="homebuttom hide {{#if boys}} boys{{/if}}{{#if girls}} girls{{/if}}{{#if kids}} kids{{/if}}{{#if lifeStyle}} life-style{{/if}}{{#if lifestyle}} life-style{{/if}}">
{{/ ../../pageChannel}}
{{/ @root.pageChannel}}
<ul>
<li>
<a href="{{ indexUrl }}">
... ...
... ... @@ -143,6 +143,7 @@ a{
bottom: 0;
left: 0;
background: rgba(0, 0, 0, 0.5);
z-index: 9;
}
.loading-mask .loading{
position: absolute;
... ...
This diff could not be displayed because it is too large.
... ... @@ -22,6 +22,7 @@
bottom: 0;
left: 0;
background: rgba(0, 0, 0, 0.5);
z-index: 9;
.loading {
position: absolute;
... ...