修正部分情况下图标无法发送表情的bug;延迟贴图发送信息;微调跨站推荐样式
This commit is contained in:
parent
1da7e678d5
commit
6bc60739f7
@ -282,6 +282,8 @@
|
||||
#suggestion .result .train-list {
|
||||
border: 1px solid #dcdcdc;
|
||||
padding: 10px;
|
||||
max-width: 500px;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
#suggestion .result .train-list span {
|
||||
|
@ -168,8 +168,10 @@
|
||||
.done(function (json) {
|
||||
tip.close();
|
||||
if (json.resCode === 0) {
|
||||
setTimeout(function () {
|
||||
data.images.push(json.data.img_url);
|
||||
port.postMessage("chatRoomSendMsg", coder.encode(data));
|
||||
}, 1000);
|
||||
}
|
||||
}).fail(function () {
|
||||
tip.setState("error", "图片上传失败:服务器开小差了....");
|
||||
@ -230,7 +232,7 @@
|
||||
if (msg.color)
|
||||
msg.color = "#" + msg.color;
|
||||
//咩哈哈哈哈
|
||||
if (msg.fromUser === "iccfish" || msg.fromUser.username === "imfish") {
|
||||
if (msg.fromUser.username === "iccfish" || msg.fromUser.username === "imfish") {
|
||||
msg.fromUser.realname = "木魚";
|
||||
msg.fromUser.exStyle = "font-weight:bold;";
|
||||
}
|
||||
@ -356,6 +358,7 @@
|
||||
editor.find(">header .chat-editor-color").val(color);
|
||||
editor.find(".chat-editor-container").css("color", color);
|
||||
|
||||
};
|
||||
faceSelector.click(function () {
|
||||
editor.find(">header>.popup-smail").toggleClass("popup-smail-on");
|
||||
loadImgIcons();
|
||||
@ -379,7 +382,6 @@
|
||||
$(".chat-items").on("click", ".chat-item > section > img", function () {
|
||||
$(this).colorbox({ html: this.outerHTML });
|
||||
});
|
||||
};
|
||||
var delayEnableSend = function () {
|
||||
sendBtn.prop("disabled", true);
|
||||
setTimeout(function () {
|
||||
@ -491,7 +493,7 @@
|
||||
var authorlink = item.find(".chat-item-at:eq(0)")[0];
|
||||
var username = authorlink.dataset.un;
|
||||
|
||||
if (username === '*') {
|
||||
if (username === '*' || username === "imfish" || username === "iccfish") {
|
||||
mp.showMessagePopup("error", "亲,不可以举报我们伟大的管理员哦 ♪(´ε`)");
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user