boka-human-cliend-v2 0.0.41 → 0.0.43
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/dist/boka-human-v2.common.js +45 -38
- package/dist/boka-human-v2.css +1 -1
- package/dist/boka-human-v2.umd.js +45 -38
- package/dist/boka-human-v2.umd.min.js +2 -2
- package/package.json +1 -1
- package/src/BokaHumanV2.vue +41 -22
- package/src/demo/App.vue +2 -3
|
@@ -101,17 +101,6 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
101
101
|
|
|
102
102
|
// extracted by mini-css-extract-plugin
|
|
103
103
|
|
|
104
|
-
/***/ }),
|
|
105
|
-
|
|
106
|
-
/***/ "2de9":
|
|
107
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
108
|
-
|
|
109
|
-
"use strict";
|
|
110
|
-
/* harmony import */ var _node_modules_vue_cli_service_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_vue_cli_service_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_BokaHumanV2_vue_vue_type_style_index_0_id_0194ec58_prod_lang_less__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9474");
|
|
111
|
-
/* harmony import */ var _node_modules_vue_cli_service_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_vue_cli_service_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_BokaHumanV2_vue_vue_type_style_index_0_id_0194ec58_prod_lang_less__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_cli_service_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_vue_cli_service_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_BokaHumanV2_vue_vue_type_style_index_0_id_0194ec58_prod_lang_less__WEBPACK_IMPORTED_MODULE_0__);
|
|
112
|
-
/* unused harmony reexport * */
|
|
113
|
-
|
|
114
|
-
|
|
115
104
|
/***/ }),
|
|
116
105
|
|
|
117
106
|
/***/ "5014":
|
|
@@ -155,10 +144,14 @@ module.exports = function(module) {
|
|
|
155
144
|
|
|
156
145
|
/***/ }),
|
|
157
146
|
|
|
158
|
-
/***/ "
|
|
159
|
-
/***/ (function(module,
|
|
147
|
+
/***/ "ad56":
|
|
148
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
149
|
+
|
|
150
|
+
"use strict";
|
|
151
|
+
/* harmony import */ var _node_modules_vue_cli_service_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_vue_cli_service_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_BokaHumanV2_vue_vue_type_style_index_0_id_52d84163_prod_lang_less__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("d5d6");
|
|
152
|
+
/* harmony import */ var _node_modules_vue_cli_service_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_vue_cli_service_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_BokaHumanV2_vue_vue_type_style_index_0_id_52d84163_prod_lang_less__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_cli_service_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_vue_cli_service_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_BokaHumanV2_vue_vue_type_style_index_0_id_52d84163_prod_lang_less__WEBPACK_IMPORTED_MODULE_0__);
|
|
153
|
+
/* unused harmony reexport * */
|
|
160
154
|
|
|
161
|
-
// extracted by mini-css-extract-plugin
|
|
162
155
|
|
|
163
156
|
/***/ }),
|
|
164
157
|
|
|
@@ -3394,6 +3387,13 @@ module.exports = function(module) {
|
|
|
3394
3387
|
}));
|
|
3395
3388
|
|
|
3396
3389
|
|
|
3390
|
+
/***/ }),
|
|
3391
|
+
|
|
3392
|
+
/***/ "d5d6":
|
|
3393
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3394
|
+
|
|
3395
|
+
// extracted by mini-css-extract-plugin
|
|
3396
|
+
|
|
3397
3397
|
/***/ }),
|
|
3398
3398
|
|
|
3399
3399
|
/***/ "fb15":
|
|
@@ -3419,13 +3419,13 @@ if (typeof window !== 'undefined') {
|
|
|
3419
3419
|
// Indicate to webpack that this file can be concatenated
|
|
3420
3420
|
/* harmony default export */ var setPublicPath = (null);
|
|
3421
3421
|
|
|
3422
|
-
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3423
|
-
var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"boka-human-v2"},[_c('div',{staticStyle:{"position":"fixed","width":"100vw","height":"100vh","top":"0","left":"0","display":"none"},attrs:{"id":"humanViewOuter"}}),(!_vm.hideEnter)?_c('div',{staticClass:"humanEnterIcon",class:[_vm.unreadCount>0?'unreadCount':''],attrs:{"id":"humanEnterIcon"}},[(_vm.unreadCount<1)?[_c('img',{staticStyle:{"width":"100%"},attrs:{"src":"https://static.bokao2o.com/img_humanIcon.png","alt":""},on:{"click":_vm.changeChatViewVisible}})]:[_c('span',{on:{"click":_vm.changeChatViewVisible}},[_vm._v(_vm._s(_vm.unreadCount>99?'99+' : _vm.unreadCount))])]],2):_vm._e(),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.visible),expression:"visible"}],staticClass:"humanMainView",class:_vm.fullScreen?'full':''},[_c('div',{staticClass:"humanMainHeader my-dialog__header"},[_c('div',{staticClass:"humanMainHeaderLeft"}),_c('div',{staticClass:"humanMainHeaderCenter"},[_vm._v(_vm._s(_vm.viewTitle||"客服"))]),_c('div',{staticClass:"humanMainHeaderRight"},[(!_vm.hideClose)?_c('span',{on:{"click":function($event){_vm.visible=false},"touchstart":function($event){$event.stopPropagation();_vm.visible=false}}},[_c('img',{staticStyle:{"width":"14px"},attrs:{"src":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAABzUlEQVR4AbzV207DQAwE0MKPA18Oe6ydKCnZdJNWRXFsj+ei9IXP25v/Evjdcn9b6a299OG5eCfwq0foCH19uvHiyah6An8gvRwQ+3q58eAVg8pIoGMB/YoI6+vpRssjQt6wWwIdAA5mRQAznyka2mh4wmpfBwIcEMyKEGaeKVyacHnBsm++MCACYnYGsOyjjoObOw9Y9ur3X1hgeyEStLEeRrBadl5uODnRwrIvfRSIQEBoVgxh5nXB3ILRwLJv+lEgIiEDs2IMMyszzKxwYebdehRIxICRWQmAKTNM4cDMw5oJJGbE0KwEKbNywzEf1mwgE4aMzeuCua2x4XwmcGhy5nAm0Fesf8bkwNyyH/bZQIaMY+ZnVNndcLIP+0wgI4YxEQRT5uA4sOy7/VEgA0YRC4BlN8Oy48Ky/+tHgYQMImIMy54Oc8tOA8u+6aNAAsKQGcKy33c3nOC0sOxL3wtEJAiJESz7qOPg5s4Dlr36fSACYh3biwGsjVMPLk3IvGDZN/8PHRByJIRln+00tOHzhNWeLwQ4FNheBLA2XnpoeUTMG7Z8ISBHxDoGuNh58Iq8MvKFOeiIIT3befHkUz2BDh8N1Vt76cNz8f4DAAD//8lliLUAAAAGSURBVAMAfghcOXqadykAAAAASUVORK5CYII=","alt":""}})]):_vm._e()])]),_c('iframe',{attrs:{"id":"iframe","src":_vm.src,"frameborder":"0","allowfullscreen":""}})])])
|
|
3422
|
+
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"e087e6de-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/BokaHumanV2.vue?vue&type=template&id=52d84163
|
|
3423
|
+
var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"boka-human-v2"},[_c('div',{staticStyle:{"position":"fixed","width":"100vw","height":"100vh","top":"0","left":"0","display":"none"},attrs:{"id":"humanViewOuter"}}),(!_vm.hideEnter)?_c('div',{staticClass:"humanEnterIcon",class:[_vm.unreadCount>0?'unreadCount':''],attrs:{"id":"humanEnterIcon"}},[(_vm.unreadCount<1)?[_c('img',{staticStyle:{"width":"100%"},attrs:{"src":"https://static.bokao2o.com/img_humanIcon.png","alt":""},on:{"click":_vm.changeChatViewVisible}})]:[_c('span',{on:{"click":_vm.changeChatViewVisible}},[_vm._v(_vm._s(_vm.unreadCount>99?'99+' : _vm.unreadCount))])]],2):_vm._e(),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.visible),expression:"visible"}],staticClass:"humanMainView",class:_vm.fullScreen?'full':''},[_c('div',{staticClass:"humanMainHeader my-dialog__header"},[_c('div',{staticClass:"humanMainHeaderLeft"},[_c('span',{staticClass:"reload",on:{"click":_vm.reloadFrame}},[_vm._v("刷新")])]),_c('div',{staticClass:"humanMainHeaderCenter"},[_vm._v(_vm._s(_vm.viewTitle||"客服"))]),_c('div',{staticClass:"humanMainHeaderRight"},[(!_vm.hideClose)?_c('span',{on:{"click":function($event){_vm.visible=false},"touchstart":function($event){$event.stopPropagation();_vm.visible=false}}},[_c('img',{staticStyle:{"width":"14px"},attrs:{"src":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAABzUlEQVR4AbzV207DQAwE0MKPA18Oe6ydKCnZdJNWRXFsj+ei9IXP25v/Evjdcn9b6a299OG5eCfwq0foCH19uvHiyah6An8gvRwQ+3q58eAVg8pIoGMB/YoI6+vpRssjQt6wWwIdAA5mRQAznyka2mh4wmpfBwIcEMyKEGaeKVyacHnBsm++MCACYnYGsOyjjoObOw9Y9ur3X1hgeyEStLEeRrBadl5uODnRwrIvfRSIQEBoVgxh5nXB3ILRwLJv+lEgIiEDs2IMMyszzKxwYebdehRIxICRWQmAKTNM4cDMw5oJJGbE0KwEKbNywzEf1mwgE4aMzeuCua2x4XwmcGhy5nAm0Fesf8bkwNyyH/bZQIaMY+ZnVNndcLIP+0wgI4YxEQRT5uA4sOy7/VEgA0YRC4BlN8Oy48Ky/+tHgYQMImIMy54Oc8tOA8u+6aNAAsKQGcKy33c3nOC0sOxL3wtEJAiJESz7qOPg5s4Dlr36fSACYh3biwGsjVMPLk3IvGDZN/8PHRByJIRln+00tOHzhNWeLwQ4FNheBLA2XnpoeUTMG7Z8ISBHxDoGuNh58Iq8MvKFOeiIIT3befHkUz2BDh8N1Vt76cNz8f4DAAD//8lliLUAAAAGSURBVAMAfghcOXqadykAAAAASUVORK5CYII=","alt":""}})]):_vm._e()])]),_c('iframe',{ref:"humanFrame",attrs:{"id":"iframe","src":_vm.src,"frameborder":"0","allowfullscreen":""}})])])
|
|
3424
3424
|
}
|
|
3425
3425
|
var staticRenderFns = []
|
|
3426
3426
|
|
|
3427
3427
|
|
|
3428
|
-
// CONCATENATED MODULE: ./src/BokaHumanV2.vue?vue&type=template&id=
|
|
3428
|
+
// CONCATENATED MODULE: ./src/BokaHumanV2.vue?vue&type=template&id=52d84163
|
|
3429
3429
|
|
|
3430
3430
|
// EXTERNAL MODULE: ./node_modules/interactjs/dist/interact.min.js
|
|
3431
3431
|
var interact_min = __webpack_require__("5014");
|
|
@@ -3501,16 +3501,17 @@ var dist_viewer = __webpack_require__("0808");
|
|
|
3501
3501
|
// return "http://192.168.3.12:5173"
|
|
3502
3502
|
},
|
|
3503
3503
|
src(){
|
|
3504
|
-
let {token,product,custType="",subCustType,source,terminal=""} = this;
|
|
3504
|
+
let {token,product,custType="",subCustType,source,terminal="",reloadTime} = this;
|
|
3505
3505
|
// return `https://human.shboka.com/?token=${token}&product=${product}&subCustType=${subCustType}&human=1&isIFrame=true&time=${new Date().getTime()}`;
|
|
3506
3506
|
let {protocol,host} = location;
|
|
3507
3507
|
let domain = `${protocol}//${host}`
|
|
3508
|
-
return `${this.host}?token=${token}&product=${product}&custType=${custType}&subCustType=${subCustType}&source=${source}&human=1&isIFrame=true&terminal=${terminal}&domain=${encodeURIComponent(domain)}&time=${new Date().getTime()}`;
|
|
3508
|
+
return `${this.host}?token=${token}&product=${product}&custType=${custType}&subCustType=${subCustType}&source=${source}&human=1&isIFrame=true&terminal=${terminal}&domain=${encodeURIComponent(domain)}&time=${reloadTime||new Date().getTime()}`;
|
|
3509
3509
|
}
|
|
3510
3510
|
},
|
|
3511
3511
|
data() {
|
|
3512
3512
|
return {
|
|
3513
3513
|
visible: false,
|
|
3514
|
+
reloadTime:new Date().getTime(),
|
|
3514
3515
|
unreadCount: 0
|
|
3515
3516
|
}
|
|
3516
3517
|
},
|
|
@@ -3524,16 +3525,16 @@ var dist_viewer = __webpack_require__("0808");
|
|
|
3524
3525
|
}else{
|
|
3525
3526
|
this.visible=true;
|
|
3526
3527
|
}
|
|
3527
|
-
|
|
3528
|
+
|
|
3528
3529
|
if(!this.fullScreen){
|
|
3529
3530
|
this.chatMainInitDrag();
|
|
3530
3531
|
}
|
|
3531
3532
|
})
|
|
3532
|
-
|
|
3533
|
+
|
|
3533
3534
|
window.humanFunction = {
|
|
3534
3535
|
showChatView: this.showChat
|
|
3535
3536
|
};
|
|
3536
|
-
|
|
3537
|
+
|
|
3537
3538
|
let frame = document.querySelector("#iframe");
|
|
3538
3539
|
frame.onload = function () {
|
|
3539
3540
|
frame.contentWindow.postMessage({from:"human",info:{isFrame:true}},"*")
|
|
@@ -3552,12 +3553,12 @@ var dist_viewer = __webpack_require__("0808");
|
|
|
3552
3553
|
this.unreadCount+=count;
|
|
3553
3554
|
}
|
|
3554
3555
|
}else if(type=="toAi"){//切换到智能体了,需要隐藏顶部
|
|
3555
|
-
|
|
3556
|
+
|
|
3556
3557
|
}
|
|
3557
3558
|
// console.log("外部[收到]了===>>>>",info);
|
|
3558
3559
|
}
|
|
3559
3560
|
});
|
|
3560
|
-
|
|
3561
|
+
|
|
3561
3562
|
},
|
|
3562
3563
|
methods:{
|
|
3563
3564
|
sendMsgToFrame(info){
|
|
@@ -3571,7 +3572,7 @@ var dist_viewer = __webpack_require__("0808");
|
|
|
3571
3572
|
this.visible=!this.visible;
|
|
3572
3573
|
if(this.visible){
|
|
3573
3574
|
this.unreadCount=0;
|
|
3574
|
-
|
|
3575
|
+
|
|
3575
3576
|
this.sendMsgToFrame({type:"toBottom"});
|
|
3576
3577
|
}
|
|
3577
3578
|
},
|
|
@@ -3604,7 +3605,7 @@ var dist_viewer = __webpack_require__("0808");
|
|
|
3604
3605
|
tmpIcon.style.transform = `translate(${defx}px, ${defy}px)`;
|
|
3605
3606
|
tmpIcon.setAttribute('data-x', defx);
|
|
3606
3607
|
tmpIcon.setAttribute('data-y', defy);
|
|
3607
|
-
|
|
3608
|
+
|
|
3608
3609
|
interact_min_default()('.humanEnterIcon')
|
|
3609
3610
|
.on('tap', function (event) {
|
|
3610
3611
|
event.preventDefault()
|
|
@@ -3622,7 +3623,7 @@ var dist_viewer = __webpack_require__("0808");
|
|
|
3622
3623
|
var target = event.target
|
|
3623
3624
|
var x = (parseFloat(target.getAttribute('data-x')) || 0) + event.dx
|
|
3624
3625
|
var y = (parseFloat(target.getAttribute('data-y')) || 0) + event.dy
|
|
3625
|
-
|
|
3626
|
+
|
|
3626
3627
|
// 限制纵向位置在容器内
|
|
3627
3628
|
if (y < 0) {
|
|
3628
3629
|
y = 0;
|
|
@@ -3630,13 +3631,13 @@ var dist_viewer = __webpack_require__("0808");
|
|
|
3630
3631
|
if (y > container.clientHeight - target.offsetHeight) {
|
|
3631
3632
|
y = container.clientHeight - target.offsetHeight;
|
|
3632
3633
|
}
|
|
3633
|
-
|
|
3634
|
+
|
|
3634
3635
|
// 横向限制:不允许停留在中间,拖动时允许在左侧区和右侧区之间滑动
|
|
3635
3636
|
// 这里允许水平拖动到左右边界之间,但不允许停留中间,拖动结束时自动吸附
|
|
3636
3637
|
// 但为了拖动顺畅,这里不限制x,吸附逻辑放在 dragend 事件
|
|
3637
|
-
|
|
3638
|
+
|
|
3638
3639
|
target.style.transform = `translate(${x}px, ${y}px)`;
|
|
3639
|
-
|
|
3640
|
+
|
|
3640
3641
|
// update the posiion attributes
|
|
3641
3642
|
target.setAttribute('data-x', x)
|
|
3642
3643
|
target.setAttribute('data-y', y)
|
|
@@ -3672,7 +3673,7 @@ var dist_viewer = __webpack_require__("0808");
|
|
|
3672
3673
|
/*restriction: () => {
|
|
3673
3674
|
const scrollTop = window.pageYOffset || document.documentElement.scrollTop;
|
|
3674
3675
|
const scrollLeft = window.pageXOffset || document.documentElement.scrollLeft;
|
|
3675
|
-
|
|
3676
|
+
|
|
3676
3677
|
return {
|
|
3677
3678
|
left: scrollLeft,
|
|
3678
3679
|
top: scrollTop,
|
|
@@ -3690,18 +3691,18 @@ var dist_viewer = __webpack_require__("0808");
|
|
|
3690
3691
|
var target = event.target
|
|
3691
3692
|
var x = (parseFloat(target.getAttribute('data-x')) || 0) + event.dx
|
|
3692
3693
|
var y = (parseFloat(target.getAttribute('data-y')) || 0) + event.dy
|
|
3693
|
-
|
|
3694
|
+
|
|
3694
3695
|
target.style.transform = 'translate(' + x + 'px, ' + y + 'px)'
|
|
3695
|
-
|
|
3696
|
+
|
|
3696
3697
|
// update the posiion attributes
|
|
3697
3698
|
target.setAttribute('data-x', x)
|
|
3698
3699
|
target.setAttribute('data-y', y)
|
|
3699
|
-
|
|
3700
|
-
|
|
3700
|
+
|
|
3701
|
+
|
|
3701
3702
|
/*const target = event.target;
|
|
3702
3703
|
const x = (parseFloat(target.getAttribute('data-x')) || 0) + event.dx;
|
|
3703
3704
|
const y = (parseFloat(target.getAttribute('data-y')) || 0) + event.dy;
|
|
3704
|
-
|
|
3705
|
+
|
|
3705
3706
|
target.style.transform = `translate(${x}px, ${y}px)`;
|
|
3706
3707
|
target.setAttribute('data-x', x);
|
|
3707
3708
|
target.setAttribute('data-y', y);*/
|
|
@@ -3710,14 +3711,20 @@ var dist_viewer = __webpack_require__("0808");
|
|
|
3710
3711
|
}
|
|
3711
3712
|
}
|
|
3712
3713
|
})
|
|
3714
|
+
},
|
|
3715
|
+
reloadFrame(){
|
|
3716
|
+
console.log(this.$refs.humanFrame);
|
|
3717
|
+
this.reloadTime = new Date().getTime()
|
|
3718
|
+
// this.$refs.humanFrame.
|
|
3719
|
+
// this.$refs.humanFrame.reload();
|
|
3713
3720
|
}
|
|
3714
3721
|
}
|
|
3715
3722
|
});
|
|
3716
3723
|
|
|
3717
3724
|
// CONCATENATED MODULE: ./src/BokaHumanV2.vue?vue&type=script&lang=js
|
|
3718
3725
|
/* harmony default export */ var src_BokaHumanV2vue_type_script_lang_js = (BokaHumanV2vue_type_script_lang_js);
|
|
3719
|
-
// EXTERNAL MODULE: ./src/BokaHumanV2.vue?vue&type=style&index=0&id=
|
|
3720
|
-
var
|
|
3726
|
+
// EXTERNAL MODULE: ./src/BokaHumanV2.vue?vue&type=style&index=0&id=52d84163&prod&lang=less
|
|
3727
|
+
var BokaHumanV2vue_type_style_index_0_id_52d84163_prod_lang_less = __webpack_require__("ad56");
|
|
3721
3728
|
|
|
3722
3729
|
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
3723
3730
|
/* globals __VUE_SSR_CONTEXT__ */
|
package/dist/boka-human-v2.css
CHANGED
|
@@ -6,4 +6,4 @@
|
|
|
6
6
|
* Released under the MIT license
|
|
7
7
|
*
|
|
8
8
|
* Date: 2024-11-24T04:32:14.526Z
|
|
9
|
-
*/.viewer-close:before,.viewer-flip-horizontal:before,.viewer-flip-vertical:before,.viewer-fullscreen-exit:before,.viewer-fullscreen:before,.viewer-next:before,.viewer-one-to-one:before,.viewer-play:before,.viewer-prev:before,.viewer-reset:before,.viewer-rotate-left:before,.viewer-rotate-right:before,.viewer-zoom-in:before,.viewer-zoom-out:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 560 40'%3E%3Cpath fill='%23fff' d='M49.6 17.9h20.2v3.9H49.6zm123.1 2l10.9-11 2.7 2.8-8.2 8.2 8.2 8.2-2.7 2.7-10.9-10.9zm94 0l-10.8-11-2.7 2.8 8.1 8.2-8.1 8.2 2.7 2.7 10.8-10.9zM212 9.3l20.1 10.6L212 30.5V9.3zm161.5 4.6l-7.2 6 7.2 5.9v-4h12.4v4l7.3-5.9-7.3-6v4h-12.4v-4zm40.2 12.3l5.9 7.2 5.9-7.2h-4V13.6h4l-5.9-7.3-5.9 7.3h4v12.6h-4zm35.9-16.5h6.3v2h-4.3V16h-2V9.7zm14 0h6.2V16h-2v-4.3h-4.2v-2zm6.2 14V30h-6.2v-2h4.2v-4.3h2zm-14 6.3h-6.2v-6.3h2v4.4h4.3v2zm-438 .1v-8.3H9.6v-3.9h8.2V9.7h3.9v8.2h8.1v3.9h-8.1v8.3h-3.9zM93.6 9.7h-5.8v3.9h2V30h3.8V9.7zm16.1 0h-5.8v3.9h1.9V30h3.9V9.7zm-11.9 4.1h3.9v3.9h-3.9zm0 8.2h3.9v3.9h-3.9zm244.6-11.7l7.2 5.9-7.2 6v-3.6c-5.4-.4-7.8.8-8.7 2.8-.8 1.7-1.8 4.9 2.8 8.2-6.3-2-7.5-6.9-6-11.3 1.6-4.4 8-5 11.9-4.9v-3.1zm147.2 13.4h6.3V30h-2v-4.3h-4.3v-2zm14 6.3v-6.3h6.2v2h-4.3V30h-1.9zm6.2-14h-6.2V9.7h1.9V14h4.3v2zm-13.9 0h-6.3v-2h4.3V9.7h2V16zm33.3 12.5l8.6-8.6-8.6-8.7 1.9-1.9 8.6 8.7 8.6-8.7 1.9 1.9-8.6 8.7 8.6 8.6-1.9 2-8.6-8.7-8.6 8.7-1.9-2zM297 10.3l-7.1 5.9 7.2 6v-3.6c5.3-.4 7.7.8 8.7 2.8.8 1.7 1.7 4.9-2.9 8.2 6.3-2 7.5-6.9 6-11.3-1.6-4.4-7.9-5-11.8-4.9v-3.1zm-157.3-.6c2.3 0 4.4.7 6 2l2.5-3 1.9 9.2h-9.3l2.6-3.1a6.2 6.2 0 00-9.9 5.1c0 3.4 2.8 6.3 6.2 6.3 2.8 0 5.1-1.9 6-4.4h4c-1 4.7-5 8.3-10 8.3a10 10 0 01-10-10.2 10 10 0 0110-10.2z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:280px;color:transparent;display:block;font-size:0;height:20px;line-height:0;width:20px}.viewer-zoom-in:before{background-position:0 0;content:"Zoom In"}.viewer-zoom-out:before{background-position:-20px 0;content:"Zoom Out"}.viewer-one-to-one:before{background-position:-40px 0;content:"One to One"}.viewer-reset:before{background-position:-60px 0;content:"Reset"}.viewer-prev:before{background-position:-80px 0;content:"Previous"}.viewer-play:before{background-position:-100px 0;content:"Play"}.viewer-next:before{background-position:-120px 0;content:"Next"}.viewer-rotate-left:before{background-position:-140px 0;content:"Rotate Left"}.viewer-rotate-right:before{background-position:-160px 0;content:"Rotate Right"}.viewer-flip-horizontal:before{background-position:-180px 0;content:"Flip Horizontal"}.viewer-flip-vertical:before{background-position:-200px 0;content:"Flip Vertical"}.viewer-fullscreen:before{background-position:-220px 0;content:"Enter Full Screen"}.viewer-fullscreen-exit:before{background-position:-240px 0;content:"Exit Full Screen"}.viewer-close:before{background-position:-260px 0;content:"Close"}.viewer-container{bottom:0;direction:ltr;font-size:0;left:0;line-height:0;overflow:hidden;position:absolute;right:0;-webkit-tap-highlight-color:transparent;top:0;touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.viewer-container::-moz-selection,.viewer-container ::-moz-selection{background-color:transparent}.viewer-container::selection,.viewer-container ::selection{background-color:transparent}.viewer-container:focus{outline:0}.viewer-container img{display:block;height:auto;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;width:100%}.viewer-canvas{bottom:0;left:0;overflow:hidden;position:absolute;right:0;top:0}.viewer-canvas>img{height:auto;margin:15px auto;max-width:90%!important;width:auto}.viewer-footer{bottom:0;left:0;overflow:hidden;position:absolute;right:0;text-align:center}.viewer-navbar{background-color:rgba(0,0,0,.5);overflow:hidden}.viewer-list{box-sizing:content-box;height:50px;margin:0;overflow:hidden;padding:1px 0}.viewer-list>li{color:transparent;cursor:pointer;float:left;font-size:0;height:50px;line-height:0;opacity:.5;overflow:hidden;transition:opacity .15s;width:30px}.viewer-list>li:focus,.viewer-list>li:hover{opacity:.75}.viewer-list>li:focus{outline:0}.viewer-list>li+li{margin-left:1px}.viewer-list>.viewer-loading{position:relative}.viewer-list>.viewer-loading:after{border-width:2px;height:20px;margin-left:-10px;margin-top:-10px;width:20px}.viewer-list>.viewer-active,.viewer-list>.viewer-active:focus,.viewer-list>.viewer-active:hover{opacity:1}.viewer-player{background-color:#000;bottom:0;cursor:none;display:none;right:0;z-index:1}.viewer-player,.viewer-player>img{left:0;position:absolute;top:0}.viewer-toolbar>ul{display:inline-block;margin:0 auto 5px;overflow:hidden;padding:6px 3px}.viewer-toolbar>ul>li{background-color:rgba(0,0,0,.5);border-radius:50%;cursor:pointer;float:left;height:24px;overflow:hidden;transition:background-color .15s;width:24px}.viewer-toolbar>ul>li:focus,.viewer-toolbar>ul>li:hover{background-color:rgba(0,0,0,.8)}.viewer-toolbar>ul>li:focus{box-shadow:0 0 3px #fff;outline:0;position:relative;z-index:1}.viewer-toolbar>ul>li:before{margin:2px}.viewer-toolbar>ul>li+li{margin-left:1px}.viewer-toolbar>ul>.viewer-small{height:18px;margin-bottom:3px;margin-top:3px;width:18px}.viewer-toolbar>ul>.viewer-small:before{margin:-1px}.viewer-toolbar>ul>.viewer-large{height:30px;margin-bottom:-3px;margin-top:-3px;width:30px}.viewer-toolbar>ul>.viewer-large:before{margin:5px}.viewer-tooltip{background-color:rgba(0,0,0,.8);border-radius:10px;color:#fff;display:none;font-size:12px;height:20px;left:50%;line-height:20px;margin-left:-25px;margin-top:-10px;position:absolute;text-align:center;top:50%;width:50px}.viewer-title{color:#ccc;display:inline-block;font-size:12px;line-height:1.2;margin:5px 5%;max-width:90%;min-height:14px;opacity:.8;overflow:hidden;text-overflow:ellipsis;transition:opacity .15s;white-space:nowrap}.viewer-title:hover{opacity:1}.viewer-button{-webkit-app-region:no-drag;background-color:rgba(0,0,0,.5);border-radius:50%;cursor:pointer;height:80px;overflow:hidden;position:absolute;right:-40px;top:-40px;transition:background-color .15s;width:80px}.viewer-button:focus,.viewer-button:hover{background-color:rgba(0,0,0,.8)}.viewer-button:focus{box-shadow:0 0 3px #fff;outline:0}.viewer-button:before{bottom:15px;left:15px;position:absolute}.viewer-fixed{position:fixed}.viewer-open{overflow:hidden}.viewer-show{display:block}.viewer-hide{display:none}.viewer-backdrop{background-color:rgba(0,0,0,.5)}.viewer-invisible{visibility:hidden}.viewer-move{cursor:move;cursor:grab}.viewer-fade{opacity:0}.viewer-in{opacity:1}.viewer-transition{transition:all .3s}@keyframes viewer-spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.viewer-loading:after{animation:viewer-spinner 1s linear infinite;border:4px solid hsla(0,0%,100%,.1);border-left-color:hsla(0,0%,100%,.5);border-radius:50%;content:"";display:inline-block;height:40px;left:50%;margin-left:-20px;margin-top:-20px;position:absolute;top:50%;width:40px;z-index:1}@media (max-width:767px){.viewer-hide-xs-down{display:none}}@media (max-width:991px){.viewer-hide-sm-down{display:none}}@media (max-width:1199px){.viewer-hide-md-down{display:none}}.boka-human-v2{position:fixed;top:0;left:0;z-index:999}.humanEnterIcon{position:fixed;z-index:999;background-color:#0074ff;border-radius:50%;width:40px;height:40px;text-align:center;box-sizing:border-box;transform:translate(50vw,50vh);box-shadow:0 0 10px rgba(0,0,0,.2);padding:8px}.humanEnterIcon>svg{width:100%;height:100%;fill:#fff}.humanEnterIcon.unreadCount{background-color:red;color:#fff;line-height:24px;font-size:14px;font-weight:700}.humanMainView{position:fixed;min-width:360px;max-width:600px;min-height:360px;height:80vh}.humanMainView.full{padding-top:env(safe-area-inset-top);width:100vw!important;max-width:100vw!important;height:100vh!important;max-height:100vh!important;position:fixed;top:0;left:0;z-index:999;overflow:hidden}.humanMainView .humanMainHeader{width:100%;height:40px;text-align:center;cursor:move;font-size:0;box-sizing:border-box;position:relative;z-index:999;background:url(https://rs.bokao2o.com/bkWeb/Def_BKWeb_AI_Header.png) top/100% no-repeat #fff;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;user-select:none;max-width:1000px;left:50%;transform:translateX(-50%)}.humanMainView .humanMainHeader .humanMainHeaderRight{text-align:right}.humanMainView .humanMainHeader .humanMainHeaderLeft,.humanMainView .humanMainHeader .humanMainHeaderRight{width:20%;display:inline-block;vertical-align:middle;padding:0 10px;line-height:40px;font-size:14px;box-sizing:border-box}.humanMainView .humanMainHeader .humanMainHeaderCenter{width:60%;display:inline-block;vertical-align:middle;font-size:16px;box-sizing:border-box;padding:6px 0}.humanMainView>iframe{width:100%;height:calc(100% - 40px)}
|
|
9
|
+
*/.viewer-close:before,.viewer-flip-horizontal:before,.viewer-flip-vertical:before,.viewer-fullscreen-exit:before,.viewer-fullscreen:before,.viewer-next:before,.viewer-one-to-one:before,.viewer-play:before,.viewer-prev:before,.viewer-reset:before,.viewer-rotate-left:before,.viewer-rotate-right:before,.viewer-zoom-in:before,.viewer-zoom-out:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 560 40'%3E%3Cpath fill='%23fff' d='M49.6 17.9h20.2v3.9H49.6zm123.1 2l10.9-11 2.7 2.8-8.2 8.2 8.2 8.2-2.7 2.7-10.9-10.9zm94 0l-10.8-11-2.7 2.8 8.1 8.2-8.1 8.2 2.7 2.7 10.8-10.9zM212 9.3l20.1 10.6L212 30.5V9.3zm161.5 4.6l-7.2 6 7.2 5.9v-4h12.4v4l7.3-5.9-7.3-6v4h-12.4v-4zm40.2 12.3l5.9 7.2 5.9-7.2h-4V13.6h4l-5.9-7.3-5.9 7.3h4v12.6h-4zm35.9-16.5h6.3v2h-4.3V16h-2V9.7zm14 0h6.2V16h-2v-4.3h-4.2v-2zm6.2 14V30h-6.2v-2h4.2v-4.3h2zm-14 6.3h-6.2v-6.3h2v4.4h4.3v2zm-438 .1v-8.3H9.6v-3.9h8.2V9.7h3.9v8.2h8.1v3.9h-8.1v8.3h-3.9zM93.6 9.7h-5.8v3.9h2V30h3.8V9.7zm16.1 0h-5.8v3.9h1.9V30h3.9V9.7zm-11.9 4.1h3.9v3.9h-3.9zm0 8.2h3.9v3.9h-3.9zm244.6-11.7l7.2 5.9-7.2 6v-3.6c-5.4-.4-7.8.8-8.7 2.8-.8 1.7-1.8 4.9 2.8 8.2-6.3-2-7.5-6.9-6-11.3 1.6-4.4 8-5 11.9-4.9v-3.1zm147.2 13.4h6.3V30h-2v-4.3h-4.3v-2zm14 6.3v-6.3h6.2v2h-4.3V30h-1.9zm6.2-14h-6.2V9.7h1.9V14h4.3v2zm-13.9 0h-6.3v-2h4.3V9.7h2V16zm33.3 12.5l8.6-8.6-8.6-8.7 1.9-1.9 8.6 8.7 8.6-8.7 1.9 1.9-8.6 8.7 8.6 8.6-1.9 2-8.6-8.7-8.6 8.7-1.9-2zM297 10.3l-7.1 5.9 7.2 6v-3.6c5.3-.4 7.7.8 8.7 2.8.8 1.7 1.7 4.9-2.9 8.2 6.3-2 7.5-6.9 6-11.3-1.6-4.4-7.9-5-11.8-4.9v-3.1zm-157.3-.6c2.3 0 4.4.7 6 2l2.5-3 1.9 9.2h-9.3l2.6-3.1a6.2 6.2 0 00-9.9 5.1c0 3.4 2.8 6.3 6.2 6.3 2.8 0 5.1-1.9 6-4.4h4c-1 4.7-5 8.3-10 8.3a10 10 0 01-10-10.2 10 10 0 0110-10.2z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:280px;color:transparent;display:block;font-size:0;height:20px;line-height:0;width:20px}.viewer-zoom-in:before{background-position:0 0;content:"Zoom In"}.viewer-zoom-out:before{background-position:-20px 0;content:"Zoom Out"}.viewer-one-to-one:before{background-position:-40px 0;content:"One to One"}.viewer-reset:before{background-position:-60px 0;content:"Reset"}.viewer-prev:before{background-position:-80px 0;content:"Previous"}.viewer-play:before{background-position:-100px 0;content:"Play"}.viewer-next:before{background-position:-120px 0;content:"Next"}.viewer-rotate-left:before{background-position:-140px 0;content:"Rotate Left"}.viewer-rotate-right:before{background-position:-160px 0;content:"Rotate Right"}.viewer-flip-horizontal:before{background-position:-180px 0;content:"Flip Horizontal"}.viewer-flip-vertical:before{background-position:-200px 0;content:"Flip Vertical"}.viewer-fullscreen:before{background-position:-220px 0;content:"Enter Full Screen"}.viewer-fullscreen-exit:before{background-position:-240px 0;content:"Exit Full Screen"}.viewer-close:before{background-position:-260px 0;content:"Close"}.viewer-container{bottom:0;direction:ltr;font-size:0;left:0;line-height:0;overflow:hidden;position:absolute;right:0;-webkit-tap-highlight-color:transparent;top:0;touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.viewer-container::-moz-selection,.viewer-container ::-moz-selection{background-color:transparent}.viewer-container::selection,.viewer-container ::selection{background-color:transparent}.viewer-container:focus{outline:0}.viewer-container img{display:block;height:auto;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;width:100%}.viewer-canvas{bottom:0;left:0;overflow:hidden;position:absolute;right:0;top:0}.viewer-canvas>img{height:auto;margin:15px auto;max-width:90%!important;width:auto}.viewer-footer{bottom:0;left:0;overflow:hidden;position:absolute;right:0;text-align:center}.viewer-navbar{background-color:rgba(0,0,0,.5);overflow:hidden}.viewer-list{box-sizing:content-box;height:50px;margin:0;overflow:hidden;padding:1px 0}.viewer-list>li{color:transparent;cursor:pointer;float:left;font-size:0;height:50px;line-height:0;opacity:.5;overflow:hidden;transition:opacity .15s;width:30px}.viewer-list>li:focus,.viewer-list>li:hover{opacity:.75}.viewer-list>li:focus{outline:0}.viewer-list>li+li{margin-left:1px}.viewer-list>.viewer-loading{position:relative}.viewer-list>.viewer-loading:after{border-width:2px;height:20px;margin-left:-10px;margin-top:-10px;width:20px}.viewer-list>.viewer-active,.viewer-list>.viewer-active:focus,.viewer-list>.viewer-active:hover{opacity:1}.viewer-player{background-color:#000;bottom:0;cursor:none;display:none;right:0;z-index:1}.viewer-player,.viewer-player>img{left:0;position:absolute;top:0}.viewer-toolbar>ul{display:inline-block;margin:0 auto 5px;overflow:hidden;padding:6px 3px}.viewer-toolbar>ul>li{background-color:rgba(0,0,0,.5);border-radius:50%;cursor:pointer;float:left;height:24px;overflow:hidden;transition:background-color .15s;width:24px}.viewer-toolbar>ul>li:focus,.viewer-toolbar>ul>li:hover{background-color:rgba(0,0,0,.8)}.viewer-toolbar>ul>li:focus{box-shadow:0 0 3px #fff;outline:0;position:relative;z-index:1}.viewer-toolbar>ul>li:before{margin:2px}.viewer-toolbar>ul>li+li{margin-left:1px}.viewer-toolbar>ul>.viewer-small{height:18px;margin-bottom:3px;margin-top:3px;width:18px}.viewer-toolbar>ul>.viewer-small:before{margin:-1px}.viewer-toolbar>ul>.viewer-large{height:30px;margin-bottom:-3px;margin-top:-3px;width:30px}.viewer-toolbar>ul>.viewer-large:before{margin:5px}.viewer-tooltip{background-color:rgba(0,0,0,.8);border-radius:10px;color:#fff;display:none;font-size:12px;height:20px;left:50%;line-height:20px;margin-left:-25px;margin-top:-10px;position:absolute;text-align:center;top:50%;width:50px}.viewer-title{color:#ccc;display:inline-block;font-size:12px;line-height:1.2;margin:5px 5%;max-width:90%;min-height:14px;opacity:.8;overflow:hidden;text-overflow:ellipsis;transition:opacity .15s;white-space:nowrap}.viewer-title:hover{opacity:1}.viewer-button{-webkit-app-region:no-drag;background-color:rgba(0,0,0,.5);border-radius:50%;cursor:pointer;height:80px;overflow:hidden;position:absolute;right:-40px;top:-40px;transition:background-color .15s;width:80px}.viewer-button:focus,.viewer-button:hover{background-color:rgba(0,0,0,.8)}.viewer-button:focus{box-shadow:0 0 3px #fff;outline:0}.viewer-button:before{bottom:15px;left:15px;position:absolute}.viewer-fixed{position:fixed}.viewer-open{overflow:hidden}.viewer-show{display:block}.viewer-hide{display:none}.viewer-backdrop{background-color:rgba(0,0,0,.5)}.viewer-invisible{visibility:hidden}.viewer-move{cursor:move;cursor:grab}.viewer-fade{opacity:0}.viewer-in{opacity:1}.viewer-transition{transition:all .3s}@keyframes viewer-spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.viewer-loading:after{animation:viewer-spinner 1s linear infinite;border:4px solid hsla(0,0%,100%,.1);border-left-color:hsla(0,0%,100%,.5);border-radius:50%;content:"";display:inline-block;height:40px;left:50%;margin-left:-20px;margin-top:-20px;position:absolute;top:50%;width:40px;z-index:1}@media (max-width:767px){.viewer-hide-xs-down{display:none}}@media (max-width:991px){.viewer-hide-sm-down{display:none}}@media (max-width:1199px){.viewer-hide-md-down{display:none}}.boka-human-v2{position:fixed;top:0;left:0;z-index:999}.humanEnterIcon{position:fixed;z-index:999;background-color:#0074ff;border-radius:50%;width:40px;height:40px;text-align:center;box-sizing:border-box;transform:translate(50vw,50vh);box-shadow:0 0 10px rgba(0,0,0,.2);padding:8px}.humanEnterIcon>svg{width:100%;height:100%;fill:#fff}.humanEnterIcon.unreadCount{background-color:red;color:#fff;line-height:24px;font-size:14px;font-weight:700}.humanMainView{position:fixed;min-width:360px;width:400px;max-width:600px;min-height:360px;height:80vh;box-shadow:0 0 20px rgba(0,0,0,.2)}.humanMainView.full{padding-top:env(safe-area-inset-top);width:100vw!important;max-width:100vw!important;height:100vh!important;max-height:100vh!important;position:fixed;top:0;left:0;z-index:999;overflow:hidden;box-shadow:none}.humanMainView .humanMainHeader{width:100%;height:40px;text-align:center;cursor:move;font-size:0;box-sizing:border-box;position:relative;z-index:999;background:url(https://rs.bokao2o.com/bkWeb/Def_BKWeb_AI_Header.png) top/100% no-repeat #fff;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;user-select:none;max-width:1000px;left:50%;transform:translateX(-50%)}.humanMainView .humanMainHeader .humanMainHeaderRight{text-align:right}.humanMainView .humanMainHeader .humanMainHeaderLeft{text-align:left}.humanMainView .humanMainHeader .humanMainHeaderLeft .reload{cursor:pointer;color:#0074ff}.humanMainView .humanMainHeader .humanMainHeaderLeft,.humanMainView .humanMainHeader .humanMainHeaderRight{width:20%;display:inline-block;vertical-align:middle;padding:0 10px;line-height:40px;font-size:14px;box-sizing:border-box}.humanMainView .humanMainHeader .humanMainHeaderCenter{width:60%;display:inline-block;vertical-align:middle;font-size:16px;box-sizing:border-box;padding:6px 0}.humanMainView>iframe{width:100%;height:calc(100% - 40px)}
|
|
@@ -101,17 +101,6 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
101
101
|
|
|
102
102
|
// extracted by mini-css-extract-plugin
|
|
103
103
|
|
|
104
|
-
/***/ }),
|
|
105
|
-
|
|
106
|
-
/***/ "2de9":
|
|
107
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
108
|
-
|
|
109
|
-
"use strict";
|
|
110
|
-
/* harmony import */ var _node_modules_vue_cli_service_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_vue_cli_service_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_BokaHumanV2_vue_vue_type_style_index_0_id_0194ec58_prod_lang_less__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9474");
|
|
111
|
-
/* harmony import */ var _node_modules_vue_cli_service_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_vue_cli_service_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_BokaHumanV2_vue_vue_type_style_index_0_id_0194ec58_prod_lang_less__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_cli_service_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_vue_cli_service_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_BokaHumanV2_vue_vue_type_style_index_0_id_0194ec58_prod_lang_less__WEBPACK_IMPORTED_MODULE_0__);
|
|
112
|
-
/* unused harmony reexport * */
|
|
113
|
-
|
|
114
|
-
|
|
115
104
|
/***/ }),
|
|
116
105
|
|
|
117
106
|
/***/ "5014":
|
|
@@ -155,10 +144,14 @@ module.exports = function(module) {
|
|
|
155
144
|
|
|
156
145
|
/***/ }),
|
|
157
146
|
|
|
158
|
-
/***/ "
|
|
159
|
-
/***/ (function(module,
|
|
147
|
+
/***/ "ad56":
|
|
148
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
149
|
+
|
|
150
|
+
"use strict";
|
|
151
|
+
/* harmony import */ var _node_modules_vue_cli_service_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_vue_cli_service_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_BokaHumanV2_vue_vue_type_style_index_0_id_52d84163_prod_lang_less__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("d5d6");
|
|
152
|
+
/* harmony import */ var _node_modules_vue_cli_service_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_vue_cli_service_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_BokaHumanV2_vue_vue_type_style_index_0_id_52d84163_prod_lang_less__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_cli_service_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_vue_cli_service_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_BokaHumanV2_vue_vue_type_style_index_0_id_52d84163_prod_lang_less__WEBPACK_IMPORTED_MODULE_0__);
|
|
153
|
+
/* unused harmony reexport * */
|
|
160
154
|
|
|
161
|
-
// extracted by mini-css-extract-plugin
|
|
162
155
|
|
|
163
156
|
/***/ }),
|
|
164
157
|
|
|
@@ -3394,6 +3387,13 @@ module.exports = function(module) {
|
|
|
3394
3387
|
}));
|
|
3395
3388
|
|
|
3396
3389
|
|
|
3390
|
+
/***/ }),
|
|
3391
|
+
|
|
3392
|
+
/***/ "d5d6":
|
|
3393
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3394
|
+
|
|
3395
|
+
// extracted by mini-css-extract-plugin
|
|
3396
|
+
|
|
3397
3397
|
/***/ }),
|
|
3398
3398
|
|
|
3399
3399
|
/***/ "fb15":
|
|
@@ -3419,13 +3419,13 @@ if (typeof window !== 'undefined') {
|
|
|
3419
3419
|
// Indicate to webpack that this file can be concatenated
|
|
3420
3420
|
/* harmony default export */ var setPublicPath = (null);
|
|
3421
3421
|
|
|
3422
|
-
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3423
|
-
var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"boka-human-v2"},[_c('div',{staticStyle:{"position":"fixed","width":"100vw","height":"100vh","top":"0","left":"0","display":"none"},attrs:{"id":"humanViewOuter"}}),(!_vm.hideEnter)?_c('div',{staticClass:"humanEnterIcon",class:[_vm.unreadCount>0?'unreadCount':''],attrs:{"id":"humanEnterIcon"}},[(_vm.unreadCount<1)?[_c('img',{staticStyle:{"width":"100%"},attrs:{"src":"https://static.bokao2o.com/img_humanIcon.png","alt":""},on:{"click":_vm.changeChatViewVisible}})]:[_c('span',{on:{"click":_vm.changeChatViewVisible}},[_vm._v(_vm._s(_vm.unreadCount>99?'99+' : _vm.unreadCount))])]],2):_vm._e(),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.visible),expression:"visible"}],staticClass:"humanMainView",class:_vm.fullScreen?'full':''},[_c('div',{staticClass:"humanMainHeader my-dialog__header"},[_c('div',{staticClass:"humanMainHeaderLeft"}),_c('div',{staticClass:"humanMainHeaderCenter"},[_vm._v(_vm._s(_vm.viewTitle||"客服"))]),_c('div',{staticClass:"humanMainHeaderRight"},[(!_vm.hideClose)?_c('span',{on:{"click":function($event){_vm.visible=false},"touchstart":function($event){$event.stopPropagation();_vm.visible=false}}},[_c('img',{staticStyle:{"width":"14px"},attrs:{"src":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAABzUlEQVR4AbzV207DQAwE0MKPA18Oe6ydKCnZdJNWRXFsj+ei9IXP25v/Evjdcn9b6a299OG5eCfwq0foCH19uvHiyah6An8gvRwQ+3q58eAVg8pIoGMB/YoI6+vpRssjQt6wWwIdAA5mRQAznyka2mh4wmpfBwIcEMyKEGaeKVyacHnBsm++MCACYnYGsOyjjoObOw9Y9ur3X1hgeyEStLEeRrBadl5uODnRwrIvfRSIQEBoVgxh5nXB3ILRwLJv+lEgIiEDs2IMMyszzKxwYebdehRIxICRWQmAKTNM4cDMw5oJJGbE0KwEKbNywzEf1mwgE4aMzeuCua2x4XwmcGhy5nAm0Fesf8bkwNyyH/bZQIaMY+ZnVNndcLIP+0wgI4YxEQRT5uA4sOy7/VEgA0YRC4BlN8Oy48Ky/+tHgYQMImIMy54Oc8tOA8u+6aNAAsKQGcKy33c3nOC0sOxL3wtEJAiJESz7qOPg5s4Dlr36fSACYh3biwGsjVMPLk3IvGDZN/8PHRByJIRln+00tOHzhNWeLwQ4FNheBLA2XnpoeUTMG7Z8ISBHxDoGuNh58Iq8MvKFOeiIIT3befHkUz2BDh8N1Vt76cNz8f4DAAD//8lliLUAAAAGSURBVAMAfghcOXqadykAAAAASUVORK5CYII=","alt":""}})]):_vm._e()])]),_c('iframe',{attrs:{"id":"iframe","src":_vm.src,"frameborder":"0","allowfullscreen":""}})])])
|
|
3422
|
+
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"e087e6de-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/BokaHumanV2.vue?vue&type=template&id=52d84163
|
|
3423
|
+
var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"boka-human-v2"},[_c('div',{staticStyle:{"position":"fixed","width":"100vw","height":"100vh","top":"0","left":"0","display":"none"},attrs:{"id":"humanViewOuter"}}),(!_vm.hideEnter)?_c('div',{staticClass:"humanEnterIcon",class:[_vm.unreadCount>0?'unreadCount':''],attrs:{"id":"humanEnterIcon"}},[(_vm.unreadCount<1)?[_c('img',{staticStyle:{"width":"100%"},attrs:{"src":"https://static.bokao2o.com/img_humanIcon.png","alt":""},on:{"click":_vm.changeChatViewVisible}})]:[_c('span',{on:{"click":_vm.changeChatViewVisible}},[_vm._v(_vm._s(_vm.unreadCount>99?'99+' : _vm.unreadCount))])]],2):_vm._e(),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.visible),expression:"visible"}],staticClass:"humanMainView",class:_vm.fullScreen?'full':''},[_c('div',{staticClass:"humanMainHeader my-dialog__header"},[_c('div',{staticClass:"humanMainHeaderLeft"},[_c('span',{staticClass:"reload",on:{"click":_vm.reloadFrame}},[_vm._v("刷新")])]),_c('div',{staticClass:"humanMainHeaderCenter"},[_vm._v(_vm._s(_vm.viewTitle||"客服"))]),_c('div',{staticClass:"humanMainHeaderRight"},[(!_vm.hideClose)?_c('span',{on:{"click":function($event){_vm.visible=false},"touchstart":function($event){$event.stopPropagation();_vm.visible=false}}},[_c('img',{staticStyle:{"width":"14px"},attrs:{"src":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAABzUlEQVR4AbzV207DQAwE0MKPA18Oe6ydKCnZdJNWRXFsj+ei9IXP25v/Evjdcn9b6a299OG5eCfwq0foCH19uvHiyah6An8gvRwQ+3q58eAVg8pIoGMB/YoI6+vpRssjQt6wWwIdAA5mRQAznyka2mh4wmpfBwIcEMyKEGaeKVyacHnBsm++MCACYnYGsOyjjoObOw9Y9ur3X1hgeyEStLEeRrBadl5uODnRwrIvfRSIQEBoVgxh5nXB3ILRwLJv+lEgIiEDs2IMMyszzKxwYebdehRIxICRWQmAKTNM4cDMw5oJJGbE0KwEKbNywzEf1mwgE4aMzeuCua2x4XwmcGhy5nAm0Fesf8bkwNyyH/bZQIaMY+ZnVNndcLIP+0wgI4YxEQRT5uA4sOy7/VEgA0YRC4BlN8Oy48Ky/+tHgYQMImIMy54Oc8tOA8u+6aNAAsKQGcKy33c3nOC0sOxL3wtEJAiJESz7qOPg5s4Dlr36fSACYh3biwGsjVMPLk3IvGDZN/8PHRByJIRln+00tOHzhNWeLwQ4FNheBLA2XnpoeUTMG7Z8ISBHxDoGuNh58Iq8MvKFOeiIIT3befHkUz2BDh8N1Vt76cNz8f4DAAD//8lliLUAAAAGSURBVAMAfghcOXqadykAAAAASUVORK5CYII=","alt":""}})]):_vm._e()])]),_c('iframe',{ref:"humanFrame",attrs:{"id":"iframe","src":_vm.src,"frameborder":"0","allowfullscreen":""}})])])
|
|
3424
3424
|
}
|
|
3425
3425
|
var staticRenderFns = []
|
|
3426
3426
|
|
|
3427
3427
|
|
|
3428
|
-
// CONCATENATED MODULE: ./src/BokaHumanV2.vue?vue&type=template&id=
|
|
3428
|
+
// CONCATENATED MODULE: ./src/BokaHumanV2.vue?vue&type=template&id=52d84163
|
|
3429
3429
|
|
|
3430
3430
|
// EXTERNAL MODULE: ./node_modules/interactjs/dist/interact.min.js
|
|
3431
3431
|
var interact_min = __webpack_require__("5014");
|
|
@@ -3501,16 +3501,17 @@ var dist_viewer = __webpack_require__("0808");
|
|
|
3501
3501
|
// return "http://192.168.3.12:5173"
|
|
3502
3502
|
},
|
|
3503
3503
|
src(){
|
|
3504
|
-
let {token,product,custType="",subCustType,source,terminal=""} = this;
|
|
3504
|
+
let {token,product,custType="",subCustType,source,terminal="",reloadTime} = this;
|
|
3505
3505
|
// return `https://human.shboka.com/?token=${token}&product=${product}&subCustType=${subCustType}&human=1&isIFrame=true&time=${new Date().getTime()}`;
|
|
3506
3506
|
let {protocol,host} = location;
|
|
3507
3507
|
let domain = `${protocol}//${host}`
|
|
3508
|
-
return `${this.host}?token=${token}&product=${product}&custType=${custType}&subCustType=${subCustType}&source=${source}&human=1&isIFrame=true&terminal=${terminal}&domain=${encodeURIComponent(domain)}&time=${new Date().getTime()}`;
|
|
3508
|
+
return `${this.host}?token=${token}&product=${product}&custType=${custType}&subCustType=${subCustType}&source=${source}&human=1&isIFrame=true&terminal=${terminal}&domain=${encodeURIComponent(domain)}&time=${reloadTime||new Date().getTime()}`;
|
|
3509
3509
|
}
|
|
3510
3510
|
},
|
|
3511
3511
|
data() {
|
|
3512
3512
|
return {
|
|
3513
3513
|
visible: false,
|
|
3514
|
+
reloadTime:new Date().getTime(),
|
|
3514
3515
|
unreadCount: 0
|
|
3515
3516
|
}
|
|
3516
3517
|
},
|
|
@@ -3524,16 +3525,16 @@ var dist_viewer = __webpack_require__("0808");
|
|
|
3524
3525
|
}else{
|
|
3525
3526
|
this.visible=true;
|
|
3526
3527
|
}
|
|
3527
|
-
|
|
3528
|
+
|
|
3528
3529
|
if(!this.fullScreen){
|
|
3529
3530
|
this.chatMainInitDrag();
|
|
3530
3531
|
}
|
|
3531
3532
|
})
|
|
3532
|
-
|
|
3533
|
+
|
|
3533
3534
|
window.humanFunction = {
|
|
3534
3535
|
showChatView: this.showChat
|
|
3535
3536
|
};
|
|
3536
|
-
|
|
3537
|
+
|
|
3537
3538
|
let frame = document.querySelector("#iframe");
|
|
3538
3539
|
frame.onload = function () {
|
|
3539
3540
|
frame.contentWindow.postMessage({from:"human",info:{isFrame:true}},"*")
|
|
@@ -3552,12 +3553,12 @@ var dist_viewer = __webpack_require__("0808");
|
|
|
3552
3553
|
this.unreadCount+=count;
|
|
3553
3554
|
}
|
|
3554
3555
|
}else if(type=="toAi"){//切换到智能体了,需要隐藏顶部
|
|
3555
|
-
|
|
3556
|
+
|
|
3556
3557
|
}
|
|
3557
3558
|
// console.log("外部[收到]了===>>>>",info);
|
|
3558
3559
|
}
|
|
3559
3560
|
});
|
|
3560
|
-
|
|
3561
|
+
|
|
3561
3562
|
},
|
|
3562
3563
|
methods:{
|
|
3563
3564
|
sendMsgToFrame(info){
|
|
@@ -3571,7 +3572,7 @@ var dist_viewer = __webpack_require__("0808");
|
|
|
3571
3572
|
this.visible=!this.visible;
|
|
3572
3573
|
if(this.visible){
|
|
3573
3574
|
this.unreadCount=0;
|
|
3574
|
-
|
|
3575
|
+
|
|
3575
3576
|
this.sendMsgToFrame({type:"toBottom"});
|
|
3576
3577
|
}
|
|
3577
3578
|
},
|
|
@@ -3604,7 +3605,7 @@ var dist_viewer = __webpack_require__("0808");
|
|
|
3604
3605
|
tmpIcon.style.transform = `translate(${defx}px, ${defy}px)`;
|
|
3605
3606
|
tmpIcon.setAttribute('data-x', defx);
|
|
3606
3607
|
tmpIcon.setAttribute('data-y', defy);
|
|
3607
|
-
|
|
3608
|
+
|
|
3608
3609
|
interact_min_default()('.humanEnterIcon')
|
|
3609
3610
|
.on('tap', function (event) {
|
|
3610
3611
|
event.preventDefault()
|
|
@@ -3622,7 +3623,7 @@ var dist_viewer = __webpack_require__("0808");
|
|
|
3622
3623
|
var target = event.target
|
|
3623
3624
|
var x = (parseFloat(target.getAttribute('data-x')) || 0) + event.dx
|
|
3624
3625
|
var y = (parseFloat(target.getAttribute('data-y')) || 0) + event.dy
|
|
3625
|
-
|
|
3626
|
+
|
|
3626
3627
|
// 限制纵向位置在容器内
|
|
3627
3628
|
if (y < 0) {
|
|
3628
3629
|
y = 0;
|
|
@@ -3630,13 +3631,13 @@ var dist_viewer = __webpack_require__("0808");
|
|
|
3630
3631
|
if (y > container.clientHeight - target.offsetHeight) {
|
|
3631
3632
|
y = container.clientHeight - target.offsetHeight;
|
|
3632
3633
|
}
|
|
3633
|
-
|
|
3634
|
+
|
|
3634
3635
|
// 横向限制:不允许停留在中间,拖动时允许在左侧区和右侧区之间滑动
|
|
3635
3636
|
// 这里允许水平拖动到左右边界之间,但不允许停留中间,拖动结束时自动吸附
|
|
3636
3637
|
// 但为了拖动顺畅,这里不限制x,吸附逻辑放在 dragend 事件
|
|
3637
|
-
|
|
3638
|
+
|
|
3638
3639
|
target.style.transform = `translate(${x}px, ${y}px)`;
|
|
3639
|
-
|
|
3640
|
+
|
|
3640
3641
|
// update the posiion attributes
|
|
3641
3642
|
target.setAttribute('data-x', x)
|
|
3642
3643
|
target.setAttribute('data-y', y)
|
|
@@ -3672,7 +3673,7 @@ var dist_viewer = __webpack_require__("0808");
|
|
|
3672
3673
|
/*restriction: () => {
|
|
3673
3674
|
const scrollTop = window.pageYOffset || document.documentElement.scrollTop;
|
|
3674
3675
|
const scrollLeft = window.pageXOffset || document.documentElement.scrollLeft;
|
|
3675
|
-
|
|
3676
|
+
|
|
3676
3677
|
return {
|
|
3677
3678
|
left: scrollLeft,
|
|
3678
3679
|
top: scrollTop,
|
|
@@ -3690,18 +3691,18 @@ var dist_viewer = __webpack_require__("0808");
|
|
|
3690
3691
|
var target = event.target
|
|
3691
3692
|
var x = (parseFloat(target.getAttribute('data-x')) || 0) + event.dx
|
|
3692
3693
|
var y = (parseFloat(target.getAttribute('data-y')) || 0) + event.dy
|
|
3693
|
-
|
|
3694
|
+
|
|
3694
3695
|
target.style.transform = 'translate(' + x + 'px, ' + y + 'px)'
|
|
3695
|
-
|
|
3696
|
+
|
|
3696
3697
|
// update the posiion attributes
|
|
3697
3698
|
target.setAttribute('data-x', x)
|
|
3698
3699
|
target.setAttribute('data-y', y)
|
|
3699
|
-
|
|
3700
|
-
|
|
3700
|
+
|
|
3701
|
+
|
|
3701
3702
|
/*const target = event.target;
|
|
3702
3703
|
const x = (parseFloat(target.getAttribute('data-x')) || 0) + event.dx;
|
|
3703
3704
|
const y = (parseFloat(target.getAttribute('data-y')) || 0) + event.dy;
|
|
3704
|
-
|
|
3705
|
+
|
|
3705
3706
|
target.style.transform = `translate(${x}px, ${y}px)`;
|
|
3706
3707
|
target.setAttribute('data-x', x);
|
|
3707
3708
|
target.setAttribute('data-y', y);*/
|
|
@@ -3710,14 +3711,20 @@ var dist_viewer = __webpack_require__("0808");
|
|
|
3710
3711
|
}
|
|
3711
3712
|
}
|
|
3712
3713
|
})
|
|
3714
|
+
},
|
|
3715
|
+
reloadFrame(){
|
|
3716
|
+
console.log(this.$refs.humanFrame);
|
|
3717
|
+
this.reloadTime = new Date().getTime()
|
|
3718
|
+
// this.$refs.humanFrame.
|
|
3719
|
+
// this.$refs.humanFrame.reload();
|
|
3713
3720
|
}
|
|
3714
3721
|
}
|
|
3715
3722
|
});
|
|
3716
3723
|
|
|
3717
3724
|
// CONCATENATED MODULE: ./src/BokaHumanV2.vue?vue&type=script&lang=js
|
|
3718
3725
|
/* harmony default export */ var src_BokaHumanV2vue_type_script_lang_js = (BokaHumanV2vue_type_script_lang_js);
|
|
3719
|
-
// EXTERNAL MODULE: ./src/BokaHumanV2.vue?vue&type=style&index=0&id=
|
|
3720
|
-
var
|
|
3726
|
+
// EXTERNAL MODULE: ./src/BokaHumanV2.vue?vue&type=style&index=0&id=52d84163&prod&lang=less
|
|
3727
|
+
var BokaHumanV2vue_type_style_index_0_id_52d84163_prod_lang_less = __webpack_require__("ad56");
|
|
3721
3728
|
|
|
3722
3729
|
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
3723
3730
|
/* globals __VUE_SSR_CONTEXT__ */
|