Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-blk
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
1
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
zhangxiaoru
9 years ago
Commit
a76937cdb3e970a19d834efc2cb2b36723fa78b6
1 parent
432e3f12
editorialpre
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
apps/editorial/models/editorial.js
public/js/editorial/detail.page.js
apps/editorial/models/editorial.js
View file @
a76937c
...
...
@@ -461,7 +461,7 @@ const _getArticlePre = (id, appType) => {
id
:
id
,
app_type
:
appType
}).
then
((
result
)
=>
{
//console.log(result.message);
//
console.log(result.message);
// result.code = 200;
// result.data = {
// articleIdPre: 34288,
...
...
@@ -512,7 +512,7 @@ const _getArticleNext = (id, appType) => {
nextArticle
.
nextChapter
=
list
.
title
;
return
nextArticle
;
})
})
;
}
else
{
logger
.
error
(
'The next article is not 200'
);
...
...
public/js/editorial/detail.page.js
View file @
a76937c
...
...
@@ -234,7 +234,7 @@ $('.left').click(function() {
$goods
.
animate
({
left
:
'+=930px'
});
});
console
.
log
(
$
(
'.chapter-left'
).
find
(
'a'
).
text
().
length
)
console
.
log
(
$
(
'.chapter-left'
).
find
(
'a'
).
text
().
length
)
;
if
(
pre
.
text
().
length
>
20
)
{
pre
.
text
(
pre
.
text
().
substring
(
0
,
19
)
+
'...'
);
...
...
Please
register
or
login
to post a comment