Toggle navigation
Toggle navigation
This project
Loading...
Sign in
chenchao
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to dashboard
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
9 years ago
Commit
cfed190d2f70fae0fca59fe208be8b1189623351
1 parent
df5c449f
修改通栏banner
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
library/Plugin/DataProcess/WebChannel/Process.php
library/Plugin/DataProcess/WebChannel/Process.php
View file @
cfed190
...
...
@@ -118,13 +118,17 @@ class Process
$height
=
450
;
if
(
$data
[
'focus_type'
]
==
1
)
{
foreach
(
$data
[
'data'
]
as
$val
)
{
$ret
=
array
();
$val
[
'src'
]
=
Images
::
getImageUrl
(
$val
[
'src'
],
$width
,
$height
,
1
);
$val
[
'url'
]
=
Helpers
::
transUrl
(
$val
[
'url'
],
$type
);
$
temp
[]
=
array
(
$
ret
=
array
(
'href'
=>
$val
[
'url'
],
'img'
=>
$val
[
'src'
],
'bgColor'
=>
$val
[
'bgColor'
]
);
if
(
!
empty
(
$val
[
'bgColor'
]))
{
$ret
[
'bgColor'
]
=
$val
[
'bgColor'
];
}
$temp
[]
=
$ret
;
}
$result
[
'slide'
][
'list'
]
=
$temp
;
}
...
...
Please
register
or
login
to post a comment