Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
yyq
8 years ago
Commit
cc1df65fc92c705782e84500a3f614ef8bc23563
1 parent
38c208b2
基础店铺名显示异常问题修复
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
apps/product/models/list.js
public/scss/product/_list.css
apps/product/models/list.js
View file @
cc1df65
...
...
@@ -897,6 +897,7 @@ const getBaseShopData = (params, extra, channel, shopId) => {
shopIntro
:
`
/
about
?
shopId
=
$
{
shopId
}
`
,
coled
:
_
.
get
(
result
[
2
],
'data.is_favorite'
,
'N'
)
===
'Y'
});
_
.
set
(
resData
,
'brand.shopBanner'
,
decorator
.
shopTopBannerBase
);
_
.
unset
(
resData
,
'brand.brandBanner'
);
...
...
@@ -909,6 +910,7 @@ const getBaseShopData = (params, extra, channel, shopId) => {
if
(
result
[
2
].
code
===
200
)
{
let
shopName
=
_
.
get
(
result
[
2
],
'data.shop_name'
,
''
);
_
.
set
(
resData
,
'brand.shopBanner.shopName'
,
shopName
);
_
.
set
(
resData
,
'brand.pathNav[2]'
,
{
name
:
shopName
,
pathTitle
:
shopName
...
...
public/scss/product/_list.css
View file @
cc1df65
...
...
@@ -57,6 +57,13 @@
width
:
1150px
;
margin
:
0
auto
;
.shop-name
{
margin-left
:
60px
;
font-size
:
32px
;
float
:
left
;
border
:
none
;
}
.shop-favor
{
margin-right
:
60px
;
}
...
...
Please
register
or
login
to post a comment