1 line
18 KiB
JavaScript
1 line
18 KiB
JavaScript
"use strict";(self["webpackChunkninepage"]=self["webpackChunkninepage"]||[]).push([[116],{4820:function(t,e,s){s.d(e,{Z:function(){return r}});var i=function(){var t=this,e=t._self._c;return e("div",["discussionSingle"==t.popState?e("div",{staticClass:"pop-box flexflex flexcolumn",on:{click:function(e){t.openDiscussionSingleState&&t.handlePopCancel()}}},[e("div",{staticClass:"discussion-box pop-box-box flexflex flexcolumn",staticStyle:{"border-radius":".4rem .4rem 0 0"},on:{click:function(t){t.stopPropagation()}}},[t.twoCommentData?e("div",{staticClass:"discussion-header flexacenter"},[e("img",{staticClass:"discussion-avatar",attrs:{src:t.twoCommentData&&t.twoCommentData.avatar}}),e("div",{staticClass:"discussion-text one-line"},[t._v(t._s(t.twoCommentData&&t.twoCommentData.content))])]):t._e(),e("div",{staticClass:"discussion-single-box flexflex flex1"},[e("div",{staticClass:"discussion-single-content flexacenter flex1"},[e("input",{directives:[{name:"focus",rawName:"v-focus"}],staticClass:"discussion-single-input flex1",attrs:{"cursor-spacing":"5",type:"text",placeholder:t.twoCommentData?"写回复…":"想问啥,大胆问…",maxlength:"500"},domProps:{value:t.commentContent},on:{input:function(e){return t.inputCommentContent(e)}}}),e("img",{staticClass:"discussion-single-input-icom",attrs:{src:s(2432)},on:{click:function(e){return e.stopPropagation(),t.setValue()}}})]),e("div",{staticClass:"discussion-single-btn flexcenter",on:{click:function(e){return e.stopPropagation(),t.postComment()}}},[t._v("发布")])])])]):t._e(),"discussionMulti"==t.popState?e("div",{staticClass:"pop-box flexflex flexcolumn",on:{click:function(e){return t.handlePopCancel()}}},[e("div",{staticClass:"discussion-multi-box pop-box-box flexflex flexcolumn",staticStyle:{"border-radius":".4rem .4rem 0 0"},on:{click:function(t){t.stopPropagation()}}},[t.twoCommentData?e("div",{staticClass:"discussion-header flexacenter"},[e("img",{staticClass:"discussion-avatar",attrs:{src:t.twoCommentData.avatar}}),e("div",{staticClass:"discussion-text one-line"},[t._v(t._s(t.twoCommentData.content))])]):t._e(),e("div",{staticClass:"discussion-multi-content flexflex flex1"},[e("textarea",{directives:[{name:"focus",rawName:"v-focus"}],staticClass:"discussion-multi-textarea flex1",attrs:{type:"text",maxlength:"500",placeholder:t.twoCommentData?"写回复…":"想问啥,大胆问…"},domProps:{value:t.commentContent},on:{input:function(e){return t.inputCommentContent(e)}}}),e("img",{staticClass:"discussion-multi-icom",attrs:{src:s(7266)},on:{click:function(e){return e.stopPropagation(),t.openDiscussionSingle()}}}),e("div",{staticClass:"discussion-multi-sum"},[t._v(t._s(500-t.commentContent.length))])]),e("div",{staticClass:"discussion-multi-bottom flexflex flexacenter"},[e("div",{staticClass:"discussion-multi-btn flexcenter",on:{click:function(e){return e.stopPropagation(),t.postComment()}}},[t._v("发布")])])])]):t._e()])},a=[],n={name:"DetailReply",data(){return{openDiscussionSingleState:!0}},props:["twoCommentData","popState","commentContent"],mounted(){},methods:{postComment(){this.$parent.postComment()},handlePopCancel(){this.$parent.twoCommentData=null,this.$parent.popState="",this.$parent.commentContent=""},clearTwoCommentData(){this.$parent.twoCommentData=null},setValue(t,e){this.$parent.popState="discussionMulti"},openDiscussionSingle(){this.$parent.popState="discussionSingle",this.openDiscussionSingleState=!1,setTimeout((()=>{this.openDiscussionSingleState=!0}),500)},inputCommentContent(t){let e=t.currentTarget.value;this.$parent.commentContent=e}}},o=n,c=s(1001),l=(0,c.Z)(o,i,a,!1,null,"2144a694",null),r=l.exports},1809:function(t,e,s){s.d(e,{Z:function(){return r}});var i=function(){var t=this,e=t._self._c;return e("div",["coinNo"==t.popState?e("div",{staticClass:"pop-box flexflex flexcolumn",on:{click:function(e){return t.handlePopCancel()}}},[e("div",{staticClass:"coin-insufficient pop-box-box",on:{click:function(t){t.stopPropagation()}}},[e("div",{staticClass:"coin-close flexcenter",on:{click:function(e){return t.handlePopCancel()}}},[e("svg-icon",{attrs:{"icon-class":"gray-cross","class-name":"coin-close-icom"}})],1),e("div",{staticClass:"insufficient-header flexcenter"},[e("svg-icon",{attrs:{"icon-class":"bi","class-name":"coin-img"}}),t._v(" "+t._s(t.coinConfig.strategy.tips)+" ")],1),e("div",{staticClass:"strategy-btn flexcenter",on:{click:function(e){return e.stopPropagation(),t.$skipUrl(t.coinConfig.strategy.url)}}},[t._v(t._s(t.coinConfig.strategy.button)+" "),e("svg-icon",{attrs:{"icon-class":"arrowsRoundLeft","class-name":"strategy-icom"}})],1)])]):t._e(),"coindisplayuser"==t.popState?e("div",{staticClass:"pop-box flexflex flexcolumn",on:{click:function(e){return t.handlePopCancel()}}},[e("div",{staticClass:"unlockCoin-box pop-box-box",on:{click:function(t){t.stopPropagation()}}},[e("div",{staticClass:"coin-close flexcenter",on:{click:function(e){return t.handlePopCancel()}}},[e("svg-icon",{attrs:{"icon-class":"gray-cross","class-name":"coin-close-icom"}})],1),e("div",{staticClass:"unlockCoin-header flexacenter"},[e("svg-icon",{attrs:{"icon-class":"bi","class-name":"coin-img"}}),t._v(" 投币解锁 ")],1),e("div",{staticClass:"unlockCoin-hint flexacenter",staticStyle:{"font-size":".36rem"}},[t._v("作者设置了阅读限制,解锁所有内容仅需 "),e("div",{staticClass:"unlockCoin-hint-sum"},[t._v(t._s(t.info.price))]),t._v(" 寄托币")]),e("div",{staticClass:"unlockCoin-btn flexcenter",on:{click:function(e){return t.postCoin()}}},[t._v("立即解锁 ")]),e("div",{staticClass:"unlockCoin-hint flexcenter"},[t._v("你共有 "+t._s(t.mybalance)+" 个寄托币")])])]):t._e()])},a=[],n={name:"Coins",props:["popState","coinConfig","info","mybalance"],data(){return{}},mounted(){},methods:{handlePopCancel(){this.$parent.popState=""},postCoin(){this.$parent.postCoin()}}},o=n,c=s(1001),l=(0,c.Z)(o,i,a,!1,null,"30e5494c",null),r=l.exports},8635:function(t,e,s){s(2509)},4864:function(t,e,s){var i=s(61);e["Z"]=i.Z},5137:function(t,e,s){s.d(e,{s:function(){return i},x:function(){return a}});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"container"},[e("div",{staticClass:"detail-head flexacenter"},[e("div",{staticClass:"detail-section",on:{click:function(e){return t.toAllSection()}}},[t._v(" 版块:"),e("span",{staticClass:"section-name"},[t._v(t._s(t.info.forum))])]),e("div",{staticClass:"detail-data flexacenter"},[e("div",{staticClass:"detail-data-item flexacenter"},[e("img",{staticClass:"detail-data-eye",attrs:{src:s(153)}}),t._v(t._s(t.info.views))]),e("div",{staticClass:"detail-data-item flexacenter"},[e("img",{staticClass:"detail-data-comment",attrs:{src:s(4455)}}),t._v(t._s(t.info.replies))])])]),e("div"),e("div",{staticClass:"detail-title-box"},[t.info.digest>0?e("div",{staticClass:"detail-title-item detail-title-jinghua flexcenter"},[t._v("精华")]):t._e(),t.info.typename?e("div",{staticClass:"detail-title-item detail-title-label flexcenter"},[t._v(t._s(t.info.typename))]):t._e(),t._v(" "+t._s(t.info.subject)+" ")]),e("div",{staticClass:"card flexcenter"},[e("div",{staticClass:"card-item shadow"},[e("div",{staticClass:"card-head flexacenter"},[e("img",{staticClass:"card-head-icon",attrs:{src:t.info.avatar}}),e("div",{staticClass:"card-head-content flex1 flexflex"},[e("div",{staticClass:"card-head-name flexflex"},[t._v(t._s(t.info.author||"匿名用户"))]),e("div",{staticClass:"card-head-time"},[t._v(t._s(t.$formattedDate(t.info.dateline||"")))])]),e("div",{staticClass:"card-head-fool"},[t._v("楼主")]),1==t.info.isauthor?e("a",{staticClass:"edit-box flexcenter",attrs:{href:`https://www.gter.net/bbs/post/edit.html?tid=${t.tid}&pid=${t.info.pid}`}},[e("img",{staticClass:"edit-icom",attrs:{src:s(627)}})]):t._e(),t.managementauthority?e("div",{staticClass:"manager-box"},[e("div",{staticClass:"dot-box flexflex",on:{click:function(e){return t.openAdminOperate(null)}}},[e("div",{staticClass:"item"}),e("div",{staticClass:"item"}),e("div",{staticClass:"item"})]),t.adminOperateState?[e("div",{staticClass:"operate-mask",on:{click:t.closeAdminOperate}}),e("div",{staticClass:"operate"},[e("div",{staticClass:"item",on:{click:function(e){return t.popUupDialog(0)}}},[t._v("删除该帖")]),e("div",{staticClass:"item",on:{click:function(e){return t.popUupDialog(1)}}},[t._v("删帖且禁言")])])]:t._e()],2):t._e()]),5==t.type?[e("div",{staticClass:"summary-content"},[t._l(t.collegelist,(function(s,i){return e("div",{key:i,staticClass:"summary-content-item"},[e("div",{staticClass:"summary-offer-head flexacenter"},[e("span",{staticClass:"summary-offer-head-title"},[t._v("Offer "+t._s(i+1))]),e("a",{staticClass:"flexacenter",attrs:{href:s.url}},[t._v("详情"),e("svg-icon",{attrs:{"icon-class":"arrowsBlackLeft","class-name":"summary-offer-head-icon"}})],1)]),e("div",{staticClass:"summary-offer-box"},[t._l(t.offerinfoKey,(function(i,a){return[s[i.key]?e("div",{key:a,staticClass:"summary-offer-item flexacenter"},[e("div",{staticClass:"summary-offer-key flexacenter"},[t._v(t._s(i.name))]),e("div",{staticClass:"summary-offer-value flexacenter"},[t._v(t._s(s[i.key]))])]):t._e()]}))],2)])})),e("div",{staticClass:"summary-content-item"},[e("div",{staticClass:"summary-offer-head flexacenter"},[e("span",{staticClass:"summary-offer-head-title"},[t._v("总结")]),e("a",{staticClass:"flexacenter",attrs:{href:t.info.url}},[t._v("详情"),e("svg-icon",{attrs:{"icon-class":"arrowsBlackLeft","class-name":"summary-offer-head-icon"}})],1)]),e("div",{staticClass:"summary-wenzi",domProps:{innerHTML:t._s(t.info.message)}})]),e("a",{staticClass:"examine-btn flexcenter",attrs:{href:t.info.url}},[t._v(" 查看当前总结详情 "),e("div",{staticClass:"examine-btn-outside flexcenter"},[e("svg-icon",{attrs:{"icon-class":"arrowsRoundBlackLeft","class-name":"examine-btn-icon"}})],1)])],2)]:6==t.type?[e("div",{staticClass:"offer-content"},[e("div",{staticClass:"offer-content-box"},[t._l(t.offerinfoKey,(function(s,i){return[t.offerinfo[s.key]?e("div",{key:i,staticClass:"offer-content-item flexacenter"},[t.offerinfo[s.key]?e("div",{staticClass:"offer-content-key"},[t._v(t._s(s.name))]):t._e(),e("div",{staticClass:"offer-content-value"},[t._v(t._s(t.offerinfo[s.key]))])]):t._e()]}))],2),e("a",{staticClass:"examine-btn flexcenter",attrs:{href:t.offerinfo.url}},[t._v(" 查看当前捷报详情 "),e("div",{staticClass:"examine-btn-outside flexcenter"},[e("svg-icon",{attrs:{"icon-class":"arrowsRoundBlackLeft","class-name":"examine-btn-icon"}})],1)])])]:2==t.type?[e("div",{staticClass:"offer-content"},[e("div",{staticClass:"offer-content-box"},[t._l(t.interviewKey,(function(s,i){return[t.info[s.key]?e("div",{key:i,staticClass:"offer-content-item flexacenter"},[t.info[s.key]?e("div",{staticClass:"offer-content-key"},[t._v(t._s(s.name))]):t._e(),e("div",{staticClass:"offer-content-value",class:{isvisiblereply:1==t.info["isvisiblereply"]&&!t.info["isreply"]},domProps:{innerHTML:t._s(t.info[s.key])}})]):t._e(),"message"!=s.key||1!=t.info["isvisiblereply"]||t.info["isreply"]?t._e():[e("div",{key:s.key,staticClass:"flexcenter content-unlock content-unlock-no",class:{replyVisible:t.islogin,registerVisible:!t.islogin},on:{click:function(e){t.islogin?t.popState="discussionSingle":t.isloginBtnState=!0}}},[e("img",{staticClass:"unlock-icom",attrs:{src:`${t.$baseURL}/img/unlock.png`}}),t._v(" 详细内容回复可见 ")])]]}))],2)])]:3==t.type?[e("div",{staticClass:"offer-content"},[e("div",{staticClass:"offer-content-box"},[t._l(t.tenementKey,(function(s,i){return[t.info[s.key]?e("div",{key:i,staticClass:"offer-content-item flexacenter"},[t.info[s.key]?e("div",{staticClass:"offer-content-key"},[t._v(t._s(s.name))]):t._e(),"school"!=s.key?e("div",{staticClass:"offer-content-value",domProps:{innerHTML:t._s(t.info[s.key])}}):e("div",{staticClass:"offer-content-value"},[t._l(t.info[s.key],(function(e){return[t._v(t._s(e.name))]}))],2)]):t._e()]}))],2),e("div",{staticClass:"vHtmlMessage",staticStyle:{margin:"0.52rem 0"},domProps:{innerHTML:t._s(t.info.message)}}),t._l(t.info.images,(function(t,s){return e("img",{key:s,staticClass:"tenement-img",attrs:{src:t}})}))],2)]:1==t.type?[e("div",{staticClass:"offer-content"},[e("div",{staticClass:"offer-content-box"},[e("div",{staticStyle:{"margin-bottom":"0.56rem"}},[e("div",{staticClass:"location-title"},[t._v("个人信息")]),t._l(t.locationInfoData,(function(s,i){return e("div",{key:i,staticClass:"offer-content-item flexacenter"},[e("div",{staticClass:"offer-content-key"},[t._v(t._s(s.name))]),e("div",{staticClass:"offer-content-value"},[t._v(t._s(s.value))])])}))],2),e("div",[e("div",{staticClass:"location-title"},[t._v("申请信息")]),t._l(t.locationThreadData,(function(s,i){return e("div",{key:i,staticClass:"offer-content-item flexacenter"},[e("div",{staticClass:"offer-content-key"},[t._v(t._s(s.name))]),e("div",{staticClass:"offer-content-value"},[t._v(t._s(s.value))])])}))],2)])])]:[e("div",{staticClass:"offer-content"},[e("div",{ref:"vHtmlMessage",staticClass:"vHtmlMessage",staticStyle:{"line-height":"normal"}})])]],2),0!=t.postList.list.length?t._l(t.postList.list,(function(i,a){return e("div",{key:a,staticClass:"card-item shadow"},[e("div",{staticClass:"card-head flexacenter"},[e("img",{staticClass:"card-head-icon",attrs:{src:i.avatar}}),e("div",{staticClass:"card-head-content flex1 flexflex"},[e("div",{staticClass:"card-head-name flexflex"},[t._v(" "+t._s(i.author||"匿名用户")+" "),1==i.isauthor?e("div",{staticClass:"landlord flexcenter"},[t._v("楼主")]):t._e()]),e("div",{staticClass:"card-head-time"},[t._v(t._s(t.$formattedDate(i.dateline)))])]),1==t.postList.page?e("div",{staticClass:"card-head-fool"},[t._v(t._s(`${(t.postList.page-1)*t.postList.limit+a+2}楼`))]):e("div",{staticClass:"card-head-fool"},[t._v(t._s(`${(t.postList.page-1)*t.postList.limit+a+1}楼`))]),1==i.ismyself?e("div",{staticClass:"edit-box flexcenter",on:{click:function(e){return e.stopPropagation(),t.openEditPop(i)}}},[e("img",{staticClass:"edit-icom",attrs:{src:s(627)}})]):t._e(),t.managementauthority?e("div",{staticClass:"manager-box"},[e("div",{staticClass:"dot-box flexflex",on:{click:function(e){return t.openAdminOperate(a)}}},[e("div",{staticClass:"item"}),e("div",{staticClass:"item"}),e("div",{staticClass:"item"})]),i.adminOperateState?[e("div",{staticClass:"operate-mask",on:{click:t.closeAdminOperate}}),e("div",{staticClass:"operate"},[e("div",{staticClass:"item",on:{click:function(e){return t.popUupDialog(0)}}},[t._v("删除该楼")]),e("div",{staticClass:"item",on:{click:function(e){return t.popUupDialog(1)}}},[t._v("删楼且禁言")])])]:t._e()],2):t._e()]),e("div",{staticClass:"card-content flex1",domProps:{innerHTML:t._s(i.message)},on:{click:function(e){return e.stopPropagation(),t.handleReplyPop(i)}}})])})):t._e()],2),t.postList.count>t.postList.limit?e("div",{staticClass:"paging flexcenter"},[e("el-pagination",{attrs:{small:"",background:"",layout:"prev, pager, next","current-page":t.postList.page,"page-size":t.postList.limit,total:t.postList.count},on:{"current-change":t.currentChange,"update:currentPage":function(e){return t.$set(t.postList,"page",e)},"update:current-page":function(e){return t.$set(t.postList,"page",e)}}})],1):t._e(),e("div",{staticClass:"discuss-bottom flexflex flexacenter"},[e("div",{staticClass:"swiper"},[e("div",{staticClass:"bottom-item flexacenter"},[e("div",{staticClass:"bottom-comment flexacenter",on:{click:function(e){return t.setValue("popState","discussionSingle")}}},[e("svg-icon",{attrs:{"icon-class":"pen","class-name":"bottom-comment-icom"}}),t._v(" 想问啥,大胆问 "),t.islogin?t._e():e("div",{staticClass:"loginBtn",on:{click:function(e){return e.stopPropagation(),t.setValue("isloginBtnState",!0,"boolean")}}})],1)])]),e("div",{staticClass:"bottom-item flex1 flexacenter"},[e("div",{staticClass:"bottom-operation-box flex1 flexacenter"},[e("div",{staticClass:"bottom-operation-item flex1 flexcolumn flexcenter",on:{click:function(e){0==t.info.islike&&t.tapOperate("like")}}},[t.islogin?t._e():e("div",{staticClass:"loginBtn",on:{click:function(e){return e.stopPropagation(),t.setValue("isloginBtnState",!0,"boolean")}}}),0==t.info.islike?e("img",{staticClass:"bottom-operation-icom",class:{prepareLiskeAnimateState:t.prepareLiskeAnimateState},attrs:{src:s(3262)}}):e("img",{staticClass:"bottom-operation-icom",class:{prepareLiskeAnimateState:t.prepareLiskeAnimateState},attrs:{src:s(2969)}}),e("div",{staticClass:"bottom-operation-text"},[t._v(t._s(0==t.info.recommend_add?"":t.info.recommend_add)+"赞")])]),e("div",{staticClass:"bottom-operation-item flex1 flexcolumn flexcenter",on:{click:function(e){return t.tapOperate(0==t.info.isfav?"collect":"uncollect")}}},[t.islogin?t._e():e("div",{staticClass:"loginBtn",on:{click:function(e){return e.stopPropagation(),t.setValue("isloginBtnState",!0,"boolean")}}}),0==t.info.isfav?e("img",{staticClass:"bottom-operation-icom",attrs:{src:s(3490)}}):e("img",{staticClass:"bottom-operation-icom",attrs:{src:s(5196)}}),e("div",{staticClass:"bottom-operation-text"},[t._v("收藏")])]),e("div",{staticClass:"bottom-operation-item flex1 flexcolumn flexcenter transmit",attrs:{"data-clipboard-text":"Text to copy"},on:{click:function(e){return t.transmit()}}},[e("img",{staticClass:"bottom-operation-icom bottom-transmit-icom",attrs:{src:s(5842)}}),e("div",{staticClass:"bottom-operation-text"},[t._v("转发")])])])])]),e("detail-reply",{attrs:{"two-comment-data":t.twoCommentData,"comment-content":t.commentContent,"pop-state":t.popState}}),e("coins",{attrs:{"coin-config":t.coinConfig,mybalance:t.mybalance,"pop-state":t.popState,info:t.info}}),e("div",{directives:[{name:"show",rawName:"v-show",value:t.alert.state,expression:"alert.state"}],staticClass:"alert",class:{alertState:t.alert.state}},[e("el-alert",{attrs:{title:t.alert.message,type:"info",center:"","show-icon":"",closable:!1}})],1)],1)},a=[]},6799:function(t,e,s){s.d(e,{a:function(){return i},k:function(){return a}});const i="https://www.gter.net/bbs/post.html",a="https://bbs.gter.net/thread-2543548-1-1.html"}}]); |