express.html 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <extend name="Public:base" />
  2. <block name="content">
  3. <div class="page-header">
  4. <a href="{:U('SellerManage/addexpress')}" class="btn btn-primary">新增</a>
  5. </div>
  6. <div class="row">
  7. <div class="col-xs-12">
  8. <div class="alert alert-block alert-success">
  9. 请<a href="http://pinduoduo.liofis.com/ExpressCode.xls" target="_blank">点击下载快递简码</a>填写对应快递的简码,否则查询将失败<br>
  10. </div>
  11. </div>
  12. <div class="col-xs-12 search-row">
  13. <div class="panel-body">
  14. <ul class="nav nav-tabs">
  15. <li <?php if($type == 0){ ?>class="active" <?php } ?>><a href="{:U('SellerManage/express')}">全部快递</a></li>
  16. <li <?php if($type == 1){ ?>class="active" <?php } ?>><a href="{:U('SellerManage/config')}">快递参数配置</a></li>
  17. </ul>
  18. </div>
  19. </div>
  20. <div class="col-xs-12">
  21. <div class="table-responsive">
  22. <table class="table table-striped table-bordered table-hover">
  23. <thead>
  24. <tr>
  25. <th>快递名称</th>
  26. <th>快递简码</th>
  27. <th>添加时间</th>
  28. <th>操作</th>
  29. </tr>
  30. </thead>
  31. <tbody>
  32. <volist name="list" id="data" empty="$empty">
  33. <tr>
  34. <td>{$data.express_name}</td>
  35. <td>{$data.jianma}</td>
  36. <td><?php echo date('Y-m-d H:i:s', $data['addtime']); ?></td>
  37. <td>
  38. <a class="btn btn-xs btn-info" href='{:U("SellerManage/editexpress",array("id"=>$data["id"]))}'>
  39. <i class="icon-edit bigger-120"></i>
  40. </a>
  41. <a class="delete btn btn-xs btn-danger" href='{:U("SellerManage/delexpress",array("id"=>$data["id"]))}' >
  42. <i class="icon-trash bigger-120"></i>
  43. </a>
  44. </td>
  45. </tr>
  46. </volist>
  47. <tr>
  48. <td colspan="5" class="page">{$page}</td>
  49. </tr>
  50. </tbody>
  51. </table>
  52. </div>
  53. </div>
  54. </div>
  55. </block>