U.D.Blog.U.js 4.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. Namespace.register("U.MD.D.Blog.U"); //用户信息区域查看朋友圈
  2. //首页最新消息
  3. U.MD.D.Blog.U.ZXBlog = function (UDOD, UDE, UTF, UIE, USID) {
  4. var i, _UVM, _UTI, _UAT, _UCE, _UDAD, _UDED, _UDBD, _UDTD, _UDSD, _UDID, _UDKD, _UDND, _UDED, _UDKD, _UDAC, _UDVD, _UDLD, _UDPD, _UIMG, _UDFD = $$("frag"), _userid = US.userInfo.userid, _UTI = U.MD.D.Blog.ZXWZ(UDOD, UIE, null, true);
  5. for (i = 0; i < UDE.length; i++) {
  6. _UIMG = null; _UVM = true; _UCE = UDE[i];
  7. _UDBD = $$("div", { "className": "UD_SYSXZBRA", "style": { "cssText": "left:" + _UTI[4] + "px;top:" + _UTI[5] + "px"} }, _UDFD);
  8. _UDTD = $$("div", { "className": "UD_SYSXZBRAO" }, _UDBD);
  9. _UDED = $$("div", { "className": "UD_SYSXZBRO", "onclick": [[U.MD.D.Blog.F.GSHGBL, [_UCE, null, null]]] }, _UDTD); _UAT = _UCE.ArticleAddTime;
  10. _UDPD = $$("div", { "className": "UD_SYSXZBROCD" }, _UDTD);
  11. _UDID = $$("div", { "className": "UD_SYSXZLRSRDTRDRO" }, _UDPD);
  12. _UDKD = $$("div", { "className": "UD_SYSXZLRSRDTRDRZ", "title": "转发", "onclick": [[U.UF.M.StopBubble], [U.MD.U.L.SYDLHD, [U.UF.M.apply(this, [[U.MD.D.Blog.A.PAZF, [_UCE]]])]]] }, _UDID);
  13. $$("div", { "className": "UD_SYSXZLRSRDTRDRZIO UD_SYI" }, _UDKD);
  14. $$("div", { "innerHTML": _UCE.ArticleZFN, "className": "UD_SYSXZLRSRDTRDRZN" }, _UDKD);
  15. _UDKD = $$("div", { "className": "UD_SYSXZLRSRDTRDRZ", "title": "阅读" }, _UDID);
  16. $$("div", { "className": "UD_SYSXZLRSRDTRDRZIT UD_SYI" }, _UDKD);
  17. $$("div", { "innerHTML": _UCE.AricitleReadNumber, "className": "UD_SYSXZLRSRDTRDRZN" }, _UDKD);
  18. if ((_UDTD = _UDED) && _UCE.ZF) {
  19. _UDED.onclick = U.UF.M.apply(this, [[U.MD.D.Blog.F.GSHGBL, [_UCE.ZF, null, null]]]);
  20. _UDSD = $$("div", { "className": "UD_SYSXZBMCOT UD_SYSXZBMCOTT" }, _UDTD);
  21. $$("div", { "className": "UD_SYSXZLRSRDTSL UD_SYI UD_SYSXZLRSRDTSLO" }, _UDSD);
  22. _UDID = $$("div", { "className": "UD_SYSXZBMCOTLT" }, _UDSD);
  23. $$("img", { "onerror": U.UF.M.ImgError, "alt": _UCE.UserName, "title": _UCE.UserName, "onclick": [[U.UF.M.StopBubble], [U.MD.U.I.ViewOtherUserInfo, [_UCE.UserID]]], "src": U.UF.M.GetImgU(_UCE.UserThumbnailImageHead) }, _UDID);
  24. _UDID = $$("div", { "className": "UD_SYSXZBMCOTZTO UTDF" }, _UDSD);
  25. _UDKD = $$("div", { "className": "UD_SYSXZBMCOTZTOS" }, _UDID);
  26. $$("div", { "className": "UD_SYSXZBMCOTZTOSL", "innerHTML": _UCE.UserName }, _UDKD);
  27. $$("div", { "className": "UD_SYSXZBMCOTZTR UD_SYSXZBMCOTZTOSR", "innerHTML": "推荐了" }, _UDKD);
  28. _UDID = $$("div", { "className": "UD_SYSXZBMCOTZTOX", "innerHTML": _UCE.ArticleContentBrief }, _UDID); _UDID.innerText = _UDID.innerText.addEllipsis(50) || ""; _UCE = _UCE.ZF; _UVM = !_UVM;
  29. }
  30. _UDSD = $$("div", { "className": "UD_SYSXZBMCOT UD_SYSXZBMCOTU" }, _UDTD);
  31. _UDID = $$("div", { "className": "UD_SYSXZBMCOTL UD_SYSXZBMCOTLO" }, _UDSD);
  32. $$("img", { "onerror": U.UF.M.ImgError, "alt": _UCE.UserName, "title": _UCE.UserName, "onclick": [[U.UF.M.StopBubble], [U.MD.U.I.ViewOtherUserInfo, [_UCE.UserID]]], "src": U.UF.M.GetImgU(_UCE.UserThumbnailImageHead) }, _UDID);
  33. _UDKD = $$("div", { "className": "UD_SYSXZBMCOTO UD_SYSXZBMCOTZ UTDF", "innerHTML": _UCE.UserName }, _UDSD);
  34. $$("div", { "className": "UD_SYSXZBMCOTR UD_SYSXZBMCOTRO", "innerHTML": U.UF.D.getDateInterval(_UAT) }, _UDSD);
  35. _UDND = $$("div", { "className": "UD_SYSXZBROCO" }, _UDTD);
  36. (USID && UDE[i].UserID == _userid) && ($$("div", { "className": "UD_SYSXZLRSRDTRZTI UD_SYSXZLRSRDTRZTIO UD_SYI", "onclick": [[U.UF.M.StopBubble], [U.UF.UI.Confirm, ["是否删除该消息", [U.MD.D.Blog.F.SCPGBL, [UDE[i], _UDBD]]]]], "title": "移除消息" }, _UDTD));
  37. _UDKD = $$("div", { "className": "UD_SYSXZBROCT" + (_UCE.ArticleContentBrief ? " UD_SYSXZBROCTO" : ""), "innerHTML": _UCE.ArticleContentBrief }, _UDND); _UDKD.innerText = _UDKD.innerText.addEllipsis(150) || "图片分享";
  38. _UDED = $$("div", { "className": "UD_SYSXZBROC", "onclick": [[U.MD.D.Blog.F.GSHGBL, [_UCE]]] }, _UDND);
  39. (_UDAC = _UCE.ArticleContent) && (_UDVD = $$("div", { "className": "UD_SYSXZBROCC" }), _UDLD = $$("div", { "onclick": U.UF.M.apply(), "innerHTML": _UDAC }, _UDVD), _UIMG = $("img", _UDLD)[0], _UDLD.innerText = "", (_UIMG) && (_UDED.appendChild(_UDVD), U.MD.D.H.JZTPJS(_UIMG.src, _UDLD, _UCE)));
  40. _UDND = $$("div", { "className": "UD_SYSXZBROCS", "style": { "width": _UIMG ? "" : "258px", "marginLeft": _UIMG ? "" : "0px"} }, _UDED);
  41. }
  42. _UDAD = $(_UDFD).Child(); UDOD.insertBefore(_UDFD, ((UIE != null) && ($(UDOD).Child()[UIE])) || null); U.MD.D.Blog.ZXWZ(UDOD, (UIE || 0), _UDFD, false); //
  43. }