Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
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
Lynnic
9 years ago
Commit
129f97a95e900ef1dbb8d00e57937e525151ca88
1 parent
fe99f978
添加为您优选
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
17 additions
and
16 deletions
static/js/product/detail/desc.js
static/js/product/detail/detail.js
static/sass/product/_detail.scss
static/sass/product/_product-description.scss
template/m.yohobuy.com/actions/product/detail/index.phtml
template/m.yohobuy.com/partials/product/product-description.phtml
static/js/product/detail/desc.js
View file @
129f97a
...
...
@@ -17,8 +17,7 @@ var introUrl = $('#introUrl').val(),
end
=
false
;
var
sizeSwiper
,
refSwiper
,
recommendSwiper
;
refSwiper
;
require
(
'../recommend-for-you.js'
);
...
...
@@ -50,13 +49,13 @@ function search() {
});
//优选
recommendSwiper
=
new
Swiper
(
'#swiper-recommend'
,
{
slidesPerView
:
'auto'
,
grabCursor
:
true
,
slideElement
:
'li'
,
lazyLoading
:
true
,
watchSlidesVisibility
:
true
});
// recommendSwiper = new Swiper('#swiper-recommend', {
// slidesPerView: 'auto',
// grabCursor: true,
// slideElement: 'li',
// lazyLoading: true,
// watchSlidesVisibility: true
// });
searching
=
false
;
end
=
true
;
...
...
static/js/product/detail/detail.js
View file @
129f97a
...
...
@@ -11,8 +11,7 @@ var goodsSwiper;
require
(
'./desc'
);
require
(
'./comments-consults'
);
// require('../recommend-for-you.js');
require
(
'../recommend-for-you.js'
);
lazyLoad
(
$
(
'img.lazy'
));
...
...
static/sass/product/_detail.scss
View file @
129f97a
...
...
@@ -378,6 +378,10 @@ $basicBtnC:#eb0313;
font-size
:
pxToRem
(
24px
);
}
}
.recommend-for-you
{
margin-bottom
:
pxToRem
(
120px
);
}
}
@import
"comments-consults"
;
@import
"product-description"
;
\ No newline at end of file
...
...
static/sass/product/_product-description.scss
View file @
129f97a
...
...
@@ -90,7 +90,7 @@
}
}
margin-top
:
pxToRem
(
30px
);
margin-bottom
:
pxToRem
(
12
0px
);
margin-bottom
:
pxToRem
(
3
0px
);
}
.detail-swiper
{
.swiper-wrapper
{
...
...
template/m.yohobuy.com/actions/product/detail/index.phtml
View file @
129f97a
...
...
@@ -101,7 +101,8 @@
{
{/
enterStore
}
}
<div
id=
"productDesc"
></div>
{
{>
product/recommend-for-you
}
}
{
{#cartInfo
}
}
<div
class=
"cart-bar"
>
{
{#if
numInCart
}
}
...
...
template/m.yohobuy.com/partials/product/product-description.phtml
View file @
129f97a
...
...
@@ -130,6 +130,4 @@
{
{/list
}
}
</div>
</div>
{
{/productDetail
}
}
{
{>
product/recommend-for-you
}
}
\ No newline at end of file
{
{/productDetail
}
}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment