Commit d3dfafec authored by 黄奎's avatar 黄奎

页面修改

parent 1d5daa74
...@@ -89,9 +89,11 @@ ...@@ -89,9 +89,11 @@
<tripcalendar v-if="item.Id=='TripList'" :key="index+10" :plugData="dataList"></tripcalendar> <tripcalendar v-if="item.Id=='TripList'" :key="index+10" :plugData="dataList"></tripcalendar>
<!-- 每日行程 --> <!-- 每日行程 -->
<!-- TripDayStyle 1竖起排 2横起 --> <!-- TripDayStyle 1竖起排 2横起 -->
<headStyle3 v-if="item.Id=='TripDay' && TripConfig.TripConfig.TripDayStyle==2" id="tour_detail" ref="tour_detail" :tripList="dayList" :isDirect="isDirect" :key="index+3"></headStyle3> <headStyle3 v-if="item.Id=='TripDay' && TripConfig.TripConfig.TripDayStyle==2" id="tour_detail"
<headStyle6 v-if="item.Id=='TripDay' && TripConfig.TripConfig.TripDayStyle==1" :tripList="dayList" :isDirect="isDirect" :key="index+3"></headStyle6> ref="tour_detail" :tripList="dayList" :isDirect="isDirect" :key="index+3"></headStyle3>
<headStyle6 v-if="item.Id=='TripDay' && TripConfig.TripConfig.TripDayStyle==1" :tripList="dayList"
:isDirect="isDirect" :key="index+3"></headStyle6>
<!-- 行程特色 --> <!-- 行程特色 -->
<headStyle4 v-if="item.Id=='TripFeature'" ref="feature" id="feature" :dataList="dataList" :key="index+4"> <headStyle4 v-if="item.Id=='TripFeature'" ref="feature" id="feature" :dataList="dataList" :key="index+4">
</headStyle4> </headStyle4>
...@@ -128,7 +130,7 @@ ...@@ -128,7 +130,7 @@
//出團表 group -Start //出團表 group -Start
import tripList from "../components/trip/tripList"; import tripList from "../components/trip/tripList";
import tripcalendar from "../components/trip/tripcalendar" import tripcalendar from "../components/trip/tripcalendar"
//出團表 group -End //出團表 group -End
export default { export default {
...@@ -139,7 +141,7 @@ ...@@ -139,7 +141,7 @@
configId: '', configId: '',
cityId: 0, cityId: 0,
preview: 0, preview: 0,
tcid: '10090', tcid: 0,
teamType: 0 teamType: 0
}, },
isShow: false, isShow: false,
...@@ -163,7 +165,12 @@ ...@@ -163,7 +165,12 @@
diyForm diyForm
}, },
created() { created() {
if (this.$route.params.id) {
this.msg.configId = decodeURIComponent(this.$route.params.id)
}
if (this.$route.params.tcid) {
this.msg.tcid = decodeURIComponent(this.$route.params.tcid)
}
}, },
mounted() { mounted() {
if (localStorage.baseifo) { if (localStorage.baseifo) {
...@@ -171,10 +178,10 @@ ...@@ -171,10 +178,10 @@
} }
this.getData(); this.getData();
window.addEventListener('scroll', this.menu) window.addEventListener('scroll', this.menu)
}, },
methods: { methods: {
getData() { getData() {
console.log("msg",this.msg);
this.apipost('b2b_get_GetB2BTravelInfoV1', this.msg, r => { this.apipost('b2b_get_GetB2BTravelInfoV1', this.msg, r => {
if (r.data.resultCode == 1) { if (r.data.resultCode == 1) {
this.dataList = r.data.data; this.dataList = r.data.data;
......
...@@ -25,7 +25,7 @@ const routes = [{ ...@@ -25,7 +25,7 @@ const routes = [{
component: () => component: () =>
import ('pages/tour_visa.vue') import ('pages/tour_visa.vue')
}, { //行程 }, { //行程
path: '/details', path: '/details/:id/:tcid',
component: () => component: () =>
import ('pages/details.vue') import ('pages/details.vue')
}, { }, {
......
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