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
xuqi
9 years ago
Commit
3646ee10980fb69af0ce161082b46814b746dd20
1 parent
e92e709f
shopping cart style
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
48 additions
and
35 deletions
static/sass/shopping-cart/_chose-panel.scss
template/m.yohobuy.com/partials/shopping-cart/chose-panel.phtml
static/sass/shopping-cart/_chose-panel.scss
View file @
3646ee1
...
...
@@ -8,7 +8,7 @@
.main
{
position
:
absolute
;
height
:
718
rem
/
$pxConvertRem
;
height
:
610
rem
/
$pxConvertRem
;
bottom
:
0
;
left
:
0
;
right
:
0
;
...
...
@@ -16,8 +16,14 @@
}
.infos
{
height
:
546rem
/
$pxConvertRem
;
padding
:
30rem
/
$pxConvertRem
22rem
/
$pxConvertRem
20rem
/
$pxConvertRem
;
height
:
460rem
/
$pxConvertRem
;
padding
:
0
22rem
/
$pxConvertRem
;
padding-top
:
30rem
/
$pxConvertRem
;
}
.chose-items
{
height
:
325rem
/
$pxConvertRem
;
overflow
:
auto
;
}
.basic-info
{
...
...
@@ -83,6 +89,10 @@
}
}
.num
{
margin-bottom
:
20rem
/
$pxConvertRem
;
}
.num
.btn
{
float
:
left
;
display
:
block
;
...
...
@@ -110,10 +120,11 @@
}
.btn-wrap
{
height
:
8
0rem
/
$pxConvertRem
;
height
:
12
0rem
/
$pxConvertRem
;
border-top
:
1px
solid
#e6e6e6
;
padding
:
2
1
rem
/
$pxConvertRem
;
padding
:
2
0
rem
/
$pxConvertRem
;
text-align
:
center
;
box-sizing
:
border-box
;
.btn-sure
{
width
:
260rem
/
$pxConvertRem
;
...
...
template/m.yohobuy.com/partials/shopping-cart/chose-panel.phtml
View file @
3646ee1
...
...
@@ -13,36 +13,38 @@
</p>
</div>
</div>
<div class="color-list">
<span>颜色</span>
<ul class="clearfix" data-type="color">
{{# colors}}
<li class="block {{#if chosed}}chosed{{/if}}" data-id={{id}}>
{{name}}
</li>
{{/ colors}}
</ul>
</div>
<div class="size-list">
<span>尺码</span>
<ul class="clearfix" data-type="size">
{{# sizes}}
<li class="block {{#if chosed}}chosed{{/if}}" data-id={{id}}>
{{name}}
</li>
{{/ sizes}}
</ul>
</div>
<div class="num">
<span>数量</span>
<div class="clearfix">
<a class="btn btn-minus" href="javascript:void(0);">
<span class="iconfont"></span>
</a>
<input id="good-num" class="good-num" type="text" value={{num}}>
<a class="btn btn-plus" href="javascript:void(0);">
<span class="iconfont"></span>
</a>
<div class="chose-items">
<div class="color-list">
<span>颜色</span>
<ul class="clearfix" data-type="color">
{{# colors}}
<li class="block {{#if chosed}}chosed{{/if}}" data-id={{id}}>
{{name}}
</li>
{{/ colors}}
</ul>
</div>
<div class="size-list">
<span>尺码</span>
<ul class="clearfix" data-type="size">
{{# sizes}}
<li class="block {{#if chosed}}chosed{{/if}}" data-id={{id}}>
{{name}}
</li>
{{/ sizes}}
</ul>
</div>
<div class="num">
<span>数量</span>
<div class="clearfix">
<a class="btn btn-minus" href="javascript:void(0);">
<span class="iconfont"></span>
</a>
<input id="good-num" class="good-num" type="text" value={{num}}>
<a class="btn btn-plus" href="javascript:void(0);">
<span class="iconfont"></span>
</a>
</div>
</div>
</div>
</div>
...
...
Please
register
or
login
to post a comment