Commit 897f47b75691cac663c73e5fa93a522e98a83bc3

Authored by teemitop
1 parent 08168752

bug修复

... ... @@ -313,7 +313,7 @@ class Seller extends Common
foreach($array['data'][0]['data'] as $key=>$value){
if(!empty($value['activity'])){
foreach ($value['activity'] as $k => $v) {
$str[$key][] = $v['id'].'、'.$v['title'];
$str[$key][] = ($k+1).'、'.$v['title'];
}
$array['data'][0]['data'][$key]['activity'] = implode('<br/>', $str[$key]);
//$array['data'][0]['data'][$key]['activity'] = implode('<br/>', array_column($value['activity'], 'title'));
... ...
... ... @@ -15,9 +15,9 @@
</tr>
</thead>
{if $seller_activity}
{foreach $seller_activity as $vo}
{foreach $seller_activity as $key=>$vo}
<tr>
<th>{$vo.id}</th>
<th>{$key+1}</th>
<th>{$vo.sid}</th>
<th>{$vo.title}</th>
<th>{$vo.desc}</th>
... ...