main
zhangqun 2 years ago
parent eabb939ad2
commit a7ecd2c109
  1. 18
      src/page/index/index.vue

@ -57,6 +57,12 @@
<!-- </el-row> -->
</div>
</el-dialog>
<!-- 诊间报警悬浮框 -->
<el-dialog title="诊间报警" width="80%" :visible.sync="dialogWarnVisible" v-if="dialogWarnVisible" :append-to-body="true" :close-on-click-modal="false"
:close-on-press-escape="false">
<iframe width="100%" height="800px" src="http://localhost:9000/vocalldemo/index.html" frameborder="0"></iframe>
</el-dialog>
<div @click="dialogWarnVisible = true" class="warn_box"></div>
</div>
</template>
@ -104,7 +110,8 @@
alarmInfo:'',
isShowAlarm:false,
timer:null,
isLoop:false
isLoop:false,
dialogWarnVisible: false
};
},
beforeCreate(){
@ -425,6 +432,15 @@
}
}
}
.warn_box{
position: fixed;
right: 20px;
bottom:100px;
display: inline-block;
width:100px;
height:100px;
background: red;
}
</style>
<style lang="scss">
.video_diao{

Loading…
Cancel
Save