CINXE.COM

参展商管理后台

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>参展商管理后台</title> <meta name="renderer" content="webkit"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <link rel="stylesheet" href="/Scripts/layui/css/layui.css" media="all"> <style type="text/css"> body { margin: 0px; padding: 0px; } .main { display: flex; flex: 1; } .left { display: flex; } .right { display: flex; flex: 1; align-items: center; justify-content: center; } .content { display: flex; flex-direction: column; } .input { width: 548px; height: 85px; background-image: url(/Content/img/input.png); background-size: 548px 85px; margin-top: 20px; } input { border: none; height: 65px; line-height: 65px; width: 518px; margin-left: 15px; margin-top: 10px; } input:-webkit-autofill { -webkit-text-fill-color: #000000 !important; transition: background-color 5000s ease-in-out 0s; } .icon { height: 71px; width: 255px; margin-left: 20px; } .btn { width: 142px; height: 85px; } .loginbtn { justify-content: flex-end; display: flex; margin-top: 96px; } </style> </head> <body> <div class="main"> <div class="left"> <img id="leftimg" alt="" /> </div> <div class="right"> <div class="content"> <img src="/Content/img/icon2.png" class="icon" /> <div style="color: red" id="tip">本届展会已结束,请您及时关注下届展会动态!</div> </div> </div> </div> <script type="text/javascript" src="/Scripts/layui/layui.js" charset="utf-8"></script> <script type="text/javascript"> var ExhID = ''; layui.use('layer', function () { var $ = layui.$; var layer = layui.layer; var OSSRoot = 'Dis'; $("#leftimg").css("height", ($(window).height() + 18) + "px").attr("src", "https://osshb.eainfor.com/" + OSSRoot + "/ExtBanner/" + ExhID + ".png?t=" + new Date().getTime()); var bili = ($(window).height() + 18) / 1473; $(".input").css("width", 548 * bili + "px").css("height", 85 * bili + "px").css("background-size", 548 * bili + "px " + 85 * bili + "px"); $("input").css("width", 518 * bili + "px").css("height", 65 * bili + "px").css("line-height", 65 * bili + "px").css("margin-left", 15 * bili + "px").css("margin-top", 10 * bili + "px"); $(".icon").css("width", 255 * bili + "px").css("height", 71 * bili + "px").css("margin-left", 20 * bili + "px").css("margin-bottom", 58.5 * bili + "px"); $(".btn").css("width", 142 * bili + "px").css("height", 85 * bili + "px"); $(".loginbtn").css("margin-top", 96 * bili + "px"); if(ExhID==173) { $("#tip").html("组委会联系人:任老师010-62103991-616、13691180560") } if (parent.window && parent.window.location != window.location) { parent.window.location = window.location; } $("#btnLogin").click(function () { var username = $("input[name=UserName]").val(); var userpwd = $("input[name=UserPwd]").val(); if (username == "") { layer.msg("用户名为必填", { icon: 5 }); return; } else if (userpwd == "") { layer.msg("密码为必填", { icon: 5 }); return; } $.post("", { username, userpwd }, function (result, status) { if (status == "success") { var obj = JSON.parse(result); if (obj.rel == "1") { window.location = "/Exhibitor/Index"; return; } } alert("用户名或者密码错误"); }); }); $(function () { $("#divloginbox").height($("#imgloginbox").height()); }); $(window).resize(function () { $("#divloginbox").height($("#imgloginbox").height()); }); }); </script> </body> </html>