<?php /*a:1:{s:67:"/home/ambooshc/public_html/application/index/view/ctrl/lixibao.html";i:1675496711;}*/ ?>
<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><title><?php echo htmlentities(app('lang')->get('lxb_title')); ?></title><meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no,viewport-fit=cover"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black"><link rel="stylesheet" href="/alllang/static/css/light7.css"><link rel="stylesheet" href="/alllang/static/css/light7-swiper.css"><link rel="stylesheet" href="/alllang/static/css/iconfont.css"><link rel="stylesheet" href="/alllang/static/css/common.css"><link rel="stylesheet" href="/alllang/static/css/deposit.css"><link rel="stylesheet" href="/alllang/static/css/account.css"></head><body><div class="page bgc-f3" id="unlock"><header class="bar bar-nav fxbt"><a href="<?php echo url('index/home'); ?>" class="icon icon-left pull-left"></a><div class="title"><?php echo htmlentities(app('lang')->get('lxb_title')); ?></div></header><div class="content scroll-wrapper"><div class="big-box"><div class="level-box"><div class="level-box--item"><div class="dajkeh"><?php echo htmlentities(app('lang')->get('lxb_zzc')); ?></div><div class="ddoekjh">R<?php echo htmlentities($ubalance); ?></div></div><div class="level-box--item"><div class="dajkeh"><?php echo htmlentities(app('lang')->get('lxb_yeb')); ?></div><div class="ddoekjh">+R<?php echo htmlentities($balance); ?></div></div><div class="level-box--item"><div class="dajkeh"><?php echo htmlentities(app('lang')->get('lxb_zsy')); ?></div><div class="ddoekjh">+R<?php echo htmlentities($balance_shouru); ?></div></div><div class="level-box--item"><div class="dajkeh"><?php echo htmlentities(app('lang')->get('lxb_zrsy')); ?></div><div class="ddoekjh">R<?php echo htmlentities($yes_shouyi); ?></div></div></div><div class="wdal-box"><div class="label dwa"><?php echo htmlentities(app('lang')->get('lxb_zrje')); ?>&nbsp;&nbsp;</div><div class="value"><input type="number" name="price" id="price" placeholder="<?php echo htmlentities(app('lang')->get('lxb_qsrzrje')); ?>"></div></div><div class="wdal-box"><div class="label dwa"><?php echo htmlentities(app('lang')->get('lxb_yjsy')); ?></div><div class="value" id="revenue">0.00
              <!-- <input type="password" name="" placeholder="Input fund password"> --></div></div><div class="product__wrap"><?php if($lixibao): if(is_array($lixibao) || $lixibao instanceof \think\Collection || $lixibao instanceof \think\Paginator): $i = 0; $__LIST__ = $lixibao;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?><div class="sjakeh" data-id="<?php echo htmlentities($v['id']); ?>" onclick="yjsy1(<?php echo htmlentities($v['id']); ?>)"><div class="sjakeh-title-1"><?php echo htmlentities($v['name']); ?></div><div class="sjakeh-title-1">+<?php echo htmlentities($v['bili']*100); ?>&nbsp;%</div><div class="djakew"><div>[<?php echo htmlentities(app('lang')->get('lxb_ding')); ?>]</div><div><?php echo htmlentities($v['day']); ?>&nbsp;<?php echo htmlentities(app('lang')->get('lxb_day')); ?></div></div></div><?php endforeach; endif; else: echo "" ;endif; else: ?><?php endif; ?></div><input type="button" class="choice-btn" id="depositSub" value="<?php echo htmlentities(app('lang')->get('lxb_zr')); ?>"><input type="button" class="choice-btn choice-btn-line" value="<?php echo htmlentities(app('lang')->get('lxb_zrjl')); ?>" style="margin-bottom: 100px;" onclick="window.location.href=`/index/ctrl/lixibao_chu`"></div></div></div><div id="modal-overlay" class="modal-overlay"></div><div id="modal" class="modal"><div class="modal-inner"><div class="dasd-title"><?php echo htmlentities(app('lang')->get('lxb_qrzr')); ?></div><div class="btn-box"><div class="cancel-btn"><?php echo htmlentities(app('lang')->get('quxiao')); ?></div><div class="confirm-btn"><?php echo htmlentities(app('lang')->get('queding')); ?></div></div></div></div><script type='text/javascript' src='/alllang/static/js/jquery.min.js'></script><script type='text/javascript' src='/alllang/static/js/light7.js'></script><script type='text/javascript' src='/alllang/static/js/light7-swiper.js'></script><script type='text/javascript' src='/alllang/static/js/utils.js'></script><script>        var lcid=1;
        function check() {
            if ($("input[name=price]").val() == '') {
                $.toast('<?php echo htmlentities(app('lang')->get('lxb_qsrzrje')); ?>');
                return false;
            }
            return true;
        }
    
        $(function () {
            $('.product__wrap>div').eq(0).trigger("click");
        });
    
        $('.product__wrap>div').click(function () {
            $('.product__wrap>div').removeClass('current');
            $(this).addClass('current')
        });
    
        $("#price").keyup(function () {
            yjsy();
        })
    
        function yjsy1(id) {
            lcid=id;
            window.yjsy();
        }
    
        function yjsy() {
            var price = $("#price").val();
            if(price<=0) return false;
            $.ajax({
                url: '/index/ctrl/deposityj',
                data: {price: price, lcid: lcid},
                type: 'POST',
                success: function (data) {
                    $("#revenue").html(data.data);
                }
            });
        }
    
        $('#depositSub').on('click', function () {
            $('#modal-overlay').addClass('modal-overlay-visible');
            $('#modal').show();
            setTimeout(function(){
                $('#modal').removeClass('modal-out').addClass('modal-in');
            }, 50)
        });
        $('#modal-overlay').click(function() {
            return false;
        });
        $('.cancel-btn').click(function(){
            $('#modal-overlay').removeClass('modal-overlay-visible');
            $('#modal').removeClass('modal-in').addClass('modal-out');
            setTimeout(function(){
                $('#modal').hide();
            }, 200)
        })
        $('.confirm-btn').click(function(){
            $('#modal-overlay').removeClass('modal-overlay-visible');
            $('#modal').removeClass('modal-in').addClass('modal-out');
    
            if (check()) {
                var price = $("input[name=price]").val();
                $.ajax({
                    url: "/index/ctrl/lixibao_ru.html",
                    data: {price:price,lcid:lcid},
                    type: 'POST',
                    success: function (data) {
                        if (data.code == 0) {
                            $.toast(data.info);
                            setTimeout(function () {
                                window.location.href = '/index/ctrl/lixibao';
                            }, 2000);
                        } else {
                            $('#modal').hide();
                            $.toast(data.info);
                        }
                    }
                });
            }else {
                $('#modal').hide();
            }
        })
    
    </script></body></html>