cnhis-design-vue 2.1.29 → 2.1.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +34 -16
- package/es/affix/index.js +8 -8
- package/es/age/index.js +10 -10
- package/es/alert/index.js +8 -8
- package/es/anchor/index.js +8 -8
- package/es/auto-complete/index.js +8 -8
- package/es/avatar/index.js +8 -8
- package/es/back-top/index.js +8 -8
- package/es/badge/index.js +8 -8
- package/es/base/index.js +8 -8
- package/es/big-table/index.js +68 -68
- package/es/breadcrumb/index.js +8 -8
- package/es/button/index.js +22 -22
- package/es/calendar/index.js +8 -8
- package/es/captcha/index.js +3 -3
- package/es/card/index.js +8 -8
- package/es/carousel/index.js +8 -8
- package/es/cascader/index.js +8 -8
- package/es/checkbox/index.js +9 -9
- package/es/col/index.js +8 -8
- package/es/collapse/index.js +8 -8
- package/es/color-picker/index.js +1 -1
- package/es/comment/index.js +8 -8
- package/es/config-provider/index.js +8 -8
- package/es/date-picker/index.js +8 -8
- package/es/descriptions/index.js +8 -8
- package/es/divider/index.js +8 -8
- package/es/drag-layout/index.js +3 -3
- package/es/drawer/index.js +8 -8
- package/es/dropdown/index.js +8 -8
- package/es/editor/index.js +1 -1
- package/es/empty/index.js +8 -8
- package/es/fabric-chart/index.js +21 -30
- package/es/form/index.js +8 -8
- package/es/form-model/index.js +8 -8
- package/es/form-table/index.js +94 -92
- package/es/form-table/style.css +1 -1
- package/es/index/index.js +1247 -1008
- package/es/index/style.css +1 -1
- package/es/input/index.js +9 -9
- package/es/input-number/index.js +8 -8
- package/es/layout/index.js +8 -8
- package/es/list/index.js +8 -8
- package/es/locale-provider/index.js +8 -8
- package/es/map/index.js +9 -9
- package/es/mentions/index.js +8 -8
- package/es/menu/index.js +8 -8
- package/es/message/index.js +8 -8
- package/es/multi-chat/index.js +772 -559
- package/es/multi-chat/style.css +1 -1
- package/es/multi-chat-client/index.js +368 -220
- package/es/multi-chat-client/style.css +1 -1
- package/es/multi-chat-history/index.js +292 -39
- package/es/multi-chat-history/style.css +1 -1
- package/es/multi-chat-record/index.js +114 -40
- package/es/multi-chat-record/style.css +1 -1
- package/es/multi-chat-setting/index.js +132 -57
- package/es/multi-chat-setting/style.css +1 -1
- package/es/multi-chat-sip/index.js +1 -1
- package/es/notification/index.js +8 -8
- package/es/page-header/index.js +8 -8
- package/es/pagination/index.js +8 -8
- package/es/popconfirm/index.js +8 -8
- package/es/popover/index.js +8 -8
- package/es/progress/index.js +8 -8
- package/es/radio/index.js +9 -9
- package/es/rate/index.js +8 -8
- package/es/result/index.js +8 -8
- package/es/row/index.js +8 -8
- package/es/scale-view/index.js +24 -24
- package/es/select/index.js +11 -11
- package/es/select-label/index.js +11 -11
- package/es/select-person/index.js +36 -28
- package/es/select-person/style.css +1 -1
- package/es/shortcut-setter/index.js +10 -10
- package/es/skeleton/index.js +8 -8
- package/es/slider/index.js +8 -8
- package/es/space/index.js +8 -8
- package/es/spin/index.js +8 -8
- package/es/statistic/index.js +8 -8
- package/es/steps/index.js +8 -8
- package/es/switch/index.js +8 -8
- package/es/table-filter/index.js +47 -47
- package/es/tabs/index.js +8 -8
- package/es/tag/index.js +9 -9
- package/es/time-picker/index.js +8 -8
- package/es/timeline/index.js +8 -8
- package/es/tooltip/index.js +8 -8
- package/es/transfer/index.js +8 -8
- package/es/tree/index.js +8 -8
- package/es/tree-select/index.js +8 -8
- package/es/upload/index.js +8 -8
- package/es/utils/UniRTCv2.js +89 -13
- package/es/utils/trtc.js +19025 -0
- package/es/verification-code/index.js +2 -2
- package/lib/cui.common.js +26238 -6114
- package/lib/cui.umd.js +26238 -6114
- package/lib/cui.umd.min.js +150 -148
- package/package.json +2 -2
- package/packages/fabric-chart/src/fabric-chart/FabricPolylines.vue +3 -11
- package/packages/form-table/src/FormTable.vue +4 -1
- package/packages/multi-chat/chat/audio.vue +22 -6
- package/packages/multi-chat/chat/chatHeader.vue +4 -1
- package/packages/multi-chat/chat/chatHistory.vue +16 -2
- package/packages/multi-chat/chat/chatMain.vue +5 -0
- package/packages/multi-chat/chat/index.vue +31 -1
- package/packages/multi-chat/chat/mixins/uniRTCAPI.js +10 -7
- package/packages/multi-chat/chat/multiVideo.vue +16 -4
- package/packages/multi-chat/chat/scrollList.vue +9 -3
- package/packages/multi-chat/components/avatar.vue +63 -26
- package/packages/multi-chat/img/replay.png +0 -0
- package/packages/multi-chat/setting/sessionList/messageRecord.vue +9 -0
- package/packages/multi-chat/store/actions.js +8 -4
- package/packages/multi-chat/store/getters.js +3 -0
- package/packages/multi-chat/store/mutation.js +3 -0
- package/packages/multi-chat/store/state.js +2 -1
- package/packages/multi-chat/utils/index.js +25 -0
- package/packages/multi-chat/utils/rtc-client.js +23 -3
- package/packages/select-person/select-person.vue +9 -4
- package/src/utils/UniRTCv2.js +53 -15
- package/src/utils/trtc.js +1 -0
|
@@ -131,6 +131,13 @@ module.exports = function (fn, that, length) {
|
|
|
131
131
|
};
|
|
132
132
|
|
|
133
133
|
|
|
134
|
+
/***/ }),
|
|
135
|
+
|
|
136
|
+
/***/ "03ec":
|
|
137
|
+
/***/ (function(module, exports) {
|
|
138
|
+
|
|
139
|
+
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAoRJREFUOE+tlEtIVGEUx3//uS0i0WwRQlA+5kEQRFDQohYV9CBqEWYQBAVBq6KHd3pS2La5aooUuLEgiowKCqJNBBFBVFhRgTkjSpBUSA9RAvWeuNPMOKOjuehbnnvO7/t/53/OFf/56D/zmBFY7dryEGxHRGSUGAxIPB0yHnzxNFxMTFFgzTGLhUK0ApuBn8B7xLAZSwQxYNDgfMpT22ToFGD4uK2Xzx3gm8Spsp/ce9Wu0Wxh7KjV+A4ngf2Czp5+9nBL49nvBcCMsueIF46o7b6goel6HI1brRk3TFxKJXSkKDDi2kOgxgmxciZYtjgat8NmNPnjrO5t1ssgnlMYGODAG4mdPQndzhZV7bO5zkLWpRIKLis8deZEKnkneN3jaXcBMOzaGUF8/i8W5vcsGrcVZnQhHuNzMNmoD/nUsGtnZbjJUhbQID+nMBy3DhmxpKc1+QU54N/gKEbryBDnPrdrJAhE47bNjPujYyzqv6iBHDDiWieiPJnQphmAGHzH2Jhq1KsgL+zaBsEjGyeaalZyQqFrLcHcpTwtnQboA1cNTqY8fc3mhOttr0THPCh962l4QmHc6jBuhsaJfGxWb7agut4qHXHVfE6nmvRssi9R14LRiSUTWllgSoVrJaXQB9xNejowmx3PzO07jBPJRjUXADP9OChokdiVPzrF4GkB4gk+5WODLOu7ot9TgGnXgidArUS8p4+2/LXKgtPKHG5gRB1Y2+3pbdFNSQfrzAlX0SjjEPDR4HpIdPnGCMbikNgSXIjxyRE78mFFFeZUHLVVjkO9GVsRZZm4IbrwuTY2yOXsM/Nb8u8fbIOFKn9QMUeUlDgMBKMxk2H/Bs7G7rycP54yBiQoalV8AAAAAElFTkSuQmCC"
|
|
140
|
+
|
|
134
141
|
/***/ }),
|
|
135
142
|
|
|
136
143
|
/***/ "06c5":
|
|
@@ -224,7 +231,7 @@ module.exports = !DESCRIPTORS && !fails(function () {
|
|
|
224
231
|
|
|
225
232
|
"use strict";
|
|
226
233
|
|
|
227
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
234
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2cf6338a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/components/msg-describe.vue?vue&type=template&id=4b76a796&scoped=true&
|
|
228
235
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"msg-describe"},[_c('div',{staticClass:"msg-describe__header"},[_vm._v(_vm._s(_vm.content.title || ''))]),_c('div',{staticClass:"msg-describe__content"},[_c('div',{ref:"wrapper",class:_vm.isOpen ? '' : 'wrapper'},_vm._l((_vm.contentParams),function(item,i){return _c('div',{key:i,staticClass:"desc-item"},[_c('div',{staticClass:"desc-title"},[_vm._v(" "+_vm._s(item.p_name)+" ")]),_c('div',{staticClass:"desc-txt"},[_vm._v(" "+_vm._s(item.p_value)+" ")])])}),0),(_vm.foldVisible)?_c('div',{staticClass:"fold-btn",on:{"click":_vm.toggleOpen}},[_vm._v(" "+_vm._s(_vm.isOpen ? _vm.i18nText('1.4.9.33') : _vm.i18nText('1.10.233') + _vm.i18nText('1.10.149'))+" "),_c('a-icon',{attrs:{"type":_vm.isOpen ? 'up' : 'down'}})],1):_vm._e()])])}
|
|
229
236
|
var staticRenderFns = []
|
|
230
237
|
|
|
@@ -349,13 +356,6 @@ module.exports = require("core-js/modules/web.dom-collections.for-each.js");
|
|
|
349
356
|
|
|
350
357
|
/***/ }),
|
|
351
358
|
|
|
352
|
-
/***/ "199e":
|
|
353
|
-
/***/ (function(module, exports) {
|
|
354
|
-
|
|
355
|
-
module.exports = require("vue-infinite-scroll");
|
|
356
|
-
|
|
357
|
-
/***/ }),
|
|
358
|
-
|
|
359
359
|
/***/ "19aa":
|
|
360
360
|
/***/ (function(module, exports) {
|
|
361
361
|
|
|
@@ -897,12 +897,12 @@ var es_promise_finally = __webpack_require__("a79d");
|
|
|
897
897
|
// EXTERNAL MODULE: external "core-js/modules/es.function.name.js"
|
|
898
898
|
var es_function_name_js_ = __webpack_require__("db0a");
|
|
899
899
|
|
|
900
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
901
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"chat-history"},[_c('div',{directives:[{name:"infinite-scroll",rawName:"v-infinite-scroll",value:(_vm.handleInfiniteOnLoad),expression:"handleInfiniteOnLoad"}],ref:"message-wrapper",staticClass:"online-message"},[_vm._l((_vm.msgList),function(item,index){return [_c('div',{key:index},[(_vm.isNeedShowTime(item, index))?_c('p',{staticClass:"message-time"},[_vm._v(" "+_vm._s(_vm.formatDate(item.createdTime))+" ")]):_vm._e(),(item.recallFlag)?_c('div',{staticStyle:{"margin":"10px 0"}},[_vm._v(" "+_vm._s(_vm.i18nText('1.9.367'))+" ")]):_vm._e(),(!item.recallFlag)?_c('div',{staticClass:"message-item",class:_vm.getMessageItemClass(item)},[[(item.content.source === 1)?_c('img',{staticClass:"avatar",staticStyle:{"cursor":"pointer"},attrs:{"src":__webpack_require__("6753"),"width":"40","height":"40"}}):_c('div',{staticClass:"first-name"},[_vm._v(" "+_vm._s(item.fromName.slice(0, 1))+" ")])],_c('div',[(item.content.type === 0)?_c('div',{staticClass:"content-wrap"},[_c('span',{staticClass:"right-time"},[_vm._v(" "+_vm._s(_vm.formatDate(item.createdTime || item.sendTime, true))+" ")]),_c('p',{staticClass:"content",domProps:{"innerHTML":_vm._s(_vm.$xss(item.content.content))}})]):(item.content.type === 1)?_c('div',{staticClass:"upload-image content-wrap",staticStyle:{"margin-bottom":"20px"}},[_c('span',{staticClass:"right-time"},[_vm._v(" "+_vm._s(_vm.formatDate(item.createdTime || item.sendTime, true))+" ")]),_c('MsgPicture',{staticStyle:{"max-height":"250px"},attrs:{"image":item.content.content},on:{"click":function($event){return _vm.show(item.content.content)}}})],1):(item.content.type === 2)?_c('div',{staticClass:"content-wrap"},[_c('span',{staticClass:"right-time"},[_vm._v(" "+_vm._s(_vm.formatDate(item.createdTime || item.sendTime, true))+" ")]),_c('div',{staticClass:"content"},[_c('img',{staticStyle:{"width":"16px"},attrs:{"src":__webpack_require__("f974")}}),_vm._v(" "+_vm._s(item.content.content)+" ")])]):(item.content.type === 6)?_c('div',{staticClass:"content-wrap"},[_c('span',{staticClass:"right-time"},[_vm._v(" "+_vm._s(_vm.formatDate(item.createdTime || item.sendTime, true))+" ")]),_c('div',{staticClass:"voice-bg content",on:{"click":function($event){$event.preventDefault();$event.stopPropagation();return _vm.playAudio(item)}}},[(item.content.isPlay)?_c('img',{attrs:{"src":__webpack_require__("320f"),"alt":""}}):_c('img',{attrs:{"src":__webpack_require__("c2ae"),"alt":""}}),_c('span',{staticClass:"voice-text",style:(_vm.AudioStyle(item))},[_vm._v(" "+_vm._s(item.content.duration || 1)+"\" ")])])]):(item.content.type === 4)?[(_vm.isSystemMsg(item))?_c('div',{staticClass:"system-msg"},[_c('a-icon',{staticClass:"system-icon",attrs:{"theme":"filled","type":"exclamation-circle"}}),_c('div',[_c('span',{domProps:{"innerHTML":_vm._s(_vm.getSystemMsgContent(item))}}),_vm._l((_vm.getTemplateButton(item)),function(btn,index){return _c('span',{key:index,staticClass:"system-btn",on:{"click":function($event){return _vm.handleTemplateButton(btn)}}},[_vm._v(_vm._s(btn.title))])})],2)],1):(_vm.isDescribeMsg(item))?_c('msg-describe',{attrs:{"item":item}}):_c('div',{staticClass:"content-wrap"},[_c('MsgPrescription',{attrs:{"data":item,"isServer":true},on:{"handleTemplateDetail":_vm.handleTemplateDetail,"handleTemplateButton":_vm.handleTemplateButton}})],1)]:_vm._e()],2)],2):_vm._e()])]}),(_vm.loading)?_c('a-spin',{staticClass:"loading-icon"}):_vm._e()],2),_c('viewer',{ref:"viewer",staticClass:"viewer",staticStyle:{"display":"none"},attrs:{"images":_vm.images,"options":_vm.options},on:{"inited":_vm.inited},scopedSlots:_vm._u([{key:"default",fn:function(scope){return _vm._l((scope.images),function(src){return _c('img',{key:src,attrs:{"src":src}})})}}])}),_c('div',{staticStyle:{"display":"none"}},[_c('audio',{ref:"audio",attrs:{"controls":"","autoplay":"","preload":"auto","crossOrigin":"anonymous","media-player":"audioPlayer","src":_vm.curAudioUrl},on:{"ended":_vm.audioEnd,"error":_vm.audioError}})])],1)}
|
|
900
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2cf6338a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/chat/chatHistory.vue?vue&type=template&id=74c011fb&scoped=true&
|
|
901
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"chat-history"},[_c('div',{directives:[{name:"infinite-scroll",rawName:"v-infinite-scroll",value:(_vm.handleInfiniteOnLoad),expression:"handleInfiniteOnLoad"}],ref:"message-wrapper",staticClass:"online-message"},[_vm._l((_vm.msgList),function(item,index){return [_c('div',{key:index},[(_vm.isNeedShowTime(item, index))?_c('p',{staticClass:"message-time"},[_vm._v(" "+_vm._s(_vm.formatDate(item.createdTime))+" ")]):_vm._e(),(item.recallFlag)?_c('div',{staticStyle:{"margin":"10px 0"}},[_vm._v(" "+_vm._s(_vm.i18nText('1.9.367'))+" ")]):_vm._e(),(!item.recallFlag)?_c('div',{staticClass:"message-item",class:_vm.getMessageItemClass(item)},[[(item.content.source === 1)?_c('img',{staticClass:"avatar",staticStyle:{"cursor":"pointer"},attrs:{"src":__webpack_require__("6753"),"width":"40","height":"40"}}):_c('div',{staticClass:"first-name"},[_vm._v(" "+_vm._s(item.fromName.slice(0, 1))+" ")])],_c('div',[(item.content.type === 0)?_c('div',{staticClass:"content-wrap"},[_c('span',{staticClass:"right-time"},[_vm._v(" "+_vm._s(_vm.formatDate(item.createdTime || item.sendTime, true))+" ")]),_c('p',{staticClass:"content",domProps:{"innerHTML":_vm._s(_vm.$xss(item.content.content))}})]):(item.content.type === 1)?_c('div',{staticClass:"upload-image content-wrap",staticStyle:{"margin-bottom":"20px"}},[_c('span',{staticClass:"right-time"},[_vm._v(" "+_vm._s(_vm.formatDate(item.createdTime || item.sendTime, true))+" ")]),_c('MsgPicture',{staticStyle:{"max-height":"250px"},attrs:{"image":item.content.content},on:{"click":function($event){return _vm.show(item.content.content)}}})],1):(item.content.type === 2)?_c('div',{staticClass:"content-wrap"},[_c('span',{staticClass:"right-time"},[_vm._v(" "+_vm._s(_vm.formatDate(item.createdTime || item.sendTime, true))+" ")]),_c('div',{staticClass:"content"},[_c('img',{staticStyle:{"width":"16px"},attrs:{"src":__webpack_require__("f974")}}),_vm._v(" "+_vm._s(item.content.content)+" "),(item.content.name)?_c('img',{staticStyle:{"width":"20px","margin-left":"12px","cursor":"pointer"},attrs:{"src":__webpack_require__("03ec")},on:{"click":function($event){return _vm.openReplayVideo(item.content.name)}}}):_vm._e()])]):(item.content.type === 6)?_c('div',{staticClass:"content-wrap"},[_c('span',{staticClass:"right-time"},[_vm._v(" "+_vm._s(_vm.formatDate(item.createdTime || item.sendTime, true))+" ")]),_c('div',{staticClass:"voice-bg content",on:{"click":function($event){$event.preventDefault();$event.stopPropagation();return _vm.playAudio(item)}}},[(item.content.isPlay)?_c('img',{attrs:{"src":__webpack_require__("320f"),"alt":""}}):_c('img',{attrs:{"src":__webpack_require__("c2ae"),"alt":""}}),_c('span',{staticClass:"voice-text",style:(_vm.AudioStyle(item))},[_vm._v(" "+_vm._s(item.content.duration || 1)+"\" ")])])]):(item.content.type === 4)?[(_vm.isSystemMsg(item))?_c('div',{staticClass:"system-msg"},[_c('a-icon',{staticClass:"system-icon",attrs:{"theme":"filled","type":"exclamation-circle"}}),_c('div',[_c('span',{domProps:{"innerHTML":_vm._s(_vm.getSystemMsgContent(item))}}),_vm._l((_vm.getTemplateButton(item)),function(btn,index){return _c('span',{key:index,staticClass:"system-btn",on:{"click":function($event){return _vm.handleTemplateButton(btn)}}},[_vm._v(_vm._s(btn.title))])})],2)],1):(_vm.isDescribeMsg(item))?_c('msg-describe',{attrs:{"item":item}}):_c('div',{staticClass:"content-wrap"},[_c('MsgPrescription',{attrs:{"data":item,"isServer":true},on:{"handleTemplateDetail":_vm.handleTemplateDetail,"handleTemplateButton":_vm.handleTemplateButton}})],1)]:_vm._e()],2)],2):_vm._e()])]}),(_vm.loading)?_c('a-spin',{staticClass:"loading-icon"}):_vm._e()],2),_c('viewer',{ref:"viewer",staticClass:"viewer",staticStyle:{"display":"none"},attrs:{"images":_vm.images,"options":_vm.options},on:{"inited":_vm.inited},scopedSlots:_vm._u([{key:"default",fn:function(scope){return _vm._l((scope.images),function(src){return _c('img',{key:src,attrs:{"src":src}})})}}])}),_c('div',{staticStyle:{"display":"none"}},[_c('audio',{ref:"audio",attrs:{"controls":"","autoplay":"","preload":"auto","crossOrigin":"anonymous","media-player":"audioPlayer","src":_vm.curAudioUrl},on:{"ended":_vm.audioEnd,"error":_vm.audioError}})])],1)}
|
|
902
902
|
var staticRenderFns = []
|
|
903
903
|
|
|
904
904
|
|
|
905
|
-
// CONCATENATED MODULE: ./packages/multi-chat/chat/chatHistory.vue?vue&type=template&id=
|
|
905
|
+
// CONCATENATED MODULE: ./packages/multi-chat/chat/chatHistory.vue?vue&type=template&id=74c011fb&scoped=true&
|
|
906
906
|
|
|
907
907
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
|
|
908
908
|
var toConsumableArray = __webpack_require__("2909");
|
|
@@ -969,9 +969,8 @@ var msg_prescription = __webpack_require__("38a7");
|
|
|
969
969
|
// EXTERNAL MODULE: ./packages/multi-chat/chat/mixins/viewerOptions.js
|
|
970
970
|
var viewerOptions = __webpack_require__("e44c");
|
|
971
971
|
|
|
972
|
-
// EXTERNAL MODULE:
|
|
973
|
-
var
|
|
974
|
-
var external_vue_infinite_scroll_default = /*#__PURE__*/__webpack_require__.n(external_vue_infinite_scroll_);
|
|
972
|
+
// EXTERNAL MODULE: ./src/directive/scroll.js
|
|
973
|
+
var directive_scroll = __webpack_require__("452f");
|
|
975
974
|
|
|
976
975
|
// EXTERNAL MODULE: external "cnhis-design-vue/es/utils/vexutils"
|
|
977
976
|
var vexutils_ = __webpack_require__("9715");
|
|
@@ -1092,6 +1091,7 @@ var _components;
|
|
|
1092
1091
|
//
|
|
1093
1092
|
//
|
|
1094
1093
|
//
|
|
1094
|
+
//
|
|
1095
1095
|
|
|
1096
1096
|
|
|
1097
1097
|
|
|
@@ -1104,6 +1104,7 @@ var _components;
|
|
|
1104
1104
|
mixins: [viewerOptions["a" /* default */]],
|
|
1105
1105
|
components: (_components = {}, Object(defineProperty["a" /* default */])(_components, icon_default.a.name, icon_default.a), Object(defineProperty["a" /* default */])(_components, spin_default.a.name, spin_default.a), Object(defineProperty["a" /* default */])(_components, "MsgPrescription", msg_prescription["a" /* default */]), Object(defineProperty["a" /* default */])(_components, "MsgPicture", msg_picture["a" /* default */]), Object(defineProperty["a" /* default */])(_components, "MsgDescribe", msg_describe["a" /* default */]), _components),
|
|
1106
1106
|
data: function data() {
|
|
1107
|
+
this.handleInfiniteOnLoad = vexutils_default.a.debounce(this.handleInfiniteOnLoad, 200);
|
|
1107
1108
|
return {
|
|
1108
1109
|
msgList: [],
|
|
1109
1110
|
historySessionId: '',
|
|
@@ -1112,7 +1113,8 @@ var _components;
|
|
|
1112
1113
|
visible: false,
|
|
1113
1114
|
images: [],
|
|
1114
1115
|
curAudioUrl: '',
|
|
1115
|
-
lastAudioItem: null
|
|
1116
|
+
lastAudioItem: null,
|
|
1117
|
+
loadFinished: false
|
|
1116
1118
|
};
|
|
1117
1119
|
},
|
|
1118
1120
|
props: ['params', 'i18nText'],
|
|
@@ -1137,6 +1139,9 @@ var _components;
|
|
|
1137
1139
|
this.handleInfiniteOnLoad();
|
|
1138
1140
|
},
|
|
1139
1141
|
methods: {
|
|
1142
|
+
openReplayVideo: function openReplayVideo(url) {
|
|
1143
|
+
window.open(url);
|
|
1144
|
+
},
|
|
1140
1145
|
getMessageItemClass: function getMessageItemClass(item) {
|
|
1141
1146
|
return {
|
|
1142
1147
|
right: item.senderFlag === 2,
|
|
@@ -1148,6 +1153,13 @@ var _components;
|
|
|
1148
1153
|
handleInfiniteOnLoad: function handleInfiniteOnLoad() {
|
|
1149
1154
|
var _this = this;
|
|
1150
1155
|
|
|
1156
|
+
console.log('加载记录');
|
|
1157
|
+
|
|
1158
|
+
if (this.loadFinished) {
|
|
1159
|
+
console.log('loadFinished');
|
|
1160
|
+
return;
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1151
1163
|
this.loading = true;
|
|
1152
1164
|
var id = this.msgList[0] && this.msgList[0].id; // let params = {
|
|
1153
1165
|
// assemblyId: "1227514588661026816",
|
|
@@ -1173,6 +1185,7 @@ var _components;
|
|
|
1173
1185
|
_this.loading = false;
|
|
1174
1186
|
|
|
1175
1187
|
if (id && data.list.length === 0) {
|
|
1188
|
+
_this.loadFinished = true;
|
|
1176
1189
|
return '没有更多消息了';
|
|
1177
1190
|
}
|
|
1178
1191
|
|
|
@@ -1186,6 +1199,8 @@ var _components;
|
|
|
1186
1199
|
});
|
|
1187
1200
|
|
|
1188
1201
|
_this.handleScrollTo('current');
|
|
1202
|
+
} else {
|
|
1203
|
+
console.log('加载失败');
|
|
1189
1204
|
}
|
|
1190
1205
|
});
|
|
1191
1206
|
},
|
|
@@ -1386,13 +1401,13 @@ var _components;
|
|
|
1386
1401
|
}
|
|
1387
1402
|
},
|
|
1388
1403
|
directives: {
|
|
1389
|
-
InfiniteScroll:
|
|
1404
|
+
InfiniteScroll: directive_scroll["a" /* default */]
|
|
1390
1405
|
}
|
|
1391
1406
|
});
|
|
1392
1407
|
// CONCATENATED MODULE: ./packages/multi-chat/chat/chatHistory.vue?vue&type=script&lang=js&
|
|
1393
1408
|
/* harmony default export */ var chat_chatHistoryvue_type_script_lang_js_ = (chatHistoryvue_type_script_lang_js_);
|
|
1394
|
-
// EXTERNAL MODULE: ./packages/multi-chat/chat/chatHistory.vue?vue&type=style&index=0&id=
|
|
1395
|
-
var
|
|
1409
|
+
// EXTERNAL MODULE: ./packages/multi-chat/chat/chatHistory.vue?vue&type=style&index=0&id=74c011fb&lang=less&scoped=true&
|
|
1410
|
+
var chatHistoryvue_type_style_index_0_id_74c011fb_lang_less_scoped_true_ = __webpack_require__("3b46");
|
|
1396
1411
|
|
|
1397
1412
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
1398
1413
|
var componentNormalizer = __webpack_require__("2877");
|
|
@@ -1412,7 +1427,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
1412
1427
|
staticRenderFns,
|
|
1413
1428
|
false,
|
|
1414
1429
|
null,
|
|
1415
|
-
"
|
|
1430
|
+
"74c011fb",
|
|
1416
1431
|
null
|
|
1417
1432
|
|
|
1418
1433
|
)
|
|
@@ -1659,7 +1674,7 @@ module.exports = DESCRIPTORS ? Object.defineProperties : function defineProperti
|
|
|
1659
1674
|
|
|
1660
1675
|
"use strict";
|
|
1661
1676
|
|
|
1662
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1677
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2cf6338a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/components/msg-prescription.vue?vue&type=template&id=a9aa04b2&scoped=true&
|
|
1663
1678
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:['msg-prescription', _vm.theme],on:{"click":_vm.handleTemplateDetail}},[_c('div',{staticClass:"prescription_header"},[_c('span',{staticClass:"prescription_header-title"},[_vm._v(_vm._s(_vm.content.title))]),(_vm.topRightButton)?_c('span',{staticClass:"prescription_header-btn",on:{"click":function($event){$event.stopPropagation();return _vm.handleTemplateButton($event, _vm.topRightButton)}}},[_vm._v(" "+_vm._s(_vm.topRightButton.title)+" ")]):(_vm.showArrow)?_c('a-icon',{attrs:{"type":"right","color":"#969696"}}):_vm._e()],1),_c('div',{staticClass:"prescription_wrapper"},[(_vm.content.icon)?_c('svg-icon',{staticClass:"prescription_logo",attrs:{"icon-class":_vm.content.icon}}):(_vm.content.image)?_c('img',{staticClass:"prescription_logo",attrs:{"src":_vm.content.image}}):_vm._e(),_c('bodyComp',{staticClass:"prescription_body",attrs:{"body":_vm.body}})],1),(_vm.toolbarButton.length)?_c('div',{staticClass:"prescription_btn-group"},_vm._l((_vm.toolbarButton),function(btn,index){return _c('a-button',{key:index,attrs:{"type":"primary","shape":"round","ghost":""},on:{"click":function($event){$event.stopPropagation();return _vm.handleTemplateButton($event, btn)}}},[_vm._v(" "+_vm._s(btn.title)+" ")])}),1):_vm._e(),(_vm.bottomButton)?_c('div',{staticClass:"prescription_footer"},[_c('span',{staticClass:"prescription_footer-btn",on:{"click":function($event){$event.stopPropagation();return _vm.handleTemplateButton($event, _vm.bottomButton)}}},[_vm._v(" "+_vm._s(_vm.bottomButton.title)+" ")])]):_vm._e()])}
|
|
1664
1679
|
var staticRenderFns = []
|
|
1665
1680
|
|
|
@@ -1858,6 +1873,17 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
1858
1873
|
|
|
1859
1874
|
/* harmony default export */ var msg_prescription = __webpack_exports__["a"] = (component.exports);
|
|
1860
1875
|
|
|
1876
|
+
/***/ }),
|
|
1877
|
+
|
|
1878
|
+
/***/ "3b46":
|
|
1879
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1880
|
+
|
|
1881
|
+
"use strict";
|
|
1882
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_chatHistory_vue_vue_type_style_index_0_id_74c011fb_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("fa25");
|
|
1883
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_chatHistory_vue_vue_type_style_index_0_id_74c011fb_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_chatHistory_vue_vue_type_style_index_0_id_74c011fb_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
1884
|
+
/* unused harmony reexport * */
|
|
1885
|
+
|
|
1886
|
+
|
|
1861
1887
|
/***/ }),
|
|
1862
1888
|
|
|
1863
1889
|
/***/ "3bbe":
|
|
@@ -1872,17 +1898,6 @@ module.exports = function (it) {
|
|
|
1872
1898
|
};
|
|
1873
1899
|
|
|
1874
1900
|
|
|
1875
|
-
/***/ }),
|
|
1876
|
-
|
|
1877
|
-
/***/ "3cd6":
|
|
1878
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1879
|
-
|
|
1880
|
-
"use strict";
|
|
1881
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_chatHistory_vue_vue_type_style_index_0_id_0f794eb6_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("eee8");
|
|
1882
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_chatHistory_vue_vue_type_style_index_0_id_0f794eb6_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_chatHistory_vue_vue_type_style_index_0_id_0f794eb6_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
1883
|
-
/* unused harmony reexport * */
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
1901
|
/***/ }),
|
|
1887
1902
|
|
|
1888
1903
|
/***/ "3f8c":
|
|
@@ -1967,6 +1982,244 @@ module.exports = function (a, b) {
|
|
|
1967
1982
|
};
|
|
1968
1983
|
|
|
1969
1984
|
|
|
1985
|
+
/***/ }),
|
|
1986
|
+
|
|
1987
|
+
/***/ "452f":
|
|
1988
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1989
|
+
|
|
1990
|
+
"use strict";
|
|
1991
|
+
/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("f989");
|
|
1992
|
+
/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
1993
|
+
|
|
1994
|
+
var ctx = "@@InfiniteScroll";
|
|
1995
|
+
|
|
1996
|
+
var throttle = function throttle(fn, delay) {
|
|
1997
|
+
var now, lastExec, timer, context, args; //eslint-disable-line
|
|
1998
|
+
|
|
1999
|
+
var execute = function execute() {
|
|
2000
|
+
fn.apply(context, args);
|
|
2001
|
+
lastExec = now;
|
|
2002
|
+
};
|
|
2003
|
+
|
|
2004
|
+
return function () {
|
|
2005
|
+
context = this;
|
|
2006
|
+
args = arguments;
|
|
2007
|
+
now = Date.now();
|
|
2008
|
+
|
|
2009
|
+
if (timer) {
|
|
2010
|
+
clearTimeout(timer);
|
|
2011
|
+
timer = null;
|
|
2012
|
+
}
|
|
2013
|
+
|
|
2014
|
+
if (lastExec) {
|
|
2015
|
+
var diff = delay - (now - lastExec);
|
|
2016
|
+
|
|
2017
|
+
if (diff < 0) {
|
|
2018
|
+
execute();
|
|
2019
|
+
} else {
|
|
2020
|
+
timer = setTimeout(function () {
|
|
2021
|
+
execute();
|
|
2022
|
+
}, diff);
|
|
2023
|
+
}
|
|
2024
|
+
} else {
|
|
2025
|
+
execute();
|
|
2026
|
+
}
|
|
2027
|
+
};
|
|
2028
|
+
};
|
|
2029
|
+
|
|
2030
|
+
var getScrollTop = function getScrollTop(element) {
|
|
2031
|
+
if (element === window) {
|
|
2032
|
+
return Math.max(window.pageYOffset || 0, document.documentElement.scrollTop);
|
|
2033
|
+
}
|
|
2034
|
+
|
|
2035
|
+
return element.scrollTop;
|
|
2036
|
+
};
|
|
2037
|
+
|
|
2038
|
+
var getComputedStyle = document.defaultView.getComputedStyle;
|
|
2039
|
+
|
|
2040
|
+
var getScrollEventTarget = function getScrollEventTarget(element) {
|
|
2041
|
+
var currentNode = element; // bugfix, see http://w3help.org/zh-cn/causes/SD9013 and http://stackoverflow.com/questions/17016740/onscroll-function-is-not-working-for-chrome
|
|
2042
|
+
|
|
2043
|
+
while (currentNode && currentNode.tagName !== "HTML" && currentNode.tagName !== "BODY" && currentNode.nodeType === 1) {
|
|
2044
|
+
var overflowY = getComputedStyle(currentNode).overflowY;
|
|
2045
|
+
|
|
2046
|
+
if (overflowY === "scroll" || overflowY === "auto") {
|
|
2047
|
+
return currentNode;
|
|
2048
|
+
}
|
|
2049
|
+
|
|
2050
|
+
currentNode = currentNode.parentNode;
|
|
2051
|
+
}
|
|
2052
|
+
|
|
2053
|
+
return window;
|
|
2054
|
+
}; // var getVisibleHeight = function(element) {
|
|
2055
|
+
// if (element === window) {
|
|
2056
|
+
// return document.documentElement.clientHeight;
|
|
2057
|
+
// }
|
|
2058
|
+
// return element.clientHeight;
|
|
2059
|
+
// };
|
|
2060
|
+
// var getElementTop = function(element) {
|
|
2061
|
+
// if (element === window) {
|
|
2062
|
+
// return getScrollTop(window);
|
|
2063
|
+
// }
|
|
2064
|
+
// return element.getBoundingClientRect().top + getScrollTop(window);
|
|
2065
|
+
// };
|
|
2066
|
+
|
|
2067
|
+
|
|
2068
|
+
var isAttached = function isAttached(element) {
|
|
2069
|
+
var currentNode = element.parentNode;
|
|
2070
|
+
|
|
2071
|
+
while (currentNode) {
|
|
2072
|
+
if (currentNode.tagName === "HTML") {
|
|
2073
|
+
return true;
|
|
2074
|
+
}
|
|
2075
|
+
|
|
2076
|
+
if (currentNode.nodeType === 11) {
|
|
2077
|
+
return false;
|
|
2078
|
+
}
|
|
2079
|
+
|
|
2080
|
+
currentNode = currentNode.parentNode;
|
|
2081
|
+
}
|
|
2082
|
+
|
|
2083
|
+
return false;
|
|
2084
|
+
};
|
|
2085
|
+
|
|
2086
|
+
var doBind = function doBind() {
|
|
2087
|
+
if (this.binded) return; // eslint-disable-line
|
|
2088
|
+
|
|
2089
|
+
this.binded = true;
|
|
2090
|
+
var directive = this;
|
|
2091
|
+
var element = directive.el;
|
|
2092
|
+
var throttleDelayExpr = element.getAttribute("infinite-scroll-throttle-delay");
|
|
2093
|
+
var throttleDelay = 200;
|
|
2094
|
+
|
|
2095
|
+
if (throttleDelayExpr) {
|
|
2096
|
+
throttleDelay = Number(directive.vm[throttleDelayExpr] || throttleDelayExpr);
|
|
2097
|
+
|
|
2098
|
+
if (isNaN(throttleDelay) || throttleDelay < 0) {
|
|
2099
|
+
throttleDelay = 200;
|
|
2100
|
+
}
|
|
2101
|
+
}
|
|
2102
|
+
|
|
2103
|
+
directive.throttleDelay = throttleDelay;
|
|
2104
|
+
directive.scrollEventTarget = getScrollEventTarget(element);
|
|
2105
|
+
directive.scrollListener = throttle(doCheck.bind(directive), directive.throttleDelay);
|
|
2106
|
+
directive.scrollEventTarget.addEventListener("scroll", directive.scrollListener);
|
|
2107
|
+
this.vm.$on("hook:beforeDestroy", function () {
|
|
2108
|
+
directive.scrollEventTarget.removeEventListener("scroll", directive.scrollListener);
|
|
2109
|
+
});
|
|
2110
|
+
var disabledExpr = element.getAttribute("infinite-scroll-disabled");
|
|
2111
|
+
var disabled = false;
|
|
2112
|
+
|
|
2113
|
+
if (disabledExpr) {
|
|
2114
|
+
this.vm.$watch(disabledExpr, function (value) {
|
|
2115
|
+
directive.disabled = value;
|
|
2116
|
+
|
|
2117
|
+
if (!value && directive.immediateCheck) {
|
|
2118
|
+
doCheck.call(directive);
|
|
2119
|
+
}
|
|
2120
|
+
});
|
|
2121
|
+
disabled = Boolean(directive.vm[disabledExpr]);
|
|
2122
|
+
}
|
|
2123
|
+
|
|
2124
|
+
directive.disabled = disabled;
|
|
2125
|
+
var distanceExpr = element.getAttribute("infinite-scroll-distance");
|
|
2126
|
+
var distance = 0;
|
|
2127
|
+
|
|
2128
|
+
if (distanceExpr) {
|
|
2129
|
+
distance = Number(directive.vm[distanceExpr] || distanceExpr);
|
|
2130
|
+
|
|
2131
|
+
if (isNaN(distance)) {
|
|
2132
|
+
distance = 0;
|
|
2133
|
+
}
|
|
2134
|
+
}
|
|
2135
|
+
|
|
2136
|
+
directive.distance = distance;
|
|
2137
|
+
var immediateCheckExpr = element.getAttribute("infinite-scroll-immediate-check");
|
|
2138
|
+
var immediateCheck = true;
|
|
2139
|
+
|
|
2140
|
+
if (immediateCheckExpr) {
|
|
2141
|
+
immediateCheck = Boolean(directive.vm[immediateCheckExpr]);
|
|
2142
|
+
}
|
|
2143
|
+
|
|
2144
|
+
directive.immediateCheck = immediateCheck;
|
|
2145
|
+
|
|
2146
|
+
if (immediateCheck) {
|
|
2147
|
+
doCheck.call(directive);
|
|
2148
|
+
}
|
|
2149
|
+
|
|
2150
|
+
var eventName = element.getAttribute("infinite-scroll-listen-for-event");
|
|
2151
|
+
|
|
2152
|
+
if (eventName) {
|
|
2153
|
+
directive.vm.$on(eventName, function () {
|
|
2154
|
+
doCheck.call(directive);
|
|
2155
|
+
});
|
|
2156
|
+
}
|
|
2157
|
+
};
|
|
2158
|
+
|
|
2159
|
+
var doCheck = function doCheck(force) {
|
|
2160
|
+
var scrollEventTarget = this.scrollEventTarget; // var element = this.el;
|
|
2161
|
+
|
|
2162
|
+
var distance = this.distance;
|
|
2163
|
+
if (force !== true && this.disabled) return; //eslint-disable-line
|
|
2164
|
+
// var viewportScrollTop = getScrollTop(scrollEventTarget);
|
|
2165
|
+
// var viewportBottom = viewportScrollTop + getVisibleHeight(scrollEventTarget);
|
|
2166
|
+
|
|
2167
|
+
var shouldTrigger = false; // change
|
|
2168
|
+
|
|
2169
|
+
shouldTrigger = getScrollTop(scrollEventTarget) <= distance && scrollEventTarget.scrollHeight > scrollEventTarget.clientHeight; // change
|
|
2170
|
+
// if (scrollEventTarget === element) {
|
|
2171
|
+
// shouldTrigger = scrollEventTarget.scrollHeight - viewportBottom <= distance;
|
|
2172
|
+
// } else {
|
|
2173
|
+
// var elementBottom =
|
|
2174
|
+
// getElementTop(element) -
|
|
2175
|
+
// getElementTop(scrollEventTarget) +
|
|
2176
|
+
// element.offsetHeight +
|
|
2177
|
+
// viewportScrollTop;
|
|
2178
|
+
// shouldTrigger = viewportBottom + distance >= elementBottom;
|
|
2179
|
+
// }
|
|
2180
|
+
|
|
2181
|
+
if (shouldTrigger && this.expression) {
|
|
2182
|
+
this.expression();
|
|
2183
|
+
}
|
|
2184
|
+
};
|
|
2185
|
+
|
|
2186
|
+
/* harmony default export */ __webpack_exports__["a"] = ({
|
|
2187
|
+
bind: function bind(el, binding, vnode) {
|
|
2188
|
+
el[ctx] = {
|
|
2189
|
+
el: el,
|
|
2190
|
+
vm: vnode.context,
|
|
2191
|
+
expression: binding.value
|
|
2192
|
+
};
|
|
2193
|
+
var args = arguments;
|
|
2194
|
+
el[ctx].vm.$on("hook:mounted", function () {
|
|
2195
|
+
el[ctx].vm.$nextTick(function () {
|
|
2196
|
+
if (isAttached(el)) {
|
|
2197
|
+
doBind.call(el[ctx], args);
|
|
2198
|
+
}
|
|
2199
|
+
|
|
2200
|
+
el[ctx].bindTryCount = 0;
|
|
2201
|
+
|
|
2202
|
+
var tryBind = function tryBind() {
|
|
2203
|
+
if (el[ctx].bindTryCount > 10) return; //eslint-disable-line
|
|
2204
|
+
|
|
2205
|
+
el[ctx].bindTryCount++;
|
|
2206
|
+
|
|
2207
|
+
if (isAttached(el)) {
|
|
2208
|
+
doBind.call(el[ctx], args);
|
|
2209
|
+
} else {
|
|
2210
|
+
setTimeout(tryBind, 50);
|
|
2211
|
+
}
|
|
2212
|
+
};
|
|
2213
|
+
|
|
2214
|
+
tryBind();
|
|
2215
|
+
});
|
|
2216
|
+
});
|
|
2217
|
+
},
|
|
2218
|
+
unbind: function unbind(el) {
|
|
2219
|
+
if (el && el[ctx] && el[ctx].scrollEventTarget) el[ctx].scrollEventTarget.removeEventListener("scroll", el[ctx].scrollListener);
|
|
2220
|
+
}
|
|
2221
|
+
});
|
|
2222
|
+
|
|
1970
2223
|
/***/ }),
|
|
1971
2224
|
|
|
1972
2225
|
/***/ "45ef":
|
|
@@ -3708,7 +3961,7 @@ module.exports = /ipad|iphone|ipod/i.test(userAgent) && global.Pebble !== undefi
|
|
|
3708
3961
|
|
|
3709
3962
|
"use strict";
|
|
3710
3963
|
|
|
3711
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3964
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2cf6338a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/component/svg/index.vue?vue&type=template&id=116546f7&scoped=true&
|
|
3712
3965
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',_vm._g({class:_vm.svgClass,attrs:{"aria-hidden":"true"}},_vm.$listeners),[(_vm.title)?_c('title',[_vm._v(_vm._s(_vm.title))]):_vm._e(),_c('use',{attrs:{"xlink:href":_vm.iconName}})])}
|
|
3713
3966
|
var staticRenderFns = []
|
|
3714
3967
|
|
|
@@ -4521,13 +4774,6 @@ module.exports = require("core-js/modules/es.object.keys.js");
|
|
|
4521
4774
|
|
|
4522
4775
|
/***/ }),
|
|
4523
4776
|
|
|
4524
|
-
/***/ "eee8":
|
|
4525
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4526
|
-
|
|
4527
|
-
// extracted by mini-css-extract-plugin
|
|
4528
|
-
|
|
4529
|
-
/***/ }),
|
|
4530
|
-
|
|
4531
4777
|
/***/ "f069":
|
|
4532
4778
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4533
4779
|
|
|
@@ -4617,6 +4863,13 @@ module.exports = require("core-js/modules/es.number.constructor.js");
|
|
|
4617
4863
|
|
|
4618
4864
|
/***/ }),
|
|
4619
4865
|
|
|
4866
|
+
/***/ "fa25":
|
|
4867
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4868
|
+
|
|
4869
|
+
// extracted by mini-css-extract-plugin
|
|
4870
|
+
|
|
4871
|
+
/***/ }),
|
|
4872
|
+
|
|
4620
4873
|
/***/ "fc6a":
|
|
4621
4874
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4622
4875
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.msg-describe[data-v-4b76a796]{width:235px;border-radius:0 8px;overflow:hidden;text-align:left;background-color:#fff}.msg-describe__header[data-v-4b76a796]{background-color:#5585f5;padding:10px 16px;font-size:16px;font-weight:600;color:#fff;line-height:22px;word-break:break-word}.msg-describe__content[data-v-4b76a796]{padding:10px 18px 8px;border-radius:0 0 8px 8px;word-break:break-word;overflow:hidden;border:1px solid #e6e6e6;border-top:0}.msg-describe__content .wrapper[data-v-4b76a796]{overflow:hidden;max-height:128px}.msg-describe .desc-item+.desc-item[data-v-4b76a796]{margin-top:8px}.msg-describe .desc-title[data-v-4b76a796]{font-size:14px;color:#7a7a7a;line-height:20px}.msg-describe .desc-txt[data-v-4b76a796]{font-size:16px;color:#212121;line-height:26px;font-weight:600}.msg-describe .fold-btn[data-v-4b76a796]{display:inline-block;font-size:14px;color:#7a7a7a;line-height:20px;margin-top:8px;cursor:pointer}.msg-describe .fold-btn i[data-v-4b76a796]{font-size:12px;margin-left:4px}.multichat-msg_picture{position:relative;min-width:160px;height:160px;background-color:#fff;border-radius:16px;border:12px solid transparent;padding:2px;overflow:hidden}.multichat-msg_picture:before{content:"";position:absolute;left:0;bottom:0;right:0;top:0;background-color:#fff;border-radius:6px}.multichat-msg_picture-icon{max-width:100%;height:100%;display:block;margin:0 auto;border-radius:4px;position:relative}.multichat-msg_picture-static{color:#fff;position:absolute;bottom:2px;left:2px;right:2px;line-height:22px;background-color:rgba(0,0,0,.6);font-size:12px;text-align:center;border-radius:0 0 4px 4px}.svg-icon[data-v-116546f7]{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.msg-prescription[data-v-a9aa04b2]{text-align:left;padding:0 16px;width:230px;background-color:#fff;border-radius:16px;font-size:14px;border:1px solid #ebebeb}.msg-prescription .prescription_header[data-v-a9aa04b2]{padding:8px 0;display:flex;align-items:center;border-bottom:1px solid #ebebeb}.msg-prescription .prescription_header-title[data-v-a9aa04b2]{line-height:22px;height:22px;font-size:16px;color:#000;flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.msg-prescription .prescription_header-btn[data-v-a9aa04b2]{height:20px;line-height:20px;max-width:50%;overflow:hidden;cursor:pointer;color:#5585f5}.msg-prescription .prescription_wrapper[data-v-a9aa04b2]{display:flex;padding:10px 0}.msg-prescription .prescription_logo[data-v-a9aa04b2]{width:40px;height:40px;margin-right:12px}.msg-prescription .prescription_logo.img[data-v-a9aa04b2]{border-radius:50%}.msg-prescription .prescription_body[data-v-a9aa04b2]{flex:1;overflow:hidden;color:#666;word-break:break-all}.msg-prescription .prescription_btn-group[data-v-a9aa04b2]{margin-right:-8px;text-align:center}.msg-prescription .prescription_btn-group .ant-btn[data-v-a9aa04b2]{margin-bottom:8px;min-width:61px;max-width:100%;margin-right:8px;color:#5585f5;border-color:#5585f5}.msg-prescription .prescription_footer[data-v-a9aa04b2]{padding:2px 0 10px;line-height:20px;text-align:center}.msg-prescription .prescription_footer-btn[data-v-a9aa04b2]{cursor:pointer;display:inline-block;vertical-align:top;color:rgba(0,0,0,.45);padding-right:18px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAABDElEQVQ4T+WULQ6EMBCF3yocBgsXQOC4AnfA4UjgBCSgIOEEkOBw3IEr4BBcACwGh2IzTUqWn243m3U7rp32y5v30j62bdvwg3r8EWhdV9R1Ddd1oarqwb1lWdA0DTzPg6Ioh97Fo2EYEMcxDMNAmqY7jCBJkmAcR2RZBtM034Oo23Ud8jzfYbTHIVEUwbbtS87C1DhM13V2aZomiCDUvwXN8wxN03ZldJBDeO8s6dYjGsP3fTiOw2BUNE7btqiqinkn9YhSIzP7vkcYhgxGRZCiKGBZFgtDmhpdeoUFQcBAZVkKIUKPzjBai5Rwr96+Na6MDt+N82q49NESjOrsiTS1b38UqaJPwT8DPQFuOb/LC5pRKgAAAABJRU5ErkJggg==) 100%/18px no-repeat}.msg-prescription.customer .prescription_header-btn[data-v-a9aa04b2]{color:#21c17a}.msg-prescription.customer .prescription_btn-group .ant-btn[data-v-a9aa04b2]{color:#21c17a;border-color:#21c17a}.twa{display:inline-block;height:1em;width:1em;margin:0 .05em 0 .1em;vertical-align:-.1em;background-repeat:no-repeat;background-position:50%;background-size:1em 1em}.twa-lg{height:1.33em;width:1.33em;margin:0 .0665em 0 .133em;vertical-align:-.133em;background-size:1.33em 1.33em}.twa-2x{height:2em;width:2em;margin:0 .1em 0 .2em;vertical-align:-.2em;background-size:2em 2em}.twa-3x{height:3em;width:3em;margin:0 .15em 0 .3em;vertical-align:-.3em;background-size:3em 3em}.twa-4x{height:4em;width:4em;margin:0 .2em 0 .4em;vertical-align:-.4em;background-size:4em 4em}.twa-5x{height:5em;width:5em;margin:0 .25em 0 .5em;vertical-align:-.5em;background-size:5em 5em}.twa-grinning{background-image:url(https://twemoji.maxcdn.com/2/svg/1f600.svg)}.twa-joy{background-image:url(https://twemoji.maxcdn.com/2/svg/1f602.svg)}.twa-sweat-smile{background-image:url(https://twemoji.maxcdn.com/2/svg/1f605.svg)}.twa-laughing{background-image:url(https://twemoji.maxcdn.com/2/svg/1f606.svg)}.twa-innocent{background-image:url(https://twemoji.maxcdn.com/2/svg/1f607.svg)}.twa-wink{background-image:url(https://twemoji.maxcdn.com/2/svg/1f609.svg)}.twa-blush{background-image:url(https://twemoji.maxcdn.com/2/svg/1f60a.svg)}.twa-satisfied{background-image:url(https://twemoji.maxcdn.com/2/svg/1f60c.svg)}.twa-heart-eyes{background-image:url(https://twemoji.maxcdn.com/2/svg/1f60d.svg)}.twa-smirk{background-image:url(https://twemoji.maxcdn.com/2/svg/1f60f.svg)}.twa-sweat{background-image:url(https://twemoji.maxcdn.com/2/svg/1f613.svg)}.twa-pensive{background-image:url(https://twemoji.maxcdn.com/2/svg/1f614.svg)}.twa-confused{background-image:url(https://twemoji.maxcdn.com/2/svg/1f615.svg)}.twa-kissing{background-image:url(https://twemoji.maxcdn.com/2/svg/1f617.svg)}.twa-confounded{background-image:url(https://twemoji.maxcdn.com/2/svg/1f616.svg)}.twa-disappointed{background-image:url(https://twemoji.maxcdn.com/2/svg/1f61e.svg)}.twa-worried{background-image:url(https://twemoji.maxcdn.com/2/svg/1f61f.svg)}.twa-angry{background-image:url(https://twemoji.maxcdn.com/2/svg/1f620.svg)}.twa-rage{background-image:url(https://twemoji.maxcdn.com/2/svg/1f621.svg)}.twa-cry{background-image:url(https://twemoji.maxcdn.com/2/svg/1f622.svg)}.twa-persevere{background-image:url(https://twemoji.maxcdn.com/2/svg/1f623.svg)}.twa-triumph{background-image:url(https://twemoji.maxcdn.com/2/svg/1f624.svg)}.twa-relieved{background-image:url(https://twemoji.maxcdn.com/2/svg/1f625.svg)}.twa-frowning{background-image:url(https://twemoji.maxcdn.com/2/svg/1f626.svg)}.twa-anguished{background-image:url(https://twemoji.maxcdn.com/2/svg/1f627.svg)}.twa-weary{background-image:url(https://twemoji.maxcdn.com/2/svg/1f629.svg)}.twa-sleepy{background-image:url(https://twemoji.maxcdn.com/2/svg/1f62a.svg)}.twa-grimacing{background-image:url(https://twemoji.maxcdn.com/2/svg/1f62c.svg)}.twa-open-mouth{background-image:url(https://twemoji.maxcdn.com/2/svg/1f62e.svg)}.twa-hushed{background-image:url(https://twemoji.maxcdn.com/2/svg/1f62f.svg)}.twa-astonished{background-image:url(https://twemoji.maxcdn.com/2/svg/1f632.svg)}.twa-sleeping{background-image:url(https://twemoji.maxcdn.com/2/svg/1f634.svg)}.twa-no-mouth{background-image:url(https://twemoji.maxcdn.com/2/svg/1f636.svg)}.twa-smile-cat{background-image:url(https://twemoji.maxcdn.com/2/svg/1f638.svg)}.twa-heart-eyes-cat{background-image:url(https://twemoji.maxcdn.com/2/svg/1f63b.svg)}.twa-smirk-cat{background-image:url(https://twemoji.maxcdn.com/2/svg/1f63c.svg)}.twa-pouting-cat{background-image:url(https://twemoji.maxcdn.com/2/svg/1f63e.svg)}.twa-slightly-frowning-face{background-image:url(https://twemoji.maxcdn.com/2/svg/1f641.svg)}.twa-slightly-smiling-face{background-image:url(https://twemoji.maxcdn.com/2/svg/1f642.svg)}.twa-upside-down-face{background-image:url(https://twemoji.maxcdn.com/2/svg/1f643.svg)}.twa-face-with-rolling-eyes{background-image:url(https://twemoji.maxcdn.com/2/svg/1f644.svg)}.twa-face-with-no-good-gesture-type-4{background-image:url(https://twemoji.maxcdn.com/2/svg/1f645-1f3fd.svg)}.twa-see-no-evil{background-image:url(https://twemoji.maxcdn.com/2/svg/1f648.svg)}.twa-handshake{background-image:url(https://twemoji.maxcdn.com/2/svg/1f91d.svg)}.twa-victory-hand{background-image:url(https://twemoji.maxcdn.com/2/svg/270c.svg)}.twa-writing-hand{background-image:url(https://twemoji.maxcdn.com/2/svg/270d.svg)}.twa-soccer-ball{background-image:url(https://twemoji.maxcdn.com/2/svg/26bd.svg)}.twa-warning{background-image:url(https://twemoji.maxcdn.com/2/svg/26a0.svg)}.twa-snowflake{background-image:url(https://twemoji.maxcdn.com/2/svg/2744.svg)}.twa-coffee{background-image:url(https://twemoji.maxcdn.com/2/svg/2615.svg)}.twa-red-heart{background-image:url(https://twemoji.maxcdn.com/2/svg/2764.svg)}.twa-point-left{background-image:url(https://twemoji.maxcdn.com/2/svg/1f448.svg)}.twa-clap{background-image:url(https://twemoji.maxcdn.com/2/svg/1f44f.svg)}.twa-high-heel{background-image:url(https://twemoji.maxcdn.com/2/svg/1f460.svg)}.twa-handbag{background-image:url(https://twemoji.maxcdn.com/2/svg/1f45c.svg)}.twa-womans-clothes{background-image:url(https://twemoji.maxcdn.com/2/svg/1f45a.svg)}.twa-gift{background-image:url(https://twemoji.maxcdn.com/2/svg/1f381.svg)}.twa-ramen{background-image:url(https://twemoji.maxcdn.com/2/svg/1f35c.svg)}.twa-tada{background-image:url(https://twemoji.maxcdn.com/2/svg/1f389.svg)}.twa-trophy{background-image:url(https://twemoji.maxcdn.com/2/svg/1f3c6.svg)}.twa-hospital{background-image:url(https://twemoji.maxcdn.com/2/svg/1f3e5.svg)}.twa-feet{background-image:url(https://twemoji.maxcdn.com/2/svg/1f463.svg)}.twa-100{background-image:url(https://twemoji.maxcdn.com/2/svg/1f4af.svg)}.twa-moneybag{background-image:url(https://twemoji.maxcdn.com/2/svg/1f4b0.svg)}.twa-round-pushpin{background-image:url(https://twemoji.maxcdn.com/2/svg/1f4cd.svg)}.twa-rose{background-image:url(https://twemoji.maxcdn.com/2/svg/1f339.svg)}.chat-history[data-v-0f794eb6]{height:100%;display:flex;flex-direction:column;overflow-x:hidden}.chat-history .message-item.left .msg-describe[data-v-0f794eb6]{margin-left:10px}.chat-history .message-item.right .msg-describe[data-v-0f794eb6]{margin-right:10px;border-radius:8px 0}.chat-history .message-item.left .msg-prescription[data-v-0f794eb6]{border-radius:0 16px 16px 16px}.chat-history .message-item.right .msg-prescription[data-v-0f794eb6]{border-radius:16px 0 16px 16px}.chat-history .message-item.left[data-v-0f794eb6] .multichat-msg_picture{border-top-left-radius:0;background-color:#ebebeb}.chat-history .message-item.right[data-v-0f794eb6] .multichat-msg_picture{border-top-left-radius:16px;border-top-right-radius:0;background-color:#5585f5}.chat-history .broadcast-wrap[data-v-0f794eb6]{height:30px;text-align:center;font-size:14px;background-color:#fffbe8}.chat-history .broadcast-wrap[data-v-0f794eb6] .carousel-item{display:inline-flex!important;justify-content:center;align-items:center;width:100%;height:30px;text-align:center}.chat-history .broadcast-wrap[data-v-0f794eb6] .carousel-item.has-link{color:#ed6a0c;cursor:pointer}.chat-history .broadcast-wrap[data-v-0f794eb6] .carousel-item span{display:inline-block;max-width:calc(100% - 30px);margin-left:4px}.chat-history[data-v-0f794eb6]::-webkit-scrollbar{width:5px}.chat-history .loading-icon[data-v-0f794eb6]{position:absolute;top:0;left:50%}.online-message[data-v-0f794eb6]{flex:1;overflow-y:auto;overflow-x:hidden;padding:10px 22px;text-align:center}.online-message[data-v-0f794eb6]::-webkit-scrollbar{width:5px}.online-message .message-time[data-v-0f794eb6]{display:inline-block;color:#666;font-size:14px;border-radius:4px;padding:4px;margin:0 auto;margin-bottom:16px}.online-message>div[data-v-0f794eb6]{margin-bottom:16px}.online-message .message-item[data-v-0f794eb6]{display:flex}.online-message .message-item .right-time[data-v-0f794eb6]{display:none;position:absolute;top:-16px;left:10px;font-size:12px;color:#b0b1b1;white-space:nowrap}.online-message .message-item .content-wrap[data-v-0f794eb6]{padding:0 10px;text-align:left;position:relative}.online-message .message-item .content-wrap:hover .right-time[data-v-0f794eb6]{display:block}.online-message .message-item .voice-bg[data-v-0f794eb6]{display:flex;align-items:center;cursor:pointer}.online-message .message-item .voice-bg img[data-v-0f794eb6]{mix-blend-mode:difference;display:inline-block;width:14px}.online-message .message-item .voice-bg .voice-text[data-v-0f794eb6]{display:inline-block}.online-message .message-item .voice-bg span[data-v-0f794eb6]{margin-left:8px}.online-message .message-item .content[data-v-0f794eb6]{max-width:500px;padding:10px;border-radius:0 8px 8px 8px;line-height:20px;font-size:14px;background:#ebebeb;color:#000;text-align:left;word-wrap:break-word}.online-message .message-item .content[data-v-0f794eb6] p{margin:0}.online-message .message-item .upload-image[data-v-0f794eb6]{margin-left:8px}.online-message .message-item.right[data-v-0f794eb6]{flex-direction:row-reverse}.online-message .message-item.right .right-time[data-v-0f794eb6]{left:unset;right:10px;top:-20px}.online-message .message-item.right .content-wrap[data-v-0f794eb6]{text-align:right}.online-message .message-item.right .content[data-v-0f794eb6]{background-color:#e7f0ff;border-radius:8px 0 8px 8px;border:1px solid #e7f0ff;box-sizing:border-box}.online-message .message-item.right .upload-image[data-v-0f794eb6]{margin-right:8px}.online-message .message-item.right .voice-bg[data-v-0f794eb6]{flex-direction:row-reverse;align-self:flex-end}.online-message .message-item.right .voice-bg img[data-v-0f794eb6]{transform:rotateY(180deg)}.online-message .message-item.right .voice-bg span[data-v-0f794eb6]{margin-left:0;margin-right:8px;text-align:right}.online-message .msg-prescription[data-v-0f794eb6]{border-top-left-radius:0}.online-message .bot-message[data-v-0f794eb6]{display:block;text-decoration:underline;color:#5585f5;cursor:pointer}.online-message .session-end[data-v-0f794eb6]{display:flex;justify-content:center;margin-top:15px;margin-bottom:25px}.online-message .session-end .end[data-v-0f794eb6]{display:flex;justify-content:center;width:30%;height:36px;line-height:36px;background-color:#e8e8e8;color:#939393;font-size:14px;border-radius:18px}.online-message .menu-tip[data-v-0f794eb6]{font-size:20px;align-self:flex-end;margin-bottom:8px;background:#f6f6f6;height:25px;line-height:25px;width:30px;border-radius:4px}.online-message .menu-item[data-v-0f794eb6] :hover{background:red}.online-message .menu-main[data-v-0f794eb6]{width:100px;background-color:#101627;color:#fff;text-align:left;border-radius:6px;padding:10px 0;z-index:3000;cursor:pointer}.online-message .menu-main .menu-item[data-v-0f794eb6]{padding:0 10px}.online-message .menu-main .menu-item[data-v-0f794eb6]:hover{background-color:#efefef;color:#000}.online-message .first-name[data-v-0f794eb6]{width:40px;height:40px;line-height:40px;text-align:center;background:#5585f5;color:#fff;border-radius:100%;font-size:18px}.system-msg[data-v-0f794eb6]{text-align:left;line-height:20px;word-wrap:break-word;display:flex;justify-content:center}.system-msg .system-icon[data-v-0f794eb6]{font-size:18px;color:#ffc200;vertical-align:middle;margin-right:10px;margin-top:1px}.system-msg .system-btn[data-v-0f794eb6]{color:#5585f5;margin-left:8px;cursor:pointer;text-decoration:underline}
|
|
1
|
+
.msg-describe[data-v-4b76a796]{width:235px;border-radius:0 8px;overflow:hidden;text-align:left;background-color:#fff}.msg-describe__header[data-v-4b76a796]{background-color:#5585f5;padding:10px 16px;font-size:16px;font-weight:600;color:#fff;line-height:22px;word-break:break-word}.msg-describe__content[data-v-4b76a796]{padding:10px 18px 8px;border-radius:0 0 8px 8px;word-break:break-word;overflow:hidden;border:1px solid #e6e6e6;border-top:0}.msg-describe__content .wrapper[data-v-4b76a796]{overflow:hidden;max-height:128px}.msg-describe .desc-item+.desc-item[data-v-4b76a796]{margin-top:8px}.msg-describe .desc-title[data-v-4b76a796]{font-size:14px;color:#7a7a7a;line-height:20px}.msg-describe .desc-txt[data-v-4b76a796]{font-size:16px;color:#212121;line-height:26px;font-weight:600}.msg-describe .fold-btn[data-v-4b76a796]{display:inline-block;font-size:14px;color:#7a7a7a;line-height:20px;margin-top:8px;cursor:pointer}.msg-describe .fold-btn i[data-v-4b76a796]{font-size:12px;margin-left:4px}.multichat-msg_picture{position:relative;min-width:160px;height:160px;background-color:#fff;border-radius:16px;border:12px solid transparent;padding:2px;overflow:hidden}.multichat-msg_picture:before{content:"";position:absolute;left:0;bottom:0;right:0;top:0;background-color:#fff;border-radius:6px}.multichat-msg_picture-icon{max-width:100%;height:100%;display:block;margin:0 auto;border-radius:4px;position:relative}.multichat-msg_picture-static{color:#fff;position:absolute;bottom:2px;left:2px;right:2px;line-height:22px;background-color:rgba(0,0,0,.6);font-size:12px;text-align:center;border-radius:0 0 4px 4px}.svg-icon[data-v-116546f7]{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.msg-prescription[data-v-a9aa04b2]{text-align:left;padding:0 16px;width:230px;background-color:#fff;border-radius:16px;font-size:14px;border:1px solid #ebebeb}.msg-prescription .prescription_header[data-v-a9aa04b2]{padding:8px 0;display:flex;align-items:center;border-bottom:1px solid #ebebeb}.msg-prescription .prescription_header-title[data-v-a9aa04b2]{line-height:22px;height:22px;font-size:16px;color:#000;flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.msg-prescription .prescription_header-btn[data-v-a9aa04b2]{height:20px;line-height:20px;max-width:50%;overflow:hidden;cursor:pointer;color:#5585f5}.msg-prescription .prescription_wrapper[data-v-a9aa04b2]{display:flex;padding:10px 0}.msg-prescription .prescription_logo[data-v-a9aa04b2]{width:40px;height:40px;margin-right:12px}.msg-prescription .prescription_logo.img[data-v-a9aa04b2]{border-radius:50%}.msg-prescription .prescription_body[data-v-a9aa04b2]{flex:1;overflow:hidden;color:#666;word-break:break-all}.msg-prescription .prescription_btn-group[data-v-a9aa04b2]{margin-right:-8px;text-align:center}.msg-prescription .prescription_btn-group .ant-btn[data-v-a9aa04b2]{margin-bottom:8px;min-width:61px;max-width:100%;margin-right:8px;color:#5585f5;border-color:#5585f5}.msg-prescription .prescription_footer[data-v-a9aa04b2]{padding:2px 0 10px;line-height:20px;text-align:center}.msg-prescription .prescription_footer-btn[data-v-a9aa04b2]{cursor:pointer;display:inline-block;vertical-align:top;color:rgba(0,0,0,.45);padding-right:18px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAABDElEQVQ4T+WULQ6EMBCF3yocBgsXQOC4AnfA4UjgBCSgIOEEkOBw3IEr4BBcACwGh2IzTUqWn243m3U7rp32y5v30j62bdvwg3r8EWhdV9R1Ddd1oarqwb1lWdA0DTzPg6Ioh97Fo2EYEMcxDMNAmqY7jCBJkmAcR2RZBtM034Oo23Ud8jzfYbTHIVEUwbbtS87C1DhM13V2aZomiCDUvwXN8wxN03ZldJBDeO8s6dYjGsP3fTiOw2BUNE7btqiqinkn9YhSIzP7vkcYhgxGRZCiKGBZFgtDmhpdeoUFQcBAZVkKIUKPzjBai5Rwr96+Na6MDt+N82q49NESjOrsiTS1b38UqaJPwT8DPQFuOb/LC5pRKgAAAABJRU5ErkJggg==) 100%/18px no-repeat}.msg-prescription.customer .prescription_header-btn[data-v-a9aa04b2]{color:#21c17a}.msg-prescription.customer .prescription_btn-group .ant-btn[data-v-a9aa04b2]{color:#21c17a;border-color:#21c17a}.twa{display:inline-block;height:1em;width:1em;margin:0 .05em 0 .1em;vertical-align:-.1em;background-repeat:no-repeat;background-position:50%;background-size:1em 1em}.twa-lg{height:1.33em;width:1.33em;margin:0 .0665em 0 .133em;vertical-align:-.133em;background-size:1.33em 1.33em}.twa-2x{height:2em;width:2em;margin:0 .1em 0 .2em;vertical-align:-.2em;background-size:2em 2em}.twa-3x{height:3em;width:3em;margin:0 .15em 0 .3em;vertical-align:-.3em;background-size:3em 3em}.twa-4x{height:4em;width:4em;margin:0 .2em 0 .4em;vertical-align:-.4em;background-size:4em 4em}.twa-5x{height:5em;width:5em;margin:0 .25em 0 .5em;vertical-align:-.5em;background-size:5em 5em}.twa-grinning{background-image:url(https://twemoji.maxcdn.com/2/svg/1f600.svg)}.twa-joy{background-image:url(https://twemoji.maxcdn.com/2/svg/1f602.svg)}.twa-sweat-smile{background-image:url(https://twemoji.maxcdn.com/2/svg/1f605.svg)}.twa-laughing{background-image:url(https://twemoji.maxcdn.com/2/svg/1f606.svg)}.twa-innocent{background-image:url(https://twemoji.maxcdn.com/2/svg/1f607.svg)}.twa-wink{background-image:url(https://twemoji.maxcdn.com/2/svg/1f609.svg)}.twa-blush{background-image:url(https://twemoji.maxcdn.com/2/svg/1f60a.svg)}.twa-satisfied{background-image:url(https://twemoji.maxcdn.com/2/svg/1f60c.svg)}.twa-heart-eyes{background-image:url(https://twemoji.maxcdn.com/2/svg/1f60d.svg)}.twa-smirk{background-image:url(https://twemoji.maxcdn.com/2/svg/1f60f.svg)}.twa-sweat{background-image:url(https://twemoji.maxcdn.com/2/svg/1f613.svg)}.twa-pensive{background-image:url(https://twemoji.maxcdn.com/2/svg/1f614.svg)}.twa-confused{background-image:url(https://twemoji.maxcdn.com/2/svg/1f615.svg)}.twa-kissing{background-image:url(https://twemoji.maxcdn.com/2/svg/1f617.svg)}.twa-confounded{background-image:url(https://twemoji.maxcdn.com/2/svg/1f616.svg)}.twa-disappointed{background-image:url(https://twemoji.maxcdn.com/2/svg/1f61e.svg)}.twa-worried{background-image:url(https://twemoji.maxcdn.com/2/svg/1f61f.svg)}.twa-angry{background-image:url(https://twemoji.maxcdn.com/2/svg/1f620.svg)}.twa-rage{background-image:url(https://twemoji.maxcdn.com/2/svg/1f621.svg)}.twa-cry{background-image:url(https://twemoji.maxcdn.com/2/svg/1f622.svg)}.twa-persevere{background-image:url(https://twemoji.maxcdn.com/2/svg/1f623.svg)}.twa-triumph{background-image:url(https://twemoji.maxcdn.com/2/svg/1f624.svg)}.twa-relieved{background-image:url(https://twemoji.maxcdn.com/2/svg/1f625.svg)}.twa-frowning{background-image:url(https://twemoji.maxcdn.com/2/svg/1f626.svg)}.twa-anguished{background-image:url(https://twemoji.maxcdn.com/2/svg/1f627.svg)}.twa-weary{background-image:url(https://twemoji.maxcdn.com/2/svg/1f629.svg)}.twa-sleepy{background-image:url(https://twemoji.maxcdn.com/2/svg/1f62a.svg)}.twa-grimacing{background-image:url(https://twemoji.maxcdn.com/2/svg/1f62c.svg)}.twa-open-mouth{background-image:url(https://twemoji.maxcdn.com/2/svg/1f62e.svg)}.twa-hushed{background-image:url(https://twemoji.maxcdn.com/2/svg/1f62f.svg)}.twa-astonished{background-image:url(https://twemoji.maxcdn.com/2/svg/1f632.svg)}.twa-sleeping{background-image:url(https://twemoji.maxcdn.com/2/svg/1f634.svg)}.twa-no-mouth{background-image:url(https://twemoji.maxcdn.com/2/svg/1f636.svg)}.twa-smile-cat{background-image:url(https://twemoji.maxcdn.com/2/svg/1f638.svg)}.twa-heart-eyes-cat{background-image:url(https://twemoji.maxcdn.com/2/svg/1f63b.svg)}.twa-smirk-cat{background-image:url(https://twemoji.maxcdn.com/2/svg/1f63c.svg)}.twa-pouting-cat{background-image:url(https://twemoji.maxcdn.com/2/svg/1f63e.svg)}.twa-slightly-frowning-face{background-image:url(https://twemoji.maxcdn.com/2/svg/1f641.svg)}.twa-slightly-smiling-face{background-image:url(https://twemoji.maxcdn.com/2/svg/1f642.svg)}.twa-upside-down-face{background-image:url(https://twemoji.maxcdn.com/2/svg/1f643.svg)}.twa-face-with-rolling-eyes{background-image:url(https://twemoji.maxcdn.com/2/svg/1f644.svg)}.twa-face-with-no-good-gesture-type-4{background-image:url(https://twemoji.maxcdn.com/2/svg/1f645-1f3fd.svg)}.twa-see-no-evil{background-image:url(https://twemoji.maxcdn.com/2/svg/1f648.svg)}.twa-handshake{background-image:url(https://twemoji.maxcdn.com/2/svg/1f91d.svg)}.twa-victory-hand{background-image:url(https://twemoji.maxcdn.com/2/svg/270c.svg)}.twa-writing-hand{background-image:url(https://twemoji.maxcdn.com/2/svg/270d.svg)}.twa-soccer-ball{background-image:url(https://twemoji.maxcdn.com/2/svg/26bd.svg)}.twa-warning{background-image:url(https://twemoji.maxcdn.com/2/svg/26a0.svg)}.twa-snowflake{background-image:url(https://twemoji.maxcdn.com/2/svg/2744.svg)}.twa-coffee{background-image:url(https://twemoji.maxcdn.com/2/svg/2615.svg)}.twa-red-heart{background-image:url(https://twemoji.maxcdn.com/2/svg/2764.svg)}.twa-point-left{background-image:url(https://twemoji.maxcdn.com/2/svg/1f448.svg)}.twa-clap{background-image:url(https://twemoji.maxcdn.com/2/svg/1f44f.svg)}.twa-high-heel{background-image:url(https://twemoji.maxcdn.com/2/svg/1f460.svg)}.twa-handbag{background-image:url(https://twemoji.maxcdn.com/2/svg/1f45c.svg)}.twa-womans-clothes{background-image:url(https://twemoji.maxcdn.com/2/svg/1f45a.svg)}.twa-gift{background-image:url(https://twemoji.maxcdn.com/2/svg/1f381.svg)}.twa-ramen{background-image:url(https://twemoji.maxcdn.com/2/svg/1f35c.svg)}.twa-tada{background-image:url(https://twemoji.maxcdn.com/2/svg/1f389.svg)}.twa-trophy{background-image:url(https://twemoji.maxcdn.com/2/svg/1f3c6.svg)}.twa-hospital{background-image:url(https://twemoji.maxcdn.com/2/svg/1f3e5.svg)}.twa-feet{background-image:url(https://twemoji.maxcdn.com/2/svg/1f463.svg)}.twa-100{background-image:url(https://twemoji.maxcdn.com/2/svg/1f4af.svg)}.twa-moneybag{background-image:url(https://twemoji.maxcdn.com/2/svg/1f4b0.svg)}.twa-round-pushpin{background-image:url(https://twemoji.maxcdn.com/2/svg/1f4cd.svg)}.twa-rose{background-image:url(https://twemoji.maxcdn.com/2/svg/1f339.svg)}.chat-history[data-v-74c011fb]{height:100%;display:flex;flex-direction:column;overflow-x:hidden}.chat-history .message-item.left .msg-describe[data-v-74c011fb]{margin-left:10px}.chat-history .message-item.right .msg-describe[data-v-74c011fb]{margin-right:10px;border-radius:8px 0}.chat-history .message-item.left .msg-prescription[data-v-74c011fb]{border-radius:0 16px 16px 16px}.chat-history .message-item.right .msg-prescription[data-v-74c011fb]{border-radius:16px 0 16px 16px}.chat-history .message-item.left[data-v-74c011fb] .multichat-msg_picture{border-top-left-radius:0;background-color:#ebebeb}.chat-history .message-item.right[data-v-74c011fb] .multichat-msg_picture{border-top-left-radius:16px;border-top-right-radius:0;background-color:#5585f5}.chat-history .broadcast-wrap[data-v-74c011fb]{height:30px;text-align:center;font-size:14px;background-color:#fffbe8}.chat-history .broadcast-wrap[data-v-74c011fb] .carousel-item{display:inline-flex!important;justify-content:center;align-items:center;width:100%;height:30px;text-align:center}.chat-history .broadcast-wrap[data-v-74c011fb] .carousel-item.has-link{color:#ed6a0c;cursor:pointer}.chat-history .broadcast-wrap[data-v-74c011fb] .carousel-item span{display:inline-block;max-width:calc(100% - 30px);margin-left:4px}.chat-history[data-v-74c011fb]::-webkit-scrollbar{width:5px}.chat-history .loading-icon[data-v-74c011fb]{position:absolute;top:0;left:50%}.online-message[data-v-74c011fb]{flex:1;overflow-y:auto;overflow-x:hidden;padding:10px 22px;text-align:center}.online-message[data-v-74c011fb]::-webkit-scrollbar{width:5px}.online-message .message-time[data-v-74c011fb]{display:inline-block;color:#666;font-size:14px;border-radius:4px;padding:4px;margin:0 auto;margin-bottom:16px}.online-message>div[data-v-74c011fb]{margin-bottom:16px}.online-message .message-item[data-v-74c011fb]{display:flex}.online-message .message-item .right-time[data-v-74c011fb]{display:none;position:absolute;top:-16px;left:10px;font-size:12px;color:#b0b1b1;white-space:nowrap}.online-message .message-item .content-wrap[data-v-74c011fb]{padding:0 10px;text-align:left;position:relative}.online-message .message-item .content-wrap:hover .right-time[data-v-74c011fb]{display:block}.online-message .message-item .voice-bg[data-v-74c011fb]{display:flex;align-items:center;cursor:pointer}.online-message .message-item .voice-bg img[data-v-74c011fb]{mix-blend-mode:difference;display:inline-block;width:14px}.online-message .message-item .voice-bg .voice-text[data-v-74c011fb]{display:inline-block}.online-message .message-item .voice-bg span[data-v-74c011fb]{margin-left:8px}.online-message .message-item .content[data-v-74c011fb]{max-width:500px;padding:10px;border-radius:0 8px 8px 8px;line-height:20px;font-size:14px;background:#ebebeb;color:#000;text-align:left;word-wrap:break-word}.online-message .message-item .content[data-v-74c011fb] p{margin:0}.online-message .message-item .upload-image[data-v-74c011fb]{margin-left:8px}.online-message .message-item.right[data-v-74c011fb]{flex-direction:row-reverse}.online-message .message-item.right .right-time[data-v-74c011fb]{left:unset;right:10px;top:-20px}.online-message .message-item.right .content-wrap[data-v-74c011fb]{text-align:right}.online-message .message-item.right .content[data-v-74c011fb]{background-color:#e7f0ff;border-radius:8px 0 8px 8px;border:1px solid #e7f0ff;box-sizing:border-box}.online-message .message-item.right .upload-image[data-v-74c011fb]{margin-right:8px}.online-message .message-item.right .voice-bg[data-v-74c011fb]{flex-direction:row-reverse;align-self:flex-end}.online-message .message-item.right .voice-bg img[data-v-74c011fb]{transform:rotateY(180deg)}.online-message .message-item.right .voice-bg span[data-v-74c011fb]{margin-left:0;margin-right:8px;text-align:right}.online-message .msg-prescription[data-v-74c011fb]{border-top-left-radius:0}.online-message .bot-message[data-v-74c011fb]{display:block;text-decoration:underline;color:#5585f5;cursor:pointer}.online-message .session-end[data-v-74c011fb]{display:flex;justify-content:center;margin-top:15px;margin-bottom:25px}.online-message .session-end .end[data-v-74c011fb]{display:flex;justify-content:center;width:30%;height:36px;line-height:36px;background-color:#e8e8e8;color:#939393;font-size:14px;border-radius:18px}.online-message .menu-tip[data-v-74c011fb]{font-size:20px;align-self:flex-end;margin-bottom:8px;background:#f6f6f6;height:25px;line-height:25px;width:30px;border-radius:4px}.online-message .menu-item[data-v-74c011fb] :hover{background:red}.online-message .menu-main[data-v-74c011fb]{width:100px;background-color:#101627;color:#fff;text-align:left;border-radius:6px;padding:10px 0;z-index:3000;cursor:pointer}.online-message .menu-main .menu-item[data-v-74c011fb]{padding:0 10px}.online-message .menu-main .menu-item[data-v-74c011fb]:hover{background-color:#efefef;color:#000}.online-message .first-name[data-v-74c011fb]{width:40px;height:40px;line-height:40px;text-align:center;background:#5585f5;color:#fff;border-radius:100%;font-size:18px}.system-msg[data-v-74c011fb]{text-align:left;line-height:20px;word-wrap:break-word;display:flex;justify-content:center}.system-msg .system-icon[data-v-74c011fb]{font-size:18px;color:#ffc200;vertical-align:middle;margin-right:10px;margin-top:1px}.system-msg .system-btn[data-v-74c011fb]{color:#5585f5;margin-left:8px;cursor:pointer;text-decoration:underline}
|