boka-human-cliend-v3 0.0.42 → 0.0.44

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.
@@ -482,7 +482,6 @@
482
482
  max-width: 600px;
483
483
  min-height: 360px;
484
484
  height: 80vh;
485
- border: 1px solid #ccc;
486
485
  }
487
486
  .humanMainView.full {
488
487
  padding-top: env(safe-area-inset-top);
@@ -504,12 +503,14 @@
504
503
  cursor: move;
505
504
  font-size: 0;
506
505
  box-sizing: border-box;
507
- border-bottom: 1px solid #f5f5f5;
508
506
  position: relative;
509
507
  z-index: 999;
510
- background: #fff;
508
+ background: url(https://rs.bokao2o.com/bkWeb/Def_BKWeb_AI_Header.png) center top / 100% no-repeat #ffffff;
511
509
  white-space: nowrap;
512
510
  user-select: none;
511
+ max-width: 1000px;
512
+ left: 50%;
513
+ transform: translateX(-50%);
513
514
  }
514
515
  .humanMainView .humanMainHeader .humanMainHeaderRight {
515
516
  text-align: right;
@@ -5227,7 +5227,7 @@
5227
5227
  return "https://human.shboka.com";
5228
5228
  },
5229
5229
  src() {
5230
- let { token, product, custType, subCustType, source, terminal = "" } = this;
5230
+ let { token, product, custType = "", subCustType, source, terminal = "" } = this;
5231
5231
  let { protocol, host } = location;
5232
5232
  let domain = `${protocol}//${host}`;
5233
5233
  return `${this.host}?token=${token}&product=${product}&custType=${custType}&subCustType=${subCustType}&source=${source}&human=1&isIFrame=true&terminal=${terminal}&domain=${encodeURIComponent(domain)}&time=${(/* @__PURE__ */ new Date()).getTime()}`;
@@ -5416,7 +5416,7 @@
5416
5416
  id: "humanViewOuter",
5417
5417
  style: { "position": "fixed", "width": "100vw", "height": "100vh", "top": "0", "left": "0", "display": "none" }
5418
5418
  }, null, -1)),
5419
- !$props.hideClose ? (vue.openBlock(), vue.createElementBlock("div", {
5419
+ !$props.hideEnter ? (vue.openBlock(), vue.createElementBlock("div", {
5420
5420
  key: 0,
5421
5421
  class: vue.normalizeClass(["humanEnterIcon", [$data.unreadCount > 0 ? "unreadCount" : ""]]),
5422
5422
  id: "humanEnterIcon"
@@ -5439,7 +5439,7 @@
5439
5439
  _cache[5] || (_cache[5] = vue.createElementVNode("div", { class: "humanMainHeaderLeft" }, null, -1)),
5440
5440
  vue.createElementVNode("div", _hoisted_3, vue.toDisplayString($props.viewTitle || "客服"), 1),
5441
5441
  vue.createElementVNode("div", _hoisted_4, [
5442
- !$props.hideEnter ? (vue.openBlock(), vue.createElementBlock("span", {
5442
+ !$props.hideClose ? (vue.openBlock(), vue.createElementBlock("span", {
5443
5443
  key: 0,
5444
5444
  onClick: _cache[2] || (_cache[2] = ($event) => $data.visible = false),
5445
5445
  onTouchstart: _cache[3] || (_cache[3] = vue.withModifiers(($event) => $data.visible = false, ["stop"]))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "boka-human-cliend-v3",
3
- "version": "0.0.42",
3
+ "version": "0.0.44",
4
4
  "main": "dist/boka-human-v3.umd.js",
5
5
  "scripts": {
6
6
  "dev": "vite",