|
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-account-message-list"],{"453d":function(t,e,n){"use strict";n.r(e);var o=n("91a7"),a=n.n(o);for(var i in o)"default"!==i&&function(t){n.d(e,t,(function(){return o[t]}))}(i);e["default"]=a.a},4783:function(t,e,n){"use strict";n("7db0"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n("5767"),a={data:function(){return{}},computed:{curSessionData:function(){var t=this;return this.$store.state.sessionData.find((function(e){return e.id==t.$store.state.sessionMsgId}))},msgData:function(){return this.curSessionData?this.curSessionData.messageList:[]}},onReachBottom:function(){this.getHistoryMsg()},onShow:function(){if(!this.$store.state.sessionMsgId)return this.$Router.back(),!1;this.getHistoryMsg(),this.readMsg()},methods:{getHistoryMsg:function(){this.loading=!0;var t=this.msgData[this.msgData.length-1]||{};o.MsbWebSkt.send({data:JSON.stringify({traceId:(0,o.createUUID)(),traceType:"2",content:{sessionId:this.$store.state.sessionMsgId,topMessageId:t.id||null}})})},readMsg:function(){o.MsbWebSkt.send({data:JSON.stringify({traceId:(0,o.createUUID)(),traceType:"6",content:{sessionId:this.$store.state.sessionMsgId}})});var t=this.$store.state.sessionMsgCount-this.curSessionData.unreadCount;this.curSessionData.unreadCount=0,this.$store.commit("SET_SESSION_MSG_COUNT",t)}}};e.default=a},"4a3f":function(t,e,n){var o=n("24fb");e=o(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 透明度 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 间距 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */.msgItem[data-v-39a4ccf6]{padding:%?40?% 0 0 %?40?%}.msgItem--title[data-v-39a4ccf6]{display:flex;justify-content:space-between;align-items:center;padding-right:%?40?%;font-size:%?32?%;color:#333}.msgItem--time[data-v-39a4ccf6]{font-size:%?24?%;color:#999}.msgItem--con[data-v-39a4ccf6]{display:flex;border-bottom:1px solid #eee;padding:%?40?% 0}.msgItem--img[data-v-39a4ccf6]{width:%?140?%;height:%?140?%;border-radius:%?12?%;margin-right:%?40?%}.msgItem--desc[data-v-39a4ccf6]{width:%?455?%;font-size:%?28?%;line-height:%?39?%;color:#666}',""]),t.exports=e},"4db1":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return o}));var o={uLoadmore:n("c153").default},a=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("v-uni-view",[t._l(t.msgData,(function(e){return o("v-uni-view",{key:e.id,staticClass:"msgItem"},[o("v-uni-view",{staticClass:"msgItem--title"},[o("v-uni-text",[t._v(t._s(e.payload.title)+" "+t._s(e.id))]),o("v-uni-text",{staticClass:"msgItem--time"},[t._v(t._s(e.createTimeStamp))])],1),o("v-uni-view",{staticClass:"msgItem--con"},[o("v-uni-image",{staticClass:"msgItem--img",attrs:{src:n("82a3"),mode:"widthFix"}}),o("v-uni-view",{staticClass:"msgItem--desc"},[t._v(t._s(e.payload.content))])],1)],1)})),t.msgData.length?t._e():o("u-loadmore",{attrs:{status:"loading"}})],2)},i=[]},5871:function(t,e,n){var o=n("fe9e");"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var a=n("4f06").default;a("3023f3a0",o,!0,{sourceMap:!1,shadowMode:!1})},"6b19":function(t,e,n){"use strict";n("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o={props:{status:{type:String,default:uni.$u.props.loadmore.status},bgColor:{type:String,default:uni.$u.props.loadmore.bgColor},icon:{type:Boolean,default:uni.$u.props.loadmore.icon},fontSize:{type:[String,Number],default:uni.$u.props.loadmore.fontSize},color:{type:String,default:uni.$u.props.loadmore.color},loadingIcon:{type:String,default:uni.$u.props.loadmore.loadingIcon},loadmoreText:{type:String,default:uni.$u.props.loadmore.loadmoreText},loadingText:{type:String,default:uni.$u.props.loadmore.loadingText},nomoreText:{type:String,default:uni.$u.props.loadmore.nomoreText},isDot:{type:Boolean,default:uni.$u.props.loadmore.isDot},iconColor:{type:String,default:uni.$u.props.loadmore.iconColor},marginTop:{type:[String,Number],default:uni.$u.props.loadmore.marginTop},marginBottom:{type:[String,Number],default:uni.$u.props.loadmore.marginBottom},height:{type:[String,Number],default:uni.$u.props.loadmore.height},line:{type:Boolean,default:uni.$u.props.loadmore.line}}};e.default=o},"7c81":function(t,e,n){"use strict";n.r(e);var o=n("4db1"),a=n("d9ce");for(var i in a)"default"!==i&&function(t){n.d(e,t,(function(){return a[t]}))}(i);n("dbeb");var s,r=n("f0c5"),u=Object(r["a"])(a["default"],o["b"],o["c"],!1,null,"39a4ccf6",null,!1,o["a"],s);e["default"]=u.exports},8131:function(t,e,n){var o=n("4a3f");"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var a=n("4f06").default;a("445ee560",o,!0,{sourceMap:!1,shadowMode:!1})},"82a3":function(t,e,n){t.exports=n.p+"static/img/xt.5199e39b.png"},"91a7":function(t,e,n){"use strict";var o=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=o(n("6b19")),i={name:"u-loadmore",mixins:[uni.$u.mpMixin,uni.$u.mixin,a.default],data:function(){return{dotText:"●"}},computed:{loadTextStyle:function(){return{color:this.color,fontSize:uni.$u.addUnit(this.fontSize),lineHeight:uni.$u.addUnit(this.fontSize),backgroundColor:this.bgColor}},showText:function(){var t="";return t="loadmore"==this.status?this.loadmoreText:"loading"==this.status?this.loadingText:"nomore"==this.status&&this.isDot?this.dotText:this.nomoreText,t}},methods:{loadMore:function(){"loadmore"==this.status&&this.$emit("loadmore")}}};e.default=i},9444:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return o}));var o={uLine:n("3e06").default,uLoadingIcon:n("891e").default},a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"u-loadmore",style:[t.$u.addStyle(t.customStyle),{backgroundColor:t.bgColor,marginBottom:t.$u.addUnit(t.marginBottom),marginTop:t.$u.addUnit(t.marginTop),height:t.$u.addUnit(t.height)}]},[t.line?n("u-line",{attrs:{length:"140rpx",color:"#E6E8EB",hairline:!1}}):t._e(),n("v-uni-view",{staticClass:"u-loadmore__content",class:"loadmore"==t.status||"nomore"==t.status?"u-more":""},["loading"===t.status&&t.icon?n("v-uni-view",{staticClass:"u-loadmore__content__icon-wrap"},[n("u-loading-icon",{attrs:{color:t.iconColor,size:"17",mode:t.loadingIcon}})],1):t._e(),n("v-uni-text",{staticClass:"u-line-1",class:["nomore"==t.status&&1==t.isDot?"u-loadmore__content__dot-text":"u-loadmore__content__text"],style:[t.loadTextStyle],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.loadMore.apply(void 0,arguments)}}},[t._v(t._s(t.showText))])],1),t.line?n("u-line",{attrs:{length:"140rpx",color:"#E6E8EB",hairline:!1}}):t._e()],1)},i=[]},c153:function(t,e,n){"use strict";n.r(e);var o=n("9444"),a=n("453d");for(var i in a)"default"!==i&&function(t){n.d(e,t,(function(){return a[t]}))}(i);n("c6b9");var s,r=n("f0c5"),u=Object(r["a"])(a["default"],o["b"],o["c"],!1,null,"17ee0c9a",null,!1,o["a"],s);e["default"]=u.exports},c6b9:function(t,e,n){"use strict";var o=n("5871"),a=n.n(o);a.a},d9ce:function(t,e,n){"use strict";n.r(e);var o=n("4783"),a=n.n(o);for(var i in o)"default"!==i&&function(t){n.d(e,t,(function(){return o[t]}))}(i);e["default"]=a.a},dbeb:function(t,e,n){"use strict";var o=n("8131"),a=n.n(o);a.a},fe9e:function(t,e,n){var o=n("24fb");e=o(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 透明度 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 间距 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */uni-view[data-v-17ee0c9a], uni-scroll-view[data-v-17ee0c9a], uni-swiper-item[data-v-17ee0c9a]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-loadmore[data-v-17ee0c9a]{display:flex;flex-direction:row;align-items:center;justify-content:center;flex:1}.u-loadmore__content[data-v-17ee0c9a]{margin:0 15px;display:flex;flex-direction:row;align-items:center;justify-content:center}.u-loadmore__content__icon-wrap[data-v-17ee0c9a]{margin-right:8px}.u-loadmore__content__text[data-v-17ee0c9a]{font-size:14px;color:#606266}.u-loadmore__content__dot-text[data-v-17ee0c9a]{font-size:15px;color:#909193}',""]),t.exports=e}}]); |