xbx #167

Merged
theluyuan merged 2 commits from xbx into master 2020-11-27 08:09:50 +00:00
2 changed files with 18 additions and 6 deletions
Showing only changes of commit 925afb68b8 - Show all commits

View File

@ -155,9 +155,21 @@ function setBtnClickFuc() {
);
//logout
$('#logout-btn').on('click', () => {
// window.location.hash='edit'
// console.log(window.location.hash)
var x;
var r=confirm("您确认关闭吗?");
if (r==true){
leave();
$('#room-root').hide();
$('#login-root').show();
}
else{
x="你按下了\"取消\"按钮!";
}
// leave();
// $('#room-root').hide();
// $('#login-root').show();
});
//switch main video
$('#main-video').on('click', () => {

View File

@ -1,5 +1,5 @@
<template>
<iframe style="width:100%;height: 100%" :src="url" frameborder="0"></iframe>
<iframe id="iframe" style="width:100%;height: 100%" :src="url" frameborder="0"></iframe>
</template>
<style lang="scss" scoped>
@ -7,7 +7,7 @@
<script lang="ts">
import { getliveinfo } from '@/api';
import store from '@/store';
import { defineComponent, ref } from 'vue';
import { defineComponent, onMounted, ref, watch } from 'vue';
import { useRoute } from 'vue-router';