Commit 0ae8d46b by 李乾广

修改bug

1 parent 5bc31f1b
...@@ -82,7 +82,7 @@ export function getMirrorRotate() { ...@@ -82,7 +82,7 @@ export function getMirrorRotate() {
export function getPlaybackConfig() { export function getPlaybackConfig() {
return { return {
controlType: 'simple', controlType: 'simple',
showRateBtn: true, showRateBtn: false,
rateConfig: [ rateConfig: [
{ label: '0.5x', value: 0.5 }, { label: '0.5x', value: 0.5 },
{ label: '1x', value: 1 }, { label: '1x', value: 1 },
......
...@@ -328,6 +328,10 @@ export default { ...@@ -328,6 +328,10 @@ export default {
::v-deep(.jessibuca-zoom-controls) { ::v-deep(.jessibuca-zoom-controls) {
// display: none !important; // display: none !important;
} }
::v-deep(.jessibuca-playback-control-time) {
display: none !important;
}
// 云台控制 // 云台控制
&[data-player-type="playback"] { &[data-player-type="playback"] {
::v-deep(.jessibuca-ptz) { ::v-deep(.jessibuca-ptz) {
......
...@@ -30,16 +30,17 @@ ...@@ -30,16 +30,17 @@
</div> </div>
</div> </div>
<!-- 操作按钮 --> <!-- 操作按钮 -->
<div class="operating-box"> <div class="operating-box" v-if="!onlyPlayback">
<!-- <i class="operating-jessibuca-icon jessibuca-icon-screenshot" @click="screenshotClick"></i> --> <!-- <i class="operating-jessibuca-icon jessibuca-icon-screenshot" @click="screenshotClick"></i> -->
<span v-if="!onlyPlayback" class="screenshot-box" @click="screenshotClick"><van-icon class="iconMargin" name="photograph"/><span style="margin-right: 5px;margin-left: 2px;">巡检</span></span> <span class="screenshot-box" @click="screenshotClick"><van-icon class="iconMargin" name="photograph"/><span style="margin-right: 5px;margin-left: 2px;">巡检</span></span>
<i v-if="isNoBack&&ptzEnable==='1'&&ptzControlShow&&!onlyPlayback" class="operating-jessibuca-icon jessibuca-icon-ptzActive" @click="ptzControlChange"></i> <i v-if="isNoBack&&ptzEnable==='1'&&ptzControlShow" class="operating-jessibuca-icon jessibuca-icon-ptzActive" @click="ptzControlChange"></i>
<i v-if="isNoBack&&ptzEnable==='1'&&!ptzControlShow&&!onlyPlayback" class="operating-jessibuca-icon jessibuca-icon-ptz" @click="ptzControlChange"></i> <i v-if="isNoBack&&ptzEnable==='1'&&!ptzControlShow" class="operating-jessibuca-icon jessibuca-icon-ptz" @click="ptzControlChange"></i>
<!-- <van-button v-if="isNoBack&&ptzEnable==='1'" type="info" size="mini" @click="ptzControlChange">{{ptzControlShow?'隐藏云台':'打开云台'}}</van-button> --> <!-- <van-button v-if="isNoBack&&ptzEnable==='1'" type="info" size="mini" @click="ptzControlChange">{{ptzControlShow?'隐藏云台':'打开云台'}}</van-button> -->
<van-button v-if="!isNoBack" type="info" size="mini" @click="backRealTime">实时</van-button> <van-button v-if="!isNoBack" type="info" size="mini" @click="backRealTime">实时</van-button>
<!-- <div v-if="isNoBack" class="operating-btn" @click="ptzControlChange">{{ptzControlShow?'隐藏云台':'打开云台'}}</div> --> <!-- <div v-if="isNoBack" class="operating-btn" @click="ptzControlChange">{{ptzControlShow?'隐藏云台':'打开云台'}}</div> -->
<!-- <div v-else class="operating-btn" @click="backRealTime">返回实时</div> --> <!-- <div v-else class="operating-btn" @click="backRealTime">返回实时</div> -->
</div> </div>
<div v-else></div>
</div> </div>
<!-- 云台控制模块 --> <!-- 云台控制模块 -->
<div class="ptz-control-box" v-if="ptzControlShow"> <div class="ptz-control-box" v-if="ptzControlShow">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!