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
1d4fd80e
Commit
1d4fd80e
authored
Jun 11, 2019
by
huangyuanyuan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/huaguohao/athena
parents
dd61541c
f5555f94
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
88 additions
and
13 deletions
+88
-13
huodong_img1.png
src/assets/img/active/huodong_img1.png
+0
-0
huodong_img2.png
src/assets/img/active/huodong_img2.png
+0
-0
nav_bg.png
src/assets/img/task/nav_bg.png
+0
-0
nav_text.png
src/assets/img/task/nav_text.png
+0
-0
newHead.css
src/assets/mall/newHead.css
+1
-1
newHead.vue
src/components/global/newHead.vue
+3
-3
HomePage.vue
src/components/newPersonalCenter/block/HomePage.vue
+9
-1
IceCreamTask.vue
src/components/taskPage/IceCream/IceCreamTask.vue
+1
-1
myExchange.vue
src/components/taskPage/IceCream/myExchange.vue
+2
-1
raffleTickets.vue
src/components/taskPage/IceCream/raffleTickets.vue
+34
-1
ticketList.vue
src/components/taskPage/IceCream/ticketList.vue
+20
-2
newLogin.vue
src/views/newLogin.vue
+18
-3
No files found.
src/assets/img/active/huodong_img1.png
0 → 100644
View file @
1d4fd80e
129 KB
src/assets/img/active/huodong_img2.png
0 → 100644
View file @
1d4fd80e
149 KB
src/assets/img/task/nav_bg.png
0 → 100644
View file @
1d4fd80e
6.23 KB
src/assets/img/task/nav_text.png
0 → 100644
View file @
1d4fd80e
8.53 KB
src/assets/mall/newHead.css
View file @
1d4fd80e
...
...
@@ -74,7 +74,7 @@ ul,li{list-style: none;}
/* 二级样式 */
.new_header_nav_two
{
padding
:
25px
0
;
height
:
10
0
px
;
height
:
10
8
px
;
}
.new_header_nav_two
.logo
{
height
:
50px
;
...
...
src/components/global/newHead.vue
View file @
1d4fd80e
...
...
@@ -266,10 +266,10 @@
</div>
</li>
<!-- 活动中心 -->
<li
:class=
"{_active: navActive === 9}"
>
<li
:class=
"{_active: navActive === 9}"
style=
"width: auto;"
>
<div
@
click=
"handleSelect('/IceCreamTask', 9), navActive = 9"
>
<
span>
活动中心
</span
>
<
span
class=
"__splice"
>
|
</span
>
<
img
style=
"z-index: -1;position: absolute;top: -27px;"
src=
"../../assets/img/task/nav_bg.png"
alt=
""
>
<
img
src=
"../../assets/img/task/nav_text.png"
alt=
""
>
</div>
</li>
</ul>
...
...
src/components/newPersonalCenter/block/HomePage.vue
View file @
1d4fd80e
...
...
@@ -10,13 +10,21 @@
<!-- 订单信息 -->
<OrderInfo/>
<!-- 活动链接 -->
<el-row
class=
"active"
>
<
!--
<
el-row
class=
"active"
>
<img
@
click=
"goUrl('TurnaroundDraw')"
class=
"huodong_img"
src=
"../../../assets/img/active/huodong_img.png"
alt
>
</el-row>
-->
<el-row
class=
"active"
>
<img
@
click=
"goUrl('IceCreamTask')"
class=
"huodong_img"
src=
"../../../assets/img/active/huodong_img2.png"
alt
>
</el-row>
<!-- 即将过期优惠券 -->
<OverCoupon/>
...
...
src/components/taskPage/IceCream/IceCreamTask.vue
View file @
1d4fd80e
...
...
@@ -151,7 +151,7 @@
<template
v-if=
"!smallWindow"
>
<div
class=
"IceCreamTask_main"
>
<!-- 返回首页 -->
<router-link
to=
'
heel
'
class=
"hoverBank_btn"
>
<router-link
to=
'
Home
'
class=
"hoverBank_btn"
>
<img
v-if=
"hoverBank === 1"
@
mouseover=
"hoverBank = 2"
src=
"../../../assets/img/task/fanhuishouye1.png"
alt=
""
>
<img
v-else
@
mouseout=
"hoverBank = 1"
src=
"../../../assets/img/task/fanhuishouye.png"
alt=
""
>
</router-link>
...
...
src/components/taskPage/IceCream/myExchange.vue
View file @
1d4fd80e
...
...
@@ -57,6 +57,7 @@
line-height
:
33px
;
cursor
:
pointer
;
transition
:
all
linear
.5s
;
overflow
:
hidden
;
}
.myExchange
.myExchange_box
.item
.item_name
:hover
{
background
:
rgb
(
239
,
194
,
18
);
...
...
@@ -92,7 +93,7 @@
<div
class=
"item_img"
>
<img
:src=
"item.imgs"
alt=
""
>
</div>
<span
class=
"item_name"
@
click=
"goUrl('myPointOrder')"
>
{{
item
.
name
}}
</span>
<span
class=
"item_name"
:title=
"item.name"
@
click=
"goUrl('myPointOrder')"
>
{{
item
.
name
}}
</span>
</div>
</div>
<div
@
mouseover=
"closeShow = 1"
@
mouseout=
"closeShow = 2"
class=
"myExchange_close"
@
click=
"close"
>
...
...
src/components/taskPage/IceCream/raffleTickets.vue
View file @
1d4fd80e
...
...
@@ -40,6 +40,7 @@
.raffleTickets
.tips
{
width
:
174px
;
padding
:
10px
0
;
height
:
81px
;
font-size
:
24px
;
color
:
rgba
(
255
,
78
,
0
,
1
);
font-weight
:
bold
;
...
...
@@ -48,6 +49,11 @@
left
:
166px
;
top
:
203px
;
text-align
:
center
;
align-items
:
center
;
display
:
flex
;
}
.raffleTickets
.tips
>
p
.cailiap_p
{
padding-left
:
15px
;
}
.raffleTickets
.tips
.small
{
color
:
RGBA
(
123
,
53
,
0
,
1
);
...
...
@@ -61,7 +67,13 @@
<div
class=
"raffleTickets_bg"
>
<div>
<div
class=
"tips"
>
<p>
{{
raffleTicketsData
.
mName
}}
</p>
<template
v-if=
"getImg(raffleTicketsData.mName)"
>
<img
:src=
"getImg(raffleTicketsData.mName)"
alt=
""
>
<p
class=
"cailiap_p"
>
{{
raffleTicketsData
.
mName
}}
</p>
</
template
>
<
template
v-else
>
<p>
{{
raffleTicketsData
.
mName
}}
</p>
</
template
>
<!-- <p class="small">仅限于(2019年8月21日 21:)“ 狂欢夜·瓜分百万现金 ”活动中使用</p> -->
</div>
</div>
...
...
@@ -76,6 +88,27 @@ export default {
return
{
}
},
methods
:{
getImg
:
function
(
Name
)
{
if
(
Name
===
'牛奶'
)
{
return
require
(
'../../../assets/img/task/ice/niunai.png'
)
}
else
if
(
Name
===
'糖'
)
{
return
require
(
'../../../assets/img/task/ice/tangg.png'
)
}
else
if
(
Name
===
'蛋黄'
)
{
return
require
(
'../../../assets/img/task/ice/danhuang.png'
)
}
else
if
(
Name
===
'酸奶'
)
{
return
require
(
'../../../assets/img/task/ice/suannai.png'
)
}
else
if
(
Name
===
'草莓'
)
{
return
require
(
'../../../assets/img/task/ice/caomei.png'
)
}
else
if
(
Name
===
'葡萄干'
)
{
return
require
(
'../../../assets/img/task/ice/putaogan.png'
)
}
else
if
(
Name
===
'巧克力'
)
{
return
require
(
'../../../assets/img/task/ice/qiaokeli.png'
)
}
else
if
(
Name
===
'礼盒'
)
{
return
require
(
'../../../assets/img/task/ice/lihe.png'
)
}
else
if
(
Name
===
''
||
!
Name
)
{
return
false
}
},
close
:
function
()
{
this
.
$emit
(
'closeMyWindow'
,
'raffleTickets'
)
}
...
...
src/components/taskPage/IceCream/ticketList.vue
View file @
1d4fd80e
...
...
@@ -238,7 +238,7 @@
<img
v-else
@
click=
"activeNav = 2"
src=
"../../../assets/img/task/yishiyong.png"
alt=
""
>
</div>
</div>
<div
v-if=
"activeNav === 1"
class=
"hebing_nav"
>
<div
v-if=
"activeNav === 1
&& dataList.length > 1
"
class=
"hebing_nav"
>
<template>
<el-checkbox
v-if=
"hebing === 2"
:indeterminate=
"isIndeterminate"
v-model=
"checkAll"
@
change=
"handleCheckAllChange"
>
全选
</el-checkbox>
<span
v-else
>
</span>
...
...
@@ -280,7 +280,7 @@
<div
class=
"right"
>
<p
class=
"_name"
>
{{ticketName}}
</p>
<p
class=
"_type"
:title=
"item.couponsName"
>
{{item.couponsName}}
</p>
<span
class=
"_btn"
>
立即使用
</span>
<span
class=
"_btn"
@
click=
"goUrl()"
>
立即使用
</span>
</div>
</el-col>
</el-row>
...
...
@@ -330,6 +330,24 @@ export default {
this
.
ticketName
=
'抽奖券'
}
},
methods
:{
// 去使用优惠券
goUrl
:
function
(
name
){
let
path
=
'/'
if
(
this
.
ticketName
===
'签证'
)
{
path
+=
'VisaHomePage'
}
else
if
(
this
.
ticketName
===
'特价机票'
)
{
path
+=
'TicketHome'
}
else
if
(
this
.
ticketName
===
'跟团游'
)
{
path
+=
'heel'
}
else
if
(
this
.
ticketName
===
'当地游'
)
{
path
+=
'Localtourhome'
}
else
if
(
this
.
ticketName
===
'自由行'
)
{
path
+=
'IndependentTravel'
}
else
if
(
this
.
ticketName
===
'抽奖券'
)
{
path
+=
'Home'
}
this
.
$router
.
push
({
path
:
path
})
},
//用户合并
hebingTicket
:
function
()
{
if
(
this
.
checkedCities
.
length
<
2
)
{
...
...
src/views/newLogin.vue
View file @
1d4fd80e
...
...
@@ -111,7 +111,7 @@
</
style
>
<
template
>
<div
class=
"new_login"
>
<div
class=
"container"
>
<div
class=
"container"
:style=
"
{zoom: zoom}"
>
<div
class=
"top_logo"
>
<img
src=
"../assets/img/logo_t.png"
alt
>
<span>
-同业登录
</span>
...
...
@@ -207,7 +207,7 @@ export default {
data
()
{
return
{
active
:
false
,
checked
:
fals
e
,
checked
:
tru
e
,
loginMsg
:
{
account
:
""
,
password
:
""
...
...
@@ -227,6 +227,7 @@ export default {
show
:
true
,
count
:
''
,
mobileCodeType
:
1
,
zoom
:
1
,
};
},
methods
:
{
...
...
@@ -338,6 +339,11 @@ export default {
msg
,
r
=>
{
if
(
r
.
data
.
resultCode
==
1
)
{
let
autoLogin
=
this
.
checked
?
{
acc
:
this
.
loginMsg
.
account
,
pwd
:
this
.
loginMsg
.
password
,
}
:
null
;
localStorage
.
autoLogin
=
JSON
.
stringify
(
autoLogin
)
let
userInfo
=
r
.
data
.
data
;
let
userJson
=
JSON
.
stringify
(
userInfo
);
localStorage
.
userInfo
=
userJson
;
...
...
@@ -350,7 +356,7 @@ export default {
let
path
=
`
${
this
.
$route
.
query
.
path
}
/
${
this
.
$route
.
query
.
id
}
`
;
this
.
$router
.
push
({
path
});
}
else
{
this
.
$router
.
push
({
path
:
"/"
});
this
.
$router
.
push
({
path
:
"/
Home
"
});
}
this
.
$message
.
success
(
r
.
data
.
message
);
this
.
loging
=
false
;
...
...
@@ -375,6 +381,15 @@ export default {
code
:
""
}
}
},
created
(){
let
Height
=
window
.
innerHeight
this
.
zoom
=
(
Math
.
round
((
Height
/
1080
)
*
100
)
/
100
)
+
0.1
let
autoLogin
=
localStorage
.
autoLogin
?
JSON
.
parse
(
localStorage
.
autoLogin
)
:
null
console
.
log
(
autoLogin
)
this
.
loginMsg
.
account
=
autoLogin
?
autoLogin
.
acc
:
''
this
.
loginMsg
.
password
=
autoLogin
?
autoLogin
.
pwd
:
''
this
.
checked
=
autoLogin
?
true
:
false
}
};
</
script
>
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