| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 | <!DOCTYPE html><html lang="en"><head>    <meta charset="utf-8">    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">    <title><%= ctx.menu.name === undefined ? '主页' : ctx.menu.name %>-计量支付</title>    <link rel="stylesheet" href="/public/css/bootstrap/bootstrap.min.css">    <link rel="stylesheet" href="/public/css/main.css">    <link rel="stylesheet" href="/public/css/toast.css">    <link rel="stylesheet" href="/public/css/font-awesome/font-awesome.min.css">    <link rel="stylesheet" type="text/css" href="/public/css/jquery-ui/jquery-ui.min.css">    <link rel="stylesheet" href="/public/css/spreadjs/sheets/gc.spread.sheets.excelsmartcost.css">    <link rel="stylesheet" href="/public/css/jquery-contextmenu/jquery.contextMenu.min.css">    <link rel="stylesheet" href="/public/css/ztree/zTreeStyle.css" type="text/css">    <link rel="stylesheet" href="/public/css/datepicker/datepicker.min.css" type="text/css">    <link rel="stylesheet" href="/public/css/toastr.css">    <link rel="shortcut icon" href="/public/images/favicon.ico">    <!-- JS. -->    <% for (const file of jsFiles) { %>    <script type="text/javascript" src="<%- file %>"></script>    <% } %></head><body oncontextmenu="return false;"> <!--屏蔽input鼠标右键--><div></div><div class="main">    <% include ./menu.ejs %>    <div class="main-panel">        <%- content %>    </div></div><div class="toast" style="text-align: center">    <i class="icon fa"></i>    <span class="message"></span></div><!-- 遮罩层 --><div id="hide-all" style="display:none;position: absolute;width: 100%;height: 100%;top:0;left: 0;z-index:10000000"></div><%- modal %><script type="text/javascript">    toastr.options = {        "closeButton": false,        "debug": false,        "newestOnTop": false,        "progressBar": false,        "positionClass": "toast-top-center",        "preventDuplicates": false,        "onclick": null,        "showDuration": "300",        "hideDuration": "1000",        "timeOut": "5000",        "extendedTimeOut": "1000",        "showEasing": "swing",        "hideEasing": "linear",        "showMethod": "fadeIn",        "hideMethod": "fadeOut"    };    let toastInfo = '<%- message %>';    try {        toastInfo = toastInfo !== '' && toastInfo !== 'null' ? JSON.parse(toastInfo) : '';    } catch (error) {        toastInfo = '';    }    if (toastInfo !== '') {        toastr[toastInfo.type](toastInfo.message);    }    const userID = <%- ctx.session.sessionUser.accountId %>;    let user = '<%= ctx.session.sessionUser.name %>';    <% if (ctx.app.config.is_debug) { %>    const is_debug = true;    <% } %></script></body></html>
 |