Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-blk
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
1
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
biao
2016-07-08 15:29:26 +0800
Commit
3cf177526f9216280ac1166cf8e32a9be9cab758
2 parents
5a416663
80fa412a
Merge branch 'feature/my-order' into develop
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
40 additions
and
4 deletions
apps/me/views/partial/order/table-body.hbs
public/img/me/no-order.png
public/scss/me/order/_nav.css
public/scss/me/order/_table.css
apps/me/views/partial/order/table-body.hbs
View file @
3cf1775
<div
class=
"table table-body"
>
<div
class=
"table table-body
{{#
unless
orderList
}}
empty
{{/
unless
}}
"
>
{{#if
orderList
}}
{{#
orderList
}}
<div
class=
"order"
>
...
...
@@ -55,6 +55,11 @@
</div>
{{/
orderList
}}
{{^}}
数据为空
<div
class=
"bg"
></div>
<div
class=
"msg"
>
<p
class=
"msg-zh bold"
>
您暂时还没有订单
</p>
<p
class=
"msg-en"
>
You do not have an order for the time being
</p>
<span
class=
"btn"
>
去购物
</span>
</div>
{{/if}}
</div>
...
...
public/img/me/no-order.png
0 → 100644
View file @
3cf1775
3.14 KB
public/scss/me/order/_nav.css
View file @
3cf1775
...
...
@@ -39,8 +39,8 @@
}
.search-bar
{
$
height
:
24px
;
$
buttonWidth
:
65px
;
$
height
:
30px
;
$
buttonWidth
:
67px
;
height
:
calc
(
$
liHeight
);
float
:
right
;
...
...
public/scss/me/order/_table.css
View file @
3cf1775
...
...
@@ -10,6 +10,7 @@
$
goodImgHeight
:
90px
;
$
normalSize
:
14px
;
$
bigSize
:
16px
;
$
smallSpace
:
8px
;
$
space
:
20px
;
...
...
@@ -176,5 +177,35 @@
margin
:
0
;
}
}
&
.empty
{
width
:
100%
;
.bg
{
height
:
250px
;
background-image
:
resolve
(
'me/no-order.png'
);
background-repeat
:
no-repeat
;
background-position
:
center
bottom
;
background-size
:
100px
125px
;
}
.msg
{
margin-top
:
50px
;
text-align
:
center
;
.msg-zh
{
font-size
:
$
bigSize
;
margin-bottom
:
$
space
;
}
.msg-en
{
margin-bottom
:
40px
;
}
.btn
{
display
:
inline-block
;
}
}
}
}
...
...
Please
register
or
login
to post a comment