Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
Athena
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
华国豪
Athena
Commits
6ed27f32
Commit
6ed27f32
authored
Aug 05, 2019
by
黄媛媛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
a82945db
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
17 deletions
+15
-17
Fire.vue
src/components/taskPage/Fire.vue
+15
-17
No files found.
src/components/taskPage/Fire.vue
View file @
6ed27f32
...
...
@@ -76,7 +76,7 @@
.videoBox
{
position
:
absolute
;
width
:
100%
;
height
:
290px
;
/* height:290px; */
top
:
0
;
margin
:
auto
;
z-index
:
200
;
...
...
@@ -85,9 +85,9 @@
.iphoneVideo
{
background
:
url('../../assets/img/juan/sp.png')
no-repeat
;
background-size
:
100%
100%
;
padding
:
15px
29px
41px
28px
;
padding
:
3%
5%
6%
5%
;
margin
:
0
auto
;
width
:
490px
;
/* width:490px; */
}
.TwoCode
{
width
:
100%
;
...
...
@@ -113,8 +113,8 @@
<div
class=
"FM_div"
ref=
"div3"
:style=
"
{height: height3}">
<img
class=
"img"
src=
"../../assets/img/juan/fire1.jpg"
alt=
""
/>
<img
class=
"img"
src=
"../../assets/img/juan/fire2.jpg"
alt=
""
/>
<div
class=
"videoBox"
:style=
"
{
zoom: zoom,top:topDiv
}">
<div
class=
"iphoneVideo"
>
<div
class=
"videoBox"
:style=
"
{
top:topDiv,height:phoneHeight
}">
<div
class=
"iphoneVideo"
:style=
"
{width:phoneWidth}"
>
<video
style=
"width:100%;height:100%;border:none"
loop=
"loop"
controls=
"controls"
autoplay=
"autoplay"
>
<source
src=
"../../assets/media/fire.mp4"
type=
"video/mp4"
>
<source
src=
"../../assets/media/fire.mp4"
type=
"video/ogg"
>
...
...
@@ -179,6 +179,9 @@ export default {
isPhone
:
false
,
timer
:
''
,
topDiv
:
''
,
zoomph
:
0
,
phoneWidth
:
0
,
phoneHeight
:
0
,
};
},
mounted
()
{
...
...
@@ -189,15 +192,7 @@ export default {
this
.
AutoExchange2
();
})
// var ua = navigator.userAgent.toLowerCase();//获取判断用的对象
// if (ua.match(/MicroMessenger/i) == "micromessenger") {
// //在微信中打开
// this.isPhone=true;
// this.AutoExchange3();
// } else {
// //否则就是PC浏览器打开
// this.isPhone=false;
// }
let
userAgentInfo
=
navigator
.
userAgent
;
let
Agents
=
[
"Android"
,
"iPhone"
,
"SymbianOS"
,
"Windows Phone"
,
...
...
@@ -232,10 +227,13 @@ export default {
this
.
height2
=
(
4427
/
1920
)
*
oWidth
+
'px'
;
this
.
loadTiaoshui
();
let
oWidth2
=
window
.
screen
.
width
;
console
.
log
(
"let oWidth2"
,
oWidth2
)
this
.
height3
=
(
5451
/
750
)
*
oWidth2
+
'px'
;
this
.
topDiv
=
(
1850
/
750
)
*
oWidth2
+
'px'
;
console
.
log
(
"this.topDiv"
,
this
.
topDiv
)
this
.
topDiv
=
(
1350
/
750
)
*
oWidth2
+
'px'
;
// this.zoomph= Math.round((Height/1080) * 100) / 100;
this
.
phoneWidth
=
(
310
/
375
)
*
oWidth2
+
'px'
;
let
aa
=
(
310
/
375
)
*
oWidth2
;
this
.
phoneHeight
=
(
290
/
310
)
*
aa
+
'px'
;
},
methods
:
{
...
...
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