Commit c537e89e authored by zhengke's avatar zhengke

增加新版行程

parent f2fe7465
......@@ -101,7 +101,7 @@ export default {
<style>
@import './assets/global/font.css';
@import '//at.alicdn.com/t/font_863923_gfxa4q9jlne.css';
@import '//at.alicdn.com/t/font_863923_fcbdh6pkoc8.css';
@import './assets/global/global.css';
@import './assets/css/common.css';
body,html{
......
......@@ -245,6 +245,11 @@
<i class="iconfont icon-hangchenganpai"></i>
PDF下载
</li>
<li @click="goUrlTrip()" style="display:none;">
<i class="iconfont icon-hangchenganpai"></i>
行程
</li>
</ul>
</el-col>
<el-col :span="6">
......@@ -1071,6 +1076,13 @@ export default {
goScroll(id){
this.scrollobj.scrollTop=document.getElementById(id).offsetTop+screen.availHeight-350;
},
//跳转至新行程
goUrlTrip(){
this.$router.push({
name: "newTrip",
query: {}
})
},
handleScroll(){
try {
if(this.scrollobj.scrollTop>this.$refs.nav.offsetTop){
......
This diff is collapsed.
......@@ -29,6 +29,15 @@ export default new Router({
name: "login",
component: loginRed
},
{
path: '/newTrip',
name: 'newTrip',
component: resolve => require(['@/components/mall/newTrip'], resolve),
meta: {
title: '行程'
}
},
{
path: "/",
name: "index",
......
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