Commit 6981d7f1 authored by zhengke's avatar zhengke

增加页面

parent 427abb33
...@@ -68,7 +68,7 @@ Vue.prototype.getLocalStorage = function () { ...@@ -68,7 +68,7 @@ Vue.prototype.getLocalStorage = function () {
} }
//向外跳转 //向外跳转
Vue.prototype.OpenNewUrl = function (URL){ Vue.prototype.OpenNewUrl = function (URL) {
if (URL != '') { if (URL != '') {
if (URL.indexOf("https") != -1) { if (URL.indexOf("https") != -1) {
var str = 'http://' + URL.substring(8); var str = 'http://' + URL.substring(8);
...@@ -81,3 +81,12 @@ Vue.prototype.OpenNewUrl = function (URL){ ...@@ -81,3 +81,12 @@ Vue.prototype.OpenNewUrl = function (URL){
} }
} }
} }
//公用跳转
Vue.prototype.CommonJump = function (path, obj) {
console.log(path,'path');
this.$router.push({
name: path,
query: obj
});
}
...@@ -275,7 +275,7 @@ ...@@ -275,7 +275,7 @@
<ul class="hor_footuu"> <ul class="hor_footuu">
<li>{{dataList.Config.Name}}</li> <li>{{dataList.Config.Name}}</li>
<li class="other_li" v-for="(item,index) in dataList.FooterList" :key="index"> <li class="other_li" v-for="(item,index) in dataList.FooterList" :key="index">
<a :href="item.Url" target="_blank">{{item.title}}</a> <a @click="CommonJump(item.url,{})">{{item.title}}</a>
</li> </li>
</ul> </ul>
</div> </div>
......
<template>
<div>
关于我们
</div>
</template>
<script>
export default {
props: [],
data() {
return {
};
},
created() {},
mounted() {
},
methods: {
},
};
</script>
<template>
<div>
合约书下载
</div>
</template>
<script>
export default {
props: [],
data() {
return {
};
},
created() {},
mounted() {
},
methods: {
},
};
</script>
<template>
<div>
护照签证费用说明
</div>
</template>
<script>
export default {
props: [],
data() {
return {
};
},
created() {},
mounted() {
},
methods: {
},
};
</script>
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