Commit 4d9c4690 by liulianglang

样式修改

parent e6f8bd16
......@@ -411,7 +411,7 @@ public class SysUserController {
SysUser sysUser = userService.selectSysUserById(user.getId());
if (user.getOpenFlag().equals("1")) {
//添加时空权限
userService.insertUserSkPress(sysUser.getIdentitycard());
//userService.insertUserSkPress(sysUser.getIdentitycard());
}
if (i==1) {
return "success";
......
......@@ -162,7 +162,7 @@
<div class="layui-form-mid btx" style="width: 800px;">
<label class="layui-form-label" style="float: left;display: block;">所属单位</label>
<div class="layui-input-block" style="height: 35px;">
<input type="text" id="unitcode" value="${user.unitcode}" style="height: 37px; width:692px " lay-verify="unitcode" name="unitcode" class="val easyui-combotree" data-options="url: 'http://127.0.0.1:9100/queryTypeCode?type=CODE_UNIT',method:'get',textField : 'text', valueField : 'id'"/>
<input type="text" id="unitcode" value="${user.unitcode}" style="height: 37px; width:692px " lay-verify="unitcode" name="unitcode" class="val easyui-combotree" data-options="url: 'http://65.26.10.49:9100/queryTypeCode?type=CODE_UNIT',method:'get',textField : 'text', valueField : 'id'"/>
</div>
......@@ -513,7 +513,7 @@
<%-- &lt;%&ndash; $('#unitcode').combotree('setValue',unitcode22);&ndash;%&gt;--%>
<%-- &lt;%&ndash;}&ndash;%&gt;--%>
<%--}--%>
url :'http://127.0.0.1:9100/queryTypeCode?type=CODE_UNIT&id='+ '${pcodeid}',
url :'http://65.26.10.49:9100/queryTypeCode?type=CODE_UNIT&id='+ '${pcodeid}',
onLoadSuccess:function(node,data) {
<%--console.log(toString.call(${pcodeid}));--%>
$("#unitcode").combotree('setValue', '${user.unitcode}');
......
body{
padding:0;
margin:0;
}
.clear_fix{
clear:both;
}
.btn{
cursor: pointer;
}
.bg{
width: 100%;
height: 100%;
background:url(../img/bg.jpg) no-repeat center top;
position: fixed;
z-index: -1;
}
.txfx_banner{
width:1200px;
height:58px;
position:fixed;
top: 0;
background:url(../img/top-bg.png);
z-index: 999;
}
.tx_banner_logo{
width:72px;
position: relative;
left: 10px;
top:0;
}
.txfx_ti{
width: 300px;
position: relative;;
top:-22px;
margin-left: 0;
}
.max_box{
width: 1200px;
margin:0 auto;
/*border:1px solid #ccc;
box-shadow: 5px 0 20px #d9d9d9, 0 1px 3px #d9d9d9,
0 -1px 3px #d9d9d9, -5px 0 20px #d9d9d9;
background-color:#fff;*/
}
.tlg{
/*width:98%;
margin-left:auto;
margin-right:auto;*/
background-color:#fff;
padding-top:52px;
padding-bottom:30px;
}
.cxtj_title{
height: 32px;
line-height: 32px;
padding-left: 20px;
background-color: #e6e6e6;
font-size: 16px;
}
.cxtj_b{
width:98%;
margin:30px auto 10px auto;
background-color:#eee;
padding:0 0 20px 0;
border: 1px solid #d9d9d9;
}
/*标签页样式*/
.bq_d{
width:1200px;
margin:30px auto 0px auto;
padding-left:300px;
}
.bq_per{
float:left;
margin-left:80px;
position:relative;
}
.bq_per{
cursor:pointer;
color:#fff;
}
.bq_per:hover{
color:#36F;
}
.ac{
color:#36f;
}
.bq-title{
position:absolute;
top:14px;
left:17px;
font-size:18px;
font-weight:bold;
}
.bq_tb{
position:absolute;
}
/*查询按钮样式*/
.btn_cx{
padding:5px 12px;
border:1px solid #245580;
background-color:#337ab7;
color:#fff;
background-image:linear-gradient(to bottom,#337ab7 0%,#265a88 100%);
background-repeat:repeat-x;
text-shadow:0 -1px 0 rgba(0,0,0,.2);
box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);
border-radius:4px;
font-weight:normal;
font-size:12px;
}
.btn_qk{
padding:5px 12px;
border:1px solid #b92c28;
background-color:#d9534f;
color:#fff;
background-image:linear-gradient(to bottom, #d9534f 0%, #c12e2a 100%);
background-repeat:repeat-x;
text-shadow:0 -1px 0 rgba(0, 0, 0, .2);
box-shadow:inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
border-radius:4px;
font-weight:normal;
font-size:12px;
margin-left:25px;
}
.btn_dc{
padding:5px 12px;
border:1px solid #609b05;
background-color:#79c902;
color:#fff;
background-image:linear-gradient(to bottom, #79c902 0%, #609b05 100%);
background-repeat:repeat-x;
text-shadow:0 -1px 0 rgba(0, 0, 0, .2);
box-shadow:inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
border-radius:4px;
font-weight:normal;
font-size:12px;
margin-left:25px;
}
.btn_cx:hover{
background:#2c689d;
color:#fff;
text-decoration:none;
}
.btn_qk:hover{
background:#c12e2a;
color:#fff;
text-decoration:none;
}
.btn_dc:hover{
background:#609b05;
color:#fff;
text-decoration:none;
}
/*.table-cx-th td input.ra{
margin-top:5px;
}*/
/*table样式*/
.table-cx-th{
/*border:1px solid #ccc;
border-bottom-style:dashed;
margin-bottom:-1px;*/
margin-top: 10px;
width:100%;
font-weight:normal;
border-collapse:collapse;
}
.table-cx-th th{
padding-left:10px;
border:1px dashed #ccc;
}
.table-cx-th td{
border:none;
height:40px;
line-height:40px;
}
.table-cx-th thead tr{
background-color: #E0ECFF;
background: -webkit-linear-gradient(top,#f5f9ff 0,#e5efff 100%);
background: -moz-linear-gradient(top,#f5f9ff 0,#e5efff 100%);
background: -o-linear-gradient(top,#f5f9ff 0,#e5efff 100%);
background: linear-gradient(to bottom,#f5f9ff 0,#e5efff 100%);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#f5f9ff,endColorstr=#e5efff,GradientType=0);
}
.table-cx-th td input{
/*width:95%;
height:18px;*/
line-height:18px;
}
.table-cx-th td select{
width:97%;
height:24px;
line-height:24px;
}
.ch_input input,.ra_input input{
vertical-align: middle;
}
.ra_input input{
margin-bottom: 5px;
}
.table-cx-th tr.even{
border-top:1px dashed #ccc;
}
.table-x-sc{
overflow: auto;
width: 98%;
margin:0 auto;
/*border-right:1px solid #ccc;*/
}
.table-style{
width:100%;
overflow:scroll;
border:1px solid #ccc;
border-collapse:collapse;
}
.table-style th,.table-style td{
border:1px dashed #ccc;
height:32px;
padding:0 5px;
text-align:center;
white-space: nowrap;
}
.table-style thead tr{
background-color: #E0ECFF;
background: -webkit-linear-gradient(top,#f5f9ff 0,#e5efff 100%);
background: -moz-linear-gradient(top,#f5f9ff 0,#e5efff 100%);
background: -o-linear-gradient(top,#f5f9ff 0,#e5efff 100%);
background: linear-gradient(to bottom,#f5f9ff 0,#e5efff 100%);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#f5f9ff,endColorstr=#e5efff,GradientType=0);
}
.table-style tbody tr.even:hover,.table-style tbody tr.odd:hover{
background-color:#b7f2f4;
}
.xiaoxi{
padding:2px 5px;
background-color:red;
border-radius:50%;
color:#fff;
}
.td-text-center{
text-align:center;
}
tr.odd{
background-color:#fff;
}
tr.even{
background-color:#F5FAFA;
}
.caozuo-content{
color:#551a8b;
}
/*.caozuo-content a{
color:#2f2fed;
}*/
.text-underline:hover{
text-decoration:underline;
}
/*表格补充*/
.panel{
margin-left:12px;
}
.table-style th.bz_table{
background-color:#eee;
text-align:left;
font-weight:normal;
}
.table-style .bz_table span.bz_table_sp{
color:#f60;
}
.table_box{
margin-bottom:20px;
}
.xq_eye{
display:inline-block;
background:url(../img/eye.png) no-repeat;
width:20px;
height:20px;
}
.xq_eye:hover{
background:url(../img/eye.png) no-repeat -40px center;
}
.button_cz{
padding:5px 8px;
border:1px solid #28a4c9;
text-decoration:none;
color:#fff;
background-image:linear-gradient(to bottom,#5bc0de 0,#2aabd2 100%);
border-radius:4px;
}
.button_cz:hover{
background:#2aabd2;
}
/*分页1*/
div.panel{
margin:0 auto 0 auto;
}
/*分页2*/
.fy_b{
width:1200px;
margin:40px auto 40px auto;
text-align:center;
}
.tab_div{
padding:5px 12px;
border:1px solid #b3b3b3;
color:#027fd3;
margin-left:2px;
cursor:default;
}
.tab_div:hover{
background-color:#027fd3;
color:#fff;
}
.fy_b_tj{
margin-top:20px;
color:#4d4d4d;
}
/*滚动条美2化*/
::-webkit-scrollbar {
width: 12px;
height:10px;
}
::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
/* -webkit-border-radius: 10px;
border-radius: 10px;*/
}
::-webkit-scrollbar-thumb {
/* -webkit-border-radius: 10px;
border-radius: 10px;*/
/*-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
background: -webkit-linear-gradient(top,#ebf2ff 0,#cce0ff 100%);
background: -moz-linear-gradient(top,#ebf2ff 0,#cce0ff 100%);
background: -o-linear-gradient(top,#ebf2ff 0,#cce0ff 100%);
background: linear-gradient(to bottom,#ebf2ff 0,#cce0ff 100%);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ebf2ff,endColorstr=#cce0ff,GradientType=0);*/
background-color:#ccc;
}
::-webkit-scrollbar-thumb:window-inactive {
/*background: -webkit-linear-gradient(top,#f9f9f9 0,#e5e5e5 100%);
background: -moz-linear-gradient(top,#f9f9f9 0,#e5e5e5 100%);
background: -o-linear-gradient(top,#f9f9f9 0,#e5e5e5 100%);
background: linear-gradient(to bottom,#f9f9f9 0,#e5e5e5 100%);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#f9f9f9,endColorstr=#e5e5e5,GradientType=0);*/
background-color:#ccc;
}
\ No newline at end of file
body {
font-family:verdana,helvetica,arial,sans-serif;
padding:20px;
font-size:12px;
margin:0;
}
h2 {
font-size:18px;
font-weight:bold;
margin:0;
margin-bottom:15px;
}
.demo-info{
padding:0 0 12px 0;
}
.demo-tip{
display:none;
}
.label-top{
display: block;
height: 22px;
line-height: 22px;
vertical-align: middle;
}
\ No newline at end of file
if ($.fn.pagination){
$.fn.pagination.defaults.beforePageText = '第';
$.fn.pagination.defaults.afterPageText = '共{pages}页';
$.fn.pagination.defaults.displayMsg = '显示{from}到{to},共{total}记录';
}
if ($.fn.datagrid){
$.fn.datagrid.defaults.loadMsg = '正在处理,请稍待。。。';
}
if ($.fn.treegrid && $.fn.datagrid){
$.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg;
}
if ($.messager){
$.messager.defaults.ok = '确定';
$.messager.defaults.cancel = '取消';
}
$.map(['validatebox','textbox','passwordbox','filebox','searchbox',
'combo','combobox','combogrid','combotree',
'datebox','datetimebox','numberbox',
'spinner','numberspinner','timespinner','datetimespinner'], function(plugin){
if ($.fn[plugin]){
$.fn[plugin].defaults.missingMessage = '该输入项为必输项';
}
});
if ($.fn.validatebox){
$.fn.validatebox.defaults.rules.email.message = '请输入有效的电子邮件地址';
$.fn.validatebox.defaults.rules.url.message = '请输入有效的URL地址';
$.fn.validatebox.defaults.rules.length.message = '输入内容长度必须介于{0}和{1}之间';
$.fn.validatebox.defaults.rules.remote.message = '请修正该字段';
}
if ($.fn.calendar){
$.fn.calendar.defaults.weeks = ['日','一','二','三','四','五','六'];
$.fn.calendar.defaults.months = ['一月','二月','三月','四月','五月','六月','七月','八月','九月','十月','十一月','十二月'];
}
if ($.fn.datebox){
$.fn.datebox.defaults.currentText = '今天';
$.fn.datebox.defaults.closeText = '关闭';
$.fn.datebox.defaults.okText = '确定';
$.fn.datebox.defaults.formatter = function(date){
var y = date.getFullYear();
var m = date.getMonth()+1;
var d = date.getDate();
return y+'-'+(m<10?('0'+m):m)+'-'+(d<10?('0'+d):d);
};
$.fn.datebox.defaults.parser = function(s){
if (!s) return new Date();
var ss = s.split('-');
var y = parseInt(ss[0],10);
var m = parseInt(ss[1],10);
var d = parseInt(ss[2],10);
if (!isNaN(y) && !isNaN(m) && !isNaN(d)){
return new Date(y,m-1,d);
} else {
return new Date();
}
};
}
if ($.fn.datetimebox && $.fn.datebox){
$.extend($.fn.datetimebox.defaults,{
currentText: $.fn.datebox.defaults.currentText,
closeText: $.fn.datebox.defaults.closeText,
okText: $.fn.datebox.defaults.okText
});
}
if ($.fn.datetimespinner){
$.fn.datetimespinner.defaults.selections = [[0,4],[5,7],[8,10],[11,13],[14,16],[17,19]]
}
.icon-blank{
background:url('icons/blank.gif') no-repeat center center;
}
.icon-add{
background:url('icons/edit_add.png') no-repeat center center;
}
.icon-edit{
background:url('icons/pencil.png') no-repeat center center;
}
.icon-clear{
background:url('icons/clear.png') no-repeat center center;
}
.icon-remove{
background:url('icons/edit_remove.png') no-repeat center center;
}
.icon-save{
background:url('icons/filesave.png') no-repeat center center;
}
.icon-cut{
background:url('icons/cut.png') no-repeat center center;
}
.icon-ok{
background:url('icons/ok.png') no-repeat center center;
}
.icon-no{
background:url('icons/no.png') no-repeat center center;
}
.icon-cancel{
background:url('icons/cancel.png') no-repeat center center;
}
.icon-reload{
background:url('icons/reload.png') no-repeat center center;
}
.icon-search{
background:url('icons/search.png') no-repeat center center;
}
.icon-print{
background:url('icons/print.png') no-repeat center center;
}
.icon-help{
background:url('icons/help.png') no-repeat center center;
}
.icon-undo{
background:url('icons/undo.png') no-repeat center center;
}
.icon-redo{
background:url('icons/redo.png') no-repeat center center;
}
.icon-back{
background:url('icons/back.png') no-repeat center center;
}
.icon-sum{
background:url('icons/sum.png') no-repeat center center;
}
.icon-tip{
background:url('icons/tip.png') no-repeat center center;
}
.icon-filter{
background:url('icons/filter.png') no-repeat center center;
}
.icon-man{
background:url('icons/man.png') no-repeat center center;
}
.icon-lock{
background:url('icons/lock.png') no-repeat center center;
}
.icon-mini-add{
background:url('icons/mini_add.png') no-repeat center center;
}
.icon-mini-edit{
background:url('icons/mini_edit.png') no-repeat center center;
}
.icon-mini-refresh{
background:url('icons/mini_refresh.png') no-repeat center center;
}
.icon-large-picture{
background:url('icons/large_picture.png') no-repeat center center;
}
.icon-large-clipart{
background:url('icons/large_clipart.png') no-repeat center center;
}
.icon-large-shapes{
background:url('icons/large_shapes.png') no-repeat center center;
}
.icon-large-smartart{
background:url('icons/large_smartart.png') no-repeat center center;
}
.icon-large-chart{
background:url('icons/large_chart.png') no-repeat center center;
}
This source diff could not be displayed because it is too large. You can view the blob instead.
(function(){
layerxz_tips = function (obj,num){
var that = null;
var htmlChild ="";
that = $(obj);
if(!isEmpty(num)){
var A = num.indexOf("A");
var T = num.indexOf("T");
var R = num.indexOf("R");
var W = num.indexOf("W");
htmlChild += "<ul class='popUl' style='position:absolute;_left:40px;_top:-10px;'>";
htmlChild += "<h4><b onclick='closeLayer();' style='float:right; margin-right:5px; cursor: pointer; font-size:12px; color:#f60;'><span style='position:relative; top:-4px;'>关闭</span></b></h4>";
htmlChild +="<h4>"+num+"</h4>";
htmlChild += "<li data-act='qjtcUI.action' data-num='"+num+"' onclick='RyxxchFun(this);'><img src='../../../img/a/01.png' width='16px;' style='float:left; position:relative; top:6px;'/><span>全景通查</span></li>";
htmlChild += "<li data-act='toCbfRyfkxx.action' data-num='"+num+"' onclick='goRyxxfAction(this);'><img src='../../../img/a/05.png' width='16px;' style='float:left; position:relative; top:6px;'/><span>采比反</span></li>";
htmlChild +="<li data-act='getRystglxx.action' data-num='"+num+"' onclick='goCbfAction(this);'><img src='../../../img/a/01.png' width='16px;' style='float:left; position:relative; top:6px;'/><span>关系挖掘</span></li>";
htmlChild += "<li data-act='gjfxRyxxList.action' data-num='"+num+"' onclick='goRyxxfAction(this);'><img src='../../../newl/icons/hdgjfx.png' width='16px;' style='float:left; position:relative; top:6px;'/><span>活动轨迹分析</span></li>";
htmlChild += "<li data-act='toRyzb.action' data-num='"+num+"' onclick='goRyxxfAction(this);'><img src='../../../newl/icons/fwsztrygl.png' width='16px;' style='float:left; position:relative; top:6px;'/><span>人员信息档案</span></li>";
htmlChild += "</ul>";
layer.tips(htmlChild, that,{time:15000,tips:[2,'#f3f7f8'],width:380}); //在元素的事件回调体中,follow直接赋予this即可
}else{
htmlChild += "<ul class='popUl'>";
htmlChild += "<h4><b onclick='closeLayer();' style='float:right; margin-right:5px; cursor: pointer; font-size:12px; color:#f60;'><span style='position:relative; top:-4px;'>关闭</span></b></h4>";
htmlChild +="<h4>编号不能为空</h4>";
htmlChild += "</ul>";
layer.tips(htmlChild, that,{time:15000,tips:[2,'#f3f7f8'],width:380}); //在元素的事件回调体中,follow直接赋予this即可
}
};
/**
标识号直接走的action?num=xxxx
**/
goAction = function (obj){
layer.closeAll("tips");
var act = $(obj).data("act");
var num = $(obj).data("num");
window.open(act+"?num="+num);
};
/*案件采比反*/
goAjzbAction = function (obj){
layer.closeAll("tips");
var act = $(obj).data("act");
var num = $(obj).data("num");
window.open(act+"?asjbh="+num);
};
/**
人员信息
*/
HnRyxxchFun = function(obj){
layer.closeAll("tips");
var num = $(obj).data("num");
var act = $(obj).data("act");
if(num != "" || num != null){
$.ajax({
type:"post",
url:"getRyxxByBh.action",
beforeSend:function(){},
data:{"num":num},
success:function(data){
var zjhm = data.zjhm;
window.open(act+"?zjhm="+zjhm);
}
});
}
};
})(jQuery);
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment