Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHO-ACTIVITY-PHP
·
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
Plain Diff
Browse Files
Authored by
hf
9 years ago
Commit
cc41f982f201deb4a10256d437e9c074855cbf1d
2 parents
36504ad9
c4502e67
Merge remote-tracking branch 'origin/develop'
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
4 deletions
static/js/guang/plus-star/detail.js
static/sass/product/_list.scss
template/m.yohobuy.com/actions/guang/plusstar/detail.phtml
yohobuy/m.yohobuy.com/application/modules/Passport/controllers/Back.php
static/js/guang/plus-star/detail.js
View file @
cc41f98
...
...
@@ -19,6 +19,8 @@ var tip = require('../../plugin/tip');
var
brandId
=
$
(
'#brand-info'
).
data
(
'id'
);
var
jumpToApp
=
$
(
'#jump-to-app'
).
val
();
var
mIntro
,
aIntro
;
var
moreHammer
,
likeHammer
;
...
...
@@ -71,6 +73,12 @@ likeHammer.on('tap', function(e) {
var
opt
=
'ok'
,
$this
=
$
(
e
.
target
);
//jumpToApp = 1表示APP未登录的情况,此时不发送ajax请求而由a链接直接跳转APP
if
(
jumpToApp
===
'1'
)
{
return
;
}
e
.
preventDefault
();
if
(
$this
.
hasClass
(
'like'
))
{
...
...
static/sass/product/_list.scss
View file @
cc41f98
...
...
@@ -31,11 +31,16 @@
}
.search
{
float
:
right
;
margin-top
:
6px
;
position
:
absolute
;
top
:
7px
;
right
:
0
;
border
:
none
;
background
:
transparent
;
font-size
:
16px
;
width
:
3rem
;
height
:
30px
;
overflow
:
hidden
;
line-height
:
30px
;
}
}
...
...
template/m.yohobuy.com/actions/guang/plusstar/detail.phtml
View file @
cc41f98
...
...
@@ -52,6 +52,8 @@
</div>
{
{/if
}
}
<input
id=
"jump-to-app"
type=
"hidden"
value=
{
{jumpToApp
}
}>
{
{!--
wx-share
--
}
}
<input
id=
"shareLink"
type=
"hidden"
value=
{
{shareLink
}
}>
<input
id=
"shareImg"
type=
"hidden"
value=
{
{shareImg
}
}>
...
...
yohobuy/m.yohobuy.com/application/modules/Passport/controllers/Back.php
View file @
cc41f98
...
...
@@ -238,14 +238,14 @@ class BackController extends AbstractAction
$result
=
BackData
::
validateMobileCode
(
$phoneNum
,
$code
,
$areaCode
);
if
(
$result
[
'code'
]
===
200
)
{
$result
[
'data'
]
=
'/passport/back/
password
?phoneNum='
.
$phoneNum
.
'&token='
.
$result
[
'data'
][
'token'
]
.
'&areaCode='
.
$areaCode
;
$result
[
'data'
]
=
'/passport/back/
backcode
?phoneNum='
.
$phoneNum
.
'&token='
.
$result
[
'data'
][
'token'
]
.
'&areaCode='
.
$areaCode
;
}
$this
->
echoJson
(
$result
);
}
}
public
function
password
Action
()
public
function
backcode
Action
()
{
$phoneNum
=
$this
->
get
(
'phoneNum'
,
''
);
// 手机验证令牌
...
...
Please
register
or
login
to post a comment