ucservice 1.6.1 → 1.6.2

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ucservice",
3
3
  "private": false,
4
- "version": "1.6.1",
4
+ "version": "1.6.2",
5
5
  "description": "统一通信服务",
6
6
  "main": "dist/ucservice.common.js",
7
7
  "style": "ucservice.css",
@@ -1663,7 +1663,10 @@
1663
1663
 
1664
1664
  //设置旋转了的视频样式
1665
1665
  if(document.querySelector(me.selector)){
1666
- let videoLi = document.querySelector(me.selector).querySelectorAll('li')
1666
+ let videoLi = {}
1667
+ Array.prototype.slice.call(document.getElementById('videoRef').querySelectorAll('li'), 0).forEach(liItem => {
1668
+ videoLi[$(liItem).attr('index')] = liItem
1669
+ })
1667
1670
  me.VIDEO_DATA.forEach((item, index) => {
1668
1671
  let tel = item.video
1669
1672
  if (!tel&&item.id) {
@@ -2118,6 +2121,7 @@
2118
2121
  })
2119
2122
 
2120
2123
  $(me.selector + ' li').bind("drop", function (ev) {
2124
+ console.log(ev)
2121
2125
  ev.preventDefault();
2122
2126
  if(src.prop("outerHTML") === $(this).prop("outerHTML")){
2123
2127
  return;
@@ -2133,6 +2137,7 @@
2133
2137
  src.insertAfter(target);
2134
2138
  target.insertBefore($(me.selector +' .video-main li.screen').eq(srcIndex));
2135
2139
  }
2140
+ let videoData = me.VIDEO_DATA;
2136
2141
  })
2137
2142
  },
2138
2143