index.js 1.9 KB

12345678910
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/tui-chat/message-elements/face-message/index"],{"0e31":function(e,t,n){"use strict";n.r(t);var r=n("91f8"),a=n.n(r);for(var c in r)"default"!==c&&function(e){n.d(t,e,(function(){return r[e]}))}(c);t["default"]=a.a},"3c99":function(e,t,n){"use strict";n.r(t);var r=n("b041"),a=n("0e31");for(var c in a)"default"!==c&&function(e){n.d(t,e,(function(){return a[e]}))}(c);n("9036");var u,s=n("f0c5"),o=Object(s["a"])(a["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],u);t["default"]=o.exports},9036:function(e,t,n){"use strict";var r=n("bce9"),a=n.n(r);a.a},"91f8":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={data:function(){return{renderDom:[],percent:0,faceUrl:"https://web.sdk.qcloud.com/im/assets/face-elem/"}},components:{},props:{message:{type:Object},isMine:{type:Boolean,default:!0}},watch:{message:{handler:function(e){this.renderDom=this.parseFace(e)},immediate:!0,deep:!0}},methods:{parseFace:function(e){var t={src:"".concat(this.faceUrl+e.payload.data,"@2x.png")};return t},previewImage:function(){e.previewImage({current:this.renderDom[0].src,urls:[this.renderDom[0].src]})}}};t.default=n}).call(this,n("543d")["default"])},b041:function(e,t,n){"use strict";var r;n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return c})),n.d(t,"a",(function(){return r}));var a=function(){var e=this,t=e.$createElement;e._self._c},c=[]},bce9:function(e,t,n){}}]);
  2. ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
  3. 'components/tui-chat/message-elements/face-message/index-create-component',
  4. {
  5. 'components/tui-chat/message-elements/face-message/index-create-component':(function(module, exports, __webpack_require__){
  6. __webpack_require__('543d')['createComponent'](__webpack_require__("3c99"))
  7. })
  8. },
  9. [['components/tui-chat/message-elements/face-message/index-create-component']]
  10. ]);