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
Plain Diff
Browse Files
Authored by
2586703@qq.com
10 years ago
Commit
9a30bfbc7443df0343e80739bd67dad1fb2e9b73
2 parents
43b72f54
6172931a
Merge branch 'develop' of
http://git.dev.yoho.cn/web/yohood
into develop
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
15 deletions
website/config/Defines.class.php
website/view/widget/news/list.php
website/config/Defines.class.php
View file @
9a30bfb
...
...
@@ -121,8 +121,6 @@ class Config_Defines
define
(
'SHOW_SITE_MAIN'
,
'http://show.test.yoho.cn/'
);
define
(
'YOHOBUY_API'
,
'http://api.open.yohobuy.com/?'
);
define
(
'SITE_PUBLISH_NEWS_SECRET'
,
'123456'
);
define
(
'YOHO_WECHAT_APPID'
,
'wx984e31a227819392'
);
define
(
'YOHO_WECHAT_APPSECRET'
,
''
);
self
::
setCache
(
false
,
false
,
false
,
false
);
}
...
...
website/view/widget/news/list.php
View file @
9a30bfb
...
...
@@ -11,21 +11,8 @@ else
{
$thumb
=
SITE_IMG
.
'/pic01.png'
;
}
$height
=
ceil
(
$thumb_size
[
'height'
]
*
(
308
/
$thumb_size
[
'width'
]));
$width
=
308
;
/*if($thumb_size['height'] < 308 && $thumb_size['width'] < 308)
{
$height = $thumb_size['height'];
$width = $thumb_size['width'];
$width = 308;
}
else
{
$height = ceil($thumb_size['height'] * (308 / $thumb_size['width']));
$width = 308;
}*/
?>
<div
class=
"
<?php
!
isset
(
$video
)
?
'fluid-item'
:
''
;
?>
layout-item tiled"
>
<div
class=
"image-box"
>
...
...
Please
register
or
login
to post a comment