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
61b5b51544dc0144f094d7e2f6a190a78e58bcb2
1 parent
5f4cf207
guang article list image distortion
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
library/WebPlugin/Helpers.php
library/WebPlugin/Helpers.php
View file @
61b5b51
...
...
@@ -359,7 +359,7 @@ class Helpers
$result
[
'classification'
]
=
$articleData
[
'category_name'
];
$result
[
'isReco'
]
=
$articleData
[
'is_recommended'
]
?
true
:
false
;
$result
[
'url'
]
=
$isApp
?
$articleData
[
'url'
]
:
self
::
url
(
'/'
.
$articleData
[
'id'
]
.
'.html'
,
array
(),
'guang'
);
$result
[
'img'
]
=
self
::
getImageUrl
(
$articleData
[
'src'
],
$width
,
$height
);
$result
[
'img'
]
=
self
::
getImageUrl
(
$articleData
[
'src'
],
$width
,
$height
,
1
);
$result
[
'isSquareImg'
]
=
$isSquareImage
;
$result
[
'title'
]
=
$articleData
[
'title'
];
if
(
empty
(
$articleData
[
'author'
])){
...
...
Please
register
or
login
to post a comment