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
c020ad40
Commit
c020ad40
authored
Mar 16, 2023
by
吴春
Browse files
Options
Browse Files
Download
Plain Diff
解决冲突
parents
ee8b912c
7c2d7e45
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
222 additions
and
119 deletions
+222
-119
utils.js
src/boot/utils.js
+3
-3
city-category.vue
src/components/navs/city-category.vue
+1
-5
search_sf2.vue
src/components/search_sf/search_sf2.vue
+3
-2
kkday.vue
src/components/searchdata/kkday.vue
+4
-1
calendar.vue
src/components/trip/calendar.vue
+4
-4
smaple.vue
src/components/trip/smaple.vue
+2
-2
orderForm.vue
src/pages/ScenicSpotTicket/orderForm.vue
+1
-1
cityDetail.vue
src/pages/city/cityDetail.vue
+167
-84
detailHotal.vue
src/pages/detailHotal.vue
+16
-5
detailsNew.vue
src/pages/detailsNew.vue
+17
-9
orderForm.vue
src/pages/hotel/orderForm.vue
+3
-2
orderPreview.vue
src/pages/line/orderPreview.vue
+1
-1
No files found.
src/boot/utils.js
View file @
c020ad40
...
@@ -25,8 +25,8 @@ Vue.prototype.domainManager = function() {
...
@@ -25,8 +25,8 @@ Vue.prototype.domainManager = function() {
if
(
domainNameUrl
.
indexOf
(
'testerp.oytour'
)
!==
-
1
)
{
if
(
domainNameUrl
.
indexOf
(
'testerp.oytour'
)
!==
-
1
)
{
domainUrl
=
"http://testapi.oytour.com"
;
domainUrl
=
"http://testapi.oytour.com"
;
}
else
if
(
domainNameUrl
.
indexOf
(
'oytour'
)
!==
-
1
)
{
}
else
if
(
domainNameUrl
.
indexOf
(
'oytour'
)
!==
-
1
)
{
//
domainUrl = "http://reborn.oytour.com";
domainUrl
=
"http://reborn.oytour.com"
;
domainUrl
=
'http://192.168.10.206
'
//'http://192.168.10.206:8015' ''http://192.168.10.11:8083' '
// domainUrl = 'http://192.168.10.206:8015
' //'http://192.168.10.206:8015' ''http://192.168.10.11:8083' '
}
}
var
obj
=
{
var
obj
=
{
//主地址
//主地址
...
@@ -41,7 +41,7 @@ Vue.prototype.domainManager = function() {
...
@@ -41,7 +41,7 @@ Vue.prototype.domainManager = function() {
//获取当前域名
//获取当前域名
Vue
.
prototype
.
GetDomain
=
function
()
{
Vue
.
prototype
.
GetDomain
=
function
()
{
var
domainNameUrl
=
window
.
location
.
hostname
;
var
domainNameUrl
=
window
.
location
.
hostname
;
domainNameUrl
=
"
t
.oytour.com"
;
domainNameUrl
=
"
www
.oytour.com"
;
return
domainNameUrl
;
return
domainNameUrl
;
}
}
Vue
.
prototype
.
groupBy
=
function
(
array
,
f
)
{
Vue
.
prototype
.
groupBy
=
function
(
array
,
f
)
{
...
...
src/components/navs/city-category.vue
View file @
c020ad40
<
<<<<<<
HEAD
<
style
>
</style>
=======
>>>>>>> f1c336638dd7e228f10cc6497760343026d24a12
<
style
scoped
>
<
style
scoped
>
.header-box
{
.header-box
{
max-width
:
1200px
;
max-width
:
1200px
;
...
...
src/components/search_sf/search_sf2.vue
View file @
c020ad40
...
@@ -594,9 +594,10 @@ export default {
...
@@ -594,9 +594,10 @@ export default {
console
.
log
(
val
)
console
.
log
(
val
)
if
(
val
!=
''
&&
typeof
val
==
'string'
){
if
(
val
!=
''
&&
typeof
val
==
'string'
){
this
.
searchKey
=
val
this
.
searchKey
=
val
this
.
historys
=
Array
.
from
(
new
Set
([
this
.
searchKey
].
concat
(
this
.
historys
)))
localStorage
[
'recent_search'
]
=
JSON
.
stringify
(
this
.
historys
)
}
}
this
.
historys
=
Array
.
from
(
new
Set
([
this
.
searchKey
].
concat
(
this
.
historys
)))
localStorage
[
'recent_search'
]
=
JSON
.
stringify
(
this
.
historys
)
this
.
CommonJump
(
"/search"
,
{
this
.
CommonJump
(
"/search"
,
{
qsearchKey
:
this
.
searchKey
,
qsearchKey
:
this
.
searchKey
,
qsearchDate
:
this
.
searchDate
,
qsearchDate
:
this
.
searchDate
,
...
...
src/components/searchdata/kkday.vue
View file @
c020ad40
<
template
>
<
template
>
<div
class=
"items-start q-mt-lg"
:class=
"$q.platform.is.desktop ? 'row' : 'colmuns'"
>
<div
class=
"items-start q-mt-lg
travel-list
"
:class=
"$q.platform.is.desktop ? 'row' : 'colmuns'"
>
<div
class=
"col-3"
:class=
"$q.platform.is.desktop ? 'q-mr-lg' : 'q-ma-md'"
>
<div
class=
"col-3"
:class=
"$q.platform.is.desktop ? 'q-mr-lg' : 'q-ma-md'"
>
<q-card
flat
class=
"rounded-borders q-py-md"
>
<q-card
flat
class=
"rounded-borders q-py-md"
>
<div
class=
"text-subtitle1 text-weight-bold q-mx-md"
>
篩選目的地
</div>
<div
class=
"text-subtitle1 text-weight-bold q-mx-md"
>
篩選目的地
</div>
...
@@ -21,6 +21,8 @@
...
@@ -21,6 +21,8 @@
@
update:ticked=
"handleAreaTicked"
@
update:ticked=
"handleAreaTicked"
:ticked=
"areaTicked"
:ticked=
"areaTicked"
text-color=
"#666"
text-color=
"#666"
no-nodes-label=
" "
no-results-label=
" "
/>
/>
</q-card>
</q-card>
<q-card
flat
class=
"rounded-borders q-py-md q-mt-lg"
>
<q-card
flat
class=
"rounded-borders q-py-md q-mt-lg"
>
...
@@ -744,6 +746,7 @@ this.dayArray = this.dayArray.filter(item => arr.includes(item.id))
...
@@ -744,6 +746,7 @@ this.dayArray = this.dayArray.filter(item => arr.includes(item.id))
.addr-list:hover {
.addr-list:hover {
background: #f1416c1a;
background: #f1416c1a;
}
}
</style>
</style>
<style scoped>
<style scoped>
.price-stuff {
.price-stuff {
...
...
src/components/trip/calendar.vue
View file @
c020ad40
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
class=
"rounded-borders text-center text-weight-bold"
class=
"rounded-borders text-center text-weight-bold"
:class=
"
{
:class=
"
{
'cursor-pointer hover-date': x.value != ''
&&
x.price,
'cursor-pointer hover-date': x.value != ''
&&
x.price,
'cursor-not-allowed':
!x.price
&&
x.value != '',
'cursor-not-allowed':
(!x.price || x.price.remainNum==0)
&&
x.value != '',
'bg-primary': x.value != ''
&&
x.value == currentDate,
'bg-primary': x.value != ''
&&
x.value == currentDate,
}"
}"
style="padding: 8px 4px; width: 14.285%"
style="padding: 8px 4px; width: 14.285%"
...
@@ -67,7 +67,7 @@
...
@@ -67,7 +67,7 @@
}"
}"
>
>
{{
{{
x
.
price
?
moneyFormat
(
x
.
price
.
originalB2CPrice
,
0
)
:
" "
x
.
price
&&
x
.
price
.
remainNum
>
0
?
moneyFormat
(
x
.
price
.
originalB2CPrice
,
0
)
:(
x
.
price
&&
x
.
price
.
remainNum
==
0
?
'售罄'
:
' '
)
}}
}}
</div>
</div>
</div>
</div>
...
@@ -164,7 +164,7 @@ export default {
...
@@ -164,7 +164,7 @@ export default {
}
}
while
(
newBeginDate
<=
newEndDate
)
{
while
(
newBeginDate
<=
newEndDate
)
{
let
value
=
date
.
formatDate
(
newBeginDate
,
"YYYY-MM-DD"
);
let
value
=
date
.
formatDate
(
newBeginDate
,
"YYYY-MM-DD"
);
let
price
=
this
.
prices
.
find
((
x
)
=>
x
.
startDate
==
value
&&
x
.
remainNum
>
0
);
let
price
=
this
.
prices
.
find
((
x
)
=>
x
.
startDate
==
value
);
this
.
col
.
push
({
this
.
col
.
push
({
value
,
value
,
display
:
date
.
formatDate
(
newBeginDate
,
"DD"
),
display
:
date
.
formatDate
(
newBeginDate
,
"DD"
),
...
@@ -180,7 +180,7 @@ export default {
...
@@ -180,7 +180,7 @@ export default {
}
}
},
},
chosenDateHandler
(
item
)
{
chosenDateHandler
(
item
)
{
if
(
item
.
price
)
{
if
(
item
.
price
&&
item
.
price
.
remainNum
>
0
)
{
this
.
currentDate
=
item
.
value
;
this
.
currentDate
=
item
.
value
;
this
.
$emit
(
"change"
,
item
);
this
.
$emit
(
"change"
,
item
);
}
}
...
...
src/components/trip/smaple.vue
View file @
c020ad40
...
@@ -42,11 +42,11 @@
...
@@ -42,11 +42,11 @@
<
div
class
=
"q-mr-md col-3"
>
餐食:
<
/div
>
<
div
class
=
"q-mr-md col-3"
>
餐食:
<
/div
>
<
div
class
=
"col text-grey-6"
>
{{
dinner
}}
<
/div
>
<
div
class
=
"col text-grey-6"
>
{{
dinner
}}
<
/div
>
<
/div
>
<
/div
>
<
div
class
=
"row items-center q-pt-mb"
<
!--
<
div
class
=
"row items-center q-pt-mb"
:
class
=
"{'col-6':$q.platform.is.desktop,'col-12':$q.platform.is.mobile
}
"
>
:
class
=
"{'col-6':$q.platform.is.desktop,'col-12':$q.platform.is.mobile
}
"
>
<
div
class
=
"q-mr-md col-3"
>
服務用語
<
/div
>
<
div
class
=
"q-mr-md col-3"
>
服務用語
<
/div
>
<
div
class
=
"col text-grey-6"
>
普通話
/
日本語
<
/div
>
<
div
class
=
"col text-grey-6"
>
普通話
/
日本語
<
/div
>
<
/div
>
<
/div>
--
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/template
>
<
/template
>
...
...
src/pages/ScenicSpotTicket/orderForm.vue
View file @
c020ad40
...
@@ -568,7 +568,7 @@
...
@@ -568,7 +568,7 @@
this
.
apipost
(
this
.
apipost
(
"AddOrderInfo_post"
,
"AddOrderInfo_post"
,
{
{
SurName
:
this
.
parameters
.
Name
?
this
.
parameters
.
Name
:
this
.
userInfo
.
Full
Name
,
SurName
:
this
.
parameters
.
Name
?
this
.
parameters
.
Name
:
this
.
userInfo
.
Surname
+
this
.
userInfo
.
Name
,
Name
:
''
,
Name
:
''
,
ContactNumber
:
this
.
userInfo
.
Mobile
,
// 联系电话
ContactNumber
:
this
.
userInfo
.
Mobile
,
// 联系电话
Mailbox
:
this
.
userInfo
.
Mailbox
,
//邮箱
Mailbox
:
this
.
userInfo
.
Mailbox
,
//邮箱
...
...
src/pages/city/cityDetail.vue
View file @
c020ad40
This diff is collapsed.
Click to expand it.
src/pages/detailHotal.vue
View file @
c020ad40
...
@@ -579,7 +579,7 @@
...
@@ -579,7 +579,7 @@
size="sm"
size="sm"
text-color="grey-2"
text-color="grey-2"
class="text-light"
class="text-light"
label="
15天前可免費取消
"
label="
取消需二次確認
"
/> -->
/> -->
</div>
</div>
<!-- <div class="text-grey f12">
<!-- <div class="text-grey f12">
...
@@ -1015,9 +1015,7 @@ export default {
...
@@ -1015,9 +1015,7 @@ export default {
this
.
detaMsg
.
hotelId
=
decodeURIComponent
(
this
.
$route
.
params
.
id
)
this
.
detaMsg
.
hotelId
=
decodeURIComponent
(
this
.
$route
.
params
.
id
)
this
.
msg
.
hotelId
=
decodeURIComponent
(
this
.
$route
.
params
.
id
)
this
.
msg
.
hotelId
=
decodeURIComponent
(
this
.
$route
.
params
.
id
)
}
}
if
(
this
.
$route
.
params
.
b2CPrice
){
this
.
MinPrice
=
this
.
$route
.
params
.
b2CPrice
}
},
},
mounted
()
{
mounted
()
{
...
@@ -1550,6 +1548,8 @@ export default {
...
@@ -1550,6 +1548,8 @@ export default {
}
else
{
}
else
{
this
.
SimilarList
=
res
.
data
.
data
.
roomRateDetails
;
this
.
SimilarList
=
res
.
data
.
data
.
roomRateDetails
;
}
}
console
.
log
(
this
.
SimilarList
[
0
].
roomOptions
)
let
arrList
=
function
(
arr
){
let
arrList
=
function
(
arr
){
arr
.
forEach
(
item
=>
{
arr
.
forEach
(
item
=>
{
item
.
images
=
[]
item
.
images
=
[]
...
@@ -1577,8 +1577,16 @@ export default {
...
@@ -1577,8 +1577,16 @@ export default {
arr
.
push
(
x
.
roomOptions
);
arr
.
push
(
x
.
roomOptions
);
x
.
roomOptions
=
arr
;
x
.
roomOptions
=
arr
;
}
}
});
});
this
.
JapanIncrease
=
res
.
data
.
data
.
JapanIncrease
;
this
.
JapanIncrease
=
res
.
data
.
data
.
JapanIncrease
;
if
(
this
.
SimilarList
.
length
>
0
&&
this
.
SimilarList
[
0
].
roomOptions
.
length
>
0
){
this
.
MinPrice
=
this
.
getPrice2
(
this
.
SimilarList
[
0
].
roomOptions
[
0
].
chargeableRateInfoPerPersonForANightBySetCurrency
)
}
else
{
if
(
this
.
$route
.
params
.
b2CPrice
){
this
.
MinPrice
=
this
.
$route
.
params
.
b2CPrice
}
}
}
else
{
}
else
{
this
.
SimilarList
=
[]
this
.
SimilarList
=
[]
this
.
$message
.
error
(
res
.
data
.
message
==
'No results match your search.'
?
'當前入住日期未報價,請選擇其他日期看看吧'
:
res
.
data
.
message
)
this
.
$message
.
error
(
res
.
data
.
message
==
'No results match your search.'
?
'當前入住日期未報價,請選擇其他日期看看吧'
:
res
.
data
.
message
)
...
@@ -1589,7 +1597,10 @@ export default {
...
@@ -1589,7 +1597,10 @@ export default {
null
null
);
);
},
},
getPrice2
(
price
){
if
(
this
.
JapanIncrease
)
return
Math
.
ceil
(
price
/
this
.
JapanIncrease
)
},
menu
()
{
menu
()
{
this
.
scroll
=
this
.
scroll
=
...
...
src/pages/detailsNew.vue
View file @
c020ad40
...
@@ -60,13 +60,13 @@
...
@@ -60,13 +60,13 @@
class=
"cursor-pointer"
class=
"cursor-pointer"
@
click=
"CommonJump('/index',
{})"
@
click=
"CommonJump('/index',
{})"
/>
/>
<q-breadcrumbs-el
label=
"日本
"
class=
"cursor-pointer"
/>
<q-breadcrumbs-el
:label=
"dataList.aimPlaceName
"
class=
"cursor-pointer"
/>
<q-breadcrumbs-el>
<
!--
<
q-breadcrumbs-el>
<span
v-for=
"(x, i) in citys"
:key=
"i"
>
<span
v-for=
"(x, i) in citys"
:key=
"i"
>
<span
class=
"cursor-pointer"
>
{{
x
}}
</span>
<span
class=
"cursor-pointer"
>
{{
x
}}
</span>
<span
v-if=
"i + 1 != citys.length"
class=
"q-mr-sm"
>
,
</span>
<span
v-if=
"i + 1 != citys.length"
class=
"q-mr-sm"
>
,
</span>
</span>
</span>
</q-breadcrumbs-el>
</q-breadcrumbs-el>
-->
<q-breadcrumbs-el
<q-breadcrumbs-el
v-if=
"$q.platform.is.desktop"
v-if=
"$q.platform.is.desktop"
:label=
"dataList.title"
:label=
"dataList.title"
...
@@ -133,7 +133,9 @@
...
@@ -133,7 +133,9 @@
class=
"q-mr-sm"
class=
"q-mr-sm"
/>
/>
<span
<span
>
日本 -
>
{{
dataList
.
aimPlaceName
}}
<span
class=
"q-mx-sm"
>
途徑:
</span>
<span
v-for=
"(x, i) in citys"
:key=
"i"
>
<span
v-for=
"(x, i) in citys"
:key=
"i"
>
<span
class=
"cursor-pointer"
>
{{
x
}}
</span>
<span
class=
"cursor-pointer"
>
{{
x
}}
</span>
...
@@ -164,7 +166,7 @@
...
@@ -164,7 +166,7 @@
class=
"transparent q-mr-xl no-padding"
class=
"transparent q-mr-xl no-padding"
square
square
icon=
"iconfont iconcancel"
icon=
"iconfont iconcancel"
label=
"
15天前可免費取消
"
label=
"
取消需二次確認
"
/>
/>
</div>
</div>
</div>
</div>
...
@@ -303,7 +305,7 @@
...
@@ -303,7 +305,7 @@
size=
"sm"
size=
"sm"
text-color=
"grey-2"
text-color=
"grey-2"
class=
"text-light"
class=
"text-light"
label=
"
15天前可免費取消
"
label=
"
取消需二次確認
"
/>
/>
</div>
</div>
<div
class=
"text-grey f12"
>
<div
class=
"text-grey f12"
>
...
@@ -348,7 +350,7 @@
...
@@ -348,7 +350,7 @@
class=
"transparent q-mr-xl no-padding"
class=
"transparent q-mr-xl no-padding"
square
square
icon=
"iconfont iconcancel"
icon=
"iconfont iconcancel"
label=
"
15天前可免費取消
"
label=
"
取消需二次確認
"
/>
/>
<q-chip
<q-chip
class=
"transparent q-mr-xl no-padding"
class=
"transparent q-mr-xl no-padding"
...
@@ -424,12 +426,12 @@
...
@@ -424,12 +426,12 @@
行程特色
行程特色
</div>
</div>
<div
<div
class=
"q-mt-md trip-text q-pb-xl"
class=
"q-mt-md trip-text q-pb-xl
line-feature
"
v-html=
"dataList.feature.featureContent"
v-html=
"dataList.feature.featureContent"
v-if=
"dataList.feature.featureContent != ''"
v-if=
"dataList.feature.featureContent != ''"
></div>
></div>
<div
<div
class=
"q-mt-md q-pb-xl"
class=
"q-mt-md q-pb-xl
line-feature
"
ref=
"diyContext"
ref=
"diyContext"
:style=
"
{ zoom: zoomDiyContext }"
:style=
"
{ zoom: zoomDiyContext }"
v-html="dataList.feature.featureHtml"
v-html="dataList.feature.featureHtml"
...
@@ -934,6 +936,9 @@ export default {
...
@@ -934,6 +936,9 @@ export default {
this
.
citys
.
push
(
x
.
cityName
);
this
.
citys
.
push
(
x
.
cityName
);
}
}
});
});
if
(
this
.
citys
.
length
>
0
){
this
.
citys
=
Array
.
from
(
new
Set
(
this
.
citys
))
}
}
}
}
}
this
.
dataList
.
imgCover
=
JSON
.
parse
(
this
.
dataList
.
imgCover
);
this
.
dataList
.
imgCover
=
JSON
.
parse
(
this
.
dataList
.
imgCover
);
...
@@ -1160,6 +1165,9 @@ export default {
...
@@ -1160,6 +1165,9 @@ export default {
</
script
>
</
script
>
<
style
>
<
style
>
.line-feature
*
{
line-height
:
normal
!important
;
}
.slider-item
{
.slider-item
{
transform
:
scale
(
1
);
transform
:
scale
(
1
);
transition-timing-function
:
ease
;
transition-timing-function
:
ease
;
...
...
src/pages/hotel/orderForm.vue
View file @
c020ad40
...
@@ -777,11 +777,12 @@ export default {
...
@@ -777,11 +777,12 @@ export default {
})
})
},
},
AddOrderInfo
(
ErpOrderId
){
AddOrderInfo
(
ErpOrderId
){
let
Name
=
this
.
parameters
.
guestLastName
+
this
.
parameters
.
guestFirstName
this
.
apipost
(
this
.
apipost
(
"AddOrderInfo_post"
,
"AddOrderInfo_post"
,
{
{
SurName
:
this
.
parameters
.
Name
?
this
.
parameters
.
Name
:
this
.
userInfo
.
FullN
ame
,
SurName
:
this
.
parameters
.
guestLastName
?
this
.
parameters
.
guestLastName
:
this
.
userInfo
.
Surn
ame
,
Name
:
''
,
Name
:
this
.
parameters
.
guestFirstName
?
this
.
parameters
.
guestFirstName
:
this
.
userInfo
.
Name
,
ContactNumber
:
this
.
userInfo
.
Mobile
,
// 联系电话
ContactNumber
:
this
.
userInfo
.
Mobile
,
// 联系电话
Mailbox
:
this
.
userInfo
.
Mailbox
,
//邮箱
Mailbox
:
this
.
userInfo
.
Mailbox
,
//邮箱
GoodsId
:
this
.
parameters
.
hotelId
,
//商品id
GoodsId
:
this
.
parameters
.
hotelId
,
//商品id
...
...
src/pages/line/orderPreview.vue
View file @
c020ad40
...
@@ -713,7 +713,7 @@ export default {
...
@@ -713,7 +713,7 @@ export default {
BrandId
:
0
,
BrandId
:
0
,
TradeWay
:
0
,
TradeWay
:
0
,
PlatformOrder
:
""
,
PlatformOrder
:
""
,
GuestNum
:
this
.
chosenObj
.
crCount
+
this
.
chosenObj
.
etCount
+
this
.
chosenObj
+
yeCount
,
GuestNum
:
this
.
chosenObj
.
crCount
+
this
.
chosenObj
.
etCount
+
this
.
chosenObj
.
yeCount
,
IsChildrenTour
:
this
.
price
.
isSupportChildren
,
IsChildrenTour
:
this
.
price
.
isSupportChildren
,
IsBirdDiscount
:
2
,
IsBirdDiscount
:
2
,
PredictRoomNum
:
PredictRoomNum
:
...
...
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