c8931e93d65baf5d3e2a35ec9254521a.php 2.9 KB

12345678910111213141516171819202122
  1. <?php /*a:2:{s:61:"D:\project\gyx\gaoyixia\application\user\view\bank\index.html";i:1699858976;s:56:"D:\project\gyx\gaoyixia\application\admin\view\main.html";i:1699858976;}*/ ?>
  2. <div class="layui-card layui-bg-gray"><?php if(!(empty($title) || (($title instanceof \think\Collection || $title instanceof \think\Paginator ) && $title->isEmpty()))): ?><div class="layui-card-header layui-anim layui-anim-fadein notselect"><span class="layui-icon layui-icon-next font-s10 color-desc margin-right-5"></span><?php echo htmlentities((isset($title) && ($title !== '')?$title:'')); ?><div class="pull-right"></div></div><?php endif; ?><div class="layui-card-body layui-anim layui-anim-upbit"><div class="think-box-shadow"><table class="layui-table margin-top-20" lay-skin="line"><thead><tr><th class='text-left nowrap'>会员ID</th><th class='text-left nowrap'>头像</th><th class="text-left nowrap" >真实姓名</th><th class="text-left nowrap" >银行</th><th class="text-left nowrap" >账号</th><th class="text-left nowrap" >时间</th></tr></thead><tbody><?php foreach($list as $key=>$vo): ?><tr><td class='text-left nowrap'><?php echo htmlentities((isset($vo['user_id']) && ($vo['user_id'] !== '')?$vo['user_id']:'')); ?></td><td class='text-left nowrap'><img data-tips-image style="width:20px;height:20px;vertical-align:top" src="<?php echo htmlentities((isset($vo['headimg']) && ($vo['headimg'] !== '')?$vo['headimg']:'')); ?>" class="margin-right-5"></td><td class='text-left nowrap'><?php echo htmlentities((isset($vo['real_name']) && ($vo['real_name'] !== '')?$vo['real_name']:'')); ?></td><td class='text-left nowrap'><?php echo htmlentities((isset($vo['bank_name']) && ($vo['bank_name'] !== '')?$vo['bank_name']:'')); ?></td><td class='text-left nowrap'><?php echo htmlentities((isset($vo['card_no']) && ($vo['card_no'] !== '')?$vo['card_no']:'0')); ?></td><td class='text-left nowrap'><?php echo htmlentities((isset($vo['create_time']) && ($vo['create_time'] !== '')?$vo['create_time']:'0')); ?></td></tr><?php endforeach; ?></tbody></table><?php if(empty($list) || (($list instanceof \think\Collection || $list instanceof \think\Paginator ) && $list->isEmpty())): ?><span class="notdata">没有记录哦</span><?php else: ?><?php echo (isset($pagehtml) && ($pagehtml !== '')?$pagehtml:''); ?><?php endif; ?></div><script> function btn_confirm(msg,fun,id) {
  3. layer.confirm('请确定是否'+msg, {btn: ['确定', '取消'], title: "提示"}, function () {
  4. var url = "/user/bank/"+fun;
  5. layer.closeAll();
  6. $.ajax({
  7. type: "post",
  8. url: url,
  9. data: {id:id},
  10. dataType: "json",
  11. async: false,
  12. success: function (data) {
  13. layer.msg(data.info);
  14. setTimeout(function () {
  15. window.location.reload();
  16. },1000)
  17. }
  18. });
  19. });
  20. }
  21. </script></div></div>