<div class="modal fade" id="js_popModal" tabindex="1" role="dialog">
    <div class="modal-dialog" role="document">

        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title">弹框标题</h4>
            </div>
            <div class="modal-body">
                <iframe scrolling="no" src=""></iframe>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button type="submit" class="btn btn-primary js_submit">确认</button>
            </div>

        </div>

    </div>

</div>

<!-- Bootstrap Core JavaScript -->
<!-- Latest compiled and minified JavaScript -->

<script src="{{STATIC_URL}}/plugins/bootstrap/js/bootstrap.min.js"></script>
<script src="{{STATIC_URL}}/plugins/layer/layer.min.js"></script>
<script src="{{STATIC_URL}}/plugins/metismenu/js/metisMenu.min.js"></script>

<script src="{{STATIC_URL}}/plugins/artdialog/js/dialog.min.js"></script>

<script src="{{STATIC_URL}}/plugins/validform/datatype.min.js?v={{STATIC_VERSION}}"></script>

<!-- Custom Theme JavaScript -->
<script src="{{STATIC_URL}}/js/app.min.js?v={{STATIC_VERSION}}"></script>

<script>
$(function () {
    {{if $account->id && config('is_push', 'app')}}

    var url  = "{{url('home/apply/notify')}}";
    var time = "{{config('push_time', 'app')}}";
    setInterval(function(){

        $.get(url, function (json) {
            $("#notify-count").text(json.count);
        });

    }, time*1000);


    {{/if}}
});
</script>
</body>

</html>