1 line
4.8 KiB
JavaScript
1 line
4.8 KiB
JavaScript
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/articleContentDetail/articleContentDetail"],{"0121":function(e,t,n){"use strict";n.r(t);var i=n("1250"),a=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);t["default"]=a.a},"0284":function(e,t,n){"use strict";n.r(t);var i=n("1626"),a=n("0121");for(var o in a)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(o);n("6f03");var r=n("828b"),c=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"000513f8",null,!1,i["a"],void 0);t["default"]=c.exports},1250:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={data:function(){return{avatar:"",templateSrc:"https://env-00jxt5y29hrd.normal.cloudstatic.cn/static/bg.jpg?expire_at=1741101988&er_sign=c9732cddaaead925cf110d9a11751231",commentData:null,reqFlag:!1}},onLoad:function(){},onShow:function(){this.getComment()},methods:{checkLogin:function(){return!0},focusOn:function(){this.checkLogin()},getComment:function(){var e={readNumer:193,commentList:[{id:1,pl_user_id:1,owner:!1,hasLike:!1,likeNum:2,avatarUrl:"https://inews.gtimg.com/newsapp_ls/0/13797755537/0",nickName:"超长昵称超长...",content:"啦啦啦啦",parentId:null,createTime:"2021-07-02 16:32:07"},{id:2,owner:!1,hasLike:!1,likeNum:2,avatarUrl:"https://inews.gtimg.com/newsapp_ls/0/13797761970/0",nickName:"寂寞无敌",content:"我是评论的评论",parentId:1,createTime:"2021-07-02 17:05:50"},{id:4,owner:!0,hasLike:!0,likeNum:1,avatarUrl:"https://inews.gtimg.com/newsapp_ls/0/13797763270/0",nickName:"name111",content:"评论啦啦啦啦啦啦啦啦啦啦",parentId:null,createTime:"2021-07-13 09:37:50"},{id:5,owner:!1,hasLike:!1,likeNum:0,avatarUrl:"https://inews.gtimg.com/newsapp_ls/0/13797755537/0",nickName:"超长昵称超长...",content:"超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论超长评论",parentId:null,createTime:"2021-07-13 16:04:35"},{id:13,owner:!1,hasLike:!1,likeNum:0,avatarUrl:"https://inews.gtimg.com/newsapp_ls/0/13797755537/0",nickName:"超长昵称超长...",content:"@寂寞无敌 你怕不是个大聪明",parentId:1,createTime:"2021-07-14 11:01:23"}]};this.commentData={readNumer:e.readNumer,commentSize:e.commentList.length,comment:this.getTree(e.commentList)}},add:function(t){this.checkLogin()&&(this.reqFlag?e.showToast({title:"操作频繁",duration:1e3}):(console.log(111),this.reqFlag=!0,this.reqFlag=!1,this.$refs.hbComment.addComplete(),this.getComment()))},like:function(t){this.checkLogin()&&(this.reqFlag?e.showToast({title:"操作频繁",duration:1e3}):(this.reqFlag=!0,this.reqFlag=!1,this.$refs.hbComment.likeComplete(t)))},del:function(t){this.checkLogin()&&(this.reqFlag?e.showToast({title:"操作频繁",duration:1e3}):(this.reqFlag=!0,this.reqFlag=!1,this.$refs.hbComment.deleteComplete(t)))},getTree:function(e){var t=[],n={};return e.forEach((function(e){n[e.id]=e})),e.forEach((function(e){var i=n[e.parentId];i?(i.children||(i.children=[])).push(e):t.push(e)})),t}}};t.default=n}).call(this,n("df3c")["default"])},1626:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return i}));var i={uniIcons:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(n.bind(null,"4821"))},hbComment:function(){return n.e("uni_modules/hb-comment/components/hb-comment/hb-comment").then(n.bind(null,"d0a5"))}},a=function(){var e=this.$createElement;this._self._c},o=[]},"6f03":function(e,t,n){"use strict";var i=n("d168"),a=n.n(i);a.a},d168:function(e,t,n){},f3a5:function(e,t,n){"use strict";(function(e,t){var i=n("47a9");n("7bfe"),n("861b");i(n("3240"));var a=i(n("0284"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(a.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])}},[["f3a5","common/runtime","common/vendor"]]]); |