boka-human-cliend-v3 0.0.50 → 0.0.51
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-cliend-v3.css +3 -0
- package/dist/boka-human-v3.umd.js +12 -12
- package/package.json +1 -1
- package/src/demo/App.vue +2 -2
|
@@ -480,9 +480,11 @@
|
|
|
480
480
|
.humanMainView {
|
|
481
481
|
position: fixed;
|
|
482
482
|
min-width: 360px;
|
|
483
|
+
width: 400px;
|
|
483
484
|
max-width: 600px;
|
|
484
485
|
min-height: 360px;
|
|
485
486
|
height: 80vh;
|
|
487
|
+
box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
|
|
486
488
|
}
|
|
487
489
|
.humanMainView.full {
|
|
488
490
|
padding-top: env(safe-area-inset-top);
|
|
@@ -496,6 +498,7 @@
|
|
|
496
498
|
left: 0;
|
|
497
499
|
z-index: 999;
|
|
498
500
|
overflow: hidden;
|
|
501
|
+
box-shadow: none;
|
|
499
502
|
}
|
|
500
503
|
.humanMainView .humanMainHeader {
|
|
501
504
|
width: 100%;
|
|
@@ -5376,18 +5376,18 @@
|
|
|
5376
5376
|
restriction: "#humanViewOuter",
|
|
5377
5377
|
endOnly: true
|
|
5378
5378
|
/*restriction: () => {
|
|
5379
|
-
|
|
5380
|
-
|
|
5381
|
-
|
|
5382
|
-
|
|
5383
|
-
|
|
5384
|
-
|
|
5385
|
-
|
|
5386
|
-
|
|
5387
|
-
|
|
5388
|
-
|
|
5389
|
-
|
|
5390
|
-
|
|
5379
|
+
const scrollTop = window.pageYOffset || document.documentElement.scrollTop;
|
|
5380
|
+
const scrollLeft = window.pageXOffset || document.documentElement.scrollLeft;
|
|
5381
|
+
|
|
5382
|
+
return {
|
|
5383
|
+
left: scrollLeft,
|
|
5384
|
+
top: scrollTop,
|
|
5385
|
+
right: scrollLeft + window.innerWidth,
|
|
5386
|
+
bottom: scrollTop + window.innerHeight
|
|
5387
|
+
};
|
|
5388
|
+
},
|
|
5389
|
+
elementRect: { left: 0, right: 1, top: 0, bottom: 1 },
|
|
5390
|
+
endOnly: false*/
|
|
5391
5391
|
})
|
|
5392
5392
|
],
|
|
5393
5393
|
autoScroll: true,
|
package/package.json
CHANGED
package/src/demo/App.vue
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="app">
|
|
3
|
-
<BokaHuman :token="'
|
|
3
|
+
<BokaHuman :token="'bearer 53b2251627e82b29b521d78c5ac9a9ea'" :product="'manageCenterPlus'" :cust-type="'manageCenterPlus'" :sub-cust-type="'standard'" source="pc" :full-screen="0"/>
|
|
4
4
|
<div style="height: 200vh; width: 100vw; background: #fff;"></div>
|
|
5
5
|
</div>
|
|
6
6
|
</template>
|
|
@@ -14,7 +14,7 @@ export default {
|
|
|
14
14
|
BokaHuman:BokaHumanRaw
|
|
15
15
|
},
|
|
16
16
|
mounted() {
|
|
17
|
-
|
|
17
|
+
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
</script>
|