yellowset.html 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. {template 'public/header'}
  2. {template 'public/comhead'}
  3. <link rel="stylesheet" type="text/css" href="../addons/zh_tcwq/template/public/ygcsslist.css">
  4. <ul class="nav nav-tabs">
  5. <span class="ygxian"></span>
  6. <div class="ygdangq">当前位置:</div>
  7. <li class="active"><a href="{php echo $this->createWebUrl('yellowset')}">黄页入驻设置</a></li>
  8. <!-- {if $count['total']<3} -->
  9. <li><a href="{php echo $this->createWebUrl('addyellowset')}">添加黄页入驻</a></li>
  10. <!-- {/if} -->
  11. </ul>
  12. <div class="main">
  13. <!-- 门店列表部分开始 -->
  14. <div class="panel panel-default">
  15. <div class="panel-heading">
  16. 黄页入驻设置
  17. </div>
  18. <div class="panel-body" style="padding: 0px 15px;">
  19. <div class="row">
  20. <table class="yg5_tabel col-md-12">
  21. <tr class="yg5_tr1">
  22. <td class="store_td1 col-md-1">排序</td>
  23. <td class="col-md-2">天数</td>
  24. <td class="col-md-2">价格</td>
  25. <td class="col-md-3">操作</td>
  26. </tr>
  27. {loop $list $row}
  28. <tr class="yg5_tr2">
  29. <td><div>{$row['num']}</div></td>
  30. <td>
  31. {$row['days']}
  32. </td>
  33. <td>{$row['money']}</td>
  34. <td>
  35. <a href="{php echo $this->createWebUrl('addyellowset', array('id' => $row['id']))}" class="storespan btn btn-xs">
  36. <span class="fa fa-pencil"></span>
  37. <span class="bianji">编辑
  38. <span class="arrowdown"></span>
  39. </span>
  40. </a>
  41. <a href="javascript:void(0);" class="storespan btn btn-xs" data-toggle="modal" data-target="#myModal{$row['id']}">
  42. <span class="fa fa-trash-o"></span>
  43. <span class="bianji">删除
  44. <span class="arrowdown"></span>
  45. </span>
  46. </a>
  47. <!-- <a class="btn btn-warning btn-xs" href="{php echo $this->createWebUrl('addyellowset', array('id' => $row['id']))}" title="编辑">改</a>&nbsp;&nbsp;
  48. <button type="button" class="btn btnblue btn-xs" data-toggle="modal" data-target="#myModal{$row['id']}">删</button> -->
  49. </td>
  50. </tr>
  51. <div class="modal fade" id="myModal{$row['id']}" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
  52. <div class="modal-dialog" role="document">
  53. <div class="modal-content">
  54. <div class="modal-header">
  55. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  56. <h4 class="modal-title" id="myModalLabel" style="font-size: 20px;">提示</h4>
  57. </div>
  58. <div class="modal-body" style="font-size: 20px">
  59. 确定删除么?
  60. </div>
  61. <div class="modal-footer">
  62. <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
  63. <a href="{php echo $this->createWebUrl('yellowset', array('id' => $row['id']))}" type="button" class="btn btn-info" >确定</a>
  64. </div>
  65. </div>
  66. </div>
  67. </div>
  68. {/loop}
  69. {if empty($list)}
  70. <tr class="yg5_tr2">
  71. <td colspan="0">
  72. 暂无商家信息
  73. </td>
  74. </tr>
  75. {/if}
  76. </table>
  77. </div>
  78. </div>
  79. </div>
  80. {$pager}
  81. </div>
  82. <script type="text/javascript">
  83. $(function(){
  84. $("#frame-4").show();
  85. $("#yframe-4").addClass("wyactive");
  86. })
  87. </script>{template 'common/footer'}