.
This commit is contained in:
@@ -7,8 +7,8 @@
|
||||
<title>MySql数据库表结构导出</title>
|
||||
<!-- zui -->
|
||||
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/zui/1.8.1/css/zui.min.css">
|
||||
<link rel="stylesheet" href="res/css/zui-theme.css">
|
||||
<link rel="stylesheet" href="res/css/red-kit.css">
|
||||
<link rel="stylesheet" href="../res/css/zui-theme.css">
|
||||
<link rel="stylesheet" href="../res/css/red-kit.css">
|
||||
<style>
|
||||
.input-group {
|
||||
margin-bottom: 10px;
|
||||
@@ -4,9 +4,9 @@
|
||||
<meta charset="UTF-8">
|
||||
<title>高级查询</title>
|
||||
<!-- zui -->
|
||||
<link rel="stylesheet" href="res/zui/css/zui.min.css">
|
||||
<link rel="stylesheet" href="res/css/zui-theme.css">
|
||||
<link rel="stylesheet" href="res/css/red-kit.css">
|
||||
<link rel="stylesheet" href="../res/zui/css/zui.min.css">
|
||||
<link rel="stylesheet" href="../res/css/zui-theme.css">
|
||||
<link rel="stylesheet" href="../res/css/red-kit.css">
|
||||
<style>
|
||||
.item {
|
||||
padding-top: 10px;
|
||||
@@ -144,9 +144,9 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script src="res/zui/lib/jquery/jquery.js"></script>
|
||||
<script src="res/zui/js/zui.js"></script>
|
||||
<script src="res/zui/lib/sortable/zui.sortable.js"></script>
|
||||
<script src="../res/zui/lib/jquery/jquery.js"></script>
|
||||
<script src="../res/zui/js/zui.js"></script>
|
||||
<script src="../res/zui/lib/sortable/zui.sortable.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/vue"></script>
|
||||
<script>
|
||||
var vm = new Vue({
|
||||
@@ -5,8 +5,8 @@
|
||||
<title>Title</title>
|
||||
<!-- zui -->
|
||||
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/zui/1.8.1/css/zui.min.css">
|
||||
<link rel="stylesheet" href="res/css/zui-theme.css">
|
||||
<link rel="stylesheet" href="res/css/red-kit.css">
|
||||
<link rel="stylesheet" href="../res/css/zui-theme.css">
|
||||
<link rel="stylesheet" href="../res/css/red-kit.css">
|
||||
<style>
|
||||
.row {
|
||||
margin-top: 10px;
|
||||
@@ -265,10 +265,10 @@
|
||||
|
||||
|
||||
<!-- jQuery (ZUI中的Javascript组件依赖于jQuery) -->
|
||||
<script src="res/zui/lib/jquery/jquery.js"></script>
|
||||
<script src="../res/zui/lib/jquery/jquery.js"></script>
|
||||
<!-- ZUI Javascript组件 -->
|
||||
<script src="res/zui/js/zui.js"></script>
|
||||
<script src="res/zui/lib/sortable/zui.sortable.js"></script>
|
||||
<script src="../res/zui/js/zui.js"></script>
|
||||
<script src="../res/zui/lib/sortable/zui.sortable.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/vue"></script>
|
||||
<!--<script src="https://unpkg.com/axios/dist/axios.min.js"></script>-->
|
||||
<script>
|
||||
@@ -2,6 +2,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>MetaKit</title>
|
||||
<link rel="stylesheet" href="../res/zui/css/zui.min.css">
|
||||
<link rel="stylesheet" href="../res/css/zui-theme.css">
|
||||
@@ -14,6 +15,16 @@
|
||||
width: 150px;
|
||||
font-size: 22px;
|
||||
}
|
||||
.footer{
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 162px;
|
||||
width: 100%;
|
||||
height: 35px;
|
||||
background-color: #eee;
|
||||
padding: 8px;
|
||||
color: #808080;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body id="home">
|
||||
@@ -66,6 +77,10 @@
|
||||
<div id="main"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
Meta-Kit Developer v0.2
|
||||
</div>
|
||||
</row>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -2,10 +2,39 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>登录 - MetaKit</title>
|
||||
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/zui/1.8.1/css/zui.min.css">
|
||||
<link rel="stylesheet" href="../res/css/zui-theme.css">
|
||||
<link rel="stylesheet" href="../res/css/red-kit.css">
|
||||
<style>
|
||||
body {
|
||||
background: url('http://img.1216.top/static/material/6060f.webp') no-repeat fixed;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-size: 100% 100%;
|
||||
position: fixed;
|
||||
z-index: -1;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
.modal-dialog {
|
||||
background: #fff8efad;
|
||||
}
|
||||
.form-control {
|
||||
background-color: #fff8edd1;
|
||||
}
|
||||
.footer{
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 35px;
|
||||
/*background-color: #eee;*/
|
||||
padding: 8px;
|
||||
color: #fdf2e5;
|
||||
text-align: center;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body style="padding-top: 100px" class="">
|
||||
<div class="container-fixed-sm login">
|
||||
@@ -27,13 +56,13 @@
|
||||
<div class="form-group">
|
||||
<label for="pwd" class="col-sm-2">密码</label>
|
||||
<div class="col-md-10">
|
||||
<input v-model="row.pwd" class="form-control" id="pwd" placeholder="请输入 密码">
|
||||
<input type="password" v-model="row.pwd" class="form-control" id="pwd" placeholder="请输入 密码">
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
|
||||
<button @click="row={}" type="button" class="btn btn-default" data-dismiss="modal">重置</button>
|
||||
<button @click="loginCheck(row)" type="button" class="btn btn-primary">确定</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -64,6 +93,10 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
Meta-Kit Developer v0.2
|
||||
</div>
|
||||
<script src="../res/zui/lib/jquery/jquery.js"></script>
|
||||
<script src="../res/zui/js/zui.js"></script>
|
||||
<script src="../res/js/red.js"></script>
|
||||
@@ -115,10 +148,21 @@
|
||||
}
|
||||
red.setData("sysPlat", this.sysPlat);
|
||||
location.href = "/";
|
||||
},
|
||||
bindEvent: function () {
|
||||
$('body').bind('keyup', function(event) {
|
||||
if (event.keyCode == "13") {
|
||||
if (!vm.choose) {
|
||||
vm.loginCheck(vm.row);
|
||||
} else {
|
||||
vm.goIndex();
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
mounted: function () {
|
||||
|
||||
this.bindEvent();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user