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
d1370027
Commit
d1370027
authored
Apr 12, 2019
by
huangyuanyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
签证下单,支付
parent
e6a3bf10
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
652 additions
and
259 deletions
+652
-259
languageUtils.js
src/assets/utils/languageUtils.js
+39
-0
Pay.vue
src/components/Ticket/Pay.vue
+40
-16
SchedProduct.vue
src/components/visa/SchedProduct.vue
+282
-69
VisaHomePage.vue
src/components/visa/VisaHomePage.vue
+6
-6
Visaitemsdetails.vue
src/components/visa/Visaitemsdetails.vue
+224
-129
Visalist.vue
src/components/visa/Visalist.vue
+59
-39
main.js
src/main.js
+2
-0
No files found.
src/assets/utils/languageUtils.js
0 → 100644
View file @
d1370027
This diff is collapsed.
Click to expand it.
src/components/Ticket/Pay.vue
View file @
d1370027
...
@@ -4,23 +4,32 @@
...
@@ -4,23 +4,32 @@
<el-col
:span=
"18"
:offset=
"3"
>
<el-col
:span=
"18"
:offset=
"3"
>
<!-- 头部 -->
<!-- 头部 -->
<div
class=
"head"
>
<div
class=
"head"
>
<i
class=
"iconfont icon-jinggao"
></i>
<div
style=
"padding-left:40px;box-sizing:border-box"
>
<div
style=
"box-sizing:border-box;"
>
<p
style=
"font-size:14px;font-weight:600"
>
<div
v-show=
"!visa"
style=
"float:left;"
>
<i
class=
"iconfont icon-jinggao"
></i>
<div
style=
"margin-left:50px"
>
<p
style=
"font-size:14px;font-weight:600"
>
订单提交成功!剩余支付时间
订单提交成功!剩余支付时间
<span
style=
"color:#FF680B;font-size:18px"
>
{{
time_15
}}
</span>
<span
style=
"color:#FF680B;font-size:18px"
>
{{
time_15
}}
</span>
<span
style=
"text-align:center;float:right;"
>
<span
style=
"font-weight:200"
>
应付金额
</span>
</p>
<span
style=
"color:#FF680B;font-size:18px"
>
¥
{{
Commoditydetails
.
preferPrice
|
priceFormat
}}
</span>
<p
style=
"font-size:12px"
>
请您在
</span>
<span
style=
"color:#FF680B;"
>
15分钟
</span>
</p>
内完成支付,否则订单会自动取消
</p>
<p
style=
"font-size:12px"
>
请您在
</div>
<span
style=
"color:#FF680B;"
>
15分钟
</span>
</div>
内完成支付,否则订单会自动取消
</p>
<div
style=
"text-align:center;float:right"
>
<span
style=
"font-weight:200"
>
应付金额
</span>
<span
style=
"color:#FF680B;font-size:18px"
>
¥
{{
Commoditydetails
.
preferPrice
|
priceFormat
}}
</span>
</div>
</div>
</div>
</div>
</div>
<div
class=
"payvue_content"
>
<div
class=
"payvue_content"
>
...
@@ -120,6 +129,7 @@ import moment from 'moment'
...
@@ -120,6 +129,7 @@ import moment from 'moment'
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
visa
:
false
,
zfbpay_imgcode
:
false
,
zfbpay_imgcode
:
false
,
wxpay_imgcode
:
false
,
wxpay_imgcode
:
false
,
time_15
:
0
,
time_15
:
0
,
...
@@ -131,7 +141,7 @@ export default {
...
@@ -131,7 +141,7 @@ export default {
total_fee
:
""
,
total_fee
:
""
,
payway
:
""
payway
:
""
},
},
AirOrderId
:
this
.
$route
.
params
.
id
,
AirOrderId
:
0
,
Commoditydetails
:
{},
Commoditydetails
:
{},
codeInfo
:{},
codeInfo
:{},
...
@@ -153,11 +163,24 @@ export default {
...
@@ -153,11 +163,24 @@ export default {
CodeVialdTime
:
0
,
CodeVialdTime
:
0
,
payway
:
-
1
,
payway
:
-
1
,
Visainfo
:{},
};
};
},
},
created
()
{
created
()
{
this
.
TimeDjs
();
if
(
this
.
$route
.
params
.
id
==-
1
){
// this.Time15()
this
.
visa
=
true
;
let
Visainfo
=
JSON
.
parse
(
sessionStorage
.
Visainfo
);
this
.
Commoditydetails
=
Visainfo
;
this
.
Commoditydetails
.
airOrderId
=
Visainfo
.
AirOrderId
;
this
.
code
.
OrderSource
=
Visainfo
.
orderResourceId
;
this
.
code
.
total_fee
=
Visainfo
.
preferPrice
+
''
;
this
.
code
.
body
=
Visainfo
.
description
;
this
.
code
.
attach
=
`
${
Visainfo
.
costType
}
|
${
Visainfo
.
customerName
}
|
${
Visainfo
.
AirOrderId
}
|
${
Visainfo
.
customerId
}
|
${
Visainfo
.
outBranchId
}
`
}
else
{
this
.
AirOrderId
=
this
.
$route
.
params
.
id
;
this
.
TimeDjs
();
}
},
},
methods
:
{
methods
:
{
TimeDjs
()
{
TimeDjs
()
{
...
@@ -445,6 +468,7 @@ export default {
...
@@ -445,6 +468,7 @@ export default {
.pay_vue
.head
{
.pay_vue
.head
{
padding
:
4px
0
;
padding
:
4px
0
;
position
:
relative
;
position
:
relative
;
overflow
:
auto
;
}
}
.payvue_content
{
.payvue_content
{
min-height
:
479px
;
min-height
:
479px
;
...
...
src/components/visa/SchedProduct.vue
View file @
d1370027
This diff is collapsed.
Click to expand it.
src/components/visa/VisaHomePage.vue
View file @
d1370027
...
@@ -427,24 +427,23 @@ export default {
...
@@ -427,24 +427,23 @@ export default {
.visa_flex
.el-col
.visa_title
{
.visa_flex
.el-col
.visa_title
{
color
:
#333333
;
color
:
#333333
;
font-size
:
12px
;
font-size
:
12px
;
padding
:
10px
0
;
}
}
.visa_flex
.el-col
img
{
.visa_flex
.el-col
img
{
position
:
absolute
;
/* position: absolute; */
width
:
74px
;
width
:
74px
;
height
:
48px
;
height
:
48px
;
border
:
1px
solid
#B3B3B3
;
}
}
.visa_flex
.visa_content
{
.visa_flex
.visa_content
{
padding-left
:
85
px
;
padding-left
:
10
px
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
font-family
:
"PingFang"
;
font-family
:
"PingFang"
;
min-height
:
80px
;
}
}
.visa_flex
{
.visa_flex
{
display
:
flex
;
display
:
flex
;
justify-content
:
space-
between
;
justify-content
:
space-
around
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
}
}
.visa_flex
.el-col
:hover
{
.visa_flex
.el-col
:hover
{
...
@@ -493,7 +492,7 @@ export default {
...
@@ -493,7 +492,7 @@ export default {
.row_flex
{
.row_flex
{
width
:
100%
;
width
:
100%
;
padding-top
:
20px
;
padding-top
:
20px
;
justify-content
:
space-
between
;
justify-content
:
space-
around
;
display
:
flex
;
display
:
flex
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
}
}
...
@@ -562,6 +561,7 @@ export default {
...
@@ -562,6 +561,7 @@ export default {
display
:
inline-block
;
display
:
inline-block
;
width
:
73px
;
width
:
73px
;
height
:
48px
;
height
:
48px
;
border
:
1px
dashed
#DDDDDD
;
}
}
.visahome
.Qzlist
{
.visahome
.Qzlist
{
display
:
flex
;
display
:
flex
;
...
...
src/components/visa/Visaitemsdetails.vue
View file @
d1370027
This diff is collapsed.
Click to expand it.
src/components/visa/Visalist.vue
View file @
d1370027
This diff is collapsed.
Click to expand it.
src/main.js
View file @
d1370027
...
@@ -12,6 +12,7 @@ import echarts from 'echarts'
...
@@ -12,6 +12,7 @@ import echarts from 'echarts'
import
VueLazyload
from
'vue-lazyload'
import
VueLazyload
from
'vue-lazyload'
import
htmlToPdf
from
'./assets/utils/htmlToPdf'
import
htmlToPdf
from
'./assets/utils/htmlToPdf'
import
commonUtils
from
'./assets/utils/commonUtils'
import
commonUtils
from
'./assets/utils/commonUtils'
import
languageUtils
from
'./assets/utils/languageUtils'
//引入语言转换帮助类
import
moment
from
'moment'
import
moment
from
'moment'
// 使用Vue.use()方法就会调用工具方法中的install方法
// 使用Vue.use()方法就会调用工具方法中的install方法
...
@@ -29,6 +30,7 @@ Vue.use(ElementUI)
...
@@ -29,6 +30,7 @@ Vue.use(ElementUI)
Vue
.
use
(
plug
)
Vue
.
use
(
plug
)
Vue
.
http
=
Vue
.
prototype
.
$http
=
axios
Vue
.
http
=
Vue
.
prototype
.
$http
=
axios
Vue
.
commonUtils
=
Vue
.
prototype
.
$commonUtils
=
commonUtils
Vue
.
commonUtils
=
Vue
.
prototype
.
$commonUtils
=
commonUtils
Vue
.
languageUtils
=
Vue
.
prototype
.
$languageUtils
=
languageUtils
Vue
.
prototype
.
$echarts
=
echarts
Vue
.
prototype
.
$echarts
=
echarts
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
// console.log("from",from.path)
// console.log("from",from.path)
...
...
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