Namespace.register("U.MD.D.Blog.Dt"); //桌面blog //#region 桌面 U.MD.D.Blog.Dt.ZMBMAIN = function (UDE) { if ($("#UD_HCBCCL")[0]) { U.MD.D.Blog.Dt.ZMBCK(UDE[0][1], $("#UD_HCBCCL")[0]); //动静查看 U.MD.D.Blog.Dt.ZMBRMCK(UDE[2], $("#UD_HCBCCROC")[0]); //热门动静查看 U.MD.D.Blog.Dt.ZMBTBY(UDE[1], $("#UD_HCBCCRTC")[0]); //特别用户推荐 } } //切换查看 U.MD.D.Blog.Dt.SWZMBM = function (UDOD, UTF) { var _UGE = U.MD.D.H.ET["UB"], _UDTD = $("#UD_HCBCCL")[0]; _UDTD.innerText = ""; U.UF.MR.DHQH(UDOD, "UD_HCBTLOO"); U.MD.D.Blog.Dt.ZMBCK(UTF ? _UGE[2] : _UGE[0][1], _UDTD); //动静查看 } //动静查看 U.MD.D.Blog.Dt.ZMBCK = function (UDE, UDOD) { var i, j = 0, _UST, _UDTD, _UDSD, _UDID, _UDCD, _UDKD, _UCE, _UDFD = $$("frag"); for (i = 0; (i < UDE.length && j < 9); i++) { _UCE = UDE[i]; _UDTD = $$("div", { "className": "UD_HCBCCLO", "onclick": [[U.MD.D.Blog.F.GSHGBL, [_UCE]]], "style": { "marginLeft": j % 3 ? "" : "0"} }); _UDSD = $$("div", { "className": "UD_HCBCCLOS" }, _UDTD); _UDSD = $$("div", { "className": "UD_HCBCCLOSO" }, _UDSD); _UDSD = $$("div", { "innerHTML": _UCE.ArticleContentBrief, "onclick": U.UF.M.apply() }, _UDSD); _UDID = $("img", _UDSD)[0]; _UST = _UDSD.innerText; _UDSD.innerText = ""; if (_UDID) { j++; U.MD.D.H.JZTPJS(_UDID.src, _UDSD, UDE[i]); _UDFD.appendChild(_UDTD); _UDSD = $$("div", { "className": "UD_HCBCCLOX" }, _UDTD); _UDCD = $$("div", { "className": "UD_HCBCCLOXS" }, _UDSD); _UDKD = $$("div", { "className": "UD_HCBCCLOXSL", "onclick": [[U.UF.M.StopBubble], [U.MD.U.I.ViewOtherUserInfo, [_UCE.UserId]]] }, _UDCD); $$("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) }, _UDKD); $$("div", { "className": "UD_HCBCCLOXSR", "innerHTML": U.UF.D.getDateInterval(_UCE.ArticleAddTime) }, _UDCD); $$("div", { "className": "UD_HCBCCLOXSZ", "innerHTML": _UCE.UserName, "onclick": [[U.UF.M.StopBubble], [U.MD.U.I.ViewOtherUserInfo, [_UCE.UserId]]] }, _UDCD); $$("div", { "className": "UD_HCBCCLOXX", "innerHTML": _UST }, _UDSD); } } UDOD.appendChild(_UDFD); } //热门动静查看 U.MD.D.Blog.Dt.ZMBRMCK = function (UDE, UDOD) { var i, _UCE, _UDTD, _UDSD, _UDCD, _UDFD = $$("frag"); for (i = 0; (i < UDE.length && i < 3); i++) { _UCE = UDE[i]; _UDTD = $$("div", { "className": "UD_HCBCCROCO", "onclick": [[U.MD.D.Blog.F.GSHGBL, [_UCE]]] }, _UDFD); _UDSD = $$("div", { "className": "UD_HCBCCROCOL", "onclick": [[U.UF.M.StopBubble], [U.MD.U.I.ViewOtherUserInfo, [_UCE.UserId]]] }, _UDTD); $$("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) }, _UDSD); _UDSD = $$("div", { "className": "UD_HCBCCROCOR" }, _UDTD); $$("div", { "className": "UD_HCBCCROCORL", "innerHTML": _UCE.UserName, "onclick": [[U.UF.M.StopBubble], [U.MD.U.I.ViewOtherUserInfo, [_UCE.UserId]]] }, _UDSD); _UDCD = $$("div", { "className": "UD_HCBCCROCORS UTDF", "innerHTML": _UCE.ArticleContentBrief }, _UDSD); _UDCD.innerText = _UDCD.innerText; $$("div", { "className": "UD_HCBCCROCORZ UTDF", "innerHTML": "已有" + _UCE.AricitleReadNumber + "人阅读" }, _UDSD); } UDOD.appendChild(_UDFD); } //特别用户推荐 U.MD.D.Blog.Dt.ZMBTBY = function (UDE, UDOD) { var i, _UCE, _UDTD, _UDSD, _UDFD = $$("frag"); for (i = 0; (i < UDE.length && i < 6); i++) { _UCE = UDE[i]; _UDTD = $$("div", { "className": "UD_HCBCCRTCO", "onclick": [[U.MD.D.Blog.F.GSHGBL, [_UCE]]] }, _UDFD); _UDSD = $$("div", { "className": "UD_HCBCCRTCOS" }, _UDTD); $$("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) }, _UDSD); $$("div", { "className": "UD_HCBCCRTCON UTDF", "innerHTML": _UCE.UserName, "onclick": [[U.UF.M.StopBubble], [U.MD.U.I.ViewOtherUserInfo, [_UCE.UserId]]] }, _UDTD); $$("div", { "className": "UD_HCBCCRTCOC", "innerHTML": "追随", "onclick": [[U.UF.M.StopBubble], [U.MD.F.M.AddFriend, [_UCE]]] }, _UDTD); } UDOD.appendChild(_UDFD); } //#endregion