You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
127 lines
4.8 KiB
127 lines
4.8 KiB
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<!-- Tell the browser to be responsive to screen width -->
|
|
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
|
|
<title>@ViewBag.Title</title>
|
|
|
|
<link href="~/3rd/bootstrap-3.3.7-dist/css/bootstrap.min.css" rel="stylesheet" />
|
|
<link href="~/3rd/AdminLTE/bower_components/font-awesome/css/font-awesome.min.css" rel="stylesheet" />
|
|
<link href="~/3rd/AdminLTE/bower_components/select2/dist/css/select2.min.css" rel="stylesheet" />
|
|
<link href="~/3rd/AdminLTE/dist/css/AdminLTE.min.css" rel="stylesheet" />
|
|
<link href="~/3rd/AdminLTE/dist/css/skins/_all-skins.min.css" rel="stylesheet" />
|
|
<link href="~/3rd/toastr/build/toastr.min.css" rel="stylesheet" />
|
|
<link href="~/3rd/bootstrapTable/dist/bootstrap-table.min.css" rel="stylesheet" />
|
|
@*<link href="~/3rd/bootstraptable15.5/bootstrap-table/dist/bootstrap-table.min.css" rel="stylesheet" />*@
|
|
<link href="~/3rd/jedate-6.5.0/skin/jedate.css" rel="stylesheet" type="text/css" />
|
|
<link href="~/Content/mycss.css" rel="stylesheet" />
|
|
<!--intro.js css-->
|
|
<link href="~/3rd/intro.js/minified/introjs.min.css" rel="stylesheet" />
|
|
<style>
|
|
|
|
/*#renderbody {
|
|
background-color: #ecf0f5;
|
|
height: 100%;
|
|
|
|
}
|
|
html, body {
|
|
height: 100%;
|
|
margin: 0;
|
|
}*/
|
|
</style>
|
|
|
|
<script src="~/3rd/jQuery/jquery.min.js"></script>
|
|
<script src="~/3rd/promise-polyfill-master/dist/polyfill.min.js"></script>
|
|
@*<script src="~/3rd/node_modules/babel-polyfill/dist/polyfill.js"></script>*@
|
|
@*<script src="https://unpkg.com/babel-standalone@6/babel.min.js"></script>*@
|
|
<script src="~/3rd/node_modules/es6-shim/es6-shim.min.js"></script>
|
|
<script src="~/3rd/whatwg-fetch/dist/fetch.umd.js"></script>
|
|
<script src="~/3rd/toastr/build/toastr.min.js"></script>
|
|
<!--intro.js-->
|
|
<script src="~/3rd/intro.js/minified/intro.min.js"></script>
|
|
<!--underscore.js-->
|
|
<script src="~/3rd/underscore/underscore-min.js"></script>
|
|
<!--Common.js-->
|
|
<script src="~/Scripts/Common/Common.js?v=1"></script>
|
|
<!--blockui.js add by xue lei on 2019-10-21-->
|
|
<script src="~/3rd/blockui-master/jquery.blockUI.js"></script>
|
|
<!--vue.js add by xue lei on 2019-10-21-->
|
|
<script src="~/3rd/vue/vue.min.js"></script>
|
|
@Scripts.Render("~/3rd/js")
|
|
|
|
|
|
@*<script src="~/3rd/bootstrapTable/dist/bootstrap-table.min.js"></script>
|
|
<script src="~/3rd/bootstrapTable/dist/locale/bootstrap-table-zh-CN.min.js"></script>*@
|
|
<script src="~/3rd/bootstraptable15.5/bootstrap-table/dist/bootstrap-table.min.js"></script>
|
|
<script src="~/3rd/bootstraptable15.5/bootstrap-table/dist/locale/bootstrap-table-zh-CN.min.js"></script>
|
|
<script src="~/3rd/bootstraptable-vue/bootstrap-table-vue.min.js"></script>
|
|
<script src="~/3rd/AdminLTE/plugins/iCheck/icheck.min.js"></script>
|
|
</head>
|
|
<body class="skin-blue-light sidebar-mini">
|
|
<div class="content-wrapper" style="margin-left:0">
|
|
|
|
<div>
|
|
@RenderBody()
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|
|
|
|
|
|
|
|
@*<script src=https://cdn.jsdelivr.net/npm/promise-polyfill@8.1/dist/polyfill.min.js></script>
|
|
<script src=https://cdn.jsdelivr.net/npm/whatwg-fetch@3.0/dist/fetch.umd.min.js></script>*@
|
|
@*<script>
|
|
//var word = '123',
|
|
// url = 'https://sp0.baidu.com/5a1Fazu8AA54nxGko9WTAnF6hhy/su?wd=' + word + '&json=1&p=3';
|
|
//fetch(url, { mode: "no-cors" }).then(function (response) {
|
|
// return response;
|
|
//}).then(function (data) {
|
|
// console.log(data);
|
|
//}).catch(function (e) {
|
|
// console.log("Oops, error");
|
|
//});
|
|
|
|
var Pro = function () {
|
|
//返回一个Promise对象
|
|
return new Promise(
|
|
//function (resolve, reject) {
|
|
////模拟接口调用
|
|
//setTimeout(function () {
|
|
// resolve(true);
|
|
//}, 3000);
|
|
//}
|
|
|
|
(resolve, reject) => {
|
|
setTimeout(function () {
|
|
resolve(true);
|
|
}, 3000);
|
|
}
|
|
)
|
|
};
|
|
var Pro2 = function () {
|
|
//返回一个Promise对象
|
|
return new Promise(function (resolve, reject) {
|
|
//模拟接口调用
|
|
setTimeout(function () {
|
|
resolve('Pro2成功执行');
|
|
}, 2000);
|
|
})
|
|
};
|
|
|
|
Pro().then(function (data) {
|
|
var val = data;
|
|
console.log(val)
|
|
if (val) {
|
|
console.log(1111)
|
|
//return Pro2()
|
|
}
|
|
}).then(function (data1) {
|
|
console.log(data1)
|
|
})
|
|
</script>*@
|
|
|
|
|
|
|
|
|