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
Email Patches
Plain Diff
Browse Files
Authored by
lore-w
9 years ago
Commit
25491a0509758097f2987166dcbedc0929434e96
1 parent
d7504bfd
点赞js修改
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
13 deletions
static/js/me/suggest.js
static/sass/me/_suggest.scss
static/js/me/suggest.js
View file @
25491a0
...
...
@@ -82,22 +82,22 @@ headerNavHammer.on('tap', function(e) {
}
});
formHammer
=
new
Hammer
(
document
.
getElementById
(
'img-form'
));
if
(
document
.
getElementById
(
'img-form'
)
!==
null
)
{
formHammer
=
new
Hammer
(
document
.
getElementById
(
'img-form'
));
formHammer
.
on
(
'tap'
,
function
(
e
)
{
if
(
$
(
e
.
target
).
hasClass
(
'upload-img-remove'
))
{
$uploadImgList
.
html
(
''
);
imgStr
=
''
;
setTimeout
(
function
()
{
$imgAdd
.
show
();
},
50
);
formHammer
.
on
(
'tap'
,
function
(
e
)
{
if
(
$
(
e
.
target
).
hasClass
(
'upload-img-remove'
))
{
$uploadImgList
.
html
(
''
);
imgStr
=
''
;
setTimeout
(
function
()
{
$imgAdd
.
show
();
},
50
);
}
});
}
});
}
// 点赞与取消点赞
// suggestContentHammer = new Hammer(document.getElementById('suggest-content'));
$likeBtn
.
bind
(
'click'
,
function
()
{
var
id
=
$
(
this
).
closest
(
'.suggest-item'
).
attr
(
'data-id'
),
$that
=
$
(
this
);
...
...
static/sass/me/_suggest.scss
View file @
25491a0
...
...
@@ -110,7 +110,7 @@ $suggest: sprite-map("me/suggest/*.png",$spacing: 5px);
//发表意见
.create-new-suggest
{
display
:
block
;
display
:
inline-
block
;
color
:
#444
;
width
:
100%
;
height
:
pxToRem
(
88px
);
...
...
Please
register
or
login
to post a comment