ucservice 1.7.1 → 1.7.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.7.1",
4
+ "version": "1.7.2",
5
5
  "description": "统一通信服务",
6
6
  "main": "dist/ucservice.common.js",
7
7
  "style": "ucservice.css",
@@ -2367,6 +2367,14 @@
2367
2367
  //jquery方式阻止默认事件 & 冒泡事件
2368
2368
  return false;
2369
2369
  })
2370
+ videoFlagObj.find('button[name=scaleVideo]').click(function(){
2371
+ let isgray = $(this).hasClass('bggray')
2372
+ if(isgray) $(this).parent().parent().find('.video-box').addClass('scale-scene')
2373
+ else $(this).parent().parent().find('.video-box').removeClass('scale-scene')
2374
+ $(this).toggleClass("bggray")
2375
+ //jquery方式阻止默认事件 & 冒泡事件
2376
+ return false;
2377
+ })
2370
2378
 
2371
2379
  //接收音频事件
2372
2380
  videoFlagObj.find("button[name='recvAudio']").click(function(){