<?php /*a:2:{s:71:"/home/ambooshc/public_html/application/admin/view/deal/lixibao_log.html";i:1628473178;s:59:"/home/ambooshc/public_html/application/admin/view/main.html";i:1637064002;}*/ ?>
<div class="layui-card layui-bg-gray"><style>        .layui-tab-card>.layui-tab-title .layui-this {
            background-color: #fff;
        }
    </style><?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"><fieldset><legend>条件搜索</legend><form class="layui-form layui-form-pane form-search" action="<?php echo request()->url(); ?>" onsubmit="return false" method="get" autocomplete="off"><div class="layui-form-item layui-inline"><label class="layui-form-label">用户名称</label><div class="layui-input-inline"><input name="username" value="<?php echo htmlentities((app('request')->get('username') ?: '')); ?>" placeholder="请输入用户名称" class="layui-input"></div></div><div class="layui-form-item layui-inline"><label class="layui-form-label">发起时间</label><div class="layui-input-inline"><input data-date-range name="addtime" value="<?php echo htmlentities((app('request')->get('addtime') ?: '')); ?>" placeholder="请选择发起时间" class="layui-input"></div></div><div class="layui-form-item layui-inline"><label class="layui-form-label">类型</label><div class="layui-input-inline"><select name="type" id="selectList"><option value="">所有类型</option><option value="1">利息宝转入</option><option value="2">利息宝转出</option><option value="3">每日收益</option></select></div></div><div class="layui-form-item layui-inline"><button class="layui-btn layui-btn-primary"><i class="layui-icon">&#xe615;</i> 搜 索</button></div></form></fieldset><script>form.render()</script><table class="layui-table margin-top-15" lay-skin="line"><?php if(!(empty($list) || (($list instanceof \think\Collection || $list instanceof \think\Paginator ) && $list->isEmpty()))): ?><thead><tr><th class='list-table-check-td think-checkbox'><input data-auto-none data-check-target='.list-check-box' type='checkbox'></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><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><?php endif; ?><tbody><?php foreach($list as $key=>$vo): ?><tr><td class='list-table-check-td think-checkbox'><input class="list-check-box" value='<?php echo htmlentities($vo['id']); ?>' type='checkbox'></td><td class='text-left nowrap'><?php echo htmlentities($vo['id']); ?></td><td class='text-left nowrap'><?php echo htmlentities($vo['username']); ?></td><td class='text-left nowrap'><?php echo config("currency"); ?><?php echo htmlentities($vo['num']); ?></td><td class='text-left nowrap'><?php echo config("currency"); ?><?php echo htmlentities($vo['yuji_num']); ?></td><td class='text-left nowrap'><?php echo config("currency"); ?><?php echo htmlentities($vo['real_num']); ?></td><td class='text-left nowrap'><?php echo htmlentities(format_datetime($vo['addtime'])); ?></td><td class='text-left nowrap'><?php switch($vo['type']): case "1": ?>转入利息宝<?php break; case "2": ?>利息宝转出<?php break; case "3": ?>每日收益<?php break; ?><?php endswitch; ?></td><td class='text-left nowrap'><?php switch($vo['is_sy']): case "1": ?>正常收益<?php break; case "0": ?>理财中<?php break; case "-1": ?>提前提取<?php break; ?><?php endswitch; ?></td><td class='text-left nowrap'><?php switch($vo['is_qu']): case "1": ?>已提取(<?php echo htmlentities($vo['shouxu']); ?>)<?php break; case "0": break; ?><?php endswitch; ?></td><td class='text-left nowrap'><?php switch($vo['status']): case "1": ?>已完成<?php break; case "0": ?>冻结中<?php break; ?><?php endswitch; ?></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; ?><script>
        var test = "<?php echo htmlentities((app('request')->get('type') ?: '0')); ?>";
        $("#selectList").find("option[value="+test+"]").prop("selected",true);

        form.render()
    </script></div></div></div><script>//    layui.use('element', function(){
//        var element = layui.element;
//
//        element.tabAdd('demo', {
//            title: '选项卡的标题'
//            ,content: '选项卡的内容' //支持传入html
//            ,id: '选项卡标题的lay-id属性值'
//        });
//
//        //获取hash来切换选项卡，假设当前地址的hash为lay-id对应的值
//        var layid = location.hash.replace(/^#test1=/, '');
//        element.tabChange('test1', layid); //假设当前地址为：http://a.com#test1=222，那么选项卡会自动切换到“发送消息”这一项
//
//        //监听Tab切换，以改变地址hash值
//        element.on('tab(test1)', function(){
//            location.hash = ''+ this.getAttribute('lay-id');
//        });
//    });

</script>