ucservice 1.4.7 → 1.5.0

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.
@@ -12455,7 +12455,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
12455
12455
  windowNums: num
12456
12456
  });
12457
12457
  me._opts.windows = num;
12458
- me._opts.extra = extra; //设置旋转了的视频样式
12458
+ me._opts.extra = extra;
12459
12459
  },
12460
12460
 
12461
12461
  /**
@@ -13459,12 +13459,26 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
13459
13459
  this.dispatch('screenchange', {
13460
13460
  windowNums: num,
13461
13461
  flag: me._opts.flag
13462
+ }); //设置旋转了的视频样式
13463
+
13464
+ let videoLi = document.getElementById('videoRef').querySelectorAll('li');
13465
+ me.VIDEO_DATA.forEach((item, index) => {
13466
+ let tel = item.video;
13467
+
13468
+ if (!tel && item.id) {
13469
+ videoLi[index].querySelector('video').style = '';
13470
+ videoLi[index].querySelector('.rotate-btn').setAttribute('rotate-index', 0);
13471
+ }
13462
13472
  }); //设置旋转视频的样式
13463
13473
 
13464
13474
  for (let k = 0; k < _li.length; k++) {
13465
13475
  let rotateIndex = _li.eq(k).find('button[name=rotateVideo]').attr('rotate-index');
13466
13476
 
13467
- if (rotateIndex != 0 && rotateIndex != 2) me.videoRotateSize(_li.eq(k)[0], rotateIndex);
13477
+ if (rotateIndex != 0 && rotateIndex != 2) {
13478
+ setTimeout(() => {
13479
+ me.videoRotateSize(_li.eq(k)[0], rotateIndex);
13480
+ }, 200);
13481
+ }
13468
13482
  }
13469
13483
  },
13470
13484
 
Binary file