...
|
...
|
@@ -378,8 +378,10 @@ class ShopModel |
|
|
|
|
|
foreach ($data['resource_data'] as $resource) {
|
|
|
$result[] = array(
|
|
|
'enName'=> $resource['enName'],
|
|
|
'name'=> $resource['name'],
|
|
|
'enName'=> Helpers::isChinese($resource['enName']) ?
|
|
|
Helpers::substrEllipsis($resource['enName'], 5) : Helpers::substrEllipsis($resource['enName'], 10),
|
|
|
'name'=> Helpers::isChinese($resource['name']) ?
|
|
|
Helpers::substrEllipsis($resource['name'], 5) : Helpers::substrEllipsis($resource['name'], 6),
|
|
|
'img'=> self::imageView2($resource['src'], 50, 50),
|
|
|
'title'=> $resource['title'],
|
|
|
'url'=> $resource['url'],
|
...
|
...
|
|