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
d95e166f
Commit
d95e166f
authored
5 years ago
by
黄媛媛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
卷妹说 新增滑雪模块
parent
c4bf24ce
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
300 additions
and
11 deletions
+300
-11
huaxue.jpg
src/assets/img/juan/huaxue.jpg
+0
-0
pcski1.jpg
src/assets/img/juan/pcski1.jpg
+0
-0
pcski2.jpg
src/assets/img/juan/pcski2.jpg
+0
-0
phski1.jpg
src/assets/img/juan/phski1.jpg
+0
-0
phski2.jpg
src/assets/img/juan/phski2.jpg
+0
-0
卷妹说-日本滑雪专题.rar
src/assets/img/juan/卷妹说-日本滑雪专题.rar
+0
-0
FoodImg.vue
src/components/taskPage/FoodImg.vue
+1
-9
JuanSaid.vue
src/components/taskPage/JuanSaid.vue
+8
-2
Juanski.vue
src/components/taskPage/Juanski.vue
+279
-0
router.js
src/router.js
+12
-0
No files found.
src/assets/img/juan/huaxue.jpg
0 → 100644
View file @
d95e166f
309 KB
This diff is collapsed.
Click to expand it.
src/assets/img/juan/pcski1.jpg
0 → 100644
View file @
d95e166f
1.65 MB
This diff is collapsed.
Click to expand it.
src/assets/img/juan/pcski2.jpg
0 → 100644
View file @
d95e166f
1.6 MB
This diff is collapsed.
Click to expand it.
src/assets/img/juan/phski1.jpg
0 → 100644
View file @
d95e166f
2.66 MB
This diff is collapsed.
Click to expand it.
src/assets/img/juan/phski2.jpg
0 → 100644
View file @
d95e166f
2.61 MB
This diff is collapsed.
Click to expand it.
src/assets/img/juan/卷妹说-日本滑雪专题.rar
0 → 100644
View file @
d95e166f
File added
This diff is collapsed.
Click to expand it.
src/components/taskPage/FoodImg.vue
View file @
d95e166f
...
...
@@ -181,15 +181,7 @@ export default {
// this.getFirstImg();
this
.
AutoExchange
();
})
// 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"
,
...
...
This diff is collapsed.
Click to expand it.
src/components/taskPage/JuanSaid.vue
View file @
d95e166f
...
...
@@ -24,6 +24,10 @@
background
:
url('../../assets/img/juan/tuan5.jpg')
100%
center
;
background-size
:
cover
;
}
.tst-huaxue
{
background
:
url('../../assets/img/juan/huaxue.jpg')
100%
center
;
background-size
:
cover
;
}
.tstt
{
background
:
url('../../assets/img/juan/listbanner.png')
100%
center
;
...
...
@@ -358,10 +362,12 @@
</div>
<div
@
click=
"goUrl('FoodImg')"
class=
"destiItem tst-three"
>
</div>
<div
@
click=
"goUrl('FoodImg2')"
class=
"destiItem tst-four"
>
</div>
<
!--
<
div
@
click=
"goUrl('FoodImg2')"
class=
"destiItem tst-four"
>
</div>
-->
<div
@
click=
"goUrl('Img5')"
class=
"destiItem tst-five"
>
</div>
<div
@
click=
"goUrl('Juanski')"
class=
"destiItem tst-huaxue"
>
</div>
<!--
<div
class=
"destiItem"
>
<img
src=
"../../assets/img/home/tour1.png"
alt=
""
>
</div>
...
...
This diff is collapsed.
Click to expand it.
src/components/taskPage/Juanski.vue
0 → 100644
View file @
d95e166f
<
style
scoped
>
.div1
{
width
:
100%
;
height
:
auto
;
position
:
relative
;
}
.div1
img
{
width
:
100%
;
position
:
absolute
;
z-index
:
100
;
}
.Homeimg
{
position
:
absolute
;
z-index
:
20000
;
width
:
45px
!important
;
height
:
45px
!important
;
left
:
56px
;
top
:
39px
;
cursor
:
pointer
;
}
.bottom
img
{
width
:
100%
;
position
:
absolute
;
z-index
:
1
}
a
{
text-decoration
:
none
;
color
:
#111111
;
}
.FM_div
{
width
:
100%
;
height
:
auto
;
position
:
relative
;
}
.FM_div
img
{
width
:
100%
;
position
:
absolute
;
z-index
:
100
;
}
.div3
img
{
width
:
100%
;
height
:
100%
;
}
</
style
>
<
template
>
<div>
<div
style=
"position: relative;"
v-show=
"isPhone"
>
<img
@
click=
"goUrl('Home')"
class=
"Homeimg"
src=
"../../assets/img/juan/home.png"
alt
/>
<div
class=
"div3 div1"
ref=
"div3"
>
<!-- -->
<img
class=
"img"
src=
"../../assets/img/juan/phski1.jpg"
alt=
""
/>
<img
class=
"img"
src=
"../../assets/img/juan/phski2.jpg"
alt=
""
/>
<div
style=
"position: relative;z-index:-100;opacity:0"
>
<img
style=
"position: relative;"
src=
"../../assets/img/juan/phski1.jpg"
alt=
""
/>
</div>
</div>
<!--
<div
class=
"bottom"
>
<img
src=
"../../assets/img/juan/fmBtm.png"
alt=
""
/>
<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-col
:span=
"12"
style=
"white-space:nowrap;overflow:hidden;text-overflow:ellipsis"
>
<a
target=
"_blank"
style=
"font-size:12px;"
>
日本本州·一四七升版~米其林椿山庄+豪华双温泉
</a>
</el-col>
<el-col
:span=
"10"
style=
"text-align:right;font-size:12px;"
>
出团日期:8月
</el-col>
</el-row>
<el-row
style=
"cursor:pointer"
:gutter=
"20"
>
<el-col
:span=
"12"
style=
"white-space:nowrap;overflow:hidden;text-overflow:ellipsis"
>
<a
target=
"_blank"
style=
"font-size:12px;"
>
日本本州~希尔顿假期~全程日式五星
</a>
</el-col>
<el-col
:span=
"10"
style=
"text-align:right;font-size:12px;"
>
出团日期:8月
</el-col>
</el-row>
<el-row
style=
"padding-top:5px;cursor:pointer"
:gutter=
"20"
>
<el-col
:span=
"12"
style=
"white-space:nowrap;overflow:hidden;text-overflow:ellipsis"
>
<a
target=
"_blank"
style=
"font-size:12px;"
>
本州精品假期升级版
</a>
</el-col>
<el-col
:span=
"10"
style=
"text-align:right;font-size:12px;"
>
出团日期:8月
</el-col>
</el-row>
<el-row
style=
"padding-top:5px;cursor:pointer"
:gutter=
"20"
>
<el-col
:span=
"12"
style=
"white-space:nowrap;overflow:hidden;text-overflow:ellipsis"
>
<a
target=
"_blank"
style=
"font-size:12px;"
>
让你玩好”九”~九州系列
</a>
</el-col>
<el-col
:span=
"10"
style=
"text-align:right;font-size:12px;"
>
出团日期:8月
</el-col>
</el-row>
<el-row
style=
"padding-top:5px;cursor:pointer"
:gutter=
"20"
>
<el-col
:span=
"12"
style=
"white-space:nowrap;overflow:hidden;text-overflow:ellipsis"
>
<a
target=
"_blank"
style=
"font-size:12px;"
>
北海道 希尔顿系列(东航联营)
</a>
</el-col>
<el-col
:span=
"10"
style=
"text-align:right;font-size:12px;"
>
出团日期:9月
</el-col>
</el-row>
<el-row
style=
"padding-top:5px;cursor:pointer"
:gutter=
"20"
>
<el-col
:span=
"12"
style=
"white-space:nowrap;overflow:hidden;text-overflow:ellipsis"
>
<a
target=
"_blank"
style=
"font-size:12px;"
>
暑期乐园系列
</a>
</el-col>
<el-col
:span=
"10"
style=
"text-align:right;font-size:12px;"
>
出团日期:8月
</el-col>
</el-row>
<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=
""
/>
</div>
</div>
</div>
-->
</div>
<div
style=
"position: relative;"
v-show=
"!isPhone"
>
<img
@
click=
"goUrl('Home')"
class=
"Homeimg"
src=
"../../assets/img/juan/home.png"
alt
/>
<div
class=
"div1"
ref=
"div1"
>
<!-- -->
<img
class=
"img"
src=
"../../assets/img/juan/pcski1.jpg"
alt=
""
/>
<img
class=
"img"
src=
"../../assets/img/juan/pcski2.jpg"
alt=
""
/>
<div
style=
"position: relative;z-index:-100;opacity:0"
>
<img
style=
"position: relative;"
src=
"../../assets/img/juan/pcski1.jpg"
alt=
""
/>
</div>
</div>
<!--
<div
class=
"bottom"
>
<img
src=
"../../assets/img/juan/bottom.png"
alt=
""
/>
<div
style=
"width:1200px;margin:0 auto;padding-top:200px;position:relative;z-index:200"
>
<el-row
style=
"padding:15px 0;cursor:pointer"
:gutter=
"20"
>
<el-col
:span=
"12"
style=
"white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align: center;margin-left:100px;"
>
<a
target=
"_blank"
href=
"http://www.oytour.com/#/search?keywords=&lineName=%E5%87%BA%E5%A2%83%E6%97%A5%E6%9C%AC%E7%BA%BF&lineId=14"
>
日本本州·一四七升版~米其林椿山庄+豪华双温泉
</a>
</el-col>
<el-col
:span=
"8"
style=
"text-align:center"
>
出团日期:2019年7月
</el-col>
</el-row>
<el-row
style=
"padding:15px 0;cursor:pointer"
:gutter=
"20"
>
<el-col
:span=
"12"
style=
"white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align: center;margin-left:100px;"
>
<a
target=
"_blank"
href=
"http://www.oytour.com/#/search?keywords=&lineName=%E5%87%BA%E5%A2%83%E6%97%A5%E6%9C%AC%E7%BA%BF&lineId=14"
>
日本本州~希尔顿假期~全程日式五星
</a>
</el-col>
<el-col
:span=
"8"
style=
"text-align:center"
>
出团日期:2019年8月
</el-col>
</el-row>
<el-row
style=
"padding:15px 0;cursor:pointer"
:gutter=
"20"
>
<el-col
:span=
"12"
style=
"white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align: center;margin-left:100px;"
>
<a
target=
"_blank"
href=
"http://www.oytour.com/#/search?keywords=%25E8%258A%25B1%25E7%2581%25AB%25E5%25A4%25A7%25E4%25BC%259A"
>
本州精品假期升级版
</a>
</el-col>
<el-col
:span=
"8"
style=
"text-align:center"
>
出团日期:2019年8月
</el-col>
</el-row>
<el-row
style=
"padding:15px 0;cursor:pointer"
:gutter=
"20"
>
<el-col
:span=
"12"
style=
"white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align: center;margin-left:100px;"
>
<a
target=
"_blank"
href=
"http://www.oytour.com/#/search?keywords=&lineId=14&lineName=%E5%87%BA%E5%A2%83%E6%97%A5%E6%9C%AC%E7%BA%BF&lineteamId=592&lineteamName=%E8%AE%A9%E4%BD%A0%E7%8E%A9%E5%A5%BD%E2%80%9D%E4%B9%9D%E2%80%9D~%E4%B9%9D%E5%B7%9E%E7%B3%BB%E5%88%97"
>
让你玩好”九”~九州系列
</a>
</el-col>
<el-col
:span=
"8"
style=
"text-align:center"
>
出团日期:2019年7月
</el-col>
</el-row>
<el-row
style=
"padding:15px 0;cursor:pointer"
:gutter=
"20"
>
<el-col
:span=
"12"
style=
"white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align: center;margin-left:100px;"
>
<a
target=
"_blank"
href=
"http://www.oytour.com/#/search?keywords=&lineId=14&lineName=%E5%87%BA%E5%A2%83%E6%97%A5%E6%9C%AC%E7%BA%BF&lineteamId=592&lineteamName=%E8%AE%A9%E4%BD%A0%E7%8E%A9%E5%A5%BD%E2%80%9D%E4%B9%9D%E2%80%9D~%E4%B9%9D%E5%B7%9E%E7%B3%BB%E5%88%97"
>
北海道 希尔顿系列(东航联营)
</a>
</el-col>
<el-col
:span=
"8"
style=
"text-align:center"
>
出团日期:2019年9月
</el-col>
</el-row>
<el-row
style=
"padding:15px 0;cursor:pointer"
:gutter=
"20"
>
<el-col
:span=
"12"
style=
"white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align: center;margin-left:100px;"
>
<a
target=
"_blank"
href=
"http://www.oytour.com/#/search?keywords=&lineId=14&lineName=%E5%87%BA%E5%A2%83%E6%97%A5%E6%9C%AC%E7%BA%BF&lineteamId=592&lineteamName=%E8%AE%A9%E4%BD%A0%E7%8E%A9%E5%A5%BD%E2%80%9D%E4%B9%9D%E2%80%9D~%E4%B9%9D%E5%B7%9E%E7%B3%BB%E5%88%97"
>
暑期乐园系列
</a>
</el-col>
<el-col
:span=
"8"
style=
"text-align:center"
>
出团日期:2019年8月
</el-col>
</el-row>
</div>
</div>
-->
</div>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
ab
:
0
,
SaleList
:[],
cityId
:
262
,
companyId
:
0
,
isPhone
:
false
,
height2
:
"0px"
,
ab3
:
0
};
},
mounted
()
{
this
.
$nextTick
(()
=>
{
this
.
getFirstImg
();
this
.
AutoExchange
();
})
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
()
{
this
.
cityId
=
localStorage
.
cityId
?
localStorage
.
cityId
:
0
;
this
.
companyId
=
localStorage
.
site
?
parseInt
(
localStorage
.
site
):
0
;
this
.
Cztm
();
let
oWidth
=
window
.
screen
.
width
;
this
.
height2
=
(
6363
/
1920
)
*
oWidth
+
500
+
'px'
;
// this.height2=(3702/750)*oWidth+'px';
},
components
:
{
},
methods
:
{
goUrl
(
path
){
this
.
$router
.
push
({
path
,
query
:{}})
},
Cztm
(){
let
Msg
=
{
pageIndex
:
1
,
pageSize
:
5
,
companyId
:
this
.
companyId
,
cityId
:
this
.
cityId
,
};
this
.
apiJavaPost
(
'/api/b2b/home/getHomeTravelSpecialSale'
,
Msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
this
.
SaleList
=
res
.
data
.
data
.
pageData
;
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
null
)
},
//遍历所有图和按钮,页面加载完毕显示第一张图
getFirstImg
(){
var
div1
=
this
.
$refs
.
div1
;
//整个区域
var
imgLen
=
div1
.
getElementsByClassName
(
"img"
);
//图片
for
(
var
i
=
0
;
i
<
imgLen
.
length
;
i
++
){
if
(
i
!=
0
){
imgLen
[
i
].
style
.
opacity
=
0
;
}
}
},
//自动切换
AutoExchange
(){
var
div1
=
this
.
$refs
.
div1
;
//整个区域
var
imgLen
=
div1
.
getElementsByClassName
(
"img"
);
//图片
var
that
=
this
;
setInterval
(
function
ac
()
{
//设置2000毫秒重复运行
that
.
ab
=
that
.
ab
>
imgLen
.
length
-
2
?
0
:
++
that
.
ab
;
//5张图,当触摸到的按钮索引号大于3时(比如4),那么ab=0(下一张图为第0张),否则++ab;
//循环遍历下一张图的效果.
for
(
var
b
=
0
;
b
<
imgLen
.
length
;
b
++
)
{
if
(
b
==
that
.
ab
)
{
imgLen
[
b
].
style
.
opacity
=
1
;
imgLen
[
b
].
style
.
transition
=
"opacity 2s"
;
}
else
{
imgLen
[
b
].
style
.
opacity
=
0
;
}
}
},
5000
);
},
//自动切换
AutoExchange3
(){
let
div3
=
this
.
$refs
.
div3
;
//整个区域
var
imgLen
=
div3
.
getElementsByClassName
(
"img"
);
//图片
var
that
=
this
;
setInterval
(
function
ac
()
{
//设置2000毫秒重复运行
that
.
ab3
=
that
.
ab3
>
imgLen
.
length
-
2
?
0
:
++
that
.
ab3
;
//5张图,当触摸到的按钮索引号大于3时(比如4),那么ab=0(下一张图为第0张),否则++ab;
//循环遍历下一张图的效果.
for
(
var
b
=
0
;
b
<
imgLen
.
length
;
b
++
)
{
if
(
b
==
that
.
ab3
)
{
imgLen
[
b
].
style
.
opacity
=
1
;
imgLen
[
b
].
style
.
transition
=
"opacity 2s"
;
}
else
{
imgLen
[
b
].
style
.
opacity
=
0
;
}
}
},
5000
);
}
}
};
</
script
>
This diff is collapsed.
Click to expand it.
src/router.js
View file @
d95e166f
...
...
@@ -12,6 +12,8 @@ import FoodImg4 from "./components/taskPage/FoodImg4";
import
xiazaiAPP
from
"./components/taskPage/xiazaiAPP"
;
import
Fire
from
"./components/taskPage/Fire"
;
import
Img5
from
"./components/taskPage/Img5"
;
import
Juanski
from
"./components/taskPage/Juanski"
;
Vue
.
use
(
Router
);
...
...
@@ -802,6 +804,16 @@ export default new Router({
headerShow
:
true
,
},
},
{
path
:
"/Juanski"
,
name
:
"Juanski"
,
component
:
Juanski
,
meta
:
{
title
:
"卷妹说--滑雪"
,
headerShow
:
true
,
},
},
]
});
This diff is collapsed.
Click to expand it.
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