Browse Source

更改消息

lipengtao 6 years ago
parent
commit
f888aae87c
1 changed files with 6 additions and 1 deletions
  1. 6 1
      js/platTiding.js

+ 6 - 1
js/platTiding.js

4
  var imgUrl = "";
4
  var imgUrl = "";
5
  var timerset;
5
  var timerset;
6
  var oflag = false;
6
  var oflag = false;
7
  var pd = false;
7
  loginStatus(); //判断个人是否登录
8
  loginStatus(); //判断个人是否登录
8
  $(".list_body").niceScroll({
9
  $(".list_body").niceScroll({
9
    cursorcolor: "#999999"
10
    cursorcolor: "#999999"
130
  /*切换*/
131
  /*切换*/
131
  $(".list_body").on("click", ".list_item", function () {
132
  $(".list_body").on("click", ".list_item", function () {
132
    oflag = true;
133
    oflag = true;
134
    pd = true;
133
    if(timerset) {
135
    if(timerset) {
134
      clearInterval(timerset);
136
      clearInterval(timerset);
135
    }
137
    }
286
              $(".chat_body_list").append(oStr);
288
              $(".chat_body_list").append(oStr);
287
            }
289
            }
288
            $(".chat_body.clearfix").getNiceScroll().hide().show().resize();
290
            $(".chat_body.clearfix").getNiceScroll().hide().show().resize();
289
            $(".chat_body.clearfix").getNiceScroll(0).doScrollTop($(".chat_body_list").height(), 100);
291
            if (pd) {
292
              $(".chat_body.clearfix").getNiceScroll(0).doScrollTop($(".chat_body_list").height(), 100);
293
              pd = false;
294
            }
290
          }
295
          }
291
        }
296
        }
292
      },
297
      },