Commit e65b6d24 authored by huangyuanyuan's avatar huangyuanyuan

签证

parent e5dbff32
......@@ -59,7 +59,7 @@ export default {
<style>
@import './assets/global/font.css';
@import '//at.alicdn.com/t/font_863923_74m8au7e9xx.css';
@import '//at.alicdn.com/t/font_863923_jvgf79ozet9.css';
@import './assets/global/global.css';
body,html{
padding: 0px;
......
......@@ -192,7 +192,7 @@ export default {
"OnlinePay_post_GetCodeUrlForAirB2B",
this.code,
res => {
console.log(res)
// console.log(res)
this.codeLoading=false;
if (res.data.resultCode == 1) {
this.codeInfo=res.data.data;
......
......@@ -267,10 +267,13 @@
<div class="describe">
<p class="info">航班信息</p>
<div class="content" v-for="(flight,i) in item.flightList" :key="i">
<p v-if="i>0" style="text-align:center">中转</p>
<p v-if="i>0" style="text-align:center;margin:0;color:#FF6633;margin-bottom:10px">中转</p>
<div style="vertical-align:middle">
<img class="imgsrc" :src="item.airlineUrl" alt="">
<span style="vertical-align:middle">{{flight.alName}}</span>
<span style="vertical-align:middle;">{{flight.alName}}
&nbsp;{{flight.flightDate | YMD}}
</span>
</div>
<ul class="list_cn">
<li>
......@@ -282,10 +285,12 @@
</ul>
</div>
<div class="content" v-for="(back,k) in item.backFlightList" :key="k.id">
<p v-if="k>0" style="text-align:center">中转</p>
<p v-if="k>0" style="text-align:center;margin:0;color:#FF6633;margin-bottom:10px">中转</p>
<div style="vertical-align:middle">
<img class="imgsrc" :src="item.airlineUrl" alt="">
<span style="vertical-align:middle">{{back.alName}}</span>
<span style="vertical-align:middle">
{{back.alName}} {{back.flightDate | YMD}}
</span>
</div>
<ul class="list_cn">
<li>
......@@ -668,7 +673,7 @@ export default {
this.loading=true;
this.choose_info.qFlightDateStart=moment(this.choose_info.qFlightDateStart).format("YYYY-MM-DD");
this.apiJavaPost('/api/dmc/airticket/getB2BAirticketList',this.choose_info,res=>{
// console.log(res);
console.log(res);
this.loading=false;
if(res.data.resultCode==1){
......@@ -896,7 +901,7 @@ export default {
display: inline-block;
width:5px;
height:5px;
background:rgba(51,51,51,1);
background:#333333;
border:2px solid rgba(255, 255, 255, 1);
border-radius:50%;
margin:0 15px;
......@@ -929,6 +934,7 @@ li{
color: #fff;
font-size: 14px;
text-align:center;
margin:0;
}
::-webkit-scrollbar {
display: none;
......
......@@ -22,7 +22,7 @@
<el-carousel-item>
<img src='../../assets/img/06.jpg'>
</el-carousel-item>
<el-carousel-item>
<el-carousel-item>
<img src='../../assets/img/07.jpg'>
</el-carousel-item>
<el-carousel-item>
......
This diff is collapsed.
......@@ -12,6 +12,7 @@ import echarts from 'echarts'
import VueLazyload from 'vue-lazyload'
import htmlToPdf from './assets/utils/htmlToPdf'
import commonUtils from './assets/utils/commonUtils'
import moment from 'moment'
// 使用Vue.use()方法就会调用工具方法中的install方法
Vue.use(htmlToPdf)
......@@ -69,6 +70,12 @@ Vue.filter('priceFormat', function (value) {
}
return x1 + x2;
})
// 时间格式YYYY-MM-DD
Vue.filter("YMD", function (date) {
return moment(date).format("YYYY-MM-DD");
})
new Vue({
router,
store,
......
......@@ -201,8 +201,19 @@ export default new Router({
title: "机票订单详情"
}
},
{
path: "/VisaHomePage",
name: "VisaHomePage",
component: resolve =>
require(["@/components/visa/VisaHomePage"], resolve),
meta: {
title: "签证"
}
},
]
}
},
]
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment