Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 58ae5591
authored
Jun 20, 2025
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'SAAS+V4.54.0' of
http://192.168.3.233:8090/glsx/gl_tape
into SAAS+V4.54.0
2 parents
b1aa0783
53e8c574
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
components/HomeFrame/index.vue
pages/common/receptionDetail/components/Dialogue.vue
components/HomeFrame/index.vue
View file @
58ae559
...
@@ -286,6 +286,8 @@ export default {
...
@@ -286,6 +286,8 @@ export default {
// 提取公共的webview设置逻辑
// 提取公共的webview设置逻辑
const
setWebviewStyle
=
()
=>
{
const
setWebviewStyle
=
()
=>
{
//修改UA为PC端
plus
.
navigator
.
setUserAgent
(
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36 Edg/136.0.0.0'
)
setTimeout
(()
=>
{
setTimeout
(()
=>
{
const
currentWebview
=
this
.
$parent
.
$scope
.
$getAppWebview
();
const
currentWebview
=
this
.
$parent
.
$scope
.
$getAppWebview
();
const
wv
=
currentWebview
.
children
()[
1
];
const
wv
=
currentWebview
.
children
()[
1
];
...
...
pages/common/receptionDetail/components/Dialogue.vue
View file @
58ae559
...
@@ -226,6 +226,7 @@ export default {
...
@@ -226,6 +226,7 @@ export default {
}
}
this
.
barTop
=
barTop
this
.
barTop
=
barTop
this
.
containerHeight
=
containerHeight
this
.
containerHeight
=
containerHeight
let
axisList
=
[]
data
?.
sort
((
a
,
b
)
=>
a
.
offset
-
b
.
offset
).
forEach
(
e
=>
{
data
?.
sort
((
a
,
b
)
=>
a
.
offset
-
b
.
offset
).
forEach
(
e
=>
{
const
{
const
{
offset
:
mergedOffset
,
offset
:
mergedOffset
,
...
@@ -235,18 +236,19 @@ export default {
...
@@ -235,18 +236,19 @@ export default {
e
.
docTop
=
mergedOffset
/
totalDuration
*
containerHeight
e
.
docTop
=
mergedOffset
/
totalDuration
*
containerHeight
e
.
text_id
=
`text_
${
mergedOffset
}
`
e
.
text_id
=
`text_
${
mergedOffset
}
`
e
.
mergedOffset
=
mergedOffset
e
.
mergedOffset
=
mergedOffset
if
(
mergedOffset
!=
null
)
axisList
.
push
(
e
)
})
})
data
?
.
map
((
e
,
index
)
=>
{
axisList
.
map
((
e
,
index
)
=>
{
// 检查并调整 top 值,避免重叠
// 检查并调整 top 值,避免重叠
for
(
let
i
=
0
;
i
<
index
;
i
++
)
{
for
(
let
i
=
0
;
i
<
index
;
i
++
)
{
if
(
e
.
top
<
data
[
i
].
top
+
margin
&&
if
(
e
.
top
<
axisList
[
i
].
top
+
margin
&&
e
.
top
+
margin
>
data
[
i
].
top
)
{
e
.
top
+
margin
>
axisList
[
i
].
top
)
{
// 如果重叠,将当前元素的 top 设置为前一个元素的底部加上 margin
// 如果重叠,将当前元素的 top 设置为前一个元素的底部加上 margin
e
.
top
=
data
[
i
].
top
+
margin
;
e
.
top
=
axisList
[
i
].
top
+
margin
;
}
}
}
}
})
})
this
.
axisList
=
data
this
.
axisList
=
axisList
})
})
},
},
onTimeUpdate
()
{
onTimeUpdate
()
{
...
@@ -506,7 +508,7 @@ export default {
...
@@ -506,7 +508,7 @@ export default {
}
}
.up
{
.up
{
height
:
auto
;
height
:
auto
;
opacity
:
1
;
opacity
:
1
;
.arrow
{
.arrow
{
transform
:
rotate
(
180deg
);
transform
:
rotate
(
180deg
);
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment