西海岸问题修复

This commit is contained in:
wuhongjian 2022-11-24 09:52:26 +08:00
parent 75da46da8c
commit d244f48a60
3 changed files with 31 additions and 13 deletions

View File

@ -618,12 +618,17 @@
wrapClassName="camera-popup" wrapClassName="camera-popup"
v-model:visible="operationPopupFlag" v-model:visible="operationPopupFlag"
:width="1000" :width="1000"
:title="'视频监控点选择'"
destroyOnClose destroyOnClose
footer="{null}" footer="{null}"
@cancel="handleCancel" @cancel="handleCancel"
> >
<div style="width: 100%; display: flex; justify-content: center"> <template #title>
<span>视频预览</span>
<span style="color: #ff4d4f; margin-left: 10px">
{{ `(请申请后观看视频)` }}
</span>
</template>
<div style="width: 100%; display: flex; justify-content: center">
<div <div
style="width: 100%; height: 100%; position: relative" style="width: 100%; height: 100%; position: relative"
v-show="isXiHaiAn" v-show="isXiHaiAn"
@ -642,11 +647,13 @@
<div class="waterMark waterMark-right-bottom"> <div class="waterMark waterMark-right-bottom">
{{ userInfo.realNameShow }} {{ userInfo.realNameShow }}
</div> </div>
<!--地图上点击之后弹出的操作弹窗--> <!--地图上点击之后弹出的操作弹窗-->
<camera-popup-on-map :camera-Data-List="cameraDataList" :reset-flag="resetFlag"></camera-popup-on-map> <camera-popup-on-map
:camera-Data-List="cameraDataList"
:reset-flag="resetFlag"
></camera-popup-on-map>
</div> </div>
</div> </div>
</a-modal> </a-modal>
</div> </div>
</div> </div>
@ -2267,14 +2274,14 @@
} }
// //
const operationPopupFlag = ref(false)// const operationPopupFlag = ref(false) //
// //
const resetFlag = ref(false) const resetFlag = ref(false)
// //
const handleCancel = () => { const handleCancel = () => {
//console.log(''); //console.log('');
resetFlag.value = true resetFlag.value = true
} }
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
@ -2741,7 +2748,7 @@
cursor: pointer; cursor: pointer;
} }
.video-cover-new { .video-cover-new {
width: 798px; width: 798px;
height: 600px; height: 600px;
position: absolute; position: absolute;

View File

@ -24,11 +24,15 @@
</div> </div>
</a-carousel> </a-carousel>
<div class="operation-content" style="position:ab"> <div class="operation-content" style="position:ab">
<div class="text-label">
<span>{{defaultIndex+1}}</span>/<span>{{cameraDataList.length}}</span>
</div>
<div class="video-content"> <div class="video-content">
<h5-player :video-url="videoUrl" :stop-flag="selectedFlag"></h5-player> <h5-player :video-url="videoUrl" :stop-flag="selectedFlag"></h5-player>
</div> </div>
<div class="text-label"> <div class="text-label des-label">
<span>{{defaultIndex+1}}</span>/<span>{{cameraDataList.length}}</span> <span>通道名称: {{cameraDataList[defaultIndex].channelName}}</span>
<span>通道编码: {{cameraDataList[defaultIndex].channelId}}</span>
</div> </div>
<div class="footer-button" v-if="showFlag"> <div class="footer-button" v-if="showFlag">
<a-button type="primary" @click="applyNow(cameraDataList[defaultIndex])">立即申请</a-button> <a-button type="primary" @click="applyNow(cameraDataList[defaultIndex])">立即申请</a-button>
@ -306,9 +310,16 @@
.text-label{ .text-label{
width:800px; width:800px;
height:30px; height:30px;
margin-top:10px; margin-top:-20px;
text-align:center; text-align:center;
font-size: 18px; font-size: 18px;
// color: #1eacd6;
}
.des-label {
color: #000;
margin-top:10px;
display: flex;
justify-content: space-around;
} }
.video-content{ .video-content{
width: 750px; width: 750px;

View File

@ -557,8 +557,8 @@ import { ElMessage } from 'element-plus'
let params = { let params = {
regionId: "70be8c5b664f4bcf869d82f2e8335051", regionId: "70be8c5b664f4bcf869d82f2e8335051",
pageNum: "1", pageNum: "1",
pageSize: 40000, pageSize: 1000,
type: 0, // type: 1,
borderPolygonList: [] borderPolygonList: []
} }
getCameraByCondition(params).then((res) => { getCameraByCondition(params).then((res) => {