SDK菜单修改

master
Your Name 5 years ago
parent ed3ce2b4b5
commit 7466b90d13

@ -20,6 +20,7 @@ class SdkMenuController extends ThinkController{
foreach($config as $k => $v) foreach($config as $k => $v)
{ {
$config[$k]['icon'] = is_https()?'https://':'http://' . $_SERVER['HTTP_HOST'] . $v['icon']; $config[$k]['icon'] = is_https()?'https://':'http://' . $_SERVER['HTTP_HOST'] . $v['icon'];
$config[$k]['type'] = $this->but_type[$v['type']];
} }
} }
$this->assign('list',$config); $this->assign('list',$config);

@ -54,11 +54,7 @@
<td>{$channel.title}</td> <td>{$channel.title}</td>
<td><img src="{$channel.icon}"></td> <td><img src="{$channel.icon}"></td>
<td>{$channel.url}</td> <td>{$channel.url}</td>
<IF condition="$channel.type == 1"> <td>{$channel.type}</td>>
<td>原生</td>
<ELSE />
<td>H5页面</td>
</IF>
<td>{$channel.act}</td> <td>{$channel.act}</td>
<td>{$channel.ios_url}</td> <td>{$channel.ios_url}</td>
<td> <td>

Loading…
Cancel
Save