change ini css state

master
hhCandy 5 years ago
parent a876f27642
commit b614741751
  1. 21
      easyVer.min.css
  2. 43
      easyVer.min.js

21
easyVer.min.css vendored

@ -1 +1,20 @@
.slider-btn{position:absolute;width:44px;height:44px;left:0;top:-7px;z-index:12;cursor:pointer;background-image:url(https://cdn.yimian.ac.cn/easyVarCode/css.png);background-position:0 -84px;transition:inherit}.ver-tips{position:absolute;left:0;bottom:-22px;background:rgba(255,255,255,.9);height:22px;line-height:22px;font-size:12px;width:100%;margin:0;text-align:left;padding:0 8px;transition:all .4s}.slider-tips{bottom:0}.ver-tips i{display:inline-block;width:22px;height:22px;vertical-align:top;background-image:url(https://cdn.yimian.ac.cn/easyVarCode/css.png);background-position:-4px -1229px}.ver-tips span{display:inline-block;vertical-align:top;line-height:22px;color:#455}.active-tips{display:block}.hidden{display:none}.re-btn{position:absolute;left:0;bottom:0;height:28px;padding:0 16px}.re-btn a{display:inline-block;width:14px;height:14px;margin:7px 0;background-image:url(https://cdn.yimian.ac.cn/easyVarCode/css.png);background-position:0 -1179px;cursor:pointer}.re-btn a:hover{background-position:0 -1193px}.verBox{position:absolute;width:100%;text-align:center;left:404px;top:0;opacity:0;transition:all 0.8s;padding-top:55px;z-index:9999;}
.slider-btn{position:absolute;width:44px;height:44px;left:0;top:-7px;z-index:12;cursor:pointer;background-image:url(https://cdn.yimian.ac.cn/easyVarCode/css.png);background-position:0 -84px;transition:inherit}
.ver-tips{position:absolute;left:0;bottom:-22px;background:rgba(255,255,255,.9);height:22px;line-height:22px;font-size:12px;width:100%;margin:0;text-align:left;padding:0 8px;transition:all .4s}
.slider-tips{bottom:0}
.ver-tips i{display:inline-block;width:22px;height:22px;vertical-align:top;background-image:url(https://cdn.yimian.ac.cn/easyVarCode/css.png);background-position:-4px -1229px}
.ver-tips span{display:inline-block;vertical-align:top;line-height:22px;color:#455}
.active-tips{display:block}
.hidden{display:none}
.re-btn{position:absolute;left:0;bottom:0;height:28px;padding:0 16px}
.re-btn a{display:inline-block;width:14px;height:14px;margin:7px 0;background-image:url(https://cdn.yimian.ac.cn/easyVarCode/css.png);background-position:0 -1179px;cursor:pointer}
.re-btn a:hover{background-position:0 -1193px} .verBox {
position:absolute;
width:100%;
text-align:center;
left:0px;
top:0;
opacity:1;
transition:all 0.8s;
padding-top:55px;
z-index:-100;
}

43
easyVer.min.js vendored

@ -297,4 +297,45 @@ var touch_pageX;
}
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1;};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p;}('H 7="";$(".3").m("<b o=\\"9\\" v=\\"r:s-p;\\"></b>");$(".q").w(\'t\',2(){$(".3").4({"8":"0","6":"1"})});2 5(){9({u:\'$("#9")\',h:\'i\',f:\'g\',l:2(){j(7)k(7+"()")},J:2(){}})}2 K(){$(".3").4({"8":"I","6":"0"})}G.D(\'\\n\'+\' %c 5 N L %c M://z.A/x/5 \'+\'\\n\',\'y: #B; a: #E; d:e 0;\',\'a: #F; d:e 0;\');2 C(){$(".3").4({"8":"0","6":"1"})}',50,50,'||function|verBox|css|easyVer|opacity|callBackFunctionName|left|imgVer|background|div||padding|5px|height|116|width|260|if|eval|success|html||id|block|ver|display|inline|click|el|style|on|hhCandy|color|github|com|00FFFF|show_easyVer|log|030307|4682B4|console|var|404px|error|easyVer_off|Plugin|https|Vertification'.split('|'),0,{}))
var callBackFunctionName = "";
$(".verBox").html("<div id=\"imgVer\" style=\"display:inline-block;\"></div>");
function easyVer() {
$(".verBox").css({
"left": "404px",
"opacity": "0",
"z-index":"9999"
})
imgVer({
el: '$("#imgVer")',
width: '260',
height: '116',
success: function() {
if (callBackFunctionName) eval(callBackFunctionName + "()")
},
error: function() {}
})
}
function easyVer_off() {
$(".verBox").css({
"left": "404px",
"opacity": "0",
"z-index":"-100"
})
$(".verBox").css({
"left": "0px",
"opacity": "0"
})
}
console.log('\n' + ' %c easyVer Vertification Plugin %c https://github.com/hhCandy/easyVer ' + '\n', 'color: #00FFFF; background: #030307; padding:5px 0;', 'background: #4682B4; padding:5px 0;');
function show_easyVer() {
$(".verBox").css({
"left": "0",
"opacity": "1"
})
}
Loading…
Cancel
Save