From 8a9de30a013efda40bd25d33075897ec94723978 Mon Sep 17 00:00:00 2001
From: chen xuan <xuan.chen@yoho.cn>
Date: Fri, 29 Jul 2016 14:35:08 +0800
Subject: [PATCH] fix

---
 apps/product/controllers/product-list.js | 19 -------------------
 config/common.js                         |  8 ++++----
 public/vue/component/header.vue          |  7 ++++---
 3 files changed, 8 insertions(+), 26 deletions(-)

diff --git a/apps/product/controllers/product-list.js b/apps/product/controllers/product-list.js
index e20b568..5a9e825 100644
--- a/apps/product/controllers/product-list.js
+++ b/apps/product/controllers/product-list.js
@@ -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;
diff --git a/config/common.js b/config/common.js
index b09ec19..b9bb9ec 100644
--- a/config/common.js
+++ b/config/common.js
@@ -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',
diff --git a/public/vue/component/header.vue b/public/vue/component/header.vue
index 40a2af0..8a9fd88 100644
--- a/public/vue/component/header.vue
+++ b/public/vue/component/header.vue
@@ -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>
--
libgit2 0.24.0