Commit 325dd79e authored by 华国豪's avatar 华国豪 🙄

新增自由行首页

parent 046050c8
......@@ -101,7 +101,7 @@ export default {
<style>
@import './assets/global/font.css';
@import '//at.alicdn.com/t/font_863923_j05ygogmy0l.css';
@import '//at.alicdn.com/t/font_863923_vy92y4agl2.css';
@import './assets/global/global.css';
@import './assets/css/common.css';
body,html{
......
This diff is collapsed.
......@@ -220,71 +220,19 @@
<span class="__splice">|</span>
</div>
</li>
<!-- <li :class="{_active: navActive === 1}" class="__tour">
<el-menu class="el-menu-demo" mode="horizontal">
<el-submenu index="2" popper-class="new_header_nav_three_select">
<template slot="title" ><span @click="handleSelect('/heel', 1), navActive = 1">跟团游</span></template>
<el-submenu index="2-1">
<template slot="title">
<div>
<p>日本线</p>
<p>东京 高雄 花莲 北海道 </p>
</div>
</template>
<el-menu-item index="2-1-1">
<div>
<p>日本线</p>
</div>
</el-menu-item>
</el-submenu>
<el-submenu index="2-2">
<template slot="title">
<div>
<p>欧洲线</p>
<p>东京 高雄 花莲 北海道 </p>
</div>
</template>
<el-menu-item index="2-2-1">
<div>
<p>欧洲线</p>
</div>
</el-menu-item>
</el-submenu>
<el-submenu index="2-3">
<template slot="title">
<div>
<p>东南亚线</p>
<p>东京 高雄 花莲 北海道 </p>
</div>
</template>
<el-menu-item index="2-3-1">
<div>
<p>东南亚线</p>
</div>
</el-menu-item>
</el-submenu>
</el-submenu>
</el-menu>
<span class="__splice">|</span>
</li>-->
<!-- 自由行 -->
<li :class="{_active: navActive === 11}">
<div @click="handleSelect('/FreeHome', 11), navActive = 11">
<span>自由行</span>
<span class="__splice">|</span>
</div>
</li>
<li :class="{_active: navActive === 2}">
<div @click="handleSelect('/IndependentTravel', 2), navActive = 2">
<span>定制游</span>
<span class="__splice">|</span>
</div>
<!-- <div>
<el-dropdown trigger="click" placement="bottom-start">
<span class="el-dropdown-link">
<span class="__cp">自由行<i class="iconfont icon-xia"></i></span>
</span>
<el-dropdown-menu class="changelanguage" slot="dropdown">
<el-dropdown-item @click.native="handleSelect('/IndependentTravel', 2)">自由行</el-dropdown-item>
<el-dropdown-item @click.native="">自由行2</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
<span class="__splice">|</span>
</div>-->
</li>
<!-- 当地游 -->
......
......@@ -189,11 +189,14 @@ export default {
againUpLoad: false
};
},
mounted() {},
mounted() {
this.GetCertificationModel();
},
methods: {
subImg() {
// 提交审核
this.VerificationMsg.CustomerID = StorageInfo.customerId;
let userInfo = this.getLocalStorage();
this.VerificationMsg.CustomerID = userInfo.customerId;
this.VerificationMsg.ApplyType = this.subTit;
this.VerificationMsg.ID = this.Verification[0]
? this.Verification[0].ID
......@@ -212,6 +215,22 @@ export default {
err => {}
);
},
GetCertificationModel(){
let userInfo = this.getLocalStorage();
this.apipost("app_customer_GetCertificationModel", { CustomerID: userInfo.customerId }, res => {
if (res.data.resultCode == 1) {
this.Verification = res.data.data
if (!this.Verification || this.Verification.length === 0) {
this.againUpLoad = false
} else {
this.againUpLoad = true
}
console.log(res.data.data)
} else {
this.$message.error(res.data.message);
}
},err => {});
},
SelectionType(type) {
this.subTit = type;
this.VerificationMsg.ApplyType = type;
......
......@@ -533,6 +533,15 @@ export default new Router({
name: "IndependentTravel",
component: resolve =>
require(["@/components/DependentTravel/IndependentTravel"], resolve),
meta: {
title: "定制游"
}
},
{
path: "/FreeHome",
name: "FreeHome",
component: resolve =>
require(["@/components/FreeTravel/FreeHome"], 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