Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOOD
·
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
whb
10 years ago
Commit
df956e100cf0fbe5c1d23e818c5ce4a398674172
1 parent
362da072
测试facebook
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
10 deletions
res/js/mobile.js
res/js/mobile.js
View file @
df956e1
...
...
@@ -159,13 +159,6 @@ define('mobile', function(require, exports) {
$
(
'.scene-content'
).
find
(
'.layout-item'
).
each
(
function
()
{
$
(
this
).
imgZoom
();
});
//获取手机屏幕高宽
/*var width = $(window).width();
//
$("img.lazy").each(function() {
$(this).attr("data-original", $(this).attr("data-original") + "?imageView/2/w/" + width);
});
$("img.lazy").lazyload();*/
};
exports
.
detail
=
function
()
{
...
...
@@ -175,7 +168,7 @@ define('mobile', function(require, exports) {
detailSubtitle
=
$
(
'.detail-title'
).
find
(
'.subtitle'
),
slideSwiper
;
mlellipsis
.
init
();
//多图滑动
if
(
$
(
'.slide-box'
).
find
(
'.box'
).
size
()
>
1
)
{
slideSwiper
=
new
swiper
(
'.slide-box'
,
{
...
...
@@ -188,11 +181,10 @@ define('mobile', function(require, exports) {
autoplayDisableOnInteraction
:
false
});
}
$
(
".header-download-wrap"
).
before
(
'<div style="width:0px;height:0px" id="facebook_cover"><img src="'
+
shareCover
+
'" /></div>'
);
if
(
$
(
'.slide-navigator .dib'
).
find
(
'a'
).
size
()
<=
1
)
{
$
(
'.slide-navigator'
).
hide
();
}
//截字
$
(
'.related-post'
).
find
(
'.content'
).
each
(
function
()
{
$
(
this
)[
0
].
mlellipsis
(
2
);
...
...
Please
register
or
login
to post a comment