138 lines
5.8 KiB
Plaintext
138 lines
5.8 KiB
Plaintext
|
<!DOCTYPE html>
|
||
|
<html lang="zh-CN">
|
||
|
<head>
|
||
|
<meta name=”renderer” content=”webkit|ie-comp|ie-stand” />
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||
|
<meta name="renderer" content="webkit">
|
||
|
<link rel="icon" href="~/favicon.ico">
|
||
|
|
||
|
<title>@ViewBag.Title</title>
|
||
|
<link href="~/Content/font/css/font-awesome.min.css" rel="stylesheet" />
|
||
|
<link href="~/Content/bootstrap/bootstrap.min.css" rel="stylesheet" />
|
||
|
|
||
|
@Html.AppendCssFile(
|
||
|
"/Views/LR_Content/style/lr-common.css",
|
||
|
"/Views/LR_Content/plugin/scroll/scroll.css",
|
||
|
"/Views/LR_Content/style/lr-iframe-form.css",
|
||
|
|
||
|
"/Views/LR_Content/plugin/wizard/wizard.css",
|
||
|
"/Views/LR_Content/plugin/tree/lr-tree.css",
|
||
|
"/Views/LR_Content/plugin/select/lr-select.css",
|
||
|
"/Views/LR_Content/plugin/layerselect/lr-layerselect.css",
|
||
|
"/Views/LR_Content/plugin/timeline/lr-timeline.css",
|
||
|
"/Views/LR_Content/plugin/formselect/lr-formselect.css",
|
||
|
"/Views/LR_Content/plugin/inputsearch/lr-isearch.css",
|
||
|
"/Views/LR_Content/plugin/grid/jfgrid.css",
|
||
|
"/Views/LR_Content/plugin/uploader/lr-uploader.css",
|
||
|
"/Views/LR_Content/plugin/date/lr-datepicker.css"
|
||
|
)
|
||
|
<script src="~/Content/jquery/jquery.min.js"></script>
|
||
|
<script src="~/Content/jquery/jquery.md5.min.js"></script>
|
||
|
<script src="~/Content/jquery/plugin/jqprint/jquery.jqprint-0.3.js"></script>
|
||
|
<script src="~/Content/laydate/laydate.js"></script>
|
||
|
@*<script src="~/Content/datepicker/WdatePicker.js"></script>*@
|
||
|
<script src="~/Content/ueditor/ueditor.config.js"></script>
|
||
|
<script src="~/Content/ueditor/ueditor.all.min.js"></script>
|
||
|
<script src="~/Content/ueditor/lang/zh-cn/zh-cn.js"></script>
|
||
|
<!--[if lt IE 9]>
|
||
|
<script src="~/Content/bootstrap/html5shiv.min.js"></script>
|
||
|
<script src="~/Content/bootstrap/respond.min.js"></script>
|
||
|
<![endif]-->
|
||
|
<script>
|
||
|
function request(d) { for (var c = location.search.slice(1).split("&"), a = 0; a < c.length; a++) { var b = c[a].split("="); if (b[0] == d) if ("undefined" == unescape(b[1])) break; else return unescape(b[1]) } return "" };
|
||
|
</script>
|
||
|
|
||
|
</head>
|
||
|
<body class="@Learun.Util.Net.Browser @Learun.Util.WebHelper.GetUITheme()">
|
||
|
<div id="lr_form_bg" class="lr-form-bg">
|
||
|
</div>
|
||
|
|
||
|
@RenderBody()
|
||
|
@Html.AppendJsFile(
|
||
|
"/Views/LR_Content/script/common.js",
|
||
|
"/Content/zsjt/common.js",
|
||
|
"/Content/zsjt/ConstantZSJT.js",
|
||
|
"/Views/LR_Content/plugin/resize/resize.js",
|
||
|
"/Views/LR_Content/plugin/mousewheel/mousewheel.js",
|
||
|
"/Views/LR_Content/plugin/scroll/scroll.js",
|
||
|
"/Views/LR_Content/script/lr-validator.js",
|
||
|
"/Views/LR_Content/script/lr-form.js",
|
||
|
"/Views/LR_Content/plugin/wizard/wizard.js",
|
||
|
"/Views/LR_Content/plugin/tree/lr-tree.js",
|
||
|
"/Views/LR_Content/plugin/select/lr-select.js",
|
||
|
"/Views/LR_Content/plugin/layerselect/lr-layerselect.js",
|
||
|
"/Views/LR_Content/plugin/timeline/lr-timeline.js",
|
||
|
"/Views/LR_Content/plugin/formselect/lr-formselect.js",
|
||
|
"/Views/LR_Content/plugin/inputsearch/lr-isearch.js",
|
||
|
"/Views/LR_Content/plugin/uploader/lr-uploader.js",
|
||
|
"/Views/LR_Content/plugin/date/lr-datepicker.js",
|
||
|
"/Views/LR_Content/plugin/grid/jfgrid.js"
|
||
|
)
|
||
|
<script>
|
||
|
$.lrToken = $('@Html.AntiForgeryToken()').val();
|
||
|
$(function () {
|
||
|
$('#lr_form_bg').fadeOut();
|
||
|
$('#form').lrscroll();
|
||
|
//$('#form').css({ 'overflow': 'auto' });
|
||
|
// 翻译指定标签
|
||
|
$('.lrlg').each(function () {
|
||
|
var $this = $(this);
|
||
|
top.learun.language.get($this.text(), function (text) {
|
||
|
$this.text(text);
|
||
|
});
|
||
|
});
|
||
|
// 翻译表单标题
|
||
|
$('.lr-form-item-title').each(function () {
|
||
|
var $this = $(this);
|
||
|
var $font = $this.find('font');
|
||
|
$font.remove();
|
||
|
top.learun.language.get($this.text(), function (text) {
|
||
|
if ($font.length > 0) {
|
||
|
$this.html(text + '<font face="宋体">*</font>');
|
||
|
}
|
||
|
else {
|
||
|
$this.text(text);
|
||
|
}
|
||
|
|
||
|
});
|
||
|
});
|
||
|
// input placeholder 翻译
|
||
|
$('input[placeholder]').each(function () {
|
||
|
var $this = $(this);
|
||
|
var _text = $this.attr('placeholder');
|
||
|
top.learun.language.get(_text, function (text) {
|
||
|
$this.attr('placeholder', text);
|
||
|
});
|
||
|
});
|
||
|
|
||
|
if (!!window.bootstrap) {
|
||
|
bootstrap(jQuery, top.learun);
|
||
|
}
|
||
|
});
|
||
|
function getBrowser() {
|
||
|
var Sys = {};
|
||
|
var ua = navigator.userAgent.toLowerCase();
|
||
|
var s;
|
||
|
var ver;
|
||
|
(s = ua.match(/edge\/([\d.]+)/)) ? Sys.edge = s[1] :
|
||
|
(s = ua.match(/rv:([\d.]+)\) like gecko/)) ? Sys.ie = s[1] :
|
||
|
(s = ua.match(/msie ([\d.]+)/)) ? Sys.ie = s[1] :
|
||
|
(s = ua.match(/firefox\/([\d.]+)/)) ? Sys.firefox = s[1] :
|
||
|
(s = ua.match(/chrome\/([\d.]+)/)) ? Sys.chrome = s[1] :
|
||
|
(s = ua.match(/opera.([\d.]+)/)) ? Sys.opera = s[1] :
|
||
|
(s = ua.match(/version\/([\d.]+).*safari/)) ? Sys.safari = s[1] : 0;
|
||
|
if (Sys.edge) return 1;
|
||
|
if (Sys.ie) return 0;
|
||
|
if (Sys.firefox) return 1;
|
||
|
if (Sys.chrome) { ver = Sys.chrome; ver.toLowerCase(); var arr = ver.split('.'); if (parseInt(arr[0]) > 43) { return 1; } else { return 0; } }
|
||
|
if (Sys.opera) return 1;
|
||
|
if (Sys.safari) return 1;
|
||
|
return 1;
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
</body>
|
||
|
</html>
|