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
ee648a35dfadb05f5c0890842c0420c85ab9f001
1 parent
6e099f65
星潮教室
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
16 deletions
static/js/guang/collocation-list.js
static/js/guang/collocation-list.js
View file @
ee648a3
...
...
@@ -48,22 +48,22 @@ function scrollHandler() {
}
// 分享成功
// function successShare() {
// $.ajax({
// type: 'POST',
// url: '/guang/starclass/forward',
// success: function(data) {
// var code = data.code;
// if (code === 200) {
// tip.show('分享成功,亲密度+10');
// }
// },
// error: function() {
// tip.show('网络断开连接了~');
// }
// });
// }
window
.
successShare
=
function
()
{
$
.
ajax
({
type
:
'POST'
,
url
:
'/guang/starclass/forward'
,
success
:
function
(
data
)
{
var
code
=
data
.
code
;
if
(
code
===
200
)
{
tip
.
show
(
'分享成功,亲密度+10'
);
}
},
error
:
function
()
{
tip
.
show
(
'网络断开连接了~'
);
}
});
}
$
(
window
).
scroll
(
function
()
{
scrollHandler
();
...
...
Please
register
or
login
to post a comment