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
xuqi
9 years ago
Commit
cb0bff1ad7cf31deb12cb6ecd3dfa1c31230bbc4
1 parent
473e4686
no order
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
7 deletions
static/img/me/no-order.png
static/js/me/order.js
static/sass/me/_order.scss
template/m.yohobuy.com/partials/me/order/orders.phtml
static/img/me/no-order.png
0 → 100644
View file @
cb0bff1
1.62 KB
static/js/me/order.js
View file @
cb0bff1
...
...
@@ -37,7 +37,7 @@ function getOrders() {
}
inAjax
=
true
;
loading
.
show
();
loading
.
show
LoadingMask
();
$
.
ajax
({
type
:
'GET'
,
...
...
@@ -62,7 +62,7 @@ function getOrders() {
}
inAjax
=
false
;
loading
.
hide
();
loading
.
hide
LoadingMask
();
}
});
}
...
...
static/sass/me/_order.scss
View file @
cb0bff1
...
...
@@ -2,6 +2,7 @@
background
:
#f0f0f0
;
.order
{
position
:
relative
;
display
:
block
;
background
:
#fff
;
margin
:
30rem
/
$pxConvertRem
0
;
...
...
@@ -64,17 +65,38 @@
}
.no-order
{
position
:
absolute
;
background
:
#fff
;
text-align
:
center
;
color
:
#f0f0f0
;
top
:
50%
;
margin-top
:
-220rem
/
$pxConvertRem
;
width
:
100%
;
.iconfont
{
font-size
:
50px
;
.icon
{
width
:
153rem
/
$pxConvertRem
;
height
:
196rem
/
$pxConvertRem
;
background
:
image-url
(
'me/no-order.png'
)
no-repeat
;
background-size
:
100%
;
margin
:
0
auto
;
}
span
{
display
:
block
;
color
:
#b0b0b0
;
font-size
:
24rem
/
$pxConvertRem
;
margin
:
30rem
/
$pxConvertRem
0
110rem
/
$pxConvertRem
;
}
.walk-way
{
display
:
block
;
height
:
80rem
/
pxConvertRem
;
line-height
:
80rem
/
$pxConvertRem
;
width
:
70%
;
margin
:
0
auto
;
text-align
:
center
;
font-size
:
30rem
/
$pxConvertRem
;
color
:
#fff
;
background
:
#
fff
;
background
:
#
444
;
@include
border-radius
(
5px
);
}
}
...
...
template/m.yohobuy.com/partials/me/order/orders.phtml
View file @
cb0bff1
{
{#if
walkwayUrl
}
}
<div
class=
"no-order"
>
<
span
class=
"iconfont"
>
632
;</span
>
<
div
class=
"icon"
></div
>
<span>你还没有订单</span>
<a
class=
"walk-way"
href=
"{{walkwayUrl}}"
>随便逛逛</a>
</div>
...
...
Please
register
or
login
to post a comment