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
7dd13f26
Commit
7dd13f26
authored
3 years ago
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
4b7b2211
7d26d33c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
3 deletions
+18
-3
GnHotelInfo.vue
src/components/Hotel/GnHotelInfo.vue
+5
-3
index.js
src/plug/index.js
+13
-0
No files found.
src/components/Hotel/GnHotelInfo.vue
View file @
7dd13f26
...
...
@@ -23,16 +23,18 @@
.Gnhotel_Right
{
float
:
left
;
width
:
600px
;
}
.InnerHotelDiv
{
display
:
flex
;
flex-wrap
:
wrap
;
}
.InnerHoImgDiv
{
width
:
100px
;
height
:
100px
;
margin
-right
:
5px
;
margin
:
0
5px
5px
0
;
}
.InnerHoImgDiv
img
{
...
...
@@ -54,7 +56,7 @@
<div
class=
"Ghotel_baseinfo"
>
<template
v-if=
"activeName==1"
>
<div>
<div
style=
"float:left;width:
60
0px;"
>
<div
style=
"float:left;width:
55
0px;"
>
<el-form-item
:label=
"$t('ground.jiudianmingzi')"
>
<el-input
type=
"text"
v-model=
"addMsg.HotelRealName"
maxlength=
"100"
class=
"w300"
placeholder=
"请填写酒店名称:xx酒店"
></el-input>
...
...
@@ -138,7 +140,7 @@
:label=
"subItem.Label==''?'默认':subItem.Label"
>
<div
class=
"InnerHotelDiv"
>
<div
class=
"InnerHoImgDiv"
v-for=
"(sItem,sIndex) in subItem.ImgList"
:key=
"sIndex"
>
<img
:src=
"getIconLink(sItem.Path)"
@
click=
"showImg(sItem.
All
Path)"
/>
<img
:src=
"getIconLink(sItem.Path)"
@
click=
"showImg(sItem.Path)"
/>
</div>
</div>
</el-tab-pane>
...
...
This diff is collapsed.
Click to expand it.
src/plug/index.js
View file @
7dd13f26
...
...
@@ -118,6 +118,7 @@ export default {
let
locationName
=
window
.
location
.
hostname
;
// domainUrl = "http://127.0.0.1";
domainUrl
=
"http://192.168.20.17:8015"
;
domainUrl
=
"http://192.168.20.24"
;
let
javaUrldo
=
""
;
javaUrldo
=
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"
;
//商城API
...
...
@@ -847,6 +848,18 @@ export default {
});
}
},
//公用判断图片地址 判断是否包含http
Vue
.
prototype
.
getIconLink
=
function
(
url
)
{
let
str
=
''
if
(
url
&&
url
!=
''
)
{
if
(
url
.
indexOf
(
'http'
)
!=
-
1
)
{
str
=
url
}
else
{
str
=
this
.
domainManager
().
ViittoFileUrl
+
url
;
}
return
str
;
}
},
//上传文件到本地服务器
Vue
.
prototype
.
UploadSelfFileT
=
function
(
path
,
files
,
successCall
,
ocr
)
{
if
(
files
&&
files
.
length
>
0
)
{
...
...
This diff is collapsed.
Click to expand it.
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