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
750e90b8
Commit
750e90b8
authored
Oct 12, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新登录页面
parent
e1b9ea5b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
448 additions
and
8 deletions
+448
-8
home.css
src/assets/css/home.css
+1
-0
login-red-bg.jpg
src/assets/img/login/login-red-bg.jpg
+0
-0
FreeHome.vue
src/components/FreeTravel/FreeHome.vue
+4
-0
Home.vue
src/components/Home.vue
+1
-1
LocalCuisineDetails.vue
src/components/LocalTour/LocalCuisineDetails.vue
+1
-1
index.js
src/plugins/index.js
+7
-6
loginRed.vue
src/views/loginRed.vue
+434
-0
No files found.
src/assets/css/home.css
View file @
750e90b8
...
...
@@ -653,6 +653,7 @@ a{
display
:
inline-block
;
position
:
relative
;
margin
:
15px
0
0
15px
;
overflow
:
hidden
;
}
.Home
.Localtour
.Localtour_item
img
{
width
:
100%
;
...
...
src/assets/img/login/login-red-bg.jpg
0 → 100644
View file @
750e90b8
818 KB
src/components/FreeTravel/FreeHome.vue
View file @
750e90b8
...
...
@@ -82,6 +82,7 @@
margin-right
:
6px
;
transition
:
all
linear
.5s
;
overflow
:
hidden
;
height
:
280px
;
}
.city-tag
{
padding
:
13px
20px
;
...
...
@@ -225,6 +226,9 @@
color
:
rgba
(
51
,
51
,
51
,
1
);
font-size
:
30px
;
}
.fh-tejia
{
margin-top
:
50px
;
}
.fh-tejia
.icon-item
{
width
:
400px
;
margin
:
0
auto
;
...
...
src/components/Home.vue
View file @
750e90b8
...
...
@@ -488,7 +488,7 @@
<span
style=
"color:#FF6600"
>
¥
<span
style=
"font-size:18px;font-weight:bold"
>
{{
(
isLogin
!=
1
?
item
.
b2cPrice
:
item
.
b2bPrice
)
|
NoDesnum
}}
</span>
起
</span>
<span
style=
"color:#666666;float:right;margin-top:6px"
>
席位充足
</span>
<span
style=
"color:#666666;float:right;margin-top:6px"
>
席位充足
</span>
</div>
</div>
...
...
src/components/LocalTour/LocalCuisineDetails.vue
View file @
750e90b8
...
...
@@ -304,7 +304,7 @@
<p
class=
"pfR"
style=
"padding:15px 19px"
>
猜你喜欢
</p>
<div
class=
"leftList"
v-for=
"(item,index) in LikeList"
:key=
"index+100"
>
<div
style=
"width:188px;height:106px;"
>
<img
v-if=
"item.coverImgs[0]"
style=
"width:100%;height:100%;"
:src=
'compressImg(item.coverImgs[0], "filt", 245, "")'
alt=
""
>
<img
v-if=
"item.coverImgs[0]"
style=
"width:100%;height:100%;"
:src=
'compressImg(item.coverImgs[0], "filt", 245, "")'
alt=
""
>
<img
style=
"width:100%;height:100%;"
v-else
src=
"../../assets/img/activy.jpg"
alt=
""
>
</div>
...
...
src/plugins/index.js
View file @
750e90b8
...
...
@@ -12,10 +12,10 @@ export default {
//域名管理对象
Vue
.
prototype
.
domainManager
=
function
()
{
// var domainUrl = "http://test_reborn.oytour.com";//主域名
//
var domainUrl = "http://reborn.oytour.com"; //主域名
var
domainUrl
=
"http://reborn.oytour.com"
;
//主域名
//var domainUrl = "http://192.168.2.65:8025"//主域名
// let domainUrl = "https://reborn.oytour.com";
let
domainUrl
=
"http://testapi.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"
...
...
@@ -39,6 +39,7 @@ export default {
// javaUrl: "http://47.96.12.235:9001",
ViittoFileUrl
:
locationName
.
indexOf
(
'oytour'
)
!==
-
1
||
locationName
.
indexOf
(
'testb2b.oytour.com'
)
!==
-
1
?
"http://staticfile.oytour.com"
:
'http://192.168.2.214:8130'
,
UploadUrl
:
locationName
.
indexOf
(
'oytour'
)
!==
-
1
||
locationName
.
indexOf
(
'testb2b.oytour.com'
)
!==
-
1
?
"http://uploadfile.oytour.com"
:
"http://192.168.2.214:8130"
,
// UploadUrl: "http://uploadfile.oytour.com",
LocalFileStreamDownLoadUrl
:
domainUrl
+
"/api/file/GetFileFromWebApi"
,
};
return
obj
;
...
...
@@ -150,15 +151,15 @@ export default {
// h : 高
Vue
.
prototype
.
compressImg
=
function
(
path
,
type
,
w
,
h
)
{
let
url
=
this
.
domainManager
().
UploadUrl
;
let
poise
=
'
m_filt
'
;
let
poise
=
'
width=
'
;
w
=
w
?
w
:
''
h
=
h
?
h
:
''
if
(
type
===
'w'
)
{
poise
=
'
m_w
'
poise
=
'
width
'
}
else
if
(
type
===
'h'
)
{
poise
=
'
m_h
'
poise
=
'
height
'
}
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
;
return
path
.
split
(
'?'
)[
0
]
+
'?width='
+
w
;
}
//打开新窗口连接
Vue
.
prototype
.
OpenNewUrl
=
function
(
URL
)
{
...
...
src/views/loginRed.vue
0 → 100644
View file @
750e90b8
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