Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
million
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
viitto
million
Commits
2831d04e
Commit
2831d04e
authored
Jul 28, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
3511f4e0
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
16 deletions
+21
-16
utils.js
src/boot/utils.js
+7
-3
style3.vue
src/components/trip/style3.vue
+4
-3
style4.vue
src/components/trip/style4.vue
+2
-2
style5.vue
src/components/trip/style5.vue
+5
-5
style6.vue
src/components/trip/style6.vue
+3
-3
No files found.
src/boot/utils.js
View file @
2831d04e
...
...
@@ -6,12 +6,12 @@ import md5 from 'js-md5'
Vue
.
prototype
.
domainManager
=
function
()
{
let
domainUrl
=
''
;
domainUrl
=
"http://192.168.2.214:8082"
;
domainUrl
=
"http://1
92.168.0.110
"
;
domainUrl
=
"http://1
27.0.0.1
"
;
let
locationName
=
location
.
hostname
;
if
(
locationName
.
indexOf
(
'testerp.oytour'
)
!==
-
1
)
{
domainUrl
=
"http://testapi.oytour.com"
;
domainUrl
=
"http://testapi.oytour.com"
;
}
else
if
(
locationName
.
indexOf
(
'oytour'
)
!==
-
1
)
{
domainUrl
=
"http://reborn.oytour.com"
;
domainUrl
=
"http://reborn.oytour.com"
;
}
var
obj
=
{
//主地址
...
...
@@ -247,3 +247,7 @@ Vue.prototype.AddMonth = function (dateStr, month) {
Vue
.
prototype
.
getUrlKey
=
function
(
name
,
url
)
{
return
decodeURIComponent
((
new
RegExp
(
'[?|&]'
+
name
+
'='
+
'([^&;]+?)(&|#|;|$)'
).
exec
(
url
)
||
[,
""
])[
1
].
replace
(
/
\+
/g
,
'%20'
))
||
null
}
Vue
.
prototype
.
GetHtml
=
function
(
str
)
{
return
str
.
replace
(
/</g
,
'<'
).
replace
(
/>/g
,
'>'
)
.
replace
(
/&/g
,
'&'
).
replace
(
/"/g
,
'"'
).
replace
(
/'/g
,
"'"
);
}
src/components/trip/style3.vue
View file @
2831d04e
...
...
@@ -2882,17 +2882,18 @@
useDinnerTypeBy
=
y
.
childItem
.
useDinnerType
}
})
if
(
can
.
breakfirst
==
'敬请自理'
&&
useDinnerTypeBy
.
indexOf
(
'1'
)
!=
-
1
)
{
console
.
log
(
"useDinnerTypeBy"
,
useDinnerTypeBy
);
if
(
can
.
breakfirst
==
'敬请自理'
&&
(
useDinnerTypeBy
&&
useDinnerTypeBy
.
indexOf
(
'1'
)
!=
-
1
))
{
can
.
breakfirst
=
'酒店内享用早餐'
}
else
if
(
can
.
breakfirst
==
''
)
{
can
.
breakfirst
=
'方便游玩敬请自理'
}
if
(
can
.
lanuch
==
'敬请自理'
&&
useDinnerTypeBy
.
indexOf
(
'2'
)
!=
-
1
)
{
if
(
can
.
lanuch
==
'敬请自理'
&&
(
useDinnerTypeBy
&&
useDinnerTypeBy
.
indexOf
(
'2'
)
!=
-
1
)
)
{
can
.
lanuch
=
'酒店自助'
}
else
if
(
can
.
lanuch
==
''
)
{
can
.
lanuch
=
'方便游玩敬请自理'
}
if
(
can
.
dinner
==
'敬请自理'
&&
useDinnerTypeBy
.
indexOf
(
'3'
)
!=
-
1
)
{
if
(
can
.
dinner
==
'敬请自理'
&&
(
useDinnerTypeBy
&&
useDinnerTypeBy
.
indexOf
(
'3'
)
!=
-
1
)
)
{
can
.
dinner
=
'酒店自助'
}
else
if
(
can
.
dinner
==
''
)
{
can
.
dinner
=
'方便游玩敬请自理'
...
...
src/components/trip/style4.vue
View file @
2831d04e
...
...
@@ -38,10 +38,10 @@
<div
class=
"todayTitle"
>
行程特色
</div>
<div
class=
"featureBox"
>
<template
v-if=
"showType==3"
>
<div
class=
"feature-inner"
v-html=
"
dataList.feature.featureContent
"
:class=
"
{'isHiden4':isShow}">
</div>
<div
class=
"feature-inner"
v-html=
"
GetHtml(dataList.feature.featureContent)
"
:class=
"
{'isHiden4':isShow}">
</div>
</
template
>
<
template
v-if=
"showType>=4"
>
<div
class=
"feature-inner"
v-html=
"
dataList.feature.featureHtml
"
:class=
"
{'isHiden4':isShow}">
</div>
<div
class=
"feature-inner"
v-html=
"
GetHtml(dataList.feature.featureHtml)
"
:class=
"
{'isHiden4':isShow}">
</div>
</
template
>
<div
class=
"collapse_toggle"
v-if=
"!isShow"
>
<i
class=
"iconfont iconarrow-top"
@
click=
"isShow=true"
></i>
...
...
src/components/trip/style5.vue
View file @
2831d04e
...
...
@@ -95,13 +95,13 @@
<div
class=
"expense"
>
<div
class=
"left"
>
费用包含
</div>
<div
class=
"right"
>
<div
v-html=
"
dataList.feature.feeInclude
"
></div>
<div
v-html=
"
GetHtml(dataList.feature.feeInclude)
"
></div>
</div>
</div>
<div
class=
"expense"
>
<div
class=
"left"
>
自理费用
</div>
<div
class=
"right"
>
<div
v-html=
"
dataList.feature.feeNonInclude
"
></div>
<div
v-html=
"
GetHtml(dataList.feature.feeNonInclude)
"
></div>
</div>
</div>
<div
class=
"fee_title"
>
购物说明
</div>
...
...
@@ -112,7 +112,7 @@
<div
class=
"expense"
>
<div
class=
"left"
></div>
<div
class=
"right"
>
<div
v-html=
"
dataList.feature.shopRemark
"
></div>
<div
v-html=
"
GetHtml(dataList.feature.shopRemark)
"
></div>
</div>
</div>
<div
class=
"fee_title"
>
预订须知
</div>
...
...
@@ -123,13 +123,13 @@
<div
class=
"expense"
>
<div
class=
"left"
>
重要提示
</div>
<div
class=
"right"
>
<div
v-html=
"
dataList.feature.importantTip
"
></div>
<div
v-html=
"
GetHtml(dataList.feature.importantTip)
"
></div>
</div>
</div>
<div
class=
"expense"
>
<div
class=
"left"
>
温馨提示
</div>
<div
class=
"right"
>
<div
v-html=
"
dataList.feature.warmTip
"
></div>
<div
v-html=
"
GetHtml(dataList.feature.warmTip)
"
></div>
</div>
</div>
<div
class=
"fee_title"
>
签证
</div>
...
...
src/components/trip/style6.vue
View file @
2831d04e
...
...
@@ -404,17 +404,17 @@
useDinnerTypeBy
=
y
.
childItem
.
useDinnerType
}
})
if
(
can
.
breakfirst
==
'敬请自理'
&&
useDinnerTypeBy
.
indexOf
(
'1'
)
!=
-
1
)
{
if
(
can
.
breakfirst
==
'敬请自理'
&&
useDinnerTypeBy
&&
useDinnerTypeBy
.
indexOf
(
'1'
)
!=
-
1
)
{
can
.
breakfirst
=
'酒店内享用早餐'
}
else
if
(
can
.
breakfirst
==
''
)
{
can
.
breakfirst
=
'方便游玩敬请自理'
}
if
(
can
.
lanuch
==
'敬请自理'
&&
useDinnerTypeBy
.
indexOf
(
'2'
)
!=
-
1
)
{
if
(
can
.
lanuch
==
'敬请自理'
&&
useDinnerTypeBy
&&
useDinnerTypeBy
.
indexOf
(
'2'
)
!=
-
1
)
{
can
.
lanuch
=
'酒店自助'
}
else
if
(
can
.
lanuch
==
''
)
{
can
.
lanuch
=
'方便游玩敬请自理'
}
if
(
can
.
dinner
==
'敬请自理'
&&
useDinnerTypeBy
.
indexOf
(
'3'
)
!=
-
1
)
{
if
(
can
.
dinner
==
'敬请自理'
&&
useDinnerTypeBy
&&
useDinnerTypeBy
.
indexOf
(
'3'
)
!=
-
1
)
{
can
.
dinner
=
'酒店自助'
}
else
if
(
can
.
dinner
==
''
)
{
can
.
dinner
=
'方便游玩敬请自理'
...
...
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