123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- Namespace.register("U.MD.D.Blog.U"); //用户信息区域查看朋友圈
- //首页最新消息
- U.MD.D.Blog.U.ZXBlog = function (UDOD, UDE, UTF, UIE, USID) {
- 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);
- for (i = 0; i < UDE.length; i++) {
- _UIMG = null; _UVM = true; _UCE = UDE[i];
- _UDBD = $$("div",
- {
- "className": "UD_SYSXZBRA",
- "style":
- {
- "cssText": "left:" + _UTI[4] + "px;top:" + _UTI[5] + "px"
- }
- },
- _UDFD);
- _UDTD = $$("div",{"className": "UD_SYSXZBRAO"},_UDBD);
- _UDED = $$("div",
- {
- "className": "UD_SYSXZBRO",
- "onclick": function () {
- U.MD.D.Blog.F.GSHGBL(_UCE, null, null);
- }
- },
- _UDTD);
- _UAT = _UCE.ArticleAddTime;
- _UDPD = $$("div",{"className": "UD_SYSXZBROCD"},_UDTD);
- _UDID = $$("div",{"className": "UD_SYSXZLRSRDTRDRO"},_UDPD);
- _UDKD = $$("div",
- {
- "className": "UD_SYSXZLRSRDTRDRZ",
- "title": "转发",
- "onclick": function () {
- U.UF.EV.stopBubble();
- U.MD.U.L.setLoginCallBack(function () {
- U.MD.D.Blog.A.PAZF(_UCE);
- });
- }
- }, _UDID);
- $$("div",{"className": "UD_SYSXZLRSRDTRDRZIO U_Boom_Img_ys2017"},_UDKD);
- $$("div",{"innerHTML": _UCE.ArticleZFN,"className": "UD_SYSXZLRSRDTRDRZN"},_UDKD);
- _UDKD = $$("div",{"className": "UD_SYSXZLRSRDTRDRZ","title": "阅读"},_UDID);
- $$("div",{"className": "UD_SYSXZLRSRDTRDRZIT U_Boom_Img_ys2017"},_UDKD);
- $$("div",{"innerHTML": _UCE.AricitleReadNumber,"className": "UD_SYSXZLRSRDTRDRZN"},_UDKD);
- if ((_UDTD = _UDED) && _UCE.ZF) {
- _UDED.onclick = function () {
- U.MD.D.Blog.F.GSHGBL(_UCE.ZF, null, null);
- }
- _UDSD = $$("div",{"className": "UD_SYSXZBMCOT UD_SYSXZBMCOTT"},_UDTD);
- $$("div",{"className": "UD_SYSXZLRSRDTSL U_Boom_Img_ys2017 UD_SYSXZLRSRDTSLO"},_UDSD);
- _UDID = $$("div",{"className": "UD_SYSXZBMCOTLT"},_UDSD);
- $$("img",
- {
- "onerror": U.MD.C.imgError,
- "alt": _UCE.UserName,
- "title": _UCE.UserName,
- "onclick": function () {
- U.UF.EV.stopBubble();
- U.MD.U.V.ViewOtherUserInfo(_UCE.UserID);
- },
- "src": U.MD.C.getHeadImage(_UCE.UserThumbnailImageHead)
- },
- _UDID);
- _UDID = $$("div",{"className": "UD_SYSXZBMCOTZTO UTDF"},_UDSD);
- _UDKD = $$("div",{"className": "UD_SYSXZBMCOTZTOS"},_UDID);
- $$("div",{"className": "UD_SYSXZBMCOTZTOSL","innerHTML": _UCE.UserName},_UDKD);
- $$("div",{"className": "UD_SYSXZBMCOTZTR UD_SYSXZBMCOTZTOSR","innerHTML": "推荐了"},_UDKD);
- _UDID = $$("div",{"className": "UD_SYSXZBMCOTZTOX","innerHTML": _UCE.ArticleContentBrief},_UDID);
- _UDID.innerText = _UDID.innerText.addEllipsis(50) || "";
- _UCE = _UCE.ZF;
- _UVM = !_UVM;
- }
- _UDSD = $$("div", { "className": "UD_SYSXZBMCOT UD_SYSXZBMCOTU" }, _UDTD);
- _UDID = $$("div", { "className": "UD_SYSXZBMCOTL UD_SYSXZBMCOTLO" }, _UDSD);
- $$("img", { "onerror": U.MD.C.imgError, "alt": _UCE.UserName, "title": _UCE.UserName,
- "onclick": function () { U.UF.EV.stopBubble(); U.MD.U.V.ViewOtherUserInfo(_UCE.UserID); }, "src": U.MD.C.getHeadImage(_UCE.UserThumbnailImageHead) }, _UDID);
- _UDKD = $$("div", { "className": "UD_SYSXZBMCOTO UD_SYSXZBMCOTZ UTDF", "innerHTML": _UCE.UserName }, _UDSD);
- $$("div", { "className": "UD_SYSXZBMCOTR UD_SYSXZBMCOTRO", "innerHTML": U.UF.D.getDateInterval(_UAT) }, _UDSD);
- _UDND = $$("div", { "className": "UD_SYSXZBROCO" }, _UDTD);
- if (USID && UDE[i].UserID == _userid) {
- $$("div", { "className": "UD_SYSXZLRSRDTRZTI UD_SYSXZLRSRDTRZTIO U_Boom_Img_ys2017",
- "onclick": function () {
- U.UF.EV.stopBubble();
- U.UF.UI.Confirm("是否删除该消息", function () { U.MD.D.Blog.F.SCPGBL(UDE[i], _UDBD); });
- }, "title": "移除消息"
- }, _UDTD)
- };
- _UDKD = $$("div", { "className": "UD_SYSXZBROCT" + (_UCE.ArticleContentBrief ? " UD_SYSXZBROCTO" : ""), "innerHTML": _UCE.ArticleContentBrief }, _UDND); _UDKD.innerText = _UDKD.innerText.addEllipsis(150) || "图片分享";
- _UDED = $$("div", { "className": "UD_SYSXZBROC",
- "onclick": function () { U.MD.D.Blog.F.GSHGBL(_UCE); } }, _UDND);
- if (_UDAC = _UCE.ArticleContent) {
- _UDVD = $$("div", { "className": "UD_SYSXZBROCC" }), _UDLD = $$("div", {
- "onclick": function () { }, "innerHTML": _UDAC }, _UDVD), _UIMG = $("img", _UDLD)[0], _UDLD.innerText = "", (_UIMG) && (_UDED.appendChild(_UDVD), U.MD.D.H.JZTPJS(_UIMG.src, _UDLD, _UCE)) };
- _UDND = $$("div", { "className": "UD_SYSXZBROCS", "style": { "width": _UIMG ? "" : "258px", "marginLeft": _UIMG ? "" : "0px"} }, _UDED);
- }
- _UDAD = $(_UDFD).Child(); UDOD.insertBefore(_UDFD, ((UIE != null) && ($(UDOD).Child()[UIE])) || null); U.MD.D.Blog.ZXWZ(UDOD, (UIE || 0), _UDFD, false); //
- }
|