Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
Rock Zhang
9 years ago
Commit
040e893866f19c0dbb27a8338f3ddf36cfc0e7e5
2 parents
9f5500cc
03b6496d
Merge branch 'develop' of git.dev.yoho.cn:web/yohobuy into develop
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
14 deletions
static/js/me/order.js
static/js/product/detail/comments-consults.js
static/sass/me/_coupons.scss
template/m.yohobuy.com/actions/index/home/coupon_list.phtml
template/m.yohobuy.com/actions/product/detail/consults.phtml
static/js/me/order.js
View file @
040e893
...
...
@@ -37,7 +37,7 @@ function getOrders(option) {
page
:
order
.
page
+
1
};
var
show
=
option
&&
option
.
show
LoadingMask
;
var
show
=
option
&&
!
option
.
no
LoadingMask
;
if
(
inAjax
)
{
return
;
...
...
static/js/product/detail/comments-consults.js
View file @
040e893
...
...
@@ -13,7 +13,11 @@ var consultFooterEle = document.getElementById('consult-content-footer'),
consultFooterHammer
=
consultFooterEle
&&
new
Hammer
(
consultFooterEle
),
navtabEle
=
document
.
getElementById
(
'nav-tab'
),
navtabHammer
=
navtabEle
&&
new
Hammer
(
navtabEle
);
navtabHammer
=
navtabEle
&&
new
Hammer
(
navtabEle
),
gotoConsultEle
=
document
.
getElementById
(
'goto-consult'
),
gotoConsultHammer
=
gotoConsultEle
&&
new
Hammer
(
gotoConsultEle
);
(
function
()
{
...
...
@@ -50,10 +54,10 @@ if (navtabHammer) {
if
(
!
$this
.
hasClass
(
'focus'
))
{
$
(
'#nav-tab li'
).
each
(
function
()
{
$
this
.
removeClass
(
'focus'
);
$
(
this
)
.
removeClass
(
'focus'
);
});
$
(
'#feedback-content .content'
).
each
(
function
()
{
$
this
.
addClass
(
'hide'
);
$
(
this
)
.
addClass
(
'hide'
);
});
$this
.
addClass
(
'focus'
);
...
...
@@ -67,4 +71,10 @@ if (consultFooterHammer) {
consultFooterHammer
.
on
(
'tap'
,
function
()
{
location
.
href
=
$
(
consultFooterEle
).
find
(
'a'
).
attr
(
'href'
);
});
}
if
(
gotoConsultHammer
)
{
gotoConsultHammer
.
on
(
'tap'
,
function
()
{
location
.
href
=
$
(
gotoConsultEle
).
find
(
'a'
).
attr
(
'href'
);
});
}
\ No newline at end of file
...
...
static/sass/me/_coupons.scss
View file @
040e893
...
...
@@ -47,14 +47,15 @@
font-size
:
50px
;
}
p
{
width
:
5
5
.517241%
;
width
:
5
9
.517241%
;
height
:
auto
;
padding
:
0
5%
18
em
/
$pxConvertRem
;
margin
:
0
3%
16
em
/
$pxConvertRem
;
float
:
left
;
&
:first-of-type
{
padding
-top
:
0
.75rem
;
margin
-top
:
0
.75rem
;
font-size
:
18px
;
height
:
76rem
/
$pxConvertRem
;
height
:
auto
;
min-height
:
42px
;
display
:
-
webkit-box
;
-webkit-line-clamp
:
2
;
-webkit-box-orient
:
vertical
;
...
...
template/m.yohobuy.com/actions/index/home/coupon_list.phtml
View file @
040e893
{
{#coupons
}
}
<div
class=
"employ-main"
style=
"background-image:url('{{coupon_pic}}')"
>
<div
class=
"employ-main"
>
<span>
{
{
money
}
}</span>
<p
class=
"coupon-name"
>
{
{
coupon_name
}
}</p>
<p>有效期:
{
{
couponValidity
}
}</p>
...
...
template/m.yohobuy.com/actions/product/detail/consults.phtml
View file @
040e893
{
{>
layout/header
}
}
<div
class=
"goods-consults-page yoho-page"
>
<div
class=
"goto-consult"
>
<i
class=
"iconfont consult-logo"
>
639
;</i>
<span>我要咨询</span>
<a
href=
"{{link}}"
class=
"iconfont enter-consult-page"
>
604
;</a>
</div>
<div
class=
"goto-consult"
id=
"goto-consult"
>
<i
class=
"iconfont consult-logo"
>
639
;</i>
<span>我要咨询</span>
<a
href=
"{{link}}"
class=
"iconfont enter-consult-page"
>
604
;</a>
</div>
{
{#
consults
}
}
<div
class=
"goods-consults"
id=
"goods-consults"
>
{
{#list
}
}
...
...
Please
register
or
login
to post a comment