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
Email Patches
Plain Diff
Browse Files
Authored by
biao
9 years ago
Commit
f8a8833af3ba20a6dd4449065e23d1d1a69f4d99
1 parent
60f943d2
fix issues: 1.我要咨询不跳转; 2.第三方登录重复发送验证码; 3. 加入购物页面,商品的图片被拉伸. code review by LZF
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
4 deletions
static/js/passport/bind/bind.js
static/js/product/detail/comments-consults.js
static/sass/cart/_chose-panel.scss
template/m.yohobuy.com/actions/product/detail/index.phtml
static/js/passport/bind/bind.js
View file @
f8a8833
...
...
@@ -20,7 +20,15 @@ var api = require('../api'),
var
trim
=
$
.
trim
;
var
showErrTip
=
tip
.
show
;
var
requesting
=
false
;
function
nextStep
(
url
,
mobileNo
,
areaCode
)
{
if
(
requesting
)
{
return
false
;
}
requesting
=
true
;
$
.
ajax
({
type
:
'POST'
,
url
:
'/passport/bind/sendBindMsg'
,
...
...
@@ -31,9 +39,13 @@ function nextStep(url, mobileNo, areaCode) {
success
:
function
(
res
)
{
console
.
log
(
res
.
data
);
location
.
href
=
url
;
requesting
=
false
;
},
error
:
function
()
{
tip
.
show
(
'出错了,请重试!'
);
requesting
=
false
;
}
});
}
...
...
static/js/product/detail/comments-consults.js
View file @
f8a8833
...
...
@@ -65,7 +65,7 @@ if (navtabHammer) {
if
(
gotoConsultHammer
)
{
gotoConsultHammer
.
on
(
'tap'
,
function
()
{
location
.
href
=
$
(
gotoConsultEle
).
data
(
'href'
);
location
.
href
=
$
(
gotoConsultEle
).
find
(
'a'
).
attr
(
'href'
);
});
}
...
...
static/sass/cart/_chose-panel.scss
View file @
f8a8833
...
...
@@ -40,7 +40,6 @@
.thumb
{
float
:
left
;
width
:
80rem
/
$pxConvertRem
;
height
:
106rem
/
$pxConvertRem
;
}
.text-info
{
...
...
template/m.yohobuy.com/actions/product/detail/index.phtml
View file @
f8a8833
...
...
@@ -93,9 +93,9 @@
{
{#if
consultsNum
}
}
{
{>
product/feedback-tab
}
}
{
{else
}
}
<div
class=
"nodata tap-hightlight"
>
<div
class=
"nodata tap-hightlight"
id=
"goto-consult"
>
<span>暂无商品评价和咨询</span>
<a
href=
"{{
link
}}"
class=
"go-consult"
>我要咨询<span
class=
"iconfont"
>
604
;</span></a>
<a
href=
"{{
consultsUrl
}}"
class=
"go-consult"
>我要咨询<span
class=
"iconfont"
>
604
;</span></a>
</div>
{
{/if
}
}
{
{/if
}
}
...
...
Please
register
or
login
to post a comment