|  | @@ -31,7 +31,11 @@
 | 
	
		
			
				|  |  |            </div>
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  |          <div v-show="connect" class="student-parent">
 | 
	
		
			
				|  |  | -          <div v-show="roomInfo.video_mode === 1 || remoteStreamType === 1" id="student"></div>
 | 
	
		
			
				|  |  | +          <div
 | 
	
		
			
				|  |  | +            v-show="roomInfo.video_mode === 1 || remoteStreamType === 1"
 | 
	
		
			
				|  |  | +            id="student"
 | 
	
		
			
				|  |  | +            ref="student"
 | 
	
		
			
				|  |  | +          ></div>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |            <template v-if="remoteStreamType !== 1">
 | 
	
		
			
				|  |  |              <template v-if="roomInfo.video_mode === 1">
 | 
	
	
		
			
				|  | @@ -55,10 +59,14 @@
 | 
	
		
			
				|  |  |              </template>
 | 
	
		
			
				|  |  |            </template>
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  | -        <div v-show="isDraw" id="draw-parent"></div>
 | 
	
		
			
				|  |  | +        <div v-show="isDraw" id="draw-parent" ref="draw"></div>
 | 
	
		
			
				|  |  |          <div class="button-group">
 | 
	
		
			
				|  |  |            <div class="button-group-left"></div>
 | 
	
		
			
				|  |  | -          <div class="button-group-right"></div>
 | 
	
		
			
				|  |  | +          <div class="button-group-right">
 | 
	
		
			
				|  |  | +            <span v-show="isDraw || remoteStreamType === 1" class="icon-button" @click="fullScreen">
 | 
	
		
			
				|  |  | +              <svg-icon icon-class="full-screen" />
 | 
	
		
			
				|  |  | +            </span>
 | 
	
		
			
				|  |  | +          </div>
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  |          <div class="live-container-left-chat">
 | 
	
		
			
				|  |  |            <div class="chat-top">
 | 
	
	
		
			
				|  | @@ -442,6 +450,28 @@ export default {
 | 
	
		
			
				|  |  |        }, 5000);
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +    // 全屏
 | 
	
		
			
				|  |  | +    fullScreen() {
 | 
	
		
			
				|  |  | +      if (this.isDraw) {
 | 
	
		
			
				|  |  | +        this.toFull(this.$refs.draw.querySelector('#draw'));
 | 
	
		
			
				|  |  | +      }
 | 
	
		
			
				|  |  | +      if (this.connect && this.remoteStreamType === 1) {
 | 
	
		
			
				|  |  | +        this.toFull(this.$refs.student.querySelector('video'));
 | 
	
		
			
				|  |  | +      }
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    // 全屏方法兼容
 | 
	
		
			
				|  |  | +    toFull(dom) {
 | 
	
		
			
				|  |  | +      if (dom.requestFullscreen) {
 | 
	
		
			
				|  |  | +        return dom.requestFullscreen();
 | 
	
		
			
				|  |  | +      } else if (dom.webkitRequestFullScreen) {
 | 
	
		
			
				|  |  | +        return dom.webkitRequestFullScreen();
 | 
	
		
			
				|  |  | +      } else if (dom.mozRequestFullScreen) {
 | 
	
		
			
				|  |  | +        return dom.mozRequestFullScreen();
 | 
	
		
			
				|  |  | +      }
 | 
	
		
			
				|  |  | +      return dom.msRequestFullscreen();
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |      // 弹出框方法
 | 
	
		
			
				|  |  |      dialogMaterialClose() {
 | 
	
		
			
				|  |  |        this.dialogVisibleMaterial = false;
 | 
	
	
		
			
				|  | @@ -705,8 +735,9 @@ $live-bc: #3d3938;
 | 
	
		
			
				|  |  |            font-size: 20px;
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -        &-left {
 | 
	
		
			
				|  |  | -          > span {
 | 
	
		
			
				|  |  | +        &-left,
 | 
	
		
			
				|  |  | +        &-right {
 | 
	
		
			
				|  |  | +          > .icon-button {
 | 
	
		
			
				|  |  |              display: inline-block;
 | 
	
		
			
				|  |  |              height: 100%;
 | 
	
		
			
				|  |  |              padding: 14px 16px;
 |