1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-d46136e8"],{8309:function(t,o,s){},9817:function(t,o,s){"use strict";s.r(o);var a,n=function(){var t=this,o=t.$createElement,a=t._self._c||o;return a("div",{staticClass:"myquestion"},[a("mescroll-vue",{ref:"wordListBox",attrs:{down:t.mescrollDown,up:t.mescrollUp},on:{init:t.mescrollInit}},[t._l(t.questionlist,(function(o,n){return a("div",{key:o.id,on:{click:function(s){return t.wordMsgTap(o.id,n)}}},[a("div",{staticClass:"everyanswerbox clearfix"},[a("div",{staticClass:"answerlogo font28 fontfpr colorfff lh36 center pull-left"},[t._v("问")]),a("div",{staticClass:"pull-left rightanswerbox"},[a("div",{staticClass:"font28 fontfpr lh40 color384855"},[t._v(t._s(o.title))]),a("div",{directives:[{name:"show",rawName:"v-show",value:!!o.imgs,expression:"!!item.imgs"}],staticClass:"imgarrbox clearfix"},t._l(o.imgs,(function(o,s){return a("img",{key:s,staticClass:"pull-left",attrs:{src:o},on:{click:function(s){return s.stopPropagation(),t.lookimgtap(o)}}})})),0),a("div",{staticClass:"clearfix relative font24 fontfpr colorB6CADE lh34 questionbt"},[a("div",{staticClass:"pull-left"},[t._v("回答时间:"+t._s(o.addtime.split(" ")[0]))]),a("div",{staticClass:"pull-right usenumbox"},[a("img",{staticClass:"pull-left",attrs:{src:s("f492")}}),a("div",{staticClass:"pull-left"},[t._v("有"+t._s(o.talkskill_comment_count)+"人回答了你的问题")])])])])]),a("div",{staticClass:"bgbox"})])})),a("nonedata",{attrs:{len:t.questionlist.length,datashow:t.datashow}})],2),a("wzhload",{directives:[{name:"show",rawName:"v-show",value:t.loadFlag,expression:"loadFlag"}]}),t.wordflag?a("wordmsg",{attrs:{wid:t.nowid,wordflag:t.wordflag},on:{closewordtap:t.closewordtap,updatehot:function(t){}}}):t._e()],1)},e=[],i=s("f3f3"),l=s("fc11"),c=(s("4662"),s("28a2")),r=(s("b0c0"),s("99af"),s("ac1f"),s("5319"),s("5880")),d=s("209e"),u=s("a92e"),f=s("8d6b"),m=(s("b311"),s("f7cf")),w={name:"myquestion",data:function(){return{wordflag:!1,datashow:!1,loadFlag:!0,questionlist:[],mescroll:null,mescrollDown:{},mescrollUp:{callback:this.questionlistfun,page:{num:0,size:10},htmlContent:"",htmlLoading:"",htmlNodata:"",noMoreSize:5},allcommentNum:0,commentArr:[],comments:"",msgmescroll:null,msgmescrollUp:{auto:!1,callback:this.commentlistfun,page:{num:0,size:10},htmlLoading:"",htmlNodata:"",noMoreSize:5},nowid:"",nowidx:0,nowwordobj:{},answerflag:!1}},components:(a={MescrollVue:f["a"],wordmsg:m["a"]},Object(l["a"])(a,c["a"].Component.name,c["a"].Component),Object(l["a"])(a,"nonedata",u["a"]),a),created:function(){this.setwordtype("1")},activated:function(){this.setwordtype("1")},methods:Object(i["a"])(Object(i["a"])({},Object(r["mapMutations"])(["setwordtype"])),{},{lookimgtap:function(t){Object(c["a"])([t])},wordMsgTap:function(t,o){this.wordflag=!0,this.nowid=t,this.comments="",this.commentArr=[],this.nowwordobj={},this.answerflag=!1,this.nowidx=o,this.loadFlag=!0},closeasktap:function(t){this.answerflag=!1},dothis:function(){},closewordtap:function(){this.wordflag=!1},asktap:function(t){this.answerflag=!0,this.comments=""},mescrollInit:function(t){this.mescroll=t},questionlistfun:function(t,o){var s=this,a={page:t.num,limit:10,keyword:s.keyword,messy:"",is_my:1};Object(d["c"])(a).then((function(a){0==a.data.code&&(1===t.num&&(s.questionlist=[]),s.datashow=!0,s.questionlist=s.questionlist.concat(a.data.data),s.$nextTick((function(){o.endSuccess(a.data.data.length)}))),setTimeout((function(){s.loadFlag=!1}),700)}))},trim:function(t){return t.replace(/(^\s*)|(\s*$)/g,"")}}),mounted:function(){}},h=w,p=(s("fbaa"),s("2877")),g=Object(p["a"])(h,n,e,!1,null,"436a5a0c",null);o["default"]=g.exports},fbaa:function(t,o,s){"use strict";s("8309")}}]);
|