(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages2-replyCommentList-replyCommentList"],{"06f4":function(t,a,e){"use strict";e("6a54");var r=e("f5bd").default;Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var o=r(e("a9ba")),i={name:"right-small-cover",props:{data:{type:Object,default:function(){return{}}},ctype:{type:String,default:function(){return"default"}}},methods:{publishTime:function(t){return(0,o.default)(t)}}};a.default=i},"0b026":function(t,a,e){"use strict";e.d(a,"b",(function(){return o})),e.d(a,"c",(function(){return i})),e.d(a,"a",(function(){return r}));var r={uniListItem:e("ce7f").default},o=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("uni-list-item",{key:t.data._id,staticClass:"list-item",attrs:{to:"/uni_modules/uni-cms-article/pages/detail/detail?id="+t.data._id,direction:"column"},scopedSlots:t._u([{key:"body",fn:function(){return[e("v-uni-view",{staticClass:"main"},[e("v-uni-text",{staticClass:"title"},[t._v(t._s(t.data.title))]),e("v-uni-view",{staticClass:"thumbnails"},t._l(t.data.thumbnail,(function(t){return e("v-uni-image",{staticClass:"img",attrs:{src:t,mode:"aspectFill"}})})),1),e("v-uni-view",{staticClass:"info"},[e("v-uni-text",{staticClass:"author"},[t._v(t._s(t.data.user_id[0]?t.data.user_id[0].nickname:""))]),e("v-uni-text",{staticClass:"publish_date"},[t._v(t._s("historyList"===t.ctype?"最近访问于:"+t.publishTime(t.data.last_view_time):t.publishTime(t.data.publish_date)))])],1)],1)]},proxy:!0}])})},i=[]},"113b":function(t,a,e){"use strict";var r=e("e193"),o=e.n(r);o.a},"242c":function(t,a,e){"use strict";var r=e("bb4e"),o=e.n(r);o.a},2431:function(t,a,e){"use strict";e.r(a);var r=e("9a8b"),o=e.n(r);for(var i in r)["default"].indexOf(i)<0&&function(t){e.d(a,t,(function(){return r[t]}))}(i);a["default"]=o.a},"253d":function(t,a,e){"use strict";e.r(a);var r=e("275e"),o=e("526f");for(var i in o)["default"].indexOf(i)<0&&function(t){e.d(a,t,(function(){return o[t]}))}(i);e("f4a3");var n=e("828b"),d=Object(n["a"])(o["default"],r["b"],r["c"],!1,null,"82ac49f4",null,!1,r["a"],void 0);a["default"]=d.exports},"275e":function(t,a,e){"use strict";e.d(a,"b",(function(){return r})),e.d(a,"c",(function(){return o})),e.d(a,"a",(function(){}));var r=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("refresh",{attrs:{display:t.showRefresh?"show":"hide"},on:{refresh:function(a){arguments[0]=a=t.$handleEvent(a),t.refresh.apply(void 0,arguments)},pullingdown:function(a){arguments[0]=a=t.$handleEvent(a),t.onpullingdown.apply(void 0,arguments)}}},[e("v-uni-view",{staticClass:"refreshBox"},[e("v-uni-text",{staticClass:"refreshText"},[t._v(t._s(t.config[t.state].text))])],1)],1)},o=[]},2819:function(t,a,e){"use strict";e.r(a);var r=e("657b"),o=e("ca2a");for(var i in o)["default"].indexOf(i)<0&&function(t){e.d(a,t,(function(){return o[t]}))}(i);e("8e8c");var n=e("828b"),d=Object(n["a"])(o["default"],r["b"],r["c"],!1,null,"a1b83854",null,!1,r["a"],void 0);a["default"]=d.exports},"29f0":function(t,a,e){var r=e("c86c");a=r(!1),a.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* uni.scss */.u-line-1[data-v-a93cedf6]{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:1;-webkit-box-orient:vertical!important}.u-line-2[data-v-a93cedf6]{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:2;-webkit-box-orient:vertical!important}.u-line-3[data-v-a93cedf6]{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:3;-webkit-box-orient:vertical!important}.u-line-4[data-v-a93cedf6]{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:4;-webkit-box-orient:vertical!important}.u-line-5[data-v-a93cedf6]{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:5;-webkit-box-orient:vertical!important}.u-border[data-v-a93cedf6]{border-width:.5px!important;border-color:#dadbde!important;border-style:solid}.u-border-top[data-v-a93cedf6]{border-top-width:.5px!important;border-color:#dadbde!important;border-top-style:solid}.u-border-left[data-v-a93cedf6]{border-left-width:.5px!important;border-color:#dadbde!important;border-left-style:solid}.u-border-right[data-v-a93cedf6]{border-right-width:.5px!important;border-color:#dadbde!important;border-right-style:solid}.u-border-bottom[data-v-a93cedf6]{border-bottom-width:.5px!important;border-color:#dadbde!important;border-bottom-style:solid}.u-border-top-bottom[data-v-a93cedf6]{border-top-width:.5px!important;border-bottom-width:.5px!important;border-color:#dadbde!important;border-top-style:solid;border-bottom-style:solid}.u-reset-button[data-v-a93cedf6]{padding:0;background-color:initial;font-size:inherit;line-height:inherit;color:inherit}.u-reset-button[data-v-a93cedf6]::after{border:none}.u-hover-class[data-v-a93cedf6]{opacity:.7}.u-primary-light[data-v-a93cedf6]{color:#ecf5ff}.u-warning-light[data-v-a93cedf6]{color:#fdf6ec}.u-success-light[data-v-a93cedf6]{color:#f5fff0}.u-error-light[data-v-a93cedf6]{color:#fef0f0}.u-info-light[data-v-a93cedf6]{color:#f4f4f5}.u-primary-light-bg[data-v-a93cedf6]{background-color:#ecf5ff}.u-warning-light-bg[data-v-a93cedf6]{background-color:#fdf6ec}.u-success-light-bg[data-v-a93cedf6]{background-color:#f5fff0}.u-error-light-bg[data-v-a93cedf6]{background-color:#fef0f0}.u-info-light-bg[data-v-a93cedf6]{background-color:#f4f4f5}.u-primary-dark[data-v-a93cedf6]{color:#398ade}.u-warning-dark[data-v-a93cedf6]{color:#f1a532}.u-success-dark[data-v-a93cedf6]{color:#53c21d}.u-error-dark[data-v-a93cedf6]{color:#e45656}.u-info-dark[data-v-a93cedf6]{color:#767a82}.u-primary-dark-bg[data-v-a93cedf6]{background-color:#398ade}.u-warning-dark-bg[data-v-a93cedf6]{background-color:#f1a532}.u-success-dark-bg[data-v-a93cedf6]{background-color:#53c21d}.u-error-dark-bg[data-v-a93cedf6]{background-color:#e45656}.u-info-dark-bg[data-v-a93cedf6]{background-color:#767a82}.u-primary-disabled[data-v-a93cedf6]{color:#9acafc}.u-warning-disabled[data-v-a93cedf6]{color:#f9d39b}.u-success-disabled[data-v-a93cedf6]{color:#a9e08f}.u-error-disabled[data-v-a93cedf6]{color:#f7b2b2}.u-info-disabled[data-v-a93cedf6]{color:#c4c6c9}.u-primary[data-v-a93cedf6]{color:#3c9cff}.u-warning[data-v-a93cedf6]{color:#f9ae3d}.u-success[data-v-a93cedf6]{color:#5ac725}.u-error[data-v-a93cedf6]{color:#f56c6c}.u-info[data-v-a93cedf6]{color:#909399}.u-primary-bg[data-v-a93cedf6]{background-color:#3c9cff}.u-warning-bg[data-v-a93cedf6]{background-color:#f9ae3d}.u-success-bg[data-v-a93cedf6]{background-color:#5ac725}.u-error-bg[data-v-a93cedf6]{background-color:#f56c6c}.u-info-bg[data-v-a93cedf6]{background-color:#909399}.u-main-color[data-v-a93cedf6]{color:#303133}.u-content-color[data-v-a93cedf6]{color:#606266}.u-tips-color[data-v-a93cedf6]{color:#909193}.u-light-color[data-v-a93cedf6]{color:#c0c4cc}.u-safe-area-inset-top[data-v-a93cedf6]{padding-top:0;padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.u-safe-area-inset-right[data-v-a93cedf6]{padding-right:0;padding-right:constant(safe-area-inset-right);padding-right:env(safe-area-inset-right)}.u-safe-area-inset-bottom[data-v-a93cedf6]{padding-bottom:0;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.u-safe-area-inset-left[data-v-a93cedf6]{padding-left:0;padding-left:constant(safe-area-inset-left);padding-left:env(safe-area-inset-left)}uni-toast[data-v-a93cedf6]{z-index:10090}uni-toast .uni-toast[data-v-a93cedf6]{z-index:10090}[data-v-a93cedf6]::-webkit-scrollbar{display:none;width:0!important;height:0!important;-webkit-appearance:none;background:transparent}\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.list-item.not-cover .main .info[data-v-a93cedf6]{margin-top:%?20?%}.list-item .main[data-v-a93cedf6]{display:flex;justify-content:space-between;flex-direction:column;flex:1}.list-item .main .title[data-v-a93cedf6]{font-size:%?30?%;color:#333}.list-item .main .thumbnails[data-v-a93cedf6]{margin:%?20?% 0;display:flex;align-items:center;flex-direction:row}.list-item .main .thumbnails .img[data-v-a93cedf6]{flex:1;width:auto;height:%?200?%;border-radius:%?8?%;margin:0 %?10?%}.list-item .main .thumbnails .img[data-v-a93cedf6]:first-child{margin-left:0}.list-item .main .thumbnails .img[data-v-a93cedf6]:last-child{margin-right:0}.list-item .main .info[data-v-a93cedf6]{display:flex;flex-direction:row}.list-item .main .author[data-v-a93cedf6],\r\n.list-item .main .publish_date[data-v-a93cedf6]{font-size:%?24?%;color:#bbb}.list-item .main .publish_date[data-v-a93cedf6]{margin-left:%?14?%}.list-item .thumbnail[data-v-a93cedf6]{width:%?240?%;height:%?160?%;margin-left:%?20?%;border-radius:%?8?%}',""]),t.exports=a},"2e11":function(t,a,e){"use strict";(function(t){e("6a54");var r=e("f5bd").default;Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var o=r(e("2634")),i=r(e("2fdc"));e("f7a5"),e("fd3c"),e("aa9c"),e("c223"),e("4626"),e("5ac7");var n=r(e("6c47")),d=r(e("a9ba")),c=r(e("253d")),l=r(e("510d")),s=r(e("e78f")),u=r(e("53cd")),f=(e("9b32"),e("6b19")),p=t.database(),b=(t.importObject("uni-id-co"),{components:{statusBar:n.default,refreshBox:c.default,notCover:l.default,rightSmallCover:s.default,threeCover:u.default},computed:{userInfo:function(){return f.store.userInfo},realNameStatus:function(){return this.userInfo.realNameAuth?this.userInfo.realNameAuth.authStatus:0},inputPlaceholder:function(t){return"en"==uni.getStorageSync("CURRENT_LANG")?"Please enter the search content":"请输入搜索内容"},colList:function(){return[p.collection("comment").where({parent_author_id:this.userInfo._id}).getTemp(),p.collection("uni-id-users").field("_id,avatar_file,nickname").getTemp(),p.collection("uni-cms-articles").field("_id,thumbnail,title,publish_date,user_id, excerpt, article_status").getTemp()]}},data:function(){return{emptyAvatar:"https://qnycdn.mymoyu.top/static/avatar.jpg",tags_v:[],tags:[],showRefresh:!1,listHeight:0,mpButtonLeftPlaceholderSize:0,mpButtonPlaceholderSize:87,navBarHeight:44,refreshStatus:0,listData:[],loadType:null,historyList:[],placeholder:"请输入评论",commentReq:{pId:null,content:null,root_id:null},pUser:null,showTag:!1,focus:!1,submit:!1,KeyboardHeight:0}},methods:{stopPrevent:function(){},getNewItem:function(t){return t.excerpt?t.excerpt.length>50&&(t.excerpt=t.excerpt.slice(0,50)+" ... ..."):t.excerpt="",t},listLoad:function(t){var a=this;return(0,i.default)((0,o.default)().mark((function e(){var r;return(0,o.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:console.log(t),r=[],t.map((function(t){r.push({article_id:t.article_id[0],author_id:t.author_id[0],content:t.content,parent_author_id:t.parent_author_id[0],parent_author_content:t.parent_author_content,root_id:t.root_id,_id:t._id,update_time:(new Date).getTime(t.update_time)})})),a.listData="loadMore"===a.loadType?a.listData.concat(r):r,a.loadType=null;case 5:case"end":return e.stop()}}),e)})))()},initNavBarSize:function(){var t=uni.getMenuButtonBoundingClientRect();this.mpButtonPlaceholderSize=t.width+10,this.navBarHeight=uni.getSystemInfoSync().system.toLowerCase().includes("ios")?44:48},publishTime:function(t){return(0,d.default)(t)},searchClick:function(t){uni.hideKeyboard(),uni.navigateTo({url:"/uni_modules/uni-cms-article/pages/search/search"})},retry:function(){this.refresh()},refresh:function(){this.loadType="refresh",console.log(this.$refs.udb),this.$refs.udb.loadData({clear:!0},(function(){console.log(1),uni.stopPullDownRefresh()}))},loadMore:function(){this.loadType="loadMore",this.$refs.udb.loadMore()},onqueryerror:function(t){console.error(t)},onPullDownRefresh:function(){this.refresh()},change:function(t,a){this.page.currentPage=t,console.log("点击了"+a+",当前页:"+t),this.data_clear()},getHistoryList:function(){var a=this;return(0,i.default)((0,o.default)().mark((function e(){return(0,o.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",t.importObject("cms-articles-log").getHistoryList({user_id:a.userInfo._id}).data.data);case 1:case"end":return e.stop()}}),e)})))()},getHistory:function(){var a=this;return(0,i.default)((0,o.default)().mark((function e(){return(0,o.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log(a.userInfo._id),e.abrupt("return",t.importObject("cms-articles-log").getHistory(a.userInfo._id));case 2:case"end":return e.stop()}}),e)})))()},closeInput:function(){this.focus=!1,this.submit=!1},tagClose:function(){this.showTag=!1,this.pUser=null,this.commentReq.pId=null},selectAdd:function(){!0===this.showTag?this.replyAdd():this.add()},replyAdd:function(){var a=this;return(0,i.default)((0,o.default)().mark((function e(){var r,i,n,d,c;return(0,o.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!(null==a.commentReq.content||a.commentReq.content.length<0)){e.next=3;break}return uni.showToast({title:"评论内容不能为空",duration:2e3}),e.abrupt("return");case 3:if(e.prev=3,a.commentReq.content,r=uni.getStorageSync("uni_id_token"),r){e.next=9;break}return uni.showToast({title:"请先登录",icon:"none"}),e.abrupt("return");case 9:return i={article_id:a.id,root_id:a.commentReq.root_id,content:a.commentReq.content,parent_id:a.commentReq.pId},console.log(i),n=t.importObject("comments"),e.next=14,n.replyComment(i);case 14:d=e.sent,200===d.code&&uni.showToast({title:"评论成功"}),e.next=23;break;case 18:e.prev=18,e.t0=e["catch"](3),console.error("评论失败:",e.t0),c={PERMISSION_DENIED:"登录状态失效,请重新登录",INVALID_PARAMS:"评论内容不能为空",CONTENT_BLOCKED:"包含违禁词汇: "+e.t0.message.split(":")[1],PARENT_COMMENT_NOT_FOUND:"回复的评论不存在"},uni.showToast({title:c[e.t0.errorType]||"评论失败,请稍后重试",icon:"none"});case 23:a.closeInput();case 24:case"end":return e.stop()}}),e,null,[[3,18]])})))()},reply:function(t){console.log(t),this.pUser=t.author_id.nickname,this.commentReq.pId=t._id,this.commentReq.root_id=0===t.root_id?t._id:t.root_id,console.log(t.author_id.nickname),t.author_id.nickname?this.commentReq.content="@"+t.author_id.nickname+" ":this.commentReq.content="",this.showTag=!0,this.commentInput()},commentInput:function(){var t=this;this.submit=!0,setTimeout((function(){t.focus=!0}),50)},blur:function(){this.focus=!1},focusOn:function(){},toArticle:function(t){uni.navigateTo({url:"/uni_modules/uni-cms-article/pages/detail/detail?id="+t.article_id._id})}},onReady:function(){var t=this;return(0,i.default)((0,o.default)().mark((function a(){return(0,o.default)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:t.listHeight=uni.getSystemInfoSync().windowHeight-uni.getSystemInfoSync().statusBarHeight-t.navBarHeight+"px";case 1:case"end":return a.stop()}}),a)})))()},onLoad:function(){}});a.default=b}).call(this,e("861b")["uniCloud"])},"2f1c":function(t,a,e){var r=e("3ed8");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var o=e("967d").default;o("1db229f8",r,!0,{sourceMap:!1,shadowMode:!1})},"3ed8":function(t,a,e){var r=e("c86c");a=r(!1),a.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* uni.scss */.u-line-1[data-v-823e96da]{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:1;-webkit-box-orient:vertical!important}.u-line-2[data-v-823e96da]{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:2;-webkit-box-orient:vertical!important}.u-line-3[data-v-823e96da]{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:3;-webkit-box-orient:vertical!important}.u-line-4[data-v-823e96da]{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:4;-webkit-box-orient:vertical!important}.u-line-5[data-v-823e96da]{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:5;-webkit-box-orient:vertical!important}.u-border[data-v-823e96da]{border-width:.5px!important;border-color:#dadbde!important;border-style:solid}.u-border-top[data-v-823e96da]{border-top-width:.5px!important;border-color:#dadbde!important;border-top-style:solid}.u-border-left[data-v-823e96da]{border-left-width:.5px!important;border-color:#dadbde!important;border-left-style:solid}.u-border-right[data-v-823e96da]{border-right-width:.5px!important;border-color:#dadbde!important;border-right-style:solid}.u-border-bottom[data-v-823e96da]{border-bottom-width:.5px!important;border-color:#dadbde!important;border-bottom-style:solid}.u-border-top-bottom[data-v-823e96da]{border-top-width:.5px!important;border-bottom-width:.5px!important;border-color:#dadbde!important;border-top-style:solid;border-bottom-style:solid}.u-reset-button[data-v-823e96da]{padding:0;background-color:initial;font-size:inherit;line-height:inherit;color:inherit}.u-reset-button[data-v-823e96da]::after{border:none}.u-hover-class[data-v-823e96da]{opacity:.7}.u-primary-light[data-v-823e96da]{color:#ecf5ff}.u-warning-light[data-v-823e96da]{color:#fdf6ec}.u-success-light[data-v-823e96da]{color:#f5fff0}.u-error-light[data-v-823e96da]{color:#fef0f0}.u-info-light[data-v-823e96da]{color:#f4f4f5}.u-primary-light-bg[data-v-823e96da]{background-color:#ecf5ff}.u-warning-light-bg[data-v-823e96da]{background-color:#fdf6ec}.u-success-light-bg[data-v-823e96da]{background-color:#f5fff0}.u-error-light-bg[data-v-823e96da]{background-color:#fef0f0}.u-info-light-bg[data-v-823e96da]{background-color:#f4f4f5}.u-primary-dark[data-v-823e96da]{color:#398ade}.u-warning-dark[data-v-823e96da]{color:#f1a532}.u-success-dark[data-v-823e96da]{color:#53c21d}.u-error-dark[data-v-823e96da]{color:#e45656}.u-info-dark[data-v-823e96da]{color:#767a82}.u-primary-dark-bg[data-v-823e96da]{background-color:#398ade}.u-warning-dark-bg[data-v-823e96da]{background-color:#f1a532}.u-success-dark-bg[data-v-823e96da]{background-color:#53c21d}.u-error-dark-bg[data-v-823e96da]{background-color:#e45656}.u-info-dark-bg[data-v-823e96da]{background-color:#767a82}.u-primary-disabled[data-v-823e96da]{color:#9acafc}.u-warning-disabled[data-v-823e96da]{color:#f9d39b}.u-success-disabled[data-v-823e96da]{color:#a9e08f}.u-error-disabled[data-v-823e96da]{color:#f7b2b2}.u-info-disabled[data-v-823e96da]{color:#c4c6c9}.u-primary[data-v-823e96da]{color:#3c9cff}.u-warning[data-v-823e96da]{color:#f9ae3d}.u-success[data-v-823e96da]{color:#5ac725}.u-error[data-v-823e96da]{color:#f56c6c}.u-info[data-v-823e96da]{color:#909399}.u-primary-bg[data-v-823e96da]{background-color:#3c9cff}.u-warning-bg[data-v-823e96da]{background-color:#f9ae3d}.u-success-bg[data-v-823e96da]{background-color:#5ac725}.u-error-bg[data-v-823e96da]{background-color:#f56c6c}.u-info-bg[data-v-823e96da]{background-color:#909399}.u-main-color[data-v-823e96da]{color:#303133}.u-content-color[data-v-823e96da]{color:#606266}.u-tips-color[data-v-823e96da]{color:#909193}.u-light-color[data-v-823e96da]{color:#c0c4cc}.u-safe-area-inset-top[data-v-823e96da]{padding-top:0;padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.u-safe-area-inset-right[data-v-823e96da]{padding-right:0;padding-right:constant(safe-area-inset-right);padding-right:env(safe-area-inset-right)}.u-safe-area-inset-bottom[data-v-823e96da]{padding-bottom:0;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.u-safe-area-inset-left[data-v-823e96da]{padding-left:0;padding-left:constant(safe-area-inset-left);padding-left:env(safe-area-inset-left)}uni-toast[data-v-823e96da]{z-index:10090}uni-toast .uni-toast[data-v-823e96da]{z-index:10090}[data-v-823e96da]::-webkit-scrollbar{display:none;width:0!important;height:0!important;-webkit-appearance:none;background:transparent}\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.list-item.not-cover .main .info[data-v-823e96da]{margin-top:%?20?%}.list-item .main[data-v-823e96da]{display:flex;justify-content:space-between;flex-direction:column;flex:1}.list-item .main .title[data-v-823e96da]{font-size:%?30?%;color:#333}.list-item .main .thumbnails[data-v-823e96da]{margin:%?20?% 0;display:flex;align-items:center;flex-direction:row}.list-item .main .thumbnails .img[data-v-823e96da]{flex:1;width:auto;height:%?200?%;border-radius:%?8?%;margin:0 %?10?%}.list-item .main .thumbnails .img[data-v-823e96da]:first-child{margin-left:0}.list-item .main .thumbnails .img[data-v-823e96da]:last-child{margin-right:0}.list-item .main .info[data-v-823e96da]{display:flex;flex-direction:row}.list-item .main .author[data-v-823e96da],\r\n.list-item .main .publish_date[data-v-823e96da]{font-size:%?24?%;color:#bbb}.list-item .main .publish_date[data-v-823e96da]{margin-left:%?14?%}.list-item .thumbnail[data-v-823e96da]{width:%?240?%;height:%?160?%;margin-left:%?20?%;border-radius:%?8?%}',""]),t.exports=a},"40be":function(t,a,e){"use strict";e.r(a);var r=e("2e11"),o=e.n(r);for(var i in r)["default"].indexOf(i)<0&&function(t){e.d(a,t,(function(){return r[t]}))}(i);a["default"]=o.a},4456:function(t,a,e){"use strict";e.d(a,"b",(function(){return o})),e.d(a,"c",(function(){return i})),e.d(a,"a",(function(){return r}));var r={uniListItem:e("ce7f").default},o=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("uni-list-item",{key:t.data._id,staticClass:"list-item",attrs:{to:"/uni_modules/uni-cms-article/pages/detail/detail?id="+t.data._id},scopedSlots:t._u([{key:"body",fn:function(){return[e("v-uni-view",{staticClass:"main"},[e("v-uni-text",{staticClass:"title"},[t._v(t._s(t.data.title))]),e("v-uni-view",{staticClass:"info"},[e("v-uni-text",{staticClass:"author"},[t._v(t._s(t.data.user_id[0]?t.data.user_id[0].nickname:""))]),e("v-uni-text",{staticClass:"publish_date"},[t._v(t._s("historyList"===t.ctype?"最近访问于:"+t.publishTime(t.data.last_view_time):t.publishTime(t.data.publish_date)))])],1)],1)]},proxy:!0},{key:"footer",fn:function(){return[e("v-uni-image",{staticClass:"thumbnail",attrs:{src:t.data.thumbnail[0],mode:"aspectFill"}})]},proxy:!0}])})},i=[]},4578:function(t,a,e){var r=e("f6fd");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var o=e("967d").default;o("416a8431",r,!0,{sourceMap:!1,shadowMode:!1})},"4cc5":function(t,a,e){var r=e("fc19");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var o=e("967d").default;o("053bd522",r,!0,{sourceMap:!1,shadowMode:!1})},"4e0a":function(t,a,e){var r=e("c86c");a=r(!1),a.push([t.i,"\n.pages uni-view[data-v-30998ac6]{display:flex;box-sizing:border-box;flex-direction:column}\n.pages[data-v-30998ac6]{background-color:#fff}.refresh[data-v-30998ac6]{text-align:center}.nav-box[data-v-30998ac6]{background-color:#fff;position:fixed;top:0;left:0;right:0;\n\nz-index:9\n}.pages .nav[data-v-30998ac6]{display:flex;align-items:center;flex-direction:row}.uni-search-box[data-v-30998ac6]{flex:1;padding:0 10px}.uni-search-box[data-v-30998ac6] .uni-searchbar{padding:0}.uni-search-box[data-v-30998ac6] .uni-searchbar__box{height:32px;flex-direction:row}.cover-search-bar[data-v-30998ac6]{position:absolute;left:0;right:0;bottom:0;top:0;\nz-index:999\n}.pages .uni-list[data-v-30998ac6] .uni-list-item__container{flex-direction:row;width:100%}.pages .uni-list[data-v-30998ac6] .uni-list-item{align-items:flex-start}.pages .uni-list[data-v-30998ac6] .uni-load-more{display:flex}.pages .uni-list[data-v-30998ac6] .uni-list--border:after{background-color:#f5f5f5}.avatar[data-v-30998ac6]{width:%?80?%;height:%?80?%;border-radius:50%}.title[data-v-30998ac6]{position:relative;font-size:20px;margin:0}.subtitle[data-v-30998ac6]{position:relative;font-size:14px;color:#666;margin:4px 0 0}.extra[data-v-30998ac6]{position:absolute;right:%?60?%;line-height:%?80?%;color:#007bff;cursor:pointer;text-align:right;justify-content:flex-end}.p_f[data-v-30998ac6]{display:flex}.comment-add[data-v-30998ac6]{position:fixed;background-color:#fff;width:100%;padding:%?5?%;border:1px solid #ddd;transition:.3s;-webkit-transition:.3s}.comment-submit-box[data-v-30998ac6]{position:fixed;display:flex;align-items:flex-end;z-index:9900;left:0;top:var(--window-top);bottom:0;background-color:rgba($color:#000000,$alpha:.5);width:100%}.comment-submit[data-v-30998ac6]{padding:%?5?% %?20?% 0 %?20?%;border-bottom:1px dashed #ddd;width:calc(100% - %?40?%);display:flex;justify-content:space-between;align-items:center}.cancel[data-v-30998ac6]{color:#606266}.btn-click[data-v-30998ac6]{color:#007aff;font-size:%?28?%;padding:%?10?%}.replayTag[data-v-30998ac6]{color:#909399;margin-bottom:5px;border:1px solid #c8c9cc;background-color:#f4f4f5;border-radius:3px;display:flex;justify-content:space-between;align-items:center;font-size:%?16?%;padding:5px 10px}.textarea[data-v-30998ac6]{height:100px;padding:%?16?%;width:100%}.replyTagClose[data-v-30998ac6]{font-size:20px;line-height:12px;padding:0 0 2px 5px}",""]),t.exports=a},"510d":function(t,a,e){"use strict";e.r(a);var r=e("5d97"),o=e("e669");for(var i in o)["default"].indexOf(i)<0&&function(t){e.d(a,t,(function(){return o[t]}))}(i);e("754d");var n=e("828b"),d=Object(n["a"])(o["default"],r["b"],r["c"],!1,null,"823e96da",null,!1,r["a"],void 0);a["default"]=d.exports},"526f":function(t,a,e){"use strict";e.r(a);var r=e("7b2b"),o=e.n(r);for(var i in r)["default"].indexOf(i)<0&&function(t){e.d(a,t,(function(){return r[t]}))}(i);a["default"]=o.a},"53cd":function(t,a,e){"use strict";e.r(a);var r=e("0b026"),o=e("2431");for(var i in o)["default"].indexOf(i)<0&&function(t){e.d(a,t,(function(){return o[t]}))}(i);e("a2ae");var n=e("828b"),d=Object(n["a"])(o["default"],r["b"],r["c"],!1,null,"a93cedf6",null,!1,r["a"],void 0);a["default"]=d.exports},"5d97":function(t,a,e){"use strict";e.d(a,"b",(function(){return o})),e.d(a,"c",(function(){return i})),e.d(a,"a",(function(){return r}));var r={uniListItem:e("ce7f").default},o=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("uni-list-item",{key:t.data._id,staticClass:"list-item not-cover",attrs:{to:"/uni_modules/uni-cms-article/pages/detail/detail?id="+t.data._id,direction:"column"},scopedSlots:t._u([{key:"body",fn:function(){return[e("v-uni-view",{staticClass:"main"},[e("v-uni-view",[e("v-uni-text",{staticClass:"title"},[t._v(t._s(t.data.title))])],1),e("v-uni-view",{staticClass:"info"},[e("v-uni-text",{staticClass:"author"},[t._v(t._s(t.data.user_id[0]?t.data.user_id[0].nickname:""))]),e("v-uni-text",{staticClass:"publish_date"},[t._v(t._s("historyList"===t.ctype?"最近访问于:"+t.publishTime(t.data.last_view_time):t.publishTime(t.data.publish_date)))])],1)],1)]},proxy:!0}])})},i=[]},"657b":function(t,a,e){"use strict";e.d(a,"b",(function(){return o})),e.d(a,"c",(function(){return i})),e.d(a,"a",(function(){return r}));var r={uniLoadMore:e("3817").default},o=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("v-uni-view",{on:{appear:function(a){arguments[0]=a=t.$handleEvent(a),t.appear.apply(void 0,arguments)}}},[t.state.error?e("v-uni-view",["none"==t.networkType?e("v-uni-view",{staticClass:"box"},[e("v-uni-image",{staticClass:"icon-image",attrs:{src:"/uni_modules/uni-cms-article/static/disconnection.png",mode:"widthFix"}}),e("v-uni-text",{staticClass:"tip-text"},[t._v(t._s(t.noNetwork))]),e("v-uni-view",{staticClass:"btn btn-default",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.openSettings.apply(void 0,arguments)}}},[e("v-uni-text",{staticClass:"btn-text"},[t._v(t._s(t.toSet))])],1)],1):e("v-uni-text",{staticClass:"error"},[t._v(t._s(t.error)+":"+t._s(JSON.stringify(t.state.error)))])],1):[e("uni-load-more",{staticClass:"uni-load-more",attrs:{status:t.state.loading?"loading":t.state.hasMore?"hasMore":"noMore"}})]],2)},i=[]},"6b19":function(t,a,e){"use strict";(function(t){e("6a54");var r=e("f5bd").default;Object.defineProperty(a,"__esModule",{value:!0}),a.store=a.mutations=void 0;var o=r(e("2634")),i=r(e("9b1b")),n=r(e("2fdc"));e("dc8a"),e("bf0f"),e("2797"),e("c223");var d=r(e("0c46")),c=r(e("81f4")),l=r(e("9b8e")),s=t.importObject("uni-id-co"),u=t.database(),f=u.collection("uni-id-users"),p=uni.getStorageSync("uni-id-pages-userInfo")||{},b={userInfo:p,hasLogin:0!=Object.keys(p).length},v={updateUserInfo:function(){var a=arguments,e=this;return(0,n.default)((0,o.default)().mark((function r(){var n,d,c,l,s;return(0,o.default)().wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(n=a.length>0&&void 0!==a[0]&&a[0],!n){r.next=5;break}f.where("_id==$env.uid").update(n).then((function(t){t.result.updated?(uni.showToast({title:"更新成功",icon:"none",duration:3e3}),e.setUserInfo(n)):uni.showToast({title:"没有改变",icon:"none",duration:3e3})})),r.next=22;break;case 5:return d=t.getCurrentUserInfo().uid,e.setUserInfo({_id:d},{cover:!0}),c=t.importObject("uni-id-co",{customUI:!0}),r.prev=8,r.next=11,f.where("'_id' == $cloudEnv_uid").field("mobile,gender,nickname,username,email,avatar_file,available,frozen,total_recharge,total_withdraw").get();case 11:return l=r.sent,r.next=14,c.getRealNameInfo();case 14:s=r.sent,e.setUserInfo((0,i.default)((0,i.default)({},l.result.data[0]),{},{realNameAuth:s})),r.next=22;break;case 18:r.prev=18,r.t0=r["catch"](8),e.setUserInfo({},{cover:!0}),console.error(r.t0.message,r.t0.errCode);case 22:case"end":return r.stop()}}),r,null,[[8,18]])})))()},setUserInfo:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{cover:!1},e=a.cover,r=e?t:Object.assign(g.userInfo,t);return g.userInfo=Object.assign({},r),g.hasLogin=0!=Object.keys(g.userInfo).length,uni.setStorageSync("uni-id-pages-userInfo",g.userInfo),t},logout:function(){var a=this;return(0,n.default)((0,o.default)().mark((function e(){return(0,o.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!(t.getCurrentUserInfo().tokenExpired>Date.now())){e.next=9;break}return e.prev=1,e.next=4,s.logout();case 4:e.next=9;break;case 6:e.prev=6,e.t0=e["catch"](1),console.error(e.t0);case 9:uni.removeStorageSync("uni_id_token"),uni.setStorageSync("uni_id_token_expired",0),a.setUserInfo({},{cover:!0}),uni.$emit("uni-id-pages-logout"),uni.switchTab({url:"/pages/my/my"});case 14:case"end":return e.stop()}}),e,null,[[1,6]])})))()},loginBack:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=t.uniIdRedirectUrl,e=void 0===a?"":a,r=0,o=getCurrentPages();if(o.forEach((function(t,a){"login"==o[o.length-a-1].route.split("/")[3]&&r++})),e)return uni.redirectTo({url:e,fail:function(t){uni.switchTab({url:e,fail:function(a){console.log(t,a)}})}});if("weixin"==t.loginType)return window.history.go(-3);if(r){var i=d.default.pages[0];return uni.reLaunch({url:"/".concat(i.path)})}uni.navigateBack({delta:r})},loginSuccess:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=t.showToast,e=void 0===a||a,r=t.toastText,o=void 0===r?"登录成功":r,i=t.autoBack,n=void 0===i||i,d=t.uniIdRedirectUrl,l=void 0===d?"":d,s=t.passwordConfirmed;if(e&&uni.showToast({title:o,icon:"none",duration:3e3}),this.updateUserInfo(),uni.$emit("uni-id-pages-login-success"),c.default.setPasswordAfterLogin&&!s)return uni.redirectTo({url:l?"../../pages/userinfo/set-pwd/set-pwd?uniIdRedirectUrl=".concat(l,"&loginType=").concat(t.loginType):"../../pages/userinfo/set-pwd/set-pwd?loginType=".concat(t.loginType),fail:function(t){console.log(t)}});n&&this.loginBack({uniIdRedirectUrl:l})}};a.mutations=v;var g=l.default.observable(b);a.store=g}).call(this,e("861b")["uniCloud"])},"6c47":function(t,a,e){"use strict";e.r(a);var r=e("830f"),o=e("bcaf");for(var i in o)["default"].indexOf(i)<0&&function(t){e.d(a,t,(function(){return o[t]}))}(i);e("97d5");var n=e("828b"),d=Object(n["a"])(o["default"],r["b"],r["c"],!1,null,"285e3a40",null,!1,r["a"],void 0);a["default"]=d.exports},"70f9":function(t,a,e){"use strict";e.r(a);var r=e("8ee7"),o=e.n(r);for(var i in r)["default"].indexOf(i)<0&&function(t){e.d(a,t,(function(){return r[t]}))}(i);a["default"]=o.a},"754d":function(t,a,e){"use strict";var r=e("2f1c"),o=e.n(r);o.a},"7b2b":function(t,a,e){"use strict";e("6a54"),Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r={data:function(){return{showRefresh:!1,state:0}},methods:{onpullingdown:function(t){var a=t.pullingDistance,e=t.viewHeight;this.state=a