Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
06bc028a
Commit
06bc028a
authored
Sep 27, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改图片上传 读取站点
parent
57c51b0f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
tripUtils.js
src/assets/utils/tripUtils.js
+1
-1
Login2019.vue
src/components/Login2019.vue
+6
-6
index.js
src/plug/index.js
+3
-3
No files found.
src/assets/utils/tripUtils.js
View file @
06bc028a
let
locationName
=
window
.
location
.
hostname
;
let
locationName
=
window
.
location
.
hostname
;
let
ViittoFileUrl
=
locationName
.
indexOf
(
'oytour'
)
!==
-
1
||
locationName
.
indexOf
(
'viitto'
)
!==
-
1
?
"http://
img
file.oytour.com"
:
'http://192.168.2.214:8130'
let
ViittoFileUrl
=
locationName
.
indexOf
(
'oytour'
)
!==
-
1
||
locationName
.
indexOf
(
'viitto'
)
!==
-
1
?
"http://
static
file.oytour.com"
:
'http://192.168.2.214:8130'
var
tripUtils
=
{
var
tripUtils
=
{
TypeKey
:
{
TypeKey
:
{
traffic
:
"1"
,
traffic
:
"1"
,
...
...
src/components/Login2019.vue
View file @
06bc028a
...
@@ -45,7 +45,7 @@
...
@@ -45,7 +45,7 @@
<el-col
:span=
"8"
class=
"login-box newSummaryLogin"
>
<el-col
:span=
"8"
class=
"login-box newSummaryLogin"
>
<div
v-if=
"isShow==1"
class=
"login_Div"
>
<div
v-if=
"isShow==1"
class=
"login_Div"
>
<div
class=
"logo_box"
>
<div
class=
"logo_box"
>
<img
style=
"width: 40px;"
src=
"http://
img
file.oytour.com/Upload/CompanyImage/20181219/636808340326373827.png"
alt=
""
>
<img
style=
"width: 40px;"
src=
"http://
static
file.oytour.com/Upload/CompanyImage/20181219/636808340326373827.png"
alt=
""
>
<p
class=
"FPF_b"
>
{{
groupModel
.
GroupName
?
groupModel
.
GroupName
:
''
}}
</p>
<p
class=
"FPF_b"
>
{{
groupModel
.
GroupName
?
groupModel
.
GroupName
:
''
}}
</p>
</div>
</div>
<div
class=
"sumMainTitle FPF_s"
>
登录
</div>
<div
class=
"sumMainTitle FPF_s"
>
登录
</div>
...
@@ -86,7 +86,7 @@
...
@@ -86,7 +86,7 @@
</div>
</div>
<div
v-if=
"isShow==2"
class=
"phoneLogin login_Div>"
>
<div
v-if=
"isShow==2"
class=
"phoneLogin login_Div>"
>
<div
class=
"logo_box"
>
<div
class=
"logo_box"
>
<img
style=
"width: 40px;"
src=
"http://
img
file.oytour.com/Upload/CompanyImage/20181219/636808340326373827.png"
alt=
""
>
<img
style=
"width: 40px;"
src=
"http://
static
file.oytour.com/Upload/CompanyImage/20181219/636808340326373827.png"
alt=
""
>
<p
class=
"FPF_b"
>
{{
groupModel
.
GroupName
?
groupModel
.
GroupName
:
''
}}
</p>
<p
class=
"FPF_b"
>
{{
groupModel
.
GroupName
?
groupModel
.
GroupName
:
''
}}
</p>
</div>
</div>
<div
class=
"sumMainTitle FPF_s"
>
绑定手机号
</div>
<div
class=
"sumMainTitle FPF_s"
>
绑定手机号
</div>
...
@@ -117,7 +117,7 @@
...
@@ -117,7 +117,7 @@
<div
v-if=
"isShow==3"
class=
"phoneLogin login_Div"
>
<div
v-if=
"isShow==3"
class=
"phoneLogin login_Div"
>
<div
class=
"logo_box"
>
<div
class=
"logo_box"
>
<img
style=
"width: 40px;"
src=
"http://
img
file.oytour.com/Upload/CompanyImage/20181219/636808340326373827.png"
alt=
""
>
<img
style=
"width: 40px;"
src=
"http://
static
file.oytour.com/Upload/CompanyImage/20181219/636808340326373827.png"
alt=
""
>
<p>
{{
groupModel
.
GroupName
?
groupModel
.
GroupName
:
''
}}
</p>
<p>
{{
groupModel
.
GroupName
?
groupModel
.
GroupName
:
''
}}
</p>
</div>
</div>
<div
class=
"sumMainTitle FPF_s"
>
修改密码
</div>
<div
class=
"sumMainTitle FPF_s"
>
修改密码
</div>
...
@@ -170,19 +170,19 @@ export default {
...
@@ -170,19 +170,19 @@ export default {
speed
:
3000
,
speed
:
3000
,
imgList
:
[
imgList
:
[
{
{
src
:
'http://
img
file.oytour.com/New/Upload/Cloud/2019-09/20190923020945469.jpg'
,
src
:
'http://
static
file.oytour.com/New/Upload/Cloud/2019-09/20190923020945469.jpg'
,
text
:
'京都独旅之秋'
,
text
:
'京都独旅之秋'
,
text1
:
'旅宿权威柏井寿的私房赏枫秘境'
,
text1
:
'旅宿权威柏井寿的私房赏枫秘境'
,
url
:
'http://www.oytour.com/#/JuanDetails?id=70'
url
:
'http://www.oytour.com/#/JuanDetails?id=70'
},
},
{
{
src
:
'http://
img
file.oytour.com/New/Upload/Cloud/2019-09/20190920035420544.jpg'
,
src
:
'http://
static
file.oytour.com/New/Upload/Cloud/2019-09/20190920035420544.jpg'
,
text
:
'邂逅北海道'
,
text
:
'邂逅北海道'
,
text1
:
'看见 北海道 之美'
,
text1
:
'看见 北海道 之美'
,
url
:
'http://www.oytour.com/#/FoodImg4'
url
:
'http://www.oytour.com/#/FoodImg4'
},
},
{
{
src
:
'http://
img
file.oytour.com/New/Upload/Cloud/2019-09/20190920035420528.jpg'
,
src
:
'http://
static
file.oytour.com/New/Upload/Cloud/2019-09/20190920035420528.jpg'
,
text
:
'自由土耳其'
,
text
:
'自由土耳其'
,
text1
:
'翱翔天际 感受星月魅力'
,
text1
:
'翱翔天际 感受星月魅力'
,
url
:
'http://www.oytour.com/#/JuanDetails?id=70'
url
:
'http://www.oytour.com/#/JuanDetails?id=70'
...
...
src/plug/index.js
View file @
06bc028a
...
@@ -147,9 +147,9 @@ export default {
...
@@ -147,9 +147,9 @@ export default {
//google地图图片地址
//google地图图片地址
GoogleMapImageUrl
:
"http://super.oytour.com"
,
GoogleMapImageUrl
:
"http://super.oytour.com"
,
//上传站点
//上传站点
UploadUrl
:
locationName
.
indexOf
(
'oytour'
)
!==
-
1
||
locationName
.
indexOf
(
'viitto'
)
!==
-
1
?
"http://upload.oytour.com"
:
"http://192.168.2.214:8120"
,
UploadUrl
:
locationName
.
indexOf
(
'oytour'
)
!==
-
1
||
locationName
.
indexOf
(
'viitto'
)
!==
-
1
?
"http://upload
file
.oytour.com"
:
"http://192.168.2.214:8120"
,
//文件站点
//文件站点
ViittoFileUrl
:
locationName
.
indexOf
(
'oytour'
)
!==
-
1
||
locationName
.
indexOf
(
'viitto'
)
!==
-
1
?
"http://
img
file.oytour.com"
:
'http://192.168.2.214:8130'
,
ViittoFileUrl
:
locationName
.
indexOf
(
'oytour'
)
!==
-
1
||
locationName
.
indexOf
(
'viitto'
)
!==
-
1
?
"http://
static
file.oytour.com"
:
'http://192.168.2.214:8130'
,
javaUrl
:
locationName
.
indexOf
(
'oytour'
)
!==
-
1
||
locationName
.
indexOf
(
'viitto'
)
!==
-
1
?
(
locationName
.
indexOf
(
'oytour'
)
!==
-
1
?
"http://efficient.oytour.com"
:
"http://47.96.12.235:9001"
)
:
"http://192.168.2.215:9000"
,
javaUrl
:
locationName
.
indexOf
(
'oytour'
)
!==
-
1
||
locationName
.
indexOf
(
'viitto'
)
!==
-
1
?
(
locationName
.
indexOf
(
'oytour'
)
!==
-
1
?
"http://efficient.oytour.com"
:
"http://47.96.12.235:9001"
)
:
"http://192.168.2.215:9000"
,
// javaUrl:"http://192.168.2.215:9000",
// javaUrl:"http://192.168.2.215:9000",
...
@@ -648,7 +648,7 @@ export default {
...
@@ -648,7 +648,7 @@ export default {
}
else
if
(
type
===
'h'
)
{
}
else
if
(
type
===
'h'
)
{
poise
=
'm_h'
poise
=
'm_h'
}
}
return
url
+
'/image/index?filePath='
+
path
.
replace
(
'http://192.168.2.214:8130'
,
''
).
replace
(
'http://
img
file.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://
static
file.oytour.com'
,
''
).
split
(
'?'
)[
0
]
+
'&process=resize,'
+
poise
+
',w_'
+
w
+
',h_'
+
h
;
}
}
Vue
.
prototype
.
uploadSelfBlob
=
function
(
path
,
files
,
successCall
)
{
Vue
.
prototype
.
uploadSelfBlob
=
function
(
path
,
files
,
successCall
)
{
let
that
=
this
;
let
that
=
this
;
...
...
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