修改 - 按钮元素

This commit is contained in:
suwings 2018-04-28 14:11:45 +08:00
parent 8f87499173
commit 6f5d95425a
3 changed files with 21 additions and 1 deletions

View File

@ -78,4 +78,13 @@
100% {
opacity: 1;
}
}
@keyframes btnHover {
0% {
opacity: 1;
}
100% {
opacity: 0.4;
}
}

View File

@ -24,6 +24,17 @@ input {
outline: none;
}
.btn {
border-radius: 0px;
}
.btn:hover {
opacity: 0.5;
/* action */
animation: btnHover 1s;
animation-fill-mode: forwards;
}
/*全局css定义结束*/
#Header {

View File

@ -103,7 +103,7 @@
RES.redirectPage = function (url, key, body, callback) {
var showUrl = url.replace(".", "");
var showKey = key || "Null"
TOOLS.setHeaderTitle(["加载", "|", showUrl, "| API:", showKey || "null"].join(" "));
TOOLS.setHeaderTitle(["正在加载...."].join(" "));
ToolsLoadingStart(function () {
MI.rOn('onend');
PageLoading();