12345678910111213141516171819202122 |
- <?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;}*/ ?>
- <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) {
- layer.confirm('请确定是否'+msg, {btn: ['确定', '取消'], title: "提示"}, function () {
- var url = "/user/bank/"+fun;
- layer.closeAll();
- $.ajax({
- type: "post",
- url: url,
- data: {id:id},
- dataType: "json",
- async: false,
- success: function (data) {
- layer.msg(data.info);
- setTimeout(function () {
- window.location.reload();
- },1000)
- }
- });
- });
- }
- </script></div></div>
|