Commit 6502e6a2 by 庄欣

添加滚动

parent 1ec6f292
......@@ -30,6 +30,7 @@
left: 35%;
color: #23283f;
padding-top: 10px;
height: auto;
}
#__extend_fast_quote #__extend_fastquote_container #_____mp_fastquote div{
......
......@@ -92,13 +92,21 @@ var addError = function(error, showUi) {
var main = document.getElementById("main-ui");
main.style.display = "none";
}
removeSuccess();
}
var addSuccess = function (msg) {
var errorDom = document.getElementById("error");
errorDom.innerHTML = "";
var okDom = document.getElementById("success");
okDom.innerHTML = msg;
}
var removeSuccess = function() {
var okDom = document.getElementById("success");
okDom.innerHTML = "";
}
var getData = (api, data, callback) => {
api = api + "?";
for (var i in data) {
......@@ -185,6 +193,7 @@ function removeLoading() {
mask.remove();
}
function assertStatus() {
var statusDom = document.getElementById("status");
var passTimeDom = document.getElementById("passTime");
......@@ -243,6 +252,7 @@ function goNext() {
getCookie("default_status", function (res) {
if (res.value != null) {
statusDom.value = res.value;
assertStatus();
}
});
var sendBtn = document.getElementById("send")
......@@ -268,11 +278,12 @@ function goNext() {
removeLoading();
return;
}
addSuccess("操作成功,已添加到后台推送记录");
addSuccess("已添加到后台推送记录");
removeLoading();
setCookie("default_admin", postData['admin_id']);
setCookie("default_status", postData['status']);
setCookie("default_channel", postData['channel_id']);
prop();
return ;
});
}
......
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