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
6b096d6b
Commit
6b096d6b
authored
Aug 21, 2019
by
黄媛媛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改赏枫页面样式
parent
eb65cf34
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
45 additions
and
21 deletions
+45
-21
FoodImg.vue
src/components/taskPage/FoodImg.vue
+22
-10
FoodImg2.vue
src/components/taskPage/FoodImg2.vue
+23
-11
No files found.
src/components/taskPage/FoodImg.vue
View file @
6b096d6b
...
@@ -99,7 +99,7 @@ height: 100%;
...
@@ -99,7 +99,7 @@ height: 100%;
</el-col>
</el-col>
<el-col
:span=
"10"
style=
"text-align:right;font-size:12px;"
>
出团日期:8月
</el-col>
<el-col
:span=
"10"
style=
"text-align:right;font-size:12px;"
>
出团日期:8月
</el-col>
</el-row>
</el-row>
<div
style=
"text-align:center;width:100%;margin
:30px 0
"
>
<div
style=
"text-align:center;width:100%;margin
=-top:30px
"
>
<img
style=
"width:150px;height:150px;position:relative;"
src=
"../../assets/img/juan/twoCode.png"
alt=
""
/>
<img
style=
"width:150px;height:150px;position:relative;"
src=
"../../assets/img/juan/twoCode.png"
alt=
""
/>
</div>
</div>
</div>
</div>
...
@@ -181,14 +181,26 @@ export default {
...
@@ -181,14 +181,26 @@ export default {
// this.getFirstImg();
// this.getFirstImg();
this
.
AutoExchange
();
this
.
AutoExchange
();
})
})
var
ua
=
navigator
.
userAgent
.
toLowerCase
();
//获取判断用的对象
// var ua = navigator.userAgent.toLowerCase();//获取判断用的对象
if
(
ua
.
match
(
/MicroMessenger/i
)
==
"micromessenger"
)
{
// if (ua.match(/MicroMessenger/i) == "micromessenger") {
//在微信中打开
// //在微信中打开
this
.
isPhone
=
true
;
// this.isPhone=true;
this
.
AutoExchange3
();
// this.AutoExchange3();
}
else
{
// } else {
//否则就是PC浏览器打开
// //否则就是PC浏览器打开
this
.
isPhone
=
false
;
// this.isPhone=false;
// }
let
userAgentInfo
=
navigator
.
userAgent
;
let
Agents
=
[
"Android"
,
"iPhone"
,
"SymbianOS"
,
"Windows Phone"
,
"iPad"
,
"iPod"
];
for
(
let
v
=
0
;
v
<
Agents
.
length
;
v
++
)
{
if
(
userAgentInfo
.
indexOf
(
Agents
[
v
])
>
0
)
{
this
.
isPhone
=
true
;
// this.AutoExchange3();
break
;
}
}
}
},
},
...
...
src/components/taskPage/FoodImg2.vue
View file @
6b096d6b
...
@@ -160,14 +160,26 @@ export default {
...
@@ -160,14 +160,26 @@ export default {
// this.getFirstImg();
// this.getFirstImg();
this
.
AutoExchange
();
this
.
AutoExchange
();
})
})
var
ua
=
navigator
.
userAgent
.
toLowerCase
();
//获取判断用的对象
// var ua = navigator.userAgent.toLowerCase();//获取判断用的对象
if
(
ua
.
match
(
/MicroMessenger/i
)
==
"micromessenger"
)
{
// if (ua.match(/MicroMessenger/i) == "micromessenger") {
//在微信中打开
// //在微信中打开
this
.
isPhone
=
true
;
// this.isPhone=true;
this
.
AutoExchange3
();
// this.AutoExchange3();
}
else
{
// } else {
//否则就是PC浏览器打开
// //否则就是PC浏览器打开
this
.
isPhone
=
false
;
// this.isPhone=false;
// }
let
userAgentInfo
=
navigator
.
userAgent
;
let
Agents
=
[
"Android"
,
"iPhone"
,
"SymbianOS"
,
"Windows Phone"
,
"iPad"
,
"iPod"
];
for
(
let
v
=
0
;
v
<
Agents
.
length
;
v
++
)
{
if
(
userAgentInfo
.
indexOf
(
Agents
[
v
])
>
0
)
{
this
.
isPhone
=
true
;
// this.AutoExchange3();
break
;
}
}
}
},
},
...
...
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