diff --git a/riis-web/src/assets/login/bt.png b/riis-web/src/assets/login/bt.png index d4c6a98..1beb4dd 100644 Binary files a/riis-web/src/assets/login/bt.png and b/riis-web/src/assets/login/bt.png differ diff --git a/riis-web/src/assets/monitorsystem/top_gj1.png b/riis-web/src/assets/monitorsystem/top_gj1.png index 7e6a91f..10fc184 100644 Binary files a/riis-web/src/assets/monitorsystem/top_gj1.png and b/riis-web/src/assets/monitorsystem/top_gj1.png differ diff --git a/riis-web/src/components/jessibuca/index1.vue b/riis-web/src/components/jessibuca/index1.vue index 7221c45..2df4a71 100644 --- a/riis-web/src/components/jessibuca/index1.vue +++ b/riis-web/src/components/jessibuca/index1.vue @@ -540,9 +540,39 @@ export default { eventcallbacK: function (type, message) { }, fullscreenSwich: function () { - let isFull = this.isFullscreen() - jessibucaPlayer[this._uid].setFullscreen(!isFull) - this.fullscreen = !isFull; + const userStore = useUserStore() + if (this.devicechannelInfo) { + if(this.zhu){ + let isFull = this.isFullscreen() + jessibucaPlayer[this._uid].setFullscreen(!isFull) + this.fullscreen = !isFull; + return + } + if (this.fullscreen) { + axios.get(userStore.webApiMonitorUrl + '/api/play/stop/' + this.devicechannelInfo.deviceId + '/' + this.devicechannelInfo.channelId, {}).then((res) => { }) + axios.get(userStore.webApiMonitorUrl + '/api/play/start/' + this.devicechannelInfo.deviceId + '/' + this.devicechannelInfo.channelId + '_sub', {}).then((res) => { + this.play(res.data.data.ws_flv) + let isFull = this.isFullscreen() + jessibucaPlayer[this._uid].setFullscreen(!isFull) + this.fullscreen = !isFull; + }) + } else { + axios.get(userStore.webApiMonitorUrl + '/api/play/stop/' + this.devicechannelInfo.deviceId + '/' + this.devicechannelInfo.channelId + '_sub', {}).then((res) => { }) + axios.get(userStore.webApiMonitorUrl + '/api/play/start/' + this.devicechannelInfo.deviceId + '/' + this.devicechannelInfo.channelId, {}).then((res) => { + this.play(res.data.data.ws_flv) + let isFull = this.isFullscreen() + jessibucaPlayer[this._uid].setFullscreen(!isFull) + this.fullscreen = !isFull; + + }) + } + } else { + let isFull = this.isFullscreen() + jessibucaPlayer[this._uid].setFullscreen(!isFull) + this.fullscreen = !isFull; + } + + // if(this.fullscreen }, isFullscreen: function () { return document.fullscreenElement || diff --git a/riis-web/src/components/wavEcharts/index.vue b/riis-web/src/components/wavEcharts/index.vue index 0142fd6..4dd1bc9 100644 --- a/riis-web/src/components/wavEcharts/index.vue +++ b/riis-web/src/components/wavEcharts/index.vue @@ -480,7 +480,26 @@ audio::-webkit-media-controls-current-time-display, audio::-webkit-media-controls-time-remaining-display { color: #fff; } +/* 轨道 */ +audio::-webkit-media-controls-timeline::before { + content: ''; + display: block; + height: 6px; + background-color: #ff0000; /* 已播放部分颜色 */ +} +/* 滑块 */ +audio::-webkit-media-controls-timeline::after { + content: ''; + display: block; + width: 12px; + height: 12px; + background-color: #ff0000; + border-radius: 50%; + position: relative; + top: -6px; + left: 0; +} /* Firefox兼容样式 */ @-moz-document url-prefix() { audio { diff --git a/riis-web/src/layout/components/Navbar.vue b/riis-web/src/layout/components/Navbar.vue index 5eca799..8da862e 100644 --- a/riis-web/src/layout/components/Navbar.vue +++ b/riis-web/src/layout/components/Navbar.vue @@ -9,13 +9,22 @@ :class="{ 'nav-active': activeIndex == index }" @click.stop="navClick(item, index)">