123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- <!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">
- <% if (ctx.request.host.indexOf('jlqa') !== -1 || ctx.request.host.indexOf('jluat') !== -1 || ctx.request.host === '127.0.0.1:7002') { %>
- <link rel="stylesheet" href="/public/css/qa_side.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">
- <link rel="stylesheet" href="/public/css/radar-animation.css">
- <!-- 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>
|