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
Hide 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,15 +181,27 @@ export default {
...
@@ -181,15 +181,27 @@ 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
;
}
}
},
},
created
()
{
created
()
{
...
...
src/components/taskPage/FoodImg2.vue
View file @
6b096d6b
...
@@ -64,7 +64,7 @@ height: 100%;
...
@@ -64,7 +64,7 @@ height: 100%;
<
template
>
<
template
>
<div>
<div>
<div
v-show=
"isPhone"
class=
"isPhone"
>
<div
v-show=
"isPhone"
class=
"isPhone"
>
<!--
<img
@
click=
"goUrl('Home')"
class=
"Homeimg"
src=
"../../assets/img/juan/home.png"
alt
/>
-->
<!--
<img
@
click=
"goUrl('Home')"
class=
"Homeimg"
src=
"../../assets/img/juan/home.png"
alt
/>
-->
<div
class=
"div3 div1"
ref=
"div3"
>
<div
class=
"div3 div1"
ref=
"div3"
>
<img
style=
"height:initial !important"
class=
"img"
src=
"../../assets/img/juan/fengye11.jpg"
alt=
""
/>
<img
style=
"height:initial !important"
class=
"img"
src=
"../../assets/img/juan/fengye11.jpg"
alt=
""
/>
...
@@ -72,7 +72,7 @@ height: 100%;
...
@@ -72,7 +72,7 @@ height: 100%;
<div
class=
"bottom"
>
<div
class=
"bottom"
>
<img
src=
"../../assets/img/juan/fengyedibu11.jpg"
alt=
""
/>
<img
src=
"../../assets/img/juan/fengyedibu11.jpg"
alt=
""
/>
<div
style=
"width:95%;margin:0 auto;padding:10px 0 0 10px;position:relative;z-index:200"
>
<div
style=
"width:95%;margin:0 auto;padding:10px 0 0 10px;position:relative;z-index:200"
>
<el-row
style=
"padding:50px 0 5px 0;cursor:pointer;"
:gutter=
"20"
>
<el-row
style=
"padding:50px 0 5px 0;cursor:pointer;"
:gutter=
"20"
>
<el-col
:span=
"12"
style=
"white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align: center;"
>
<el-col
:span=
"12"
style=
"white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align: center;"
>
<a
target=
"_blank"
style=
"font-size:12px;"
>
本州 147升级版
</a>
<a
target=
"_blank"
style=
"font-size:12px;"
>
本州 147升级版
</a>
</el-col>
</el-col>
...
@@ -160,15 +160,27 @@ export default {
...
@@ -160,15 +160,27 @@ 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
;
}
}
},
},
created
()
{
created
()
{
...
...
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