Commit 39e00b69 authored by 罗超's avatar 罗超

修改

parent a5a6d5b6
...@@ -41,7 +41,7 @@ Vue.prototype.domainManager = function() { ...@@ -41,7 +41,7 @@ Vue.prototype.domainManager = function() {
//获取当前域名 //获取当前域名
Vue.prototype.GetDomain = function() { Vue.prototype.GetDomain = function() {
var domainNameUrl = window.location.hostname; var domainNameUrl = window.location.hostname;
domainNameUrl = "www.oytour.com"; domainNameUrl = "t.oytour.com";
return domainNameUrl; return domainNameUrl;
} }
Vue.prototype.groupBy = function(array, f) { Vue.prototype.groupBy = function(array, f) {
...@@ -198,12 +198,12 @@ Vue.prototype.OpenNewUrl = function(URL) { ...@@ -198,12 +198,12 @@ Vue.prototype.OpenNewUrl = function(URL) {
//公用跳转 //公用跳转
Vue.prototype.CommonJump = function(path, obj, type = 'push') { Vue.prototype.CommonJump = function(path, obj, type = 'push') {
let p = typeof(path) == 'string' ? path : this.$product.genernalUrl(path) let p = typeof(path) == 'string' ? path : this.$product.genernalUrl(path)
if(type === 'blank') { // 新窗口打开 if (type === 'blank') { // 新窗口打开
let routeUrl = this.$router.resolve({ let routeUrl = this.$router.resolve({
path: p, path: p,
query: obj query: obj
}); });
window.open(routeUrl.href, '_blank'); window.open(routeUrl.href, '_blank');
} else if (type === 'replace') { // replace } else if (type === 'replace') { // replace
this.$router.replace({ this.$router.replace({
path: p, path: p,
......
...@@ -654,7 +654,7 @@ import comments from "./hotel/comments.vue"; ...@@ -654,7 +654,7 @@ import comments from "./hotel/comments.vue";
import selectRoom from './hotel/selectRoom.vue'; import selectRoom from './hotel/selectRoom.vue';
import componentsMap from 'src/components/car/Map.vue'; import componentsMap from 'src/components/car/Map.vue';
import ImagePreview from 'src/components/common/ImagePreview.vue' import ImagePreview from 'src/components/common/ImagePreview.vue'
import RoomCard from 'src/components/hotal/RoomCard.vue' import RoomCard from '../components/hotal/RoomCard.vue'
import OrderPreview from "src/components/hotal/orderPreview.vue"; import OrderPreview from "src/components/hotal/orderPreview.vue";
export default { export default {
props: [], props: [],
......
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