Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web-project
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
海康威视
web-project
Commits
c925f834
Commit
c925f834
authored
Dec 21, 2024
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
大屏调整
parent
e58999f0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
32 deletions
+32
-32
screenDisplay.vue
src/components/screenDisplay.vue
+30
-30
vite.config.js
vite.config.js
+2
-2
No files found.
src/components/screenDisplay.vue
View file @
c925f834
...
...
@@ -19,7 +19,7 @@ import AMapLoader from "@amap/amap-jsapi-loader";
</div>
<div
v-show=
"mapLevel === 1"
>
<div
class=
"leftLayer"
id=
"leftLayer"
>
<div
class=
"blockStyle"
style=
"height: 1
6
%"
>
<div
class=
"blockStyle"
style=
"height: 1
8
%"
>
<div
class=
"titleStyle"
><p>
室外温度
</p></div>
<div
class=
"leftLayer1"
id=
"leftLayer1"
></div>
</div>
...
...
@@ -481,28 +481,28 @@ import AMapLoader from "@amap/amap-jsapi-loader";
<div
v-show=
"waveformLoading===true"
class=
"loading-overlay25"
>
<div
class=
"loader"
></div>
</div>
<div
class=
"wave_content"
v-show=
"waveformLoading === false && this.audioList.length > 0"
>
<div>
<div
class=
"audio_title"
>
{{
audioTitle
}}
</div>
<div
ref=
"waveform"
style=
"width: 400px; height: 140px;"
></div>
<!-- 时间轴容器 -->
<div
ref=
"timeline"
style=
"width: 400px; height: 25px;"
></div>
</div>
<div
class=
"details-item"
>
<audio
ref=
"audioPlayer"
@
play=
"handlePlay"
controls
></audio>
<div
class=
"audio_btnRow"
>
<div
class=
"audio_btn"
:title=
"'播放区域'"
@
click=
"playAudioRegion"
>
<el-icon><VideoPlay
/></el-icon>
</div>
<div
class=
"audio_btn"
:title=
"'暂停播放区域'"
@
click=
"stopPlayAudioRegion"
>
<el-icon><VideoPause
/></el-icon>
</div>
<div
class=
"audio_btn"
:title=
"'最大化'"
@
click=
"handleDetails"
>
<el-icon><Search
/></el-icon>
</div>
<div
class=
"wave_content"
v-show=
"waveformLoading === false && this.audioList.length > 0"
>
<div>
<div
class=
"audio_title"
>
{{
audioTitle
}}
</div>
<div
ref=
"waveform"
style=
"width: 400px; height: 140px;"
></div>
<!-- 时间轴容器 -->
<div
ref=
"timeline"
style=
"width: 400px; height: 25px;"
></div>
</div>
<div
class=
"details-item"
>
<audio
ref=
"audioPlayer"
@
play=
"handlePlay"
controls
></audio>
<div
class=
"audio_btnRow"
>
<div
class=
"audio_btn"
:title=
"'播放区域'"
@
click=
"playAudioRegion"
>
<el-icon><VideoPlay
/></el-icon>
</div>
<div
class=
"audio_btn"
:title=
"'暂停播放区域'"
@
click=
"stopPlayAudioRegion"
>
<el-icon><VideoPause
/></el-icon>
</div>
<div
class=
"audio_btn"
:title=
"'最大化'"
@
click=
"handleDetails"
>
<el-icon><Search
/></el-icon>
</div>
</div>
</div>
</div>
<div
v-if=
" waveformLoading === false &&(!this.audioList || this.audioList.length
<
1
)"
class=
"noVideoData2"
>
暂无循环泵听诊信息......
</div>
</div>
</div>
...
...
@@ -3365,7 +3365,7 @@ export default defineComponent({
regions
:
[
{
start
:
5
,
end
:
2
5
,
end
:
1
5
,
loop
:
false
,
color
:
'hsla(200, 50%, 70%, 0.4)'
,
minLength
:
1
,
...
...
@@ -3990,8 +3990,8 @@ export default defineComponent({
grid
:
{
left
:
30
,
right
:
20
,
top
:
1
5
,
bottom
:
35
,
top
:
2
5
,
bottom
:
50
,
},
series
:
[
{
...
...
@@ -4359,15 +4359,15 @@ export default defineComponent({
display
:
flex
;
align-items
:
center
;
font-size
:
16px
;
.audio_btnRow
{
display
:
flex
;
padding-top
:
3px
;
.audio_btn
{
cursor
:
pointer
;
margin-left
:
3px
;
.audio_btnRow
{
display
:
flex
;
padding-top
:
3px
;
.audio_btn
{
cursor
:
pointer
;
margin-left
:
3px
;
}
}
}
}
.eventTime_class
{
position
:
absolute
;
padding
:
10px
;
...
...
vite.config.js
View file @
c925f834
...
...
@@ -32,8 +32,8 @@ export default defineConfig({
changeOrigin
:
true
,
// 允许跨域
},
'/AIapi'
:
{
// target: 'http://1
92.168.1.252:8001
/',
target
:
'http://192.168.0.
17
:8099/'
,
// 目标服务器地址
// target: 'http://1
06.3.97.198:20050
/',
target
:
'http://192.168.0.
9
:8099/'
,
// 目标服务器地址
//target: 'http://localhost:5013/', // 目标服务器地址
changeOrigin
:
true
,
// 允许跨域
rewrite
:
(
path
)
=>
path
.
replace
(
/^
\/
AIapi/
,
''
),
//路径重写,把'/ddapi'替换为''
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment