Toggle navigation
Toggle navigation
This project
Loading...
Sign in
wangshusheng
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to dashboard
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
2015-11-23 16:29:15 +0800
Commit
5dd7a5f60262fc682855bdedc6d5fca0f6abf1cd
1 parent
e4bdfcc4
update
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
144 additions
and
3 deletions
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/sass/product/_product-description.scss
View file @
5dd7a5f
...
...
@@ -58,6 +58,7 @@
border-top
:
0px
;
padding-left
:
pxToRem
(
15px
);
padding-right
:
pxToRem
(
15px
);
margin-bottom
:
0
;
}
// padding-bottom:pxToRem(18px);
.tip
{
...
...
@@ -81,6 +82,7 @@
}
.product-detail
{
.detail
{
img
{
margin-top
:
pxToRem
(
20px
);
...
...
@@ -88,6 +90,7 @@
height
:
pxToRem
(
772px
);
}
}
margin-top
:
pxToRem
(
30px
);
margin-bottom
:
pxToRem
(
120px
);
}
.detail-swiper
{
...
...
template/m.yohobuy.com/actions/product/detail/index.phtml
View file @
5dd7a5f
...
...
@@ -71,8 +71,6 @@
{
{/if
}
}
{
{/
feedbacks
}
}
</div>
<div
class=
"gap-block"
></div>
{
{#
enterStore
}
}
<div
id=
"enter-store"
class=
"enter-store page-block"
>
...
...
@@ -84,7 +82,6 @@
</div>
{
{/
enterStore
}
}
<div
class=
"gap-block"
></div>
<div
id=
"productDesc"
></div>
{
{#cartInfo
}
}
...
...
template/m.yohobuy.com/partials/product/product_description.phtml
0 → 100644
View file @
5dd7a5f
{
{#goodsDescription
}
}
<div
class=
"goods-desc page-block"
>
<img
class=
"service lazy"
data-original=
"http://static.dev.yohobuy.com/img/product/service.png"
alt=
""
>
<h
1
class=
"title"
>
{
{title
}
}
<span
class=
"en-title"
>
{
{enTitle
}
}</span>
</h
1
>
{
{#detail
}
}
<ul
class=
"detail table clearfix"
>
{
{#list
}
}
<div
class=
"column"
>
{
{param
}
}</div>
{
{/list
}
}
</ul>
{
{/detail
}
}
<div
class=
"desc-text"
>
{
{desc
}
}</div>
</div>
{
{/goodsDescription
}
}
<!--
<div
class=
"gap-block"
></div>
-->
{
{#sizeInfo
}
}
<div
class=
"size-info page-block"
>
<h
1
class=
"title"
>
{
{title
}
}
<span
class=
"en-title"
>
{
{enTitle
}
}</span>
</h
1
>
{
{#detail
}
}
<div
class=
"detail"
>
<div
class=
"swiper-container detail-swiper"
id=
"size-swiper-container"
>
<div
class=
"swiper-wrapper"
>
{
{#list
}
}
<div
class=
"swiper-slide "
>
{
{#params
}
}
<div
class=
"cell"
>
{
{param
}
}</div>
{
{/params
}
}
</div>
{
{/list
}
}
</div>
</div>
<p
class=
"tips"
>提示:左滑查看完整表格信息</p>
</div>
{
{/detail
}
}
</div>
{
{/sizeInfo
}
}
<!--
<div
class=
"gap-block"
></div>
-->
{
{#measurementMethod
}
}
<div
class=
"measurement-method page-block"
>
<h
1
class=
"title"
>
{
{title
}
}
<span
class=
"en-title"
>
{
{enTitle
}
}</span>
</h
1
>
<div
class=
"detail"
style=
"width:100%"
>
<img
class=
"lazy"
data-original=
"{{img}}"
alt=
""
>
</div>
</div>
{
{/measurementMethod
}
}
<!--
<div
class=
"gap-block"
></div>
-->
{
{#reference
}
}
<div
class=
"size-info page-block"
>
<h
1
class=
"title"
>
{
{title
}
}
<span
class=
"en-title"
>
{
{enTitle
}
}</span>
</h
1
>
{
{#detail
}
}
<div
class=
"detail"
>
<div
class=
"swiper-container detail-swiper"
id=
"reference-swiper-container"
>
<div
class=
"swiper-wrapper"
>
{
{#list
}
}
{
{#if
@first
}
}
<div
class=
"swiper-slide first-group"
>
</div>
{
{else
}
}
<div
class=
"swiper-slide"
>
{
{#params
}
}
<div
class=
" cell"
>
{
{param
}
}</div>
{
{/params
}
}
</div>
{
{/if
}
}
{
{/list
}
}
</div>
</div>
<p
class=
"tips"
>提示:左滑查看完整表格信息</p>
</div>
{
{/detail
}
}
</div>
{
{/reference
}
}
<!--
<div
class=
"gap-block"
></div>
-->
{
{#materials
}
}
<div
class=
"materials page-block"
>
<h
1
class=
"title"
>
{
{title
}
}
<span
class=
"en-title"
>
{
{enTitle
}
}</span>
</h
1
>
<div
class=
"detail"
>
{
{#list
}
}
<div
class=
"material-item"
>
<img
class=
"lazy"
data-original=
"{{img}}"
alt=
""
>
<p
class=
"material-desc"
>
{
{desc
}
}
</p>
</div>
{
{/list
}
}
</div>
</div>
{
{/materials
}
}
{
{#washTips
}
}
<div
class=
"wash-tips page-block"
>
<div
class=
"detail table clearfix"
>
{
{#list
}
}
<div
class=
"tip"
>
<img
src=
"{{img}}"
alt=
""
>
<span
class=
"caption"
>
{
{caption
}
}</span>
</div>
{
{/list
}
}
</div>
</div>
{
{/washTips
}
}
<!--
<div
class=
"gap-block"
></div>
-->
{
{#productDetail
}
}
<div
class=
"product-detail page-block"
>
<h
1
class=
"title"
>
{
{{title
}
}}
<span
class=
"en-title"
>
{
{{enTitle
}
}}</span>
</h
1
>
<div
class=
"detail"
>
<p>
{
{{desc
}
}}</p>
{
{#list
}
}
<img
class=
"lazy"
data-original=
"{{img}}"
alt=
""
>
{
{/list
}
}
</div>
</div>
{
{/productDetail
}
}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment