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
梁志锋
2015-12-04 19:50:31 +0800
Commit
7c666001a7ab5694022cc9ebf73400d89d1cee94
1 parent
3af3fb97
fix bugs for 商品详情页描述不能换行,以及首页可能喜欢提前一些时间进行按需加载 code review by bikai
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
2 deletions
static/js/home/maybe-like.js
yohobuy/m.yohobuy.com/application/models/Product/Detail.php
static/js/home/maybe-like.js
View file @
7c66600
...
...
@@ -138,7 +138,7 @@ $('.maybe-like p').on('touchstart', function(e) {
});
function
scrollHandler
()
{
if
(
$
(
window
).
scrollTop
()
+
winH
>=
$
(
document
).
height
()
-
5
0
)
{
if
(
$
(
window
).
scrollTop
()
+
winH
>=
$
(
document
).
height
()
-
20
0
)
{
search
();
}
}
...
...
yohobuy/m.yohobuy.com/application/models/Product/Detail.php
View file @
7c66600
...
...
@@ -380,7 +380,6 @@ class DetailModel
'desc'
=>
strtr
(
$productIntro
,
array
(
'\r\n\t'
=>
''
,
'</p>'
=>
''
,
'<br />'
=>
"
\r\n
"
,
'<img src='
=>
"<img class=
\"
lazy
\"
src=
\"
data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==
\"
data-original="
,
)),
);
...
...
Please
register
or
login
to post a comment