paycenter.html 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. {template 'common/header'}
  2. </style>
  3. <ul class="nav nav-tabs">
  4. <li class="{$active8}"><a href="{php echo $this->createWebUrl('typeList');}">产品列表</a></li>
  5. <li class="{$active7}"><a href="{php echo $this->createWebUrl('payList');}">支付记录</a></li>
  6. </ul>
  7. {if $active8== 'active'}
  8. <div class="clearfix" ng-controller="memberProperty" id="memberProperty">
  9. <div class="panel panel-default">
  10. <div class="panel-heading">
  11. 续费产品列表 <a target="_blank" class="label label-success" href="{$openurl}"> 预览[请在微信打开]</a>
  12. </div>
  13. <div class="panel-body">
  14. <table class="table table-hover">
  15. <thead>
  16. <tr>
  17. <th>名称</th>
  18. <th>类型</th>
  19. <th>价格</th>
  20. <th>操作</th>
  21. <th>操作</th>
  22. </tr>
  23. </thead>
  24. <tbody id="list">
  25. {loop $navmsg $index $items}
  26. <tr>
  27. <th> {$items['title']} </th>
  28. <th> {$items['type']} </th>
  29. <th> {$items['jiage']} </th>
  30. <th> <a href="{php echo $this->createWebUrl('typeList')}&sid={$items['id']}"> 编辑 </a> </th>
  31. <th>
  32. <form action="{php echo $this->createWebUrl('Delfeetype')}" method="post">
  33. <input type="hidden" name="id" value="{$items['id']}" />
  34. <input name="submit" type="submit" value="删除" class="btn btn-primary">
  35. </form>
  36. </th>
  37. </tr>
  38. {/loop}
  39. </tbody>
  40. </table>
  41. </div>
  42. </div>
  43. </div>
  44. <div class="clearfix" ng-controller="memberProperty" id="memberProperty">
  45. <form action="{php echo $this->createWebUrl('savefeetype');}" method="post" class="form-horizontal">
  46. <div class="panel panel-default">
  47. <div class="panel-heading">
  48. {if $add}
  49. 编辑产品
  50. {else}
  51. 添加产品
  52. {/if}
  53. </div>
  54. <div class="panel-body">
  55. <label class="col-xs-12 col-sm-3 col-md-2 control-label">名称</label>
  56. <div class="col-sm-9 col-xs-12">
  57. <input type="text" name="title" value="{$s[0]['title']}" class="form-control">
  58. <span class="help-block">如:</span>
  59. </div>
  60. <label class="col-xs-12 col-sm-3 col-md-2 control-label">分类</label>
  61. <div class="col-sm-9 col-xs-12">
  62. <input type="text" name="type" value="{$s[0]['type']}" class="form-control">
  63. <span class="help-block">如:次 时长 </span>
  64. <span class="help-block"></span>
  65. </div>
  66. <label class="col-xs-12 col-sm-3 col-md-2 control-label">金额</label>
  67. <div class="col-sm-9 col-xs-12">
  68. <input type="text" name="jiage" value="{$s[0]['jiage']}" class="form-control">
  69. <span class="help-block">单位:元</span>
  70. </div>
  71. <label class="col-xs-12 col-sm-3 col-md-2 control-label">图片</label>
  72. <div class="col-sm-9 col-xs-12">
  73. {php echo tpl_form_field_image('add1', $s[0]['add1']);}
  74. <span class="help-block"> </span>
  75. </div>
  76. <label class="col-xs-12 col-sm-3 col-md-2 control-label">详细介绍</label>
  77. <div class="col-sm-9 col-xs-12">
  78. {php echo tpl_ueditor("detail", $s[0]['detail'], $options = array("height"=>500));}
  79. <span class="help-block"> </span>
  80. </div>
  81. </div>
  82. </div>
  83.      <div class="form-group col-sm-12">
  84. <input type="hidden" name="add" value="{$add}" />
  85. <input type="hidden" name="sid" value="{$s[0]['id']}" />
  86. <input name="submit" type="submit" value="保存" class="btn btn-primary">
  87. </div>
  88. </form>
  89. </div>
  90. <div class="clearfix" ng-controller="memberProperty" id="memberProperty">
  91. <div class="panel panel-default">
  92. <div class="panel-heading">
  93. 扫码预览
  94. </div>
  95. <div class="panel-body">
  96. <img src="{$erweima}">
  97. </div>
  98. </div>
  99.      <div class="form-group col-sm-12">
  100. </div>
  101. </div>
  102. {else}
  103. {/if}
  104. {if $active7 == 'active'}
  105. <div class="clearfix" ng-controller="memberProperty" id="memberProperty">
  106. {if $isfounder==true}
  107. <div class="panel panel-default">
  108. <div class="panel-heading">
  109. 操作记录
  110. </div>
  111. <div class="panel-body">
  112. <div class="form-group">
  113. <table class="table table-hover">
  114. <tr><th> 操作人 </th><th> 详情 </th> <th> 时间 </th>
  115. {loop $alllist $indexid $nav}
  116. <tr>
  117. <th width=20%> {$nav['laiyuan']}</th>
  118. <th width=20%> {$nav['beizhu']}</th>
  119. <th width=20%> {php echo date('Y-m-d h:i:s',($nav['updatetime']));}</th>
  120. </tr>
  121. {/loop}
  122. </table>
  123. <div class="form-controls col-sm-3 help-block"> </div>
  124. </div>
  125. </div>
  126. {else} 无权限 {/if}
  127. </div>
  128. {else}
  129. {/if}
  130. {template 'common/footer'}