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
周少峰
9 years ago
Commit
bc934e357f893b3c4c42d36bc431ed64adf10060
1 parent
9232d009
gulp ge
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
15 deletions
static/dist/myohobuy/4.8.0/index-debug.js
static/dist/myohobuy/4.8.0/index.css
static/dist/myohobuy/4.8.0/index.js
static/dist/myohobuy/4.8.0/index-debug.js
View file @
bc934e3
...
...
@@ -1490,26 +1490,16 @@ function initInfosEvt($container) {
type
:
'POST'
,
url
:
'/guang/opt/collectArticle'
,
data
:
{
id
:
getUrlParam
(
'id'
),
id
:
$info
.
data
(
'id'
),
opt
:
opt
,
yh_channel
:
yhChannel
,
uid
:
getUrlParam
(
'uid'
)
},
success
:
function
(
data
)
{
if
(
data
.
code
&&
data
.
code
===
200
)
{
if
(
data
.
data
.
jump
)
{
if
(
$
(
'#intimacy-link'
).
length
<=
0
)
{
$
(
'body'
).
append
(
'<a href=\''
+
data
.
data
.
jumpUrl
+
'\' style="display:none;" id="intimacy-link">'
+
'<span class="intimacy-link"></span></a>'
);
}
$
(
'.intimacy-link'
).
click
();
}
else
{
//切换收藏状态
$btn
.
toggleClass
(
'collected'
);
}
//切换收藏状态
$btn
.
toggleClass
(
'collected'
);
}
},
error
:
function
()
{
...
...
@@ -9664,7 +9654,7 @@ function search(opt) {
$listNav
.
children
(
'.active'
).
removeClass
(
'active'
);
$pre
.
addClass
(
'active'
);
if
(
opt
.
id
)
{
if
(
opt
.
hasOwnProperty
(
'id'
)
)
{
switch
(
opt
.
type
)
{
case
'shop_id'
:
ext
=
{
...
...
@@ -10027,7 +10017,7 @@ $listNav.on('touchstart', 'li', function(e) {
$nav2
.
on
(
'touchstart'
,
'li'
,
function
(
e
)
{
$
(
this
).
addClass
(
'bytouch'
);
}).
on
(
'touchend touchcancel'
,
function
()
{
$
listNav
.
find
(
'li'
).
removeClass
(
'bytouch'
);
$
nav2
.
find
(
'li'
).
removeClass
(
'bytouch'
);
myScroll
.
refresh
();
});
...
...
static/dist/myohobuy/4.8.0/index.css
View file @
bc934e3
This diff could not be displayed because it is too large.
static/dist/myohobuy/4.8.0/index.js
View file @
bc934e3
This diff could not be displayed because it is too large.
Please
register
or
login
to post a comment