12345678910111213141516171819202122232425262728293031323334353637383940 |
- <div id="actionbar">
- <a href="{:url('adwords/add',['group' => $group])}" class="button button-blue"> <i class="iconfont icon-add_icon"></i>增加</a>
- </div>
- <table class="table">
- <thead>
- <tr>
- <th class="w60 fn-tac">排序</th>
- <th class="w90 fn-tac">内容</th>
- <th>链接地址</th>
- <th class="w200">打开方式</th>
- <th class="w140">更新时间</th>
- <th class="w160 fn-tac">操作</th>
- </tr>
- </thead>
- <tbody>
- {foreach $lists as $vo}
- <tr>
- <td class="fn-tac"><input name="sort" class="fn-tac w40 input input-mini" type="text" value="{$vo['sort']}" id="{$vo.id}" /></td>
- <td class="fn-tac"><a href="{:url('adwords/edit',['id'=>$vo.id])}"><img src="{$vo.picture}" style="max-width:80px;" /></a></td>
- <td>【<span class="blue">{$vo.title}</span>】{$vo.link|dehtml}</td>
- <td>
- {if $vo.open_type =='navigate'}保留并跳转到新页面{elseif $vo.open_type =='redirect'}关闭并跳转到新页面{else}关闭并跳转Tab页面{/if}
- </td>
- <td>{$vo.update_time|date='Y-m-d H:i'}</td>
- <td class="button-group fn-tac">
- <a class="button" href="{:url('adwords/edit',array('id'=>$vo.id))}" title="编辑"><i class="iconfont icon-edit"></i>编辑</a>
- <a class="button isDel" url="{:url('adwords/delete',array('id'=>$vo.id))}" href="javascript:;" title="删除"><i class="iconfont icon-lajixiang"></i>删除</a>
- </td>
- </tr>
- {/foreach}
- </tbody>
- </table>
- {$lists|raw}
- <script type="text/javascript">
- Do('base', 'layer', function () {
- $('.isDel').isDel();
- sort("{:url('adwords/sort')}");
- })
- </script>
|