|
@@ -70,20 +70,24 @@
|
|
|
<a-affix :offset-top="8">
|
|
|
<div id="player"></div>
|
|
|
</a-affix>
|
|
|
- <a-form-item>
|
|
|
- <a-button @click="wholeFullScreen" v-show="!isMoveDevice">整体全屏</a-button>
|
|
|
- </a-form-item>
|
|
|
+ <!-- <a-form-item>-->
|
|
|
+ <!-- <a-button @click="wholeFullScreen" v-show="!isMoveDevice">整体全屏</a-button>-->
|
|
|
+ <!-- </a-form-item>-->
|
|
|
</a-col>
|
|
|
<a-col :span="24" :md="12">
|
|
|
<div class="actions">
|
|
|
<a-form :label-col="labelCol" :wrapper-col="wrapperCol" v-show="tabActive !== 'log'">
|
|
|
<a-form-item>
|
|
|
- <a-button id="btn-realplay" @click="realplay">开始预览</a-button>
|
|
|
- <a-button id="btn-realplay-stop" @click="stopPlay">停止预览</a-button>
|
|
|
+ <a-row>
|
|
|
+ <a-col :span="8">
|
|
|
+ <a-button id="btn-realplay" @click="realplay">开始预览</a-button>
|
|
|
+ <a-button id="btn-realplay-stop" @click="stopPlay">停止预览</a-button>
|
|
|
+ </a-col>
|
|
|
+ </a-row>
|
|
|
</a-form-item>
|
|
|
<a-form-item>
|
|
|
<a-row>
|
|
|
- <a-col :span="4">
|
|
|
+ <a-col :span="8">
|
|
|
<a-button id="btn-sound-open" @click="openSound">开启声音</a-button>
|
|
|
<a-button id="btn-sound-close" @click="closeSound">关闭声音</a-button>
|
|
|
</a-col>
|
|
@@ -120,6 +124,7 @@
|
|
|
const MSE_IS_SUPPORT = !!window.MediaSource // 是否支持mse
|
|
|
getCameraPreviewURL()
|
|
|
var prefix = ctx;
|
|
|
+
|
|
|
function getCameraPreviewURL() {
|
|
|
// alert(prefix+"ctx")
|
|
|
$.ajax({
|
|
@@ -135,7 +140,8 @@
|
|
|
}
|
|
|
})
|
|
|
}
|
|
|
- function initPage(initUrl){
|
|
|
+
|
|
|
+ function initPage(initUrl) {
|
|
|
const app = new Vue({
|
|
|
el: '#app',
|
|
|
data() {
|