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/unpackage/dist/build/h5/static/js/pages-account-message-group...

1 line
13 KiB

3 years ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-account-message-group"],{"340b":function(e,t,a){"use strict";a.r(t);var n=a("4ab4"),s=a.n(n);for(var i in n)"default"!==i&&function(e){a.d(t,e,(function(){return n[e]}))}(i);t["default"]=s.a},"47e4":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={data:function(){return{}},props:{icon:{type:String,default:a("7a1a")},tips:{type:String,default:"亲,暂无相关数据"}},mounted:function(){},methods:{}};t.default=n},"4ab4":function(e,t,a){"use strict";var n=a("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=n(a("8832")),i=a("5c65"),o={components:{BsEmpty:s.default},data:function(){return{msgType:i.MSG_TYPE,sessionData:this.$store.state.sessionData}},onShow:function(){this.$store.state.token||this.$Router.push("/login")},methods:{openMsg:function(e){this.$store.commit("SET_SESSION_MSG_ID",e.id),3===e.type?this.$Router.push("/messageChat?sessionId=".concat(e.id)):this.$Router.push("/messageSystem")}}};t.default=o},5726:function(e,t,a){var n=a("fc54");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var s=a("4f06").default;s("ee1499be",n,!0,{sourceMap:!1,shadowMode:!1})},"5c65":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MSG_TYPE=void 0;var n={TXT:1,VOICE:2,IMG:3,VIDEO:4,CUSTOM:6,TIP:7};t.MSG_TYPE=n},7084:function(e,t,a){e.exports=a.p+"static/img/tx.71ed472a.png"},7985:function(e,t,a){"use strict";a.r(t);var n=a("47e4"),s=a.n(n);for(var i in n)"default"!==i&&function(e){a.d(t,e,(function(){return n[e]}))}(i);t["default"]=s.a},"7a1a":function(e,t,a){e.exports=a.p+"static/img/empty.bdec362e.png"},"7e46":function(e,t,a){"use strict";a.d(t,"b",(function(){return s})),a.d(t,"c",(function(){return i})),a.d(t,"a",(function(){return n}));var n={uBadge:a("ca50").default},s=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",[e.$store.state.sessionData.length?e._e():n("BsEmpty",{attrs:{tips:"暂时还没有消息哦~",icon:a("7a1a")}}),e._l(e.$store.state.sessionData,(function(t){return n("v-uni-view",{key:t.id,staticClass:"msgItem",on:{click:function(a){arguments[0]=a=e.$handleEvent(a),e.openMsg(t)}}},[n("v-uni-image",{staticClass:"msgItem--headImg",attrs:{src:a("7084")}}),n("v-uni-view",{staticClass:"msgItem--con"},[n("v-uni-view",[n("v-uni-text",{staticClass:"msgItem--title"},[e._v(e._s(t.fromNickname))]),t.lastMessage?n("v-uni-text",{staticClass:"msgItem--text"},[t.lastMessage.type==e.msgType.TXT?[e._v(e._s(t.lastMessage.payload.content||t.lastMessage.payload.text))]:e._e(),t.lastMessage.type==e.msgType.CUSTOM?[e._v("[链接]")]:e._e(),t.lastMessage.type==e.msgType.IMG?[e._v("[图片]")]:e._e(),t.lastMessage.type==e.msgType.VIDEO?[e._v("[视频]")]:e._e()],2):e._e()],1),n("v-uni-view",{staticClass:"msgItem--right"},[t.lastMessage?n("v-uni-text",{staticClass:"msgItem--time"},[e._v(e._s(t.lastMessage.createTimeStamp))]):e._e(),n("u-badge",{staticClass:"msgItem--badge",attrs:{value:t.unreadCount}})],1)],1)],1)}))],2)},i=[]},8832:function(e,t,a){"use strict";a.r(t);var n=a("b867"),s=a("7985");for(var i in s)"default"!==i&&function(e){a.d(t,e,(function(){return s[e]}))}(i);a("f35f");var o,r=a("f0c5"),u=Object(r["a"])(s["default"],n["b"],n["c"],!1,null,"54c060f6",null,!1,n["a"],o);t["default"]=u.exports},a0ab0:function(e,t,a){"use strict";a.r(t);var n=a("7e46"),s=a("340b");for(var i in s)"default"!==i&&function(e){a.d(t,e,(function(){return s[e]}))}(i);a("dad2");var o,r=a("f0c5"),u=Object(r["a"])(s["default"],n["b"],n["c"],!1,null,"76dacef9",null,!1,n["a"],o);t["default"]=u.exports},a95a:function(e,t,a){"use strict";var n=a("d300"),s=a.n(n);s.a},b339:function(e,t,a){"use strict";a("a9e3"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{isDot:{type:Boolean,default:uni.$u.props.badge.isDot},value:{type:[Number,String],default:uni.$u.props.badge.value},show:{type:Boolean,default:uni.$u.props.badge.show},max:{type:[Number,String],default:uni.$u.props.badge.max},type:{type:String,