Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohoblk-wap
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
陈轩
9 years ago
Commit
8a9de30a013efda40bd25d33075897ec94723978
1 parent
b791dac8
fix
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
26 deletions
apps/product/controllers/product-list.js
config/common.js
public/vue/component/header.vue
apps/product/controllers/product-list.js
View file @
8a9de30
...
...
@@ -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
;
...
...
config/common.js
View file @
8a9de30
...
...
@@ -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'
,
...
...
public/vue/component/header.vue
View file @
8a9de30
...
...
@@ -37,10 +37,10 @@
padding-left: 30px;
padding-right: 30px;
width: 100%;
height:
6
0px;
height:
12
0px;
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>
...
...
Please
register
or
login
to post a comment