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
梁志锋
9 years ago
Commit
7cfef2e85d897d6d260af9f32ac63655f0d882a3
1 parent
4931c6f1
修改颜色和尺码选
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
9 deletions
template/m.yohobuy.com/partials/cart/chose-panel.phtml
template/m.yohobuy.com/partials/cart/chose-panel.phtml
View file @
7cfef2e
...
...
@@ -19,24 +19,33 @@
<div
class=
"chose-items"
>
<div
class=
"color-list block-list"
>
<span>颜色</span>
<ul
class=
"clearfix"
data-type=
"color"
>
<
!--<
ul
class=
"clearfix"
data-type=
"color"
>
{
{#
colors
}
}
<li
class=
"block {{#if chosed}}chosed{{/if}} {{#unless colorNum}}zero-stock{{/unless}}"
data-num=
"{{colorNum}}"
data-id=
"{{id}}"
data-numstr=
"{{sizeNumStr}}"
data-skcid=
"{{skcId}}"
>
{
{name
}
}
</li>
{
{/
colors
}
}
</ul>-->
{
{#
colors
}
}
<ul
class=
"size-row clearfix {{#unless @first}}hide{{/if}}"
>
{
{#
color
}
}
<li
class=
"block {{#if chosed}}chosed{{/if}} {{#unless colorNum}}zero-stock{{/unless}}"
data-num=
"{{colorNum}}"
data-id=
"{{id}}"
data-numstr=
"{{sizeNumStr}}"
data-skcid=
"{{skcId}}"
>
{
{name
}
}
</li>
{
{/
color
}
}
</ul>
{
{/
colors
}
}
</div>
<div
class=
"size-list block-list"
>
<span>尺码</span>
{
{#
sizes
}
}
<ul
class=
"size-row clearfix {{#unless @first}}hide{{/if}}"
>
{
{#
size
}
}
<li
class=
"block {{#if chosed}}chosed{{/if}} {{#unless sizeNum}}zero-stock{{/unless}}"
data-id=
"{{id}}"
data-colorid=
"{{colorId}}"
data-num=
"{{sizeNum}}"
data-numstr=
"{{colorNumStr}}"
data-skuid=
"{{skuId}}"
data-goodid=
"{{goodsId}}"
>
{
{name
}
}
</li>
{
{/
size
}
}
</ul>
<ul
class=
"size-row clearfix {{#unless @first}}hide{{/if}}"
>
{
{#
size
}
}
<li
class=
"block {{#if chosed}}chosed{{/if}} {{#unless sizeNum}}zero-stock{{/unless}}"
data-id=
"{{id}}"
data-colorid=
"{{colorId}}"
data-num=
"{{sizeNum}}"
data-numstr=
"{{colorNumStr}}"
data-skuid=
"{{skuId}}"
data-goodid=
"{{goodsId}}"
>
{
{name
}
}
</li>
{
{/
size
}
}
</ul>
{
{/
sizes
}
}
<!--
{
{#if
defaultSizes
}
}
...
...
@@ -69,5 +78,5 @@
</div>
</div>
</div>
{
{/cartInfo
}
}
{
{/cartInfo
}
}
<input
id=
"promotionId"
type=
"hidden"
value=
"{{promotionId}}"
>
\ No newline at end of file
...
...
Please
register
or
login
to post a comment