|
@@ -39,6 +39,7 @@
|
|
|
const DropRef = ref(null);
|
|
|
const DropContainerRef = ref(null);
|
|
|
const zhuapai = ref(0); // 单位分
|
|
|
+ const operId = ref(null); // 单位分
|
|
|
const disX = ref(0); // 移动x
|
|
|
const disY = ref(0); // 移动y
|
|
|
const showVideo = ref(true);
|
|
@@ -108,6 +109,7 @@
|
|
|
|
|
|
function init(options) {
|
|
|
zhuapai.value = options.zhuapai;
|
|
|
+ operId.value = options.operId;
|
|
|
if (zhuapai.value > 0) {
|
|
|
// 启动摄像头
|
|
|
nextTick(() => {
|
|
@@ -132,7 +134,8 @@
|
|
|
elCanvasId: '#canvasZhuaPai',
|
|
|
onVideoSuccess,
|
|
|
onVideoError,
|
|
|
- zhuapaiHttp: ksApi.getClientZhuaPaiUpdate
|
|
|
+ zhuapaiHttp: ksApi.getClientZhuaPaiUpdate,
|
|
|
+ operId: operId.value
|
|
|
})
|
|
|
startH5Camera();
|
|
|
zhuapaiFun = handlePaiZhao;
|
|
@@ -192,8 +195,12 @@
|
|
|
position: absolute;
|
|
|
right: 0;
|
|
|
top: 30%;
|
|
|
+
|
|
|
|
|
|
- .uni-video-container{background-color: transparent;}
|
|
|
+ .uni-video-container{background-color: transparent; overflow: hidden;}
|
|
|
+ .phone-camera-box-zhuapai{
|
|
|
+ .hidden-video{transform: translateX(500rpx);}
|
|
|
+ }
|
|
|
|
|
|
.video-view-box {
|
|
|
height: 10vh;
|