You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
shop-app/h5/static/js/pages-account-message-list....

1 line
9.7 KiB

3 years ago
(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",{val