|
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-account-message-system"],{2961:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return o}));var o={uLoadmore:n("c153").default},i=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("v-uni-view",{staticClass:"main"},[t._l(t.msgData,(function(e){return o("v-uni-view",{key:e.id,staticClass:"msg-item"},[o("v-uni-view",{staticClass:"msg-item--title"},[o("v-uni-text",[t._v(t._s(e.payload.title)+" "+t._s(e.id))]),o("v-uni-text",{staticClass:"msg-item--time"},[t._v(t._s(e.createTimeStamp))])],1),o("v-uni-view",{staticClass:"msg-item--con"},[o("v-uni-image",{staticClass:"msg-item--img",attrs:{src:n("82a3"),mode:"widthFix"}}),o("v-uni-view",{staticClass:"msg-item--desc"},[t._v(t._s(e.payload.content))])],1)],1)})),t.msgData.length?t._e():o("u-loadmore",{attrs:{status:"loading"}})],2)},a=[]},4455:function(t,e,n){"use strict";var o=n("8a0b"),i=n.n(o);i.a},"453d":function(t,e,n){"use strict";n.r(e);var o=n("91a7"),i=n.n(o);for(var a in o)"default"!==a&&function(t){n.d(e,t,(function(){return o[t]}))}(a);e["default"]=i.a},"4d97":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/* 垂直间距 */.msg-item[data-v-1ec333be]{padding:%?40?% 0 0 %?40?%}.msg-item--title[data-v-1ec333be]{display:flex;justify-content:space-between;align-items:center;padding-right:%?40?%;font-size:%?32?%;color:#333}.msg-item--time[data-v-1ec333be]{font-size:%?24?%;color:#999}.msg-item--con[data-v-1ec333be]{display:flex;border-bottom:1px solid #eee;padding:%?40?% 0}.msg-item--img[data-v-1ec333be]{width:%?140?%;height:%?140?%;border-radius:%?12?%;margin-right:%?40?%}.msg-item--desc[data-v-1ec333be]{width:%?455?%;font-size:%?28?%;line-height:%?39?%;color:#666}',""]),t.exports=e},5871:function(t,e,n){var o=n("fe9e");"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var i=n("4f06").default;i("3023f3a0",o,!0,{sourceMap:!1,shadowMode:!1})},"65e4":function(t,e,n){"use strict";n.r(e);var o=n("2961"),i=n("b4a3");for(var a in i)"default"!==a&&function(t){n.d(e,t,(function(){return i[t]}))}(a);n("4455");var s,r=n("f0c5"),u=Object(r["a"])(i["default"],o["b"],o["c"],!1,null,"1ec333be",null,!1,o["a"],s);e["default"]=u.exports},"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},"82a3":function(t,e,n){t.exports=n.p+"static/img/xt.5199e39b.png"},"8a0b":function(t,e,n){var o=n("4d97");"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var i=n("4f06").default;i("47731ea4",o,!0,{sourceMap:!1,shadowMode:!1})},"91a7":function(t,e,n){"use strict";var o=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o(n("6b19")),a={name:"u-loadmore",mixins:[uni.$u.mpMixin,uni.$u.mixin,i.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=a},9444:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return o}));var o={uLine:n("3e06").default,uLoadingIcon:n("891e").default},i=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)},a=[]},adb3:function(t,e,n){"use strict";n("7db0"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n("5767"),i={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;uni.setNavigationBarTitle({title:this.curSessionData.fromNickname}),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=i},b4a3:function(t,e,n){"use strict";n.r(e);var o=n("adb3"),i=n.n(o);for(var a in o)"default"!==a&&function(t){n.d(e,t,(function(){return o[t]}))}(a);e["default"]=i.a},c153:function(t,e,n){"use strict";n.r(e);var o=n("9444"),i=n("453d");for(var a in i)"default"!==a&&function(t){n.d(e,t,(function(){return i[t]}))}(a);n("c6b9");var s,r=n("f0c5"),u=Object(r["a"])(i["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"),i=n.n(o);i.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}}]); |