Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
梁志锋
9 years ago
Commit
461849ae962f442073e90106e5706184a6b42b60
2 parents
d29b2db3
cc07946f
Merge branch 'develop' of
http://git.dev.yoho.cn/web/yohobuy
into develop
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
static/js/product/detail/detail.js
static/sass/product/_product-description.scss
template/m.yohobuy.com/actions/product/detail/index.phtml
static/js/product/detail/detail.js
View file @
461849a
...
...
@@ -8,7 +8,7 @@
lazyLoad
=
require
(
'yoho.lazyload'
);
var
goodsSwiper
,
$discountFolder
=
$
(
'.goods
-d
iscount .discount-folder'
),
$discountFolder
=
$
(
'.goods
D
iscount .discount-folder'
),
$discountArrow
=
$
(
'.goodsDiscount .first-item span'
);
...
...
@@ -31,7 +31,7 @@ goodsSwiper = new Swiper('.banner-swiper', {
//初始化goods-discount
if
(
0
===
$
(
'.goods
-d
iscount .discount-folder'
).
children
().
length
)
{
if
(
0
===
$
(
'.goods
D
iscount .discount-folder'
).
children
().
length
)
{
$discountFolder
.
css
(
'display'
,
'none'
);
$discountArrow
.
html
(
''
);
}
...
...
static/sass/product/_product-description.scss
View file @
461849a
...
...
@@ -30,8 +30,13 @@
margin-top
:
pxToRem
(
20px
);
}
.materials
{
overflow
:
hidden
;
&
.page-block
{
margin-bottom
:
0
;
border-bottom
:
none
;
.detail
{
margin-bottom
:
0
;
}
}
.detail
{
.material-item
{
...
...
template/m.yohobuy.com/actions/product/detail/index.phtml
View file @
461849a
...
...
@@ -113,8 +113,8 @@
</div>
{
{/
enterStore
}
}
<div
id=
"productDesc"
></div>
<!--
{
{>
product/product-description
}
}
-->
<!--
<div
id=
"productDesc"
></div>
-->
{
{>
product/product-description
}
}
{
{>
product/recommend-for-you
}
}
{
{#cartInfo
}
}
...
...
Please
register
or
login
to post a comment