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.
90 lines
2.4 KiB
90 lines
2.4 KiB
3 months ago
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<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">
|
||
|
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||
|
<meta name="format-detection" content="telephone=no">
|
||
|
|
||
|
<link rel="stylesheet" href="../layui/css/layui.css" media="all">
|
||
|
<style>
|
||
|
.layui-laypage-skip{
|
||
|
display:flex!important;
|
||
|
}
|
||
|
.layui-table-page {
|
||
|
height:50px
|
||
|
}
|
||
|
.layui-table-view .layui-form-radio > i {
|
||
|
font-size: 12px;
|
||
|
}
|
||
|
#checkboxArea{
|
||
|
display: none;
|
||
|
}
|
||
|
.layui-input{
|
||
|
padding-left:2px;
|
||
|
display:inline;
|
||
|
width:110px
|
||
|
}
|
||
|
/*layui多选框样式*/
|
||
|
.layui-form-checkbox span {
|
||
|
font-size: 12px;
|
||
|
}
|
||
|
.layui-form-item .layui-form-checkbox[lay-skin="primary"]{
|
||
|
margin-top: 8px;
|
||
|
}
|
||
|
.layui-table-view .layui-form-checkbox[lay-skin="primary"] i {
|
||
|
width:12px;
|
||
|
height:12px;
|
||
|
line-height: 12px;
|
||
|
}
|
||
|
.layui-form-checkbox[lay-skin="primary"] {
|
||
|
padding-left:20px
|
||
|
}
|
||
|
.layui-form-checkbox[lay-skin="primary"] span {
|
||
|
line-height: 12px;
|
||
|
padding-right: 0px;
|
||
|
}
|
||
|
/*select下拉样式*/
|
||
|
.layui-form-select dl{
|
||
|
top:25px
|
||
|
}
|
||
|
.smInput .layui-input {
|
||
|
width:25px;
|
||
|
padding-right:10px
|
||
|
}
|
||
|
.layui-table-col-special{
|
||
|
display:none
|
||
|
}
|
||
|
@media screen and (max-width: 450px){
|
||
|
.layui-form-item .layui-input-inline{
|
||
|
margin:0px
|
||
|
}
|
||
|
}
|
||
|
</style>
|
||
|
</head>
|
||
|
<body>
|
||
|
|
||
|
<form class="layui-form" action="" lay-filter="example" style="padding:10px">
|
||
|
<div class="layui-form-item">
|
||
|
<div class="layui-input-inline">
|
||
|
<input type="text" name="username" id="custom" autocomplete="off" placeholder="请输入自定义内容" class="layui-input">
|
||
|
<button type="submit" class="layui-btn layui-btn-sm" onclick="customSubmit()">确定</button>
|
||
|
</div>
|
||
|
</div>
|
||
|
</form>
|
||
|
|
||
|
<script src="../layui/layui.js" charset="utf-8"></script>
|
||
|
<!-- 注意:如果你直接复制所有代码到本地,上述js路径需要改成你本地的 -->
|
||
|
|
||
|
<script>
|
||
|
function customSubmit(){
|
||
|
var content = document.getElementById("custom").value;
|
||
|
parent.emrView.InnerView.SetActiveItemText(content);
|
||
|
parent.layer.closeAll()
|
||
|
}
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|