暫無描述
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pay_api_index.htm 3.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. {include file="public/layout"/}
  2. <body class="bodystyle" style=" overflow-y: scroll; min-width: auto;">
  3. <div id="toolTipLayer" style="position: absolute; z-index: 9999; display: none; visibility: visible; left: 95px; top: 573px;"></div>
  4. <div id="append_parent"></div>
  5. <div id="ajaxwaitid"></div>
  6. <div class="page min-hg-c-10" style="min-width:auto;">
  7. {include file="system/bar" /}
  8. <div class="flexigrid">
  9. <!-- <div class="mDiv">
  10. <div class="ftitle">
  11. <h3>支付接口列表</h3>
  12. </div>
  13. <div title="刷新数据" class="pReload"><i class="fa fa-refresh"></i></div>
  14. </div> -->
  15. <div class="plug-list">
  16. {empty name="list"}
  17. <div class="bDiv" style="height: auto;">
  18. <div id="flexigrid" cellpadding="0" cellspacing="0" border="0">
  19. <table style="width: 100%">
  20. <tbody>
  21. <tr>
  22. <td class="no-data" align="center" axis="col0" colspan="50">
  23. <div class="no_row">
  24. <div class="no_pic"><img src="__SKIN__/images/null-data.png"></div>
  25. </div>
  26. </td>
  27. </tr>
  28. </tbody>
  29. </table>
  30. </div>
  31. <div class="iDiv" style="display: none;"></div>
  32. </div>
  33. {else /}
  34. {foreach name="list" item="vo" key="k" }
  35. <div class="plug-item-content">
  36. <div class="plug-item-top">
  37. <div class="plug-img">
  38. <a href="JavaScript:void(0);"><img src="{$vo.litpic|get_default_pic=###}"></a>
  39. </div>
  40. <div class="plug-text">
  41. <div class="plug-text-title">
  42. <a href="JavaScript:void(0);">{$vo.pay_name}</a>
  43. </div>
  44. <div class="plug-text-versions">
  45. <span>{eq name="$vo.system_built" value="1"}系统内置{else/}插件应用{/eq}</span>
  46. </div>
  47. <!-- <div class="plug-text-des">暂无描述</div> -->
  48. </div>
  49. </div>
  50. <div class="plug-item-bottm">
  51. <a href="JavaScript:void(0);" onclick="PayApiConfig({$vo.pay_id}, '{$vo.pay_name}');">配置</a>
  52. </div>
  53. </div>
  54. {/foreach}
  55. {/empty}
  56. </div>
  57. </div>
  58. </div>
  59. <script type="text/javascript">
  60. $(document).ready(function(){
  61. // 表格行点击选中切换
  62. $('#flexigrid > table>tbody >tr').click(function(){
  63. $(this).toggleClass('trSelected');
  64. });
  65. // 点击刷新数据
  66. $('.fa-refresh').click(function(){
  67. location.href = location.href;
  68. });
  69. });
  70. function PayApiConfig(pay_id, title) {
  71. if (!pay_id) return false;
  72. var url = "{:url('PayApi/open_pay_api_config')}";
  73. //iframe窗
  74. var iframes = layer.open({
  75. type: 2,
  76. title: title,
  77. fixed: true,
  78. shadeClose: false,
  79. shade: layer_shade,
  80. area: ['100%', '100%'], //宽高
  81. content: url + '&pay_id=' + pay_id
  82. });
  83. layer.full(iframes);
  84. }
  85. </script>
  86. {include file="public/footer" /}