Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
Athena
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
华国豪
Athena
Commits
c4bf24ce
Commit
c4bf24ce
authored
Sep 27, 2019
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改链接
parent
ef87d5a7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
10 deletions
+13
-10
App.vue
src/App.vue
+1
-1
FreeHome.vue
src/components/FreeTravel/FreeHome.vue
+5
-5
index.js
src/plugins/index.js
+7
-4
No files found.
src/App.vue
View file @
c4bf24ce
...
...
@@ -12,7 +12,7 @@
<transition
name=
"el-zoom-in-top"
v-if=
"!isPhone"
>
<div
class=
"page-component-up"
v-show=
"top>10"
@
click=
"goTop"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"下载同业助手App"
placement=
"left"
>
<img
src=
'http://
img
file.oytour.com/New/Upload/Cloud/2019-08/20190801015414093.png'
@
click=
"FootgoUrl('xiazaiAPP')"
>
<img
src=
'http://
static
file.oytour.com/New/Upload/Cloud/2019-08/20190801015414093.png'
@
click=
"FootgoUrl('xiazaiAPP')"
>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"返回顶部"
placement=
"left"
>
<i
class=
"el-icon-arrow-up"
></i>
...
...
src/components/FreeTravel/FreeHome.vue
View file @
c4bf24ce
...
...
@@ -917,28 +917,28 @@ export default {
CCListActive
:
0
,
topCityList
:
[{
name
:
'东京'
,
src
:
"http://
img
file.oytour.com/New/Upload/Cloud/2019-08/20190821052335633.jpg"
,
src
:
"http://
static
file.oytour.com/New/Upload/Cloud/2019-08/20190821052335633.jpg"
,
id
:
1
,
number
:
"A01-003-00001"
},{
name
:
'京都'
,
src
:
"http://
img
file.oytour.com/New/Upload/Cloud/2019-08/20190821052335636.jpg"
,
src
:
"http://
static
file.oytour.com/New/Upload/Cloud/2019-08/20190821052335636.jpg"
,
id
:
2
,
number
:
"A01-003-00003"
,
},{
name
:
'大阪'
,
src
:
"http://
img
file.oytour.com/New/Upload/Cloud/2019-08/20190821052335628.jpg"
,
src
:
"http://
static
file.oytour.com/New/Upload/Cloud/2019-08/20190821052335628.jpg"
,
id
:
3
,
number
:
"A01-003-00002"
},{
name
:
'首尔'
,
src
:
"http://
img
file.oytour.com/New/Upload/Cloud/2019-08/20190821052335683.jpg"
,
src
:
"http://
static
file.oytour.com/New/Upload/Cloud/2019-08/20190821052335683.jpg"
,
id
:
0
,
number
:
'A01-004-00001'
},{
name
:
'曼谷'
,
src
:
"http://
img
file.oytour.com/New/Upload/Cloud/2019-08/20190821052335631.jpg"
,
src
:
"http://
static
file.oytour.com/New/Upload/Cloud/2019-08/20190821052335631.jpg"
,
id
:
4
,
number
:
"A01-010-00001"
}],
...
...
src/plugins/index.js
View file @
c4bf24ce
...
...
@@ -13,9 +13,11 @@ export default {
Vue
.
prototype
.
domainManager
=
function
()
{
// var domainUrl = "http://test_reborn.oytour.com";//主域名
//var domainUrl = "http://reborn.oytour.com"; //主域名
//
var domainUrl = "http://192.168.2.65:8025"//主域名
//
var domainUrl = "http://192.168.2.65:8025"//主域名
// let domainUrl = "https://reborn.oytour.com";
let
domainUrl
=
"http://testapi.oytour.com"
// let domainUrl = "http://192.168.2.215:9000"
//let domainUrl = "http://192.168.0.106"
// let domainUrl = "http://192.168.2.214:8082"
// var domainUrl = "http://reborn.oytour.com";
let
locationName
=
window
.
location
.
hostname
;
...
...
@@ -32,10 +34,11 @@ export default {
PostUrl
:
domainUrl
+
"/api/common/post"
,
// javaUrl: locationName.indexOf('oytour') !== -1 || locationName.indexOf('testb2b.oytour.com') !== -1 ? (locationName.indexOf('oytour') !== -1 ? "http://efficient.oytour.com" : "http://47.96.12.235:9001") : "http://192.168.2.215:9000",
javaUrl
:
locationName
.
indexOf
(
'testb2b'
)
==
-
1
?
"http://efficient.oytour.com"
:
locationName
.
indexOf
(
'testb2b.oytour.com'
)
!==
-
1
?
"http://47.96.12.235:9001"
:
"http://192.168.2.215:9000"
,
//javaUrl:'http://192.168.2.215:9000',
// javaUrl: "http://efficient.oytour.com",
// javaUrl: "http://47.96.12.235:9001",
ViittoFileUrl
:
locationName
.
indexOf
(
'oytour'
)
!==
-
1
||
locationName
.
indexOf
(
'testb2b.oytour.com'
)
!==
-
1
?
"http://
img
file.oytour.com"
:
'http://192.168.2.214:8130'
,
UploadUrl
:
locationName
.
indexOf
(
'oytour'
)
!==
-
1
||
locationName
.
indexOf
(
'testb2b.oytour.com'
)
!==
-
1
?
"http://upload
.oytour.com"
:
"http://192.168.2.214:812
0"
,
ViittoFileUrl
:
locationName
.
indexOf
(
'oytour'
)
!==
-
1
||
locationName
.
indexOf
(
'testb2b.oytour.com'
)
!==
-
1
?
"http://
static
file.oytour.com"
:
'http://192.168.2.214:8130'
,
UploadUrl
:
locationName
.
indexOf
(
'oytour'
)
!==
-
1
||
locationName
.
indexOf
(
'testb2b.oytour.com'
)
!==
-
1
?
"http://upload
file.oytour.com"
:
"http://192.168.2.214:813
0"
,
LocalFileStreamDownLoadUrl
:
domainUrl
+
"/api/file/GetFileFromWebApi"
,
};
return
obj
;
...
...
@@ -155,7 +158,7 @@ export default {
}
else
if
(
type
===
'h'
)
{
poise
=
'm_h'
}
return
url
+
'/image/index?filePath='
+
path
.
replace
(
'http://192.168.2.214:8130'
,
''
).
replace
(
'http://
imgfile.oytour.com'
,
''
).
split
(
'?'
)[
0
]
+
'&process=resize,'
+
poise
+
',w_'
+
w
+
',h_'
+
h
;
return
url
+
'/image/index?filePath='
+
path
.
replace
(
'http://192.168.2.214:8130'
,
''
).
replace
(
'http://
staticfile.oytour.com'
,
''
).
replace
(
'http://imgfile.oytour.com'
,
''
).
split
(
'?'
)[
0
]
+
'&process=resize,'
+
poise
+
',w_'
+
w
+
',h_'
+
h
;
}
//打开新窗口连接
Vue
.
prototype
.
OpenNewUrl
=
function
(
URL
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment