Authored by 陈轩

fix

... ... @@ -17,25 +17,6 @@ exports.index = (req, res) => {
res.render('product-list', view);
};
/* 筛选的二级页面 */
exports.subFilter = (req, res) => {
const view = {
module: 'product',
page: 'filter-sub'
};
res.render('filter-sub', view);
};
/* 获取 筛选配置 */
exports.fetchFilters = (req, res, next) => {
const params = req.query;
searchModel.products(params)
.then(result => res.json(result))
.catch(next);
};
/* 查询 产品列表 method:GET */
exports.fetchProducts = (req, res, next) => {
const params = req.query;
... ...
... ... @@ -18,13 +18,13 @@ module.exports = {
app_type: 1
},
domains: {
api: 'http://192.168.102.202:8080/gateway/',
service: 'http://192.168.102.202:8080/gateway/',
// api: 'http://192.168.102.202:8080/gateway/',
// service: 'http://192.168.102.202:8080/gateway/',
// api: 'http://testapi.yoho.cn:28078/',
// service: 'http://testservice.yoho.cn:28077/'
// api: 'http://devapi.yoho.cn:58078/',
// service: 'http://devservice.yoho.cn:58077/'
api: 'http://devapi.yoho.cn:58078/',
service: 'http://devservice.yoho.cn:58077/'
},
subDomains: {
host: '.m.yohoblk.com',
... ...
... ... @@ -37,10 +37,10 @@
padding-left: 30px;
padding-right: 30px;
width: 100%;
height: 60px;
height: 120px;
line-height: 60px;
font-size: 48px;
background-color: #fff;
background-color: transparent;
.icon,
.header-title {
vertical-align: middle;
... ... @@ -66,6 +66,7 @@
}
.header-gap {
height: 60px;
height: 120px;
background-color: #fff;
}
</style>
... ...