no commit message
This commit is contained in:
@@ -29,12 +29,11 @@
|
||||
margin-top:5px;
|
||||
border-width:8px;
|
||||
border-style:solid;
|
||||
border-color:transparent #e5e5e5 transparent transparent;
|
||||
border-color:transparent rgba(0,0,0,0.05) transparent transparent;
|
||||
z-index:1;
|
||||
}
|
||||
.qipao .qipaocontleft{
|
||||
background:#e5e5e5;
|
||||
border:0px #e5e5e5 solid;
|
||||
background:rgba(0,0,0,0.05);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,18 @@
|
||||
*{font-family:微软雅黑,Verdana, Geneva, sans-serif;list-style-type:none;padding:0px;margin:0px;word-wrap:break-word;word-break:break-all;}
|
||||
body{color:#000000;margin:0px;border:0;font-size:14px;}
|
||||
body{--main-color:#1389D3}
|
||||
*{font-family:Verdana, Geneva, sans-serif;list-style-type:none;padding:0px;margin:0px;word-wrap:break-word;word-break:break-all;}
|
||||
|
||||
body{
|
||||
--main-color:#1389D3;
|
||||
--font-size:14px;
|
||||
--border:0.5px rgba(0,0,0,0.1) solid;
|
||||
--main-bgcolor:white;
|
||||
--main-hgcolor:white;
|
||||
--main-border:rgba(0,0,0,0.1);
|
||||
--rgb-r:0;
|
||||
--rgb-g:0;
|
||||
--rgb-b:0;
|
||||
}
|
||||
|
||||
body{color:#000000;margin:0px;border:0;font-size:var(--font-size);}
|
||||
a,.cursor{cursor:pointer;}
|
||||
p{text-indent:24pt; margin:5px 0px}
|
||||
input,textarea,a,button{resize: none;outline:none}
|
||||
@@ -31,7 +43,7 @@ a.a:hover{TEXT-DECORATION:underline;color:red;}
|
||||
a.white:link,a.white:visited{color:white;TEXT-DECORATION:none;}
|
||||
a.white:hover{TEXT-DECORATION:underline;color:white;}
|
||||
|
||||
.blank1{ height:1px; overflow:hidden; border-bottom:1px #dddddd solid}
|
||||
.blank1{ height:1px; overflow:hidden; border-bottom:var(--border)}
|
||||
.blank10{ height:10px; overflow:hidden}
|
||||
.blank20{ height:20px; overflow:hidden;line-height:20px}
|
||||
.blank5{ height:5px; overflow:hidden}
|
||||
@@ -43,7 +55,7 @@ ul,li,a{ list-style-type:none}
|
||||
.h2{ font-size:20px;font-weight:bold;}
|
||||
|
||||
|
||||
.inputs{height:28px; line-height:24px; border:1px #cccccc solid;padding:0px 2px; overflow:hidden;}
|
||||
.inputs{height:28px; line-height:24px; border:var(--border);padding:0px 2px; overflow:hidden;}
|
||||
input.checkbox,input.radio{ border:none;padding:0;margin-right:5px; width:16px; height:16px}
|
||||
.icons{ height:16px; width:16px; padding-right:3px}
|
||||
.icons:hover{box-shadow:0px 0px 5px rgba(0,0,0,0.3);}
|
||||
@@ -51,7 +63,7 @@ input.checkbox,input.radio{ border:none;padding:0;margin-right:5px; width:16px;
|
||||
.barinput{padding:0px 2px;width:150px;height:23px}
|
||||
.icon{ height:16px; width:16px;margin-right:5px}
|
||||
|
||||
.input,.select,.textarea{height:30px; line-height:28px; border:1px #cccccc solid; padding:0px 5px;font-size:14px;}
|
||||
.input,.select,.textarea{height:30px; line-height:28px; border:var(--border); padding:0px 5px;font-size:14px;}
|
||||
.input:focus{box-shadow:0px 0px 5px rgba(0,0,0,0.3); border:1px #1389D3 solid; border:1px var(--main-color) solid;color:#000000}
|
||||
|
||||
.btn{height:30px;line-height:30px; background-color:#1389D3; background-color:var(--main-color);border:none;color:#f1f1f1;padding:0px 20px; cursor:pointer;opacity:0.9;border-radius:5px;}
|
||||
@@ -61,7 +73,7 @@ input.checkbox,input.radio{ border:none;padding:0;margin-right:5px; width:16px;
|
||||
|
||||
.webbtn:link,.webbtn:visited,.webbtn{color:#f1f1f1; opacity:1;background-color:#1389D3;background-color:var(--main-color); padding:3px 8px; border:none; cursor:pointer}
|
||||
.webbtn:hover{opacity:0.8;color:#ffffff;}
|
||||
|
||||
.box{box-shadow:0px 0px 5px rgba(var(--rgb-r),var(--rgb-g),var(--rgb-b),0.3);}
|
||||
|
||||
|
||||
.alert{ padding:3px 10px; border-radius:0px; text-align:center; }
|
||||
@@ -69,7 +81,7 @@ input.checkbox,input.radio{ border:none;padding:0;margin-right:5px; width:16px;
|
||||
.alert_success{ background-color:#e3f6d1;border:0px #78b146 solid;color:green}
|
||||
.alert_wait{ background-color:#f8f8f8;border:0px #cccccc solid;color:#555555}
|
||||
|
||||
.title{height:40px;line-height:40px;overflow:hidden;font-size:14px;text-align:left;border-bottom:1px #cccccc solid;color:#55555;font-weight:bold; background-color:#545e6a}
|
||||
.title{height:40px;line-height:40px;overflow:hidden;text-align:left;border-bottom:var(--border);color:#55555;font-weight:bold; background-color:#545e6a}
|
||||
.title li{height:40px;line-height:40px;float:left; }
|
||||
.title li.more{text-align:right;float:right;font-size:12px;font-weight:100}
|
||||
|
||||
@@ -103,8 +115,8 @@ input.checkbox,input.radio{ border:none;padding:0;margin-right:5px; width:16px;
|
||||
.msousou::-moz-input-placeholder{color:#dddddd}
|
||||
.msousou:focus{background-color:white;color:#333333;-webkit-animation:mymove 0.3s;-moz-animation:mymove 0.3s;width:170px;}
|
||||
|
||||
.lists{padding:8px; border-bottom:0px #f1f1f1 solid;cursor:pointer;}
|
||||
.lists img{height:30px;width:30px;border-radius:5px}
|
||||
.lists{padding:10px;cursor:pointer;}
|
||||
.lists img,.lists .img{height:30px;width:30px;border-radius:5px;overflow:hidden}
|
||||
.lists .close{position:absolute;right:3px;top:5px;display:none;color:#aaaaaa}
|
||||
.lists .bqs{position:absolute;right:3px;top:5px;}
|
||||
.lists.active{background-color:rgba(0,0,0,0.1)}
|
||||
@@ -112,16 +124,16 @@ input.checkbox,input.radio{ border:none;padding:0;margin-right:5px; width:16px;
|
||||
.lists:hover .close{display:block}
|
||||
.lists:hover .bqs{display:none}
|
||||
|
||||
.lists .name{height:24px;line-height:24px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:135px;}
|
||||
.lists .name{height:24px;line-height:24px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
|
||||
.huicont{color:#888888;font-size:12px;height:20px;line-height:20px; overflow:hidden;word-wrap:break-word;word-break:break-all;white-space:normal;}
|
||||
|
||||
|
||||
|
||||
.content{width:100%;height:100%;border:none;overflow:auto;padding:0px;font-size:14px;}
|
||||
.content{width:100%;height:100%;border:none;overflow:auto;padding:0px;color:inherit}
|
||||
.content:focus{border:0px #dddddd solid}
|
||||
|
||||
.chattitbtn{color:#aaaaaa;cursor:pointer}
|
||||
.toolsliao{height:34px; background-color:#ecf5fc;overflow:hidden;border-top:#dddddd solid 1px;color:#aaaaaa;line-height:34px;font-size:16px;padding:0px 10px}
|
||||
.toolsliao{height:34px;overflow:hidden;border-top:var(--border);color:#aaaaaa;line-height:34px;font-size:16px;padding:0px 10px}
|
||||
.toolsliao span{margin-right:10px}
|
||||
.toolsliao span:hover,.chattitbtn:hover{color:#1389D3;color:var(--main-color)}
|
||||
|
||||
@@ -157,4 +169,31 @@ input.checkbox,input.radio{ border:none;padding:0;margin-right:5px; width:16px;
|
||||
.lefticons{position:relative;line-height:50px;height:50px;overflow:hidden;font-size:20px;color:#cccccc}
|
||||
.lefticons span{position:absolute;right:1px;top:1px}
|
||||
|
||||
.showblanks{padding:10px;color:#aaaaaa;font-size:12px;text-align:center}
|
||||
.showblanks{padding:10px;color:#aaaaaa;font-size:12px;text-align:center}
|
||||
|
||||
.rock-loading {
|
||||
display: inline-block;
|
||||
height:16px;
|
||||
width:16px;
|
||||
vertical-align: middle;
|
||||
-webkit-mask: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg width='80px' height='80px' viewBox='0 0 80 80' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Ctitle%3Eloading%3C/title%3E%3Cdefs%3E%3ClinearGradient x1='94.0869141%25' y1='0%25' x2='94.0869141%25' y2='90.559082%25' id='linearGradient-1'%3E%3Cstop stop-color='%23606060' stop-opacity='0' offset='0%25'%3E%3C/stop%3E%3Cstop stop-color='%23606060' stop-opacity='0.3' offset='100%25'%3E%3C/stop%3E%3C/linearGradient%3E%3ClinearGradient x1='100%25' y1='8.67370605%25' x2='100%25' y2='90.6286621%25' id='linearGradient-2'%3E%3Cstop stop-color='%23606060' offset='0%25'%3E%3C/stop%3E%3Cstop stop-color='%23606060' stop-opacity='0.3' offset='100%25'%3E%3C/stop%3E%3C/linearGradient%3E%3C/defs%3E%3Cg stroke='none' stroke-width='1' fill='none' fill-rule='evenodd' opacity='0.9'%3E%3Cg%3E%3Cpath d='M40,0 C62.09139,0 80,17.90861 80,40 C80,62.09139 62.09139,80 40,80 L40,73 C58.2253967,73 73,58.2253967 73,40 C73,21.7746033 58.2253967,7 40,7 L40,0 Z' fill='url(%23linearGradient-1)'%3E%3C/path%3E%3Cpath d='M40,0 L40,7 C21.7746033,7 7,21.7746033 7,40 C7,58.2253967 21.7746033,73 40,73 L40,80 C17.90861,80 0,62.09139 0,40 C0,17.90861 17.90861,0 40,0 Z' fill='url(%23linearGradient-2)'%3E%3C/path%3E%3Ccircle id='Oval' fill='%23606060' cx='40.5' cy='3.5' r='3.5'%3E%3C/circle%3E%3C/g%3E%3CanimateTransform attributeName='transform' begin='0s' dur='1s' type='rotate' values='0 40 40;360 40 40' repeatCount='indefinite'/%3E%3C/g%3E%3C/svg%3E%0A") 0 0 no-repeat;
|
||||
mask-size: cover;
|
||||
-webkit-mask-size: cover;
|
||||
mask-size: cover;
|
||||
background-color: currentColor;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar{
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
background-color: transparent;
|
||||
}
|
||||
::-webkit-scrollbar-thumb {
|
||||
border-radius: 5px;
|
||||
background-color: rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-track:hover {
|
||||
background-color: rgba(0, 0, 0, 0.1);
|
||||
border-radius: 5px;
|
||||
}
|
||||
24
web/res/js/jquery-changeuser.js
vendored
24
web/res/js/jquery-changeuser.js
vendored
@@ -9,7 +9,7 @@
|
||||
(function ($) {
|
||||
|
||||
function _getstyles(){
|
||||
var s='<style>.changeuserlist div.listsss{padding:10px; background:white;border-bottom:1px #eeeeee solid;cursor:default}.changeuserlist td{color:#333333}.changeuserlist div:active{ background:#f1f1f1}.changeuserbotton{height:30px;width:50px; background:#d9534f;color:white;font-size:14px;border:none;padding:0px;margin:0px;line-height:20px;cursor:default;opacity:1;outline:none;border-radius:5px}.changeuserbotton:active{color:white;border:none;opacity:0.8}.changeuserxuan span{background:white;border:1px #cccccc solid;padding:3px;border-radius:5px;font-size:12px;margin-left:5px;cursor:pointer}</style>';
|
||||
var s='<style>.changeuserlist div.listsss{padding:10px; background:white;border-bottom:var(--border);cursor:default}.changeuserlist td{color:#333333}.changeuserlist div:active{ background:rgba(0,0,0,0.1)}.changeuserbotton{height:30px;width:50px; background:#d9534f;color:white;border:none;padding:0px;margin:0px;line-height:20px;cursor:default;opacity:1;outline:none;border-radius:5px}.changeuserbotton:active{color:white;border:none;opacity:0.8}.changeuserxuan span{background:white;border:var(--border);padding:3px;border-radius:5px;font-size:12px;margin-left:5px;cursor:pointer;color:black}</style>';
|
||||
return s;
|
||||
}
|
||||
|
||||
@@ -59,13 +59,13 @@
|
||||
hei = $('#'+this.showview+'').height();
|
||||
atts='';
|
||||
}
|
||||
var s='<div style="'+atts+'z-index:100;width:100%;height:100%;overflow:hidden;left:0px;top:0px; background:white" id="changeuser_'+rand+'">';
|
||||
var s='<div style="'+atts+'z-index:100;width:100%;height:100%;overflow:hidden;left:0px;top:0px; background:white;border-radius:0px 0px 5px 5px" id="changeuser_'+rand+'">';
|
||||
if(this.titlebool){
|
||||
s+='<div style="height:50px;line-height:50px;text-align:center; background:white;border-bottom:1px #cccccc solid"><b>'+this.title+'</b></div>';
|
||||
s+='<div style="height:50px;line-height:50px;text-align:center; background:white;border-bottom:var(--border)"><b>'+this.title+'</b></div>';
|
||||
jhei+=50;
|
||||
}
|
||||
if(this.changetype.indexOf('user')>=0){
|
||||
s+='<div style="height:50px;overflow:hidden;border-bottom:1px #cccccc solid"><table width="100%" style="background:none"><tr><td width="100%" height="50" style="background:none"><input id="changekey_'+this.rand+'" placeholder="部门/姓名/职位" style="height:30px;border:none;background:none;width:100%;margin:0px 10px;outline:none"></td><td><button style="background:none;border:none;color:#666666" class="changeuserbotton" id="changesoubtn_'+this.rand+'" type="button" >查找</button></td></tr></table></div>';
|
||||
s+='<div style="height:50px;overflow:hidden;border-bottom:var(--border)"><table width="100%" style="background:none"><tr><td width="100%" height="50" style="background:none"><input id="changekey_'+this.rand+'" placeholder="部门/姓名/职位" style="height:30px;border:none;background:none;width:100%;margin:0px 10px;outline:none;color:black"></td><td><button style="background:none;border:none;color:#666666" class="changeuserbotton" id="changesoubtn_'+this.rand+'" type="button" >查找</button></td></tr></table></div>';
|
||||
jhei+=50;
|
||||
}
|
||||
s+='<div style="-webkit-overflow-scrolling:touch;height:'+(hei-jhei)+'px;overflow:auto; background:#f1f1f1" class="changeuserlist">';
|
||||
@@ -83,10 +83,10 @@
|
||||
s3+='</select>';
|
||||
}
|
||||
if(type=='checkbox'){
|
||||
s+='<div class="changeuserxuan" style="padding:5px;border-right:1px #cccccc solid;border-top:1px #cccccc solid;line-height:30px;position:absolute;bottom:49px;background:white;"><font style="cursor:pointer" id="yixuanbtn_'+rand+'">∨</font><font id="yixuan_'+rand+'"></font></div>';
|
||||
s+='<div class="changeuserxuan" style="padding:5px;border-right:var(--border);border-top:var(--border);line-height:30px;position:absolute;bottom:49px;background:white;color:black;"><font style="cursor:pointer" id="yixuanbtn_'+rand+'">∨</font><font id="yixuan_'+rand+'"></font></div>';
|
||||
}
|
||||
var cold = window['maincolor'];if(!cold)cold='#1389D3';
|
||||
s+='<div style="height:50px;line-height:50px;border-top:1px #cccccc solid" align="right"><table width="100%" style="background:none"><tr><td width="10" nowrap> </td><td width="80%">'+s3+'</td><td><button style="width:70px;border:none" type="button" id="changereload_'+rand+'" class="changeuserbotton" >刷新数据</button></td><td width="10" nowrap> </td><td><button class="changeuserbotton" type="button" id="changecancl_'+rand+'" >取消</button></td><td width="10" nowrap> </td><td height="50"><button style="background:'+cold+';" id="changeok_'+rand+'" type="button" class="changeuserbotton">确定</button></td><td width="10" nowrap> </td></tr></table></div>';
|
||||
s+='<div style="height:50px;line-height:50px;border-top:var(--border)" align="right"><table width="100%" style="background:none"><tr><td width="10" nowrap> </td><td width="80%">'+s3+'</td><td><button style="width:70px;border:none" type="button" id="changereload_'+rand+'" class="changeuserbotton" >刷新数据</button></td><td width="10" nowrap> </td><td><button class="changeuserbotton" type="button" id="changecancl_'+rand+'" >取消</button></td><td width="10" nowrap> </td><td height="50"><button style="background:'+cold+';" id="changeok_'+rand+'" type="button" class="changeuserbotton">确定</button></td><td width="10" nowrap> </td></tr></table></div>';
|
||||
s+=_getstyles();
|
||||
s+='</div>';
|
||||
if(atts==''){
|
||||
@@ -379,7 +379,7 @@
|
||||
|
||||
this._loaddata=function(){
|
||||
var o1 = $('#showdiv'+rand+'_0'),url;
|
||||
o1.html('<div align="center" style="padding:30px"><img src="images/mloading.gif"></div>');
|
||||
o1.html('<div align="center" style="padding:30px;color:#333333">'+js.ling(30)+'</div>');
|
||||
var url = 'index.php?a=deptuserjson&m=dept&d=system&ajaxbool=true&changerange='+this.changerange+'&changerangeno='+this.changerangeno+'>ype=change';
|
||||
$.getJSON(url, function(ret){
|
||||
if(ret.code==200){
|
||||
@@ -469,11 +469,11 @@
|
||||
if(this.ismobile)ws='90%';
|
||||
var cold = window['maincolor'];if(!cold)cold='#1389D3';
|
||||
var s='<div style="width:100%;height:100%;overflow:hidden;left:0px;top:0px; background:rgba(0,0,0,0.3);position:fixed;z-index:11" id="selectdata_'+rand+'">';
|
||||
s+='<div tsid="main" id="mints_'+rand+'" style="position:absolute;top:30%; background:white;width:'+ws+';box-shadow:0px 0px 10px rgba(0,0,0,0.3);border-radius:5px">';
|
||||
s+=' <div onmousedown="js.move(\'mints_'+rand+'\')" style="line-height:50px;color:'+cold+';font-size:16px;border-bottom:1px #eeeeee solid;font-weight:bold;"> '+this.title+'</div>';
|
||||
s+=' <div style="height:40px;overflow:hidden;border-bottom:1px #cccccc solid;"><table width="100%" style="background:none"><tr><td><select id="selxuan_'+this.rand+'" style="width:120px;border:none;background:none;display:none"><option value="">选择所有</option></select></td><td width="100%" height="40"><input id="changekey_'+this.rand+'" placeholder="搜索关键词" style="height:30px;border:none;background:none;width:100%;margin:0px 10px;outline:none"></td><td><button style="background:none;color:#666666;" class="changeuserbotton" id="changesoubtn_'+this.rand+'" type="button" >查找</button></td></tr></table></div>';
|
||||
s+='<div tsid="main" id="mints_'+rand+'" style="position:absolute;top:30%; background:white;width:'+ws+';box-shadow:0px 0px 10px rgba(0,0,0,0.3);border-radius:5px;color:black">';
|
||||
s+=' <div onmousedown="js.move(\'mints_'+rand+'\')" style="line-height:50px;color:'+cold+';font-size:16px;border-bottom:var(--border);font-weight:bold;"> '+this.title+'</div>';
|
||||
s+=' <div style="height:40px;overflow:hidden;border-bottom:var(--border);"><table width="100%" style="background:none"><tr><td><select id="selxuan_'+this.rand+'" style="width:120px;border:none;background:none;display:none"><option value="">选择所有</option></select></td><td width="100%" height="40"><input id="changekey_'+this.rand+'" placeholder="搜索关键词" style="height:30px;border:none;background:none;width:100%;margin:0px 10px;outline:none;color:black"></td><td><button style="background:none;color:#666666;" class="changeuserbotton" id="changesoubtn_'+this.rand+'" type="button" >查找</button></td></tr></table></div>';
|
||||
s+=' <div style="-webkit-overflow-scrolling:touch;height:300px;overflow:auto; background:#f1f1f1" id="selectlist_'+rand+'" class="changeuserlist"></div>';
|
||||
s+=' <div style="height:50px;line-height:50px;border-top:1px #cccccc solid;" align="right"><table width="100%" style="background:none"><tr><td width="10" nowrap> </td><td width="80%"><font color="#888888" tsid="count"></font></td><td><button type="button" id="changereload_'+rand+'" class="changeuserbotton">刷新</button></td><td width="10" nowrap> </td><td><button class="changeuserbotton" type="button" id="changecancl_'+rand+'">取消</button></td><td width="10" nowrap> </td><td height="50"><button style="background:'+cold+';" id="changeok_'+rand+'" type="button" class="changeuserbotton">确定</button></td><td width="10" nowrap> </td></tr></table></div>';
|
||||
s+=' <div style="height:50px;line-height:50px;border-top:var(--border);" align="right"><table width="100%" style="background:none"><tr><td width="10" nowrap> </td><td width="80%"><font color="#888888" tsid="count"></font></td><td><button type="button" id="changereload_'+rand+'" class="changeuserbotton">刷新</button></td><td width="10" nowrap> </td><td><button class="changeuserbotton" type="button" id="changecancl_'+rand+'">取消</button></td><td width="10" nowrap> </td><td height="50"><button style="background:'+cold+';" id="changeok_'+rand+'" type="button" class="changeuserbotton">确定</button></td><td width="10" nowrap> </td></tr></table></div>';
|
||||
s+='</div>';
|
||||
s+='</div>';
|
||||
s+=_getstyles();
|
||||
@@ -637,7 +637,7 @@
|
||||
if(url=='')return;
|
||||
url+='&page='+this.page+'';
|
||||
url+='&limit='+this.maxshow+'';
|
||||
$('#selectlist_'+rand+'').html('<div align="center" style="margin-top:30px"><img src="images/mloading.gif"></div>');
|
||||
$('#selectlist_'+rand+'').html('<div align="center" style="margin-top:30px;color:#333333">'+js.ling(30)+'</div>');
|
||||
$.ajax({
|
||||
type:'get',dataType:'json',url:url,
|
||||
success:function(ret){
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<style>
|
||||
body,html{padding:0px;margin:0px;font-size:14px}
|
||||
.close{height:20px;width:20px;display:block;text-align:center;line-height:18px;cursor:pointer;font-size:16px}
|
||||
.close:hover{background:#ff1118;color:white}
|
||||
.close:hover{background:#ff1118;color:white;border-radius:10px}
|
||||
table {
|
||||
border-spacing: 0;
|
||||
border-collapse: collapse;
|
||||
@@ -17,7 +17,7 @@ table {
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
winobj = nw.Window.get();
|
||||
winobj.moveTo(screen.width-355,screen.height-170);
|
||||
winobj.moveTo(screen.width-360,screen.height-150);
|
||||
winobj.show();
|
||||
var nr = localStorage.getItem('xinhuoa_notification');
|
||||
if(nr){
|
||||
@@ -39,25 +39,28 @@ function clickbody(){
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body style="overflow:hidden;cursor:pointer" >
|
||||
<div style="position:absolute;right:2px;top:2px;-webkit-app-region:no-drag;z-index:5">
|
||||
<span onclick="winclose();" title="关闭" class="close">×</span>
|
||||
</div>
|
||||
<div style="height:10px"></div>
|
||||
<table border="0" style="margin:0px 8px" onclick="clickbody()">
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<div style="width:80px;height:80px;overflow:hidden;margin:5px" align="center">
|
||||
<img src="../../../images/logo.png" id="logodiv" height="80px" width="80px">
|
||||
</div>
|
||||
</td>
|
||||
<td style="padding-left:5px">
|
||||
<div id="titlediv" style="font-size:16px;font-size:bold;line-height:20px;height:20px;overflow:hidden;margin-top:12px"></div>
|
||||
<div id="messdiv" style="font-size:14px;color:gray;line-height:20px;height:40px;overflow:hidden;margin-top:8px"></div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<body style="overflow:hidden;cursor:pointer; " >
|
||||
<div style="border-radius:10px;background:white;border:rgba(0,0,0,0.1) 0.5px solid;margin:1px;box-shadow:0px 5px 10px 1px rgba(0,0,0,0.05);margin:5px">
|
||||
<div style="padding:8px">
|
||||
<div style="position:absolute;right:8px;top:7px;-webkit-app-region:no-drag;z-index:5">
|
||||
<span onclick="winclose();" class="close">×</span>
|
||||
</div>
|
||||
<table border="0" width="100%" onclick="clickbody()">
|
||||
<tr valign="top">
|
||||
<td width="60px">
|
||||
<div style="width:70px;height:70px;overflow:hidden;margin:5px" align="center">
|
||||
<img src="../../../images/logo.png" style="border-radius:10px;" id="logodiv" height="70px" width="70px">
|
||||
</div>
|
||||
</td>
|
||||
<td style="padding-left:5px" align="left">
|
||||
<div id="titlediv" style="font-size:16px;font-size:bold;line-height:20px;height:20px;overflow:hidden;margin-top:10px"></div>
|
||||
<div id="messdiv" style="font-size:14px;color:gray;line-height:18px;height:40px;overflow:hidden;margin-top:5px"></div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -76,7 +76,7 @@ function notifyClass(opts){
|
||||
this.close();
|
||||
var url =NOWURL+'web/res/js/notification.html?'+Math.random()+'';
|
||||
localStorage.setItem('xinhuoa_notification', JSON.stringify({icon:can.icon,title:can.title,body:can.body}));
|
||||
var canss={"frame": false,title:"消息提醒","width": 350,resizable:false,'always_on_top':true,show:false,"height": 110,"show_in_taskbar":false}
|
||||
var canss={"frame": false,title:"消息提醒","width": 350,resizable:false,'always_on_top':true,show:false,"height": 110,"show_in_taskbar":false,"transparent":true}
|
||||
nw.Window.open(url,canss,function(wis){
|
||||
me.notification = wis;
|
||||
wis.on('close',function(){
|
||||
|
||||
6
web/res/mode/calendar/jquery-rockcalendar.js
vendored
6
web/res/mode/calendar/jquery-rockcalendar.js
vendored
@@ -74,7 +74,7 @@
|
||||
s+='<tr>';
|
||||
for(var i=0;i<7;i++){
|
||||
x++;
|
||||
s+='<td align="'+can.align+'" height="'+(h/6)+'px" valign="'+can.valign+'" width="'+w+'%" class="tdtext" id="calcontabc'+x+'_'+id+'" temp="'+x+'"></td>';
|
||||
s+='<td align="'+can.align+'" height="'+((h/6)-2)+'px" valign="'+can.valign+'" width="'+w+'%" class="tdtext" id="calcontabc'+x+'_'+id+'" temp="'+x+'"></td>';
|
||||
}
|
||||
s+='</tr>';
|
||||
}
|
||||
@@ -413,10 +413,10 @@
|
||||
this.changemonth(a[0], a[1]);
|
||||
}
|
||||
}
|
||||
|
||||
if(typeof(bootsSelectColor)!='string')bootsSelectColor= 'rgba(0,0,0,0.1)';
|
||||
$.fn.rockcalendar = function(options){
|
||||
var defaultVal = {
|
||||
height:400,selbgcolor:'#D3FFF6',month:'',
|
||||
height:400,selbgcolor:bootsSelectColor,month:'',
|
||||
fillot:true,renderer:function(){return ''},align:'left',valign:'top',
|
||||
changemonth:function(){},boofan:true,onclick:function(){},jierixiuxi:'',jierishangban:'',headerbgcolor:'',
|
||||
bordercolor:'',
|
||||
|
||||
@@ -1,22 +1,28 @@
|
||||
.rockmenu{ position:absolute;display:none; z-index:9999}
|
||||
.rockmenuli{border:1px #eeeeee solid;
|
||||
background-color:#ffffff; left:0px; top:0px; background:rgba(255,255,255,0.9);
|
||||
box-shadow:0px 0px 5px rgba(0,0,0,0.3);color:#555555
|
||||
.rockmenu{ position:absolute;display:none; z-index:9999;background:white;border-radius:5px}
|
||||
.rockmenuli{
|
||||
border:var(--border);left:0px; top:0px;
|
||||
background:var(--main-bgcolor);
|
||||
box-shadow:0px 0px 5px rgba(0,0,0,0.3);
|
||||
box-shadow:0px 0px 5px rgba(var(--rgb-r),var(--rgb-g),var(--rgb-b),0.3);
|
||||
border-radius:5px;
|
||||
}
|
||||
.rockmenulijt{ padding:0px; text-align:center}
|
||||
.rockmenu ul{padding:0px;margin:0px}
|
||||
.rockmenu li{ list-style-type:none; padding:8px 12px; cursor:pointer; text-align:left; border-bottom:1px #eeeeee dotted;}
|
||||
.rockmenu li.li01{ background-color:#eeeeee;}
|
||||
.rockmenu li{ list-style-type:none; padding:10px 12px; cursor:pointer; text-align:left; border-bottom:var(--border);}
|
||||
.rockmenu li.li01{
|
||||
background-color:rgba(0,0,0,0.05);
|
||||
background-color:rgba(var(--rgb-r),var(--rgb-g),var(--rgb-b),0.05);
|
||||
}
|
||||
.rockmenu li span{ font-size:10px; }
|
||||
.rockmenu li.li01 span{}
|
||||
.rockmenuli li img.iconsa{ vertical-align:middle; width:16px; height:16px; margin-right:8px}
|
||||
|
||||
.rockmenu .arrow-up{
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-left: 10px solid transparent; /* 左边框的宽 */
|
||||
border-right: 10px solid transparent; /* 右边框的宽 */
|
||||
border-bottom: 10px solid #cccccc; /* 下边框的长度|高,以及背景色 */
|
||||
font-size: 0;
|
||||
line-height: 0;
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-left: 10px solid transparent; /* 左边框的宽 */
|
||||
border-right: 10px solid transparent; /* 右边框的宽 */
|
||||
border-bottom: 10px solid #cccccc; /* 下边框的长度|高,以及背景色 */
|
||||
font-size: 0;
|
||||
line-height: 0;
|
||||
}
|
||||
4
web/res/mode/menu/jquery-rockmenu.js
vendored
4
web/res/mode/menu/jquery-rockmenu.js
vendored
@@ -44,8 +44,8 @@ var rockmenuobj = null;
|
||||
}
|
||||
var len = json.length;
|
||||
var str = '<div class="rockmenu" id="rockmenu_'+rand+'">';
|
||||
if(can.arrowup)str+='<div class="arrow-up"></div>';
|
||||
str+='<div style="background:'+can.background+';" id="rockmenuli_'+rand+'" class="rockmenuli '+can.maincls+'"><ul>';
|
||||
//if(can.arrowup)str+='<div class="arrow-up"></div>';
|
||||
str+='<div id="rockmenuli_'+rand+'" class="rockmenuli '+can.maincls+'"><ul>';
|
||||
var s = '',ys='',col,va;
|
||||
for(var i=0; i<len; i++){
|
||||
ys= '',
|
||||
|
||||
Reference in New Issue
Block a user