Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
techbook
Project
Project
Details
Activity
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
front-end-dev
techbook
Commits
6636c3d8
Commit
6636c3d8
authored
Jul 07, 2020
by
zhangyanni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
32e7c21f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
7 deletions
+11
-7
live.html
public/live.html
+8
-3
live.vue
src/views/mobile/live.vue
+3
-4
No files found.
public/live.html
View file @
6636c3d8
...
...
@@ -5,5 +5,10 @@
</head>
<body
style=
"height:100%;margin: 0;"
>
<!--<iframe border="0" src="https://live.vhall.com/528253505" style="width: 100%;height: calc(100vh - 3rem);"></iframe>-->
<iframe
allow=
"camera *;microphone *;"
name=
"vcallIframe"
id=
"vcallIframe"
allowfullscreen=
"true"
border=
"0"
src=
"https://live4.vhall.com/webinar/inituser/528253505"
style=
"width: 100%;height: calc(100vh - 3rem);"
></iframe>
</body>
\ No newline at end of file
<iframe
allow=
"camera *;microphone *;"
name=
"vcallIframe"
id=
"vcallIframe"
allowfullscreen=
"true"
style=
"width: 100%;height: calc(100vh - 3rem);border: medium none;"
></iframe>
</body>
<script>
if
(
document
.
location
.
href
.
indexOf
(
"?"
)
!=-
1
){
document
.
getElementsByTagName
(
"iframe"
)[
0
].
src
=
"https://live4.vhall.com/webinar/inituser/"
+
document
.
location
.
href
.
split
(
"?"
)[
1
].
split
(
"="
)[
1
];
//get iframe下的id
}
</script>
\ No newline at end of file
src/views/mobile/live.vue
View file @
6636c3d8
<
template
>
<div>
<iframe
name =
"child"
id =
"child"
src=
"live.html"
frameborder=
"0"
scrolling=
"no"
style=
"position:related;top: 2.8px;left: 0px;width: 100%;height: 100vh;"
></iframe>
<iframe
name =
"child"
id =
"child"
src=
"live.html"
frameborder=
"0"
scrolling=
"no"
style=
"position:related;top: 2.8px;left: 0px;width: 100%;height: 100vh;
border: medium none;
"
></iframe>
</div>
</
template
>
...
...
@@ -11,12 +11,12 @@
_iframe
.
style
.
width
=
"100%"
;
//修改样式
_iframe
.
style
.
height
=
"calc(100vh - 3rem)"
;
//修改样式
_iftameBody
.
style
.
margin
=
0
;
_iframe
.
src
=
"live.html?id=528253505"
};
export
default
{
name
:
"live"
,
}
}
;
</
script
>
<
style
scoped
>
</
style
>
\ No newline at end of file
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