index.js 2.2 KB

12345678910
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/tui-chat/message-elements/system-message/index"],{1292:function(e,t,n){"use strict";n.r(t);var a=n("6cdb"),s=n.n(a);for(var c in a)"default"!==c&&function(e){n.d(t,e,(function(){return a[e]}))}(c);t["default"]=s.a},"3dbd":function(e,t,n){"use strict";var a;n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return c})),n.d(t,"a",(function(){return a}));var s=function(){var e=this,t=e.$createElement;e._self._c},c=[]},"4ae5":function(e,t,n){},"657e":function(e,t,n){"use strict";var a=n("4ae5"),s=n.n(a);s.a},"6cdb":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n("6216"),s=n("c9e4"),c={data:function(){return{messageTime:"",renderDom:""}},components:{},props:{message:{type:Object}},watch:{message:{handler:function(e){this.messageTime=(0,s.caculateTimeago)(1e3*e.time),this.renderDom=(0,a.parseGroupSystemNotice)(e)},immediate:!0,deep:!0}},methods:{handleClick:function(){var t=this;e.showActionSheet({itemList:["同意","拒绝"],success:function(n){var a={handleAction:"Agree",handleMessage:"欢迎进群",message:t.message};1===n.tapIndex&&(a.handleAction="Reject",a.handleMessage="拒绝申请"),e.$TUIKit.handleGroupApplication(a).then((function(){e.showToast({title:"Agree"===a.handleAction?"已同意申请":"已拒绝申请"})})).catch((function(t){e.showToast({title:t.message||"处理失败",icon:"none"})}))}})}}};t.default=c}).call(this,n("543d")["default"])},c7d7:function(e,t,n){"use strict";n.r(t);var a=n("3dbd"),s=n("1292");for(var c in s)"default"!==c&&function(e){n.d(t,e,(function(){return s[e]}))}(c);n("657e");var i,o=n("f0c5"),u=Object(o["a"])(s["default"],a["b"],a["c"],!1,null,"05b2b5a9",null,!1,a["a"],i);t["default"]=u.exports}}]);
  2. ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
  3. 'components/tui-chat/message-elements/system-message/index-create-component',
  4. {
  5. 'components/tui-chat/message-elements/system-message/index-create-component':(function(module, exports, __webpack_require__){
  6. __webpack_require__('543d')['createComponent'](__webpack_require__("c7d7"))
  7. })
  8. },
  9. [['components/tui-chat/message-elements/system-message/index-create-component']]
  10. ]);