Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bigwood
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
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
罗超
bigwood
Commits
00fab9f6
Commit
00fab9f6
authored
Feb 20, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
f1e36eb9
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
227 additions
and
162 deletions
+227
-162
allDay.vue
src/components/trip/block/allDay.vue
+10
-13
fiveday.vue
src/components/trip/block/fiveday.vue
+28
-27
fourday.vue
src/components/trip/block/fourday.vue
+24
-23
oneday.vue
src/components/trip/block/oneday.vue
+11
-11
threeday.vue
src/components/trip/block/threeday.vue
+19
-19
twoday.vue
src/components/trip/block/twoday.vue
+15
-16
style3.vue
src/components/trip/style3.vue
+1
-1
style5.vue
src/components/trip/style5.vue
+1
-1
style6.vue
src/components/trip/style6.vue
+1
-1
calendar.vue
src/components/trip/tripView/calendar.vue
+24
-24
list.vue
src/components/trip/tripView/list.vue
+25
-25
index.ts
src/i18n/zh-TW/index.ts
+68
-1
No files found.
src/components/trip/block/allDay.vue
View file @
00fab9f6
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
<div
<div
class=
"absolute-full flex flex-center bg-blue-1 text-dark"
class=
"absolute-full flex flex-center bg-blue-1 text-dark"
>
>
图片加载失败
{{
$t
(
'v103.details.style.nodata'
)
}}
</div>
</div>
</
template
>
</
template
>
</q-img>
</q-img>
...
@@ -77,12 +77,12 @@
...
@@ -77,12 +77,12 @@
"
"
>
>
<i
class=
"iconfont icon-shijian1"
></i>
<i
class=
"iconfont icon-shijian1"
></i>
约
{{$t('v103.details.style.d1')}}
<span
v-if=
"x.playTimeHour"
<span
v-if=
"x.playTimeHour"
>
{{ x.playTimeHour }}
小时
>
{{ x.playTimeHour }}
{{$t('v103.details.style.d2')}}
</span>
</span>
<span
v-if=
"x.playTimeMinutes"
<span
v-if=
"x.playTimeMinutes"
>
{{ x.playTimeMinutes }}
分钟
</span
>
{{ x.playTimeMinutes }}
{{$t('v103.details.style.d3')}}
</span
>
>
</span>
</span>
</div>
</div>
...
@@ -134,12 +134,9 @@
...
@@ -134,12 +134,9 @@
setup
(
props
)
{
setup
(
props
)
{
const
$router
=
useRouter
()
const
$router
=
useRouter
()
const
{
t
}
=
useI18n
()
const
{
t
}
=
useI18n
()
const
carousel
=
ref
(
null
)
const
$q
=
useQuasar
()
const
$q
=
useQuasar
()
let
{
ctx
:
that
,
proxy
}
=
getCurrentInstance
()
let
{
ctx
:
that
,
proxy
}
=
getCurrentInstance
()
const
data
=
reactive
({
const
data
=
reactive
({
slide
:
0
,
autoplay
:
0
,
showImagePriview
:
false
,
showImagePriview
:
false
,
currentImage
:
''
,
currentImage
:
''
,
images
:[],
images
:[],
...
@@ -156,23 +153,24 @@
...
@@ -156,23 +153,24 @@
data
.
currentImage
=
url
data
.
currentImage
=
url
data
.
showImagePriview
=
true
data
.
showImagePriview
=
true
},
},
getHotelSuffix
()
{
getHotelSuffix
()
{
let
suffix
=
""
;
let
suffix
=
""
;
if
(
props
.
day
.
jiu2
.
length
>
1
)
{
if
(
props
.
day
.
jiu2
.
length
>
1
)
{
if
(
props
.
isDirect
===
1
)
{
if
(
props
.
isDirect
===
1
)
{
suffix
=
"或同級"
;
suffix
=
t
(
'v103.details.style.d6'
)
;
}
}
}
else
{
}
else
{
if
(
if
(
props
.
day
.
jiu2
.
length
==
1
&&
props
.
day
.
jiu2
.
length
==
1
&&
props
.
day
.
jiu2
[
0
].
name
!=
"温馨的家"
&&
props
.
day
.
jiu2
[
0
].
name
!=
t
(
'v103.details.style.d7'
)
&&
props
.
day
.
jiu2
[
0
].
name
!=
"机场附近酒店"
props
.
day
.
jiu2
[
0
].
name
!=
t
(
'v103.details.style.d8'
)
)
{
)
{
if
(
props
.
day
.
jiu2
[
0
].
status
==
1
)
{
if
(
props
.
day
.
jiu2
[
0
].
status
==
1
)
{
suffix
=
"【保证入住】"
;
suffix
=
t
(
'v103.details.style.d9'
)
;
}
else
{
}
else
{
if
(
props
.
isDirect
===
1
)
{
if
(
props
.
isDirect
===
1
)
{
suffix
=
"或同級"
;
suffix
=
t
(
'v103.details.style.d10'
)
;
}
}
}
}
}
}
...
@@ -188,7 +186,6 @@
...
@@ -188,7 +186,6 @@
return
{
return
{
...
toRefs
(
data
),
...
toRefs
(
data
),
...
methods
,
...
methods
,
carousel
,
}
}
}
}
})
})
...
...
src/components/trip/block/fiveday.vue
View file @
00fab9f6
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
<div
<div
class=
"absolute-full flex flex-center bg-blue-1 text-dark"
class=
"absolute-full flex flex-center bg-blue-1 text-dark"
>
>
图片加载失败
{{
$t
(
'v103.details.style.nodata'
)
}}
</div>
</div>
</
template
>
</
template
>
</q-img>
</q-img>
...
@@ -75,12 +75,12 @@
...
@@ -75,12 +75,12 @@
"
"
>
>
<i
class=
"iconfont icon-shijian1"
></i>
<i
class=
"iconfont icon-shijian1"
></i>
约
{{$t('v103.details.style.d1')}}
<span
v-if=
"day.details[0].playTimeHour"
<span
v-if=
"day.details[0].playTimeHour"
>
{{ day.details[0].playTimeHour }}
小时
>
{{ day.details[0].playTimeHour }}
{{$t('v103.details.style.d2')}}
</span>
</span>
<span
v-if=
"day.details[0].playTimeMinutes"
<span
v-if=
"day.details[0].playTimeMinutes"
>
{{ day.details[0].playTimeMinutes }}
分钟
</span
>
{{ day.details[0].playTimeMinutes }}
{{$t('v103.details.style.d3')}}
</span
>
>
</span>
</span>
</div>
</div>
...
@@ -119,7 +119,7 @@
...
@@ -119,7 +119,7 @@
<div
<div
class=
"absolute-full flex flex-center bg-blue-1 text-dark"
class=
"absolute-full flex flex-center bg-blue-1 text-dark"
>
>
图片加载失败
{{
$t
(
'v103.details.style.nodata'
)
}}
</div>
</div>
</
template
>
</
template
>
</q-img>
</q-img>
...
@@ -162,12 +162,12 @@
...
@@ -162,12 +162,12 @@
"
"
>
>
<i
class=
"iconfont icon-shijian1"
></i>
<i
class=
"iconfont icon-shijian1"
></i>
约
{{$t('v103.details.style.d1')}}
<span
v-if=
"day.details[1].playTimeHour"
<span
v-if=
"day.details[1].playTimeHour"
>
{{ day.details[1].playTimeHour }}
小时
>
{{ day.details[1].playTimeHour }}
{{$t('v103.details.style.d2')}}
</span>
</span>
<span
v-if=
"day.details[1].playTimeMinutes"
<span
v-if=
"day.details[1].playTimeMinutes"
>
{{ day.details[1].playTimeMinutes }}
分钟
</span
>
{{ day.details[1].playTimeMinutes }}
{{$t('v103.details.style.d3')}}
</span
>
>
</span>
</span>
</div>
</div>
...
@@ -207,7 +207,7 @@
...
@@ -207,7 +207,7 @@
<div
<div
class=
"absolute-full flex flex-center bg-blue-1 text-dark"
class=
"absolute-full flex flex-center bg-blue-1 text-dark"
>
>
图片加载失败
{{
$t
(
'v103.details.style.nodata'
)
}}
</div>
</div>
</
template
>
</
template
>
</q-img>
</q-img>
...
@@ -252,12 +252,12 @@
...
@@ -252,12 +252,12 @@
"
"
>
>
<i
class=
"iconfont icon-shijian1"
></i>
<i
class=
"iconfont icon-shijian1"
></i>
约
{{$t('v103.details.style.d1')}}
<span
v-if=
"day.details[2].playTimeHour"
<span
v-if=
"day.details[2].playTimeHour"
>
{{ day.details[2].playTimeHour }}
小时
>
{{ day.details[2].playTimeHour }}
{{$t('v103.details.style.d2')}}
</span>
</span>
<span
v-if=
"day.details[2].playTimeMinutes"
<span
v-if=
"day.details[2].playTimeMinutes"
>
{{ day.details[2].playTimeMinutes }}
分钟
>
{{ day.details[2].playTimeMinutes }}
{{$t('v103.details.style.d3')}}
</span>
</span>
</span>
</span>
</div>
</div>
...
@@ -292,7 +292,7 @@
...
@@ -292,7 +292,7 @@
<div
<div
class=
"absolute-full flex flex-center bg-blue-1 text-dark"
class=
"absolute-full flex flex-center bg-blue-1 text-dark"
>
>
图片加载失败
{{
$t
(
'v103.details.style.nodata'
)
}}
</div>
</div>
</
template
>
</
template
>
</q-img>
</q-img>
...
@@ -337,12 +337,12 @@
...
@@ -337,12 +337,12 @@
"
"
>
>
<i
class=
"iconfont icon-shijian1"
></i>
<i
class=
"iconfont icon-shijian1"
></i>
约
{{$t('v103.details.style.d1')}}
<span
v-if=
"day.details[3].playTimeHour"
<span
v-if=
"day.details[3].playTimeHour"
>
{{ day.details[3].playTimeHour }}
小时
>
{{ day.details[3].playTimeHour }}
{{$t('v103.details.style.d2')}}
</span>
</span>
<span
v-if=
"day.details[3].playTimeMinutes"
<span
v-if=
"day.details[3].playTimeMinutes"
>
{{ day.details[3].playTimeMinutes }}
分钟
>
{{ day.details[3].playTimeMinutes }}
{{$t('v103.details.style.d3')}}
</span>
</span>
</span>
</span>
</div>
</div>
...
@@ -378,7 +378,7 @@
...
@@ -378,7 +378,7 @@
<div
<div
class=
"absolute-full flex flex-center bg-blue-1 text-dark"
class=
"absolute-full flex flex-center bg-blue-1 text-dark"
>
>
图片加载失败
{{
$t
(
'v103.details.style.nodata'
)
}}
</div>
</div>
</
template
>
</
template
>
</q-img>
</q-img>
...
@@ -418,12 +418,12 @@
...
@@ -418,12 +418,12 @@
"
"
>
>
<i
class=
"iconfont icon-shijian1"
></i>
<i
class=
"iconfont icon-shijian1"
></i>
约
{{$t('v103.details.style.d1')}}
<span
v-if=
"day.details[4].playTimeHour"
<span
v-if=
"day.details[4].playTimeHour"
>
{{ day.details[4].playTimeHour }}
小时
>
{{ day.details[4].playTimeHour }}
{{$t('v103.details.style.d2')}}
</span>
</span>
<span
v-if=
"day.details[4].playTimeMinutes"
<span
v-if=
"day.details[4].playTimeMinutes"
>
{{ day.details[4].playTimeMinutes }}
分钟
>
{{ day.details[4].playTimeMinutes }}
{{$t('v103.details.style.d3')}}
</span>
</span>
</span>
</span>
</div>
</div>
...
@@ -434,7 +434,7 @@
...
@@ -434,7 +434,7 @@
</div>
</div>
<div
class=
"item flex q-mt-sm q-pa-lg"
v-if=
"day.tips.length > 0"
>
<div
class=
"item flex q-mt-sm q-pa-lg"
v-if=
"day.tips.length > 0"
>
<h4>
温馨提示
</h4>
<h4>
{{$t('v103.details.style.d4')}}
</h4>
<div
class=
"remark"
>
<div
class=
"remark"
>
<span
v-for=
"(t, k) in day.tips"
:key=
"k"
v-html=
"t.content"
></span>
<span
v-for=
"(t, k) in day.tips"
:key=
"k"
v-html=
"t.content"
></span>
</div>
</div>
...
@@ -481,7 +481,7 @@
...
@@ -481,7 +481,7 @@
</span>
</span>
{{ getHotelSuffix() }}
{{ getHotelSuffix() }}
</div>
</div>
<div
class=
"val"
v-else
>
本日无酒店安排
</div>
<div
class=
"val"
v-else
>
{{$t('v103.details.style.d5')}}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -525,23 +525,24 @@ export default defineComponent({
...
@@ -525,23 +525,24 @@ export default defineComponent({
data
.
currentImage
=
url
data
.
currentImage
=
url
data
.
showImagePriview
=
true
data
.
showImagePriview
=
true
},
},
getHotelSuffix
()
{
getHotelSuffix
()
{
let
suffix
=
""
;
let
suffix
=
""
;
if
(
props
.
day
.
jiu2
.
length
>
1
)
{
if
(
props
.
day
.
jiu2
.
length
>
1
)
{
if
(
props
.
isDirect
===
1
)
{
if
(
props
.
isDirect
===
1
)
{
suffix
=
"或同級"
;
suffix
=
t
(
'v103.details.style.d6'
)
;
}
}
}
else
{
}
else
{
if
(
if
(
props
.
day
.
jiu2
.
length
==
1
&&
props
.
day
.
jiu2
.
length
==
1
&&
props
.
day
.
jiu2
[
0
].
name
!=
"温馨的家"
&&
props
.
day
.
jiu2
[
0
].
name
!=
t
(
'v103.details.style.d7'
)
&&
props
.
day
.
jiu2
[
0
].
name
!=
"机场附近酒店"
props
.
day
.
jiu2
[
0
].
name
!=
t
(
'v103.details.style.d8'
)
)
{
)
{
if
(
props
.
day
.
jiu2
[
0
].
status
==
1
)
{
if
(
props
.
day
.
jiu2
[
0
].
status
==
1
)
{
suffix
=
"【保证入住】"
;
suffix
=
t
(
'v103.details.style.d9'
)
;
}
else
{
}
else
{
if
(
props
.
isDirect
===
1
)
{
if
(
props
.
isDirect
===
1
)
{
suffix
=
"或同級"
;
suffix
=
t
(
'v103.details.style.d10'
)
;
}
}
}
}
}
}
...
...
src/components/trip/block/fourday.vue
View file @
00fab9f6
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
<div
<div
class=
"absolute-full flex flex-center bg-blue-1 text-dark"
class=
"absolute-full flex flex-center bg-blue-1 text-dark"
>
>
图片加载失败
{{
$t
(
'v103.details.style.nodata'
)
}}
</div>
</div>
</
template
>
</
template
>
</q-img>
</q-img>
...
@@ -78,12 +78,12 @@
...
@@ -78,12 +78,12 @@
"
"
>
>
<i
class=
"iconfont icon-shijian1"
></i>
<i
class=
"iconfont icon-shijian1"
></i>
约
{{$t('v103.details.style.d1')}}
<span
v-if=
"day.details[0].playTimeHour"
<span
v-if=
"day.details[0].playTimeHour"
>
{{ day.details[0].playTimeHour }}
小时
>
{{ day.details[0].playTimeHour }}
{{$t('v103.details.style.d2')}}
</span>
</span>
<span
v-if=
"day.details[0].playTimeMinutes"
<span
v-if=
"day.details[0].playTimeMinutes"
>
{{ day.details[0].playTimeMinutes }}
分钟
</span
>
{{ day.details[0].playTimeMinutes }}
{{$t('v103.details.style.d3')}}
</span
>
>
</span>
</span>
</div>
</div>
...
@@ -126,7 +126,7 @@
...
@@ -126,7 +126,7 @@
<div
<div
class=
"absolute-full flex flex-center bg-blue-1 text-dark"
class=
"absolute-full flex flex-center bg-blue-1 text-dark"
>
>
图片加载失败
{{
$t
(
'v103.details.style.nodata'
)
}}
</div>
</div>
</
template
>
</
template
>
</q-img>
</q-img>
...
@@ -167,12 +167,12 @@
...
@@ -167,12 +167,12 @@
"
"
>
>
<i
class=
"iconfont icon-shijian1"
></i>
<i
class=
"iconfont icon-shijian1"
></i>
约
{{$t('v103.details.style.d1')}}
<span
v-if=
"day.details[1].playTimeHour"
<span
v-if=
"day.details[1].playTimeHour"
>
{{ day.details[1].playTimeHour }}
小时
>
{{ day.details[1].playTimeHour }}
{{$t('v103.details.style.d2')}}
</span>
</span>
<span
v-if=
"day.details[1].playTimeMinutes"
<span
v-if=
"day.details[1].playTimeMinutes"
>
{{ day.details[1].playTimeMinutes }}
分钟
>
{{ day.details[1].playTimeMinutes }}
{{$t('v103.details.style.d3')}}
</span>
</span>
</span>
</span>
</div>
</div>
...
@@ -206,7 +206,7 @@
...
@@ -206,7 +206,7 @@
<div
<div
class=
"absolute-full flex flex-center bg-blue-1 text-dark"
class=
"absolute-full flex flex-center bg-blue-1 text-dark"
>
>
图片加载失败
{{
$t
(
'v103.details.style.nodata'
)
}}
</div>
</div>
</
template
>
</
template
>
</q-img>
</q-img>
...
@@ -247,12 +247,12 @@
...
@@ -247,12 +247,12 @@
"
"
>
>
<i
class=
"iconfont icon-shijian1"
></i>
<i
class=
"iconfont icon-shijian1"
></i>
约
{{$t('v103.details.style.d1')}}
<span
v-if=
"day.details[2].playTimeHour"
<span
v-if=
"day.details[2].playTimeHour"
>
{{ day.details[2].playTimeHour }}
小时
>
{{ day.details[2].playTimeHour }}
{{$t('v103.details.style.d2')}}
</span>
</span>
<span
v-if=
"day.details[2].playTimeMinutes"
<span
v-if=
"day.details[2].playTimeMinutes"
>
{{ day.details[2].playTimeMinutes }}
分钟
>
{{ day.details[2].playTimeMinutes }}
{{$t('v103.details.style.d3')}}
</span>
</span>
</span>
</span>
</div>
</div>
...
@@ -288,7 +288,7 @@
...
@@ -288,7 +288,7 @@
<div
<div
class=
"absolute-full flex flex-center bg-blue-1 text-dark"
class=
"absolute-full flex flex-center bg-blue-1 text-dark"
>
>
图片加载失败
{{
$t
(
'v103.details.style.nodata'
)
}}
</div>
</div>
</
template
>
</
template
>
</q-img>
</q-img>
...
@@ -329,12 +329,12 @@
...
@@ -329,12 +329,12 @@
"
"
>
>
<i
class=
"iconfont icon-shijian1"
></i>
<i
class=
"iconfont icon-shijian1"
></i>
约
{{$t('v103.details.style.d1')}}
<span
v-if=
"day.details[3].playTimeHour"
<span
v-if=
"day.details[3].playTimeHour"
>
{{ day.details[3].playTimeHour }}
小时
>
{{ day.details[3].playTimeHour }}
{{$t('v103.details.style.d2')}}
</span>
</span>
<span
v-if=
"day.details[3].playTimeMinutes"
<span
v-if=
"day.details[3].playTimeMinutes"
>
{{ day.details[3].playTimeMinutes }}
分钟
>
{{ day.details[3].playTimeMinutes }}
{{$t('v103.details.style.d3')}}
</span>
</span>
</span>
</span>
</div>
</div>
...
@@ -346,7 +346,7 @@
...
@@ -346,7 +346,7 @@
</div>
</div>
<div
class=
"item flex q-mt-sm q-pa-lg"
v-if=
"day.tips.length > 0"
>
<div
class=
"item flex q-mt-sm q-pa-lg"
v-if=
"day.tips.length > 0"
>
<h4>
温馨提示
</h4>
<h4>
{{$t('v103.details.style.d4')}}
</h4>
<div
class=
"remark"
>
<div
class=
"remark"
>
<span
v-for=
"(t, k) in day.tips"
:key=
"k"
v-html=
"t.content"
></span>
<span
v-for=
"(t, k) in day.tips"
:key=
"k"
v-html=
"t.content"
></span>
</div>
</div>
...
@@ -393,7 +393,7 @@
...
@@ -393,7 +393,7 @@
</span>
</span>
{{ getHotelSuffix() }}
{{ getHotelSuffix() }}
</div>
</div>
<div
class=
"val"
v-else
>
本日无酒店安排
</div>
<div
class=
"val"
v-else
>
{{$t('v103.details.style.d5')}}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -437,23 +437,24 @@ export default defineComponent({
...
@@ -437,23 +437,24 @@ export default defineComponent({
data
.
currentImage
=
url
data
.
currentImage
=
url
data
.
showImagePriview
=
true
data
.
showImagePriview
=
true
},
},
getHotelSuffix
()
{
getHotelSuffix
()
{
let
suffix
=
""
;
let
suffix
=
""
;
if
(
props
.
day
.
jiu2
.
length
>
1
)
{
if
(
props
.
day
.
jiu2
.
length
>
1
)
{
if
(
props
.
isDirect
===
1
)
{
if
(
props
.
isDirect
===
1
)
{
suffix
=
"或同級"
;
suffix
=
t
(
'v103.details.style.d6'
)
;
}
}
}
else
{
}
else
{
if
(
if
(
props
.
day
.
jiu2
.
length
==
1
&&
props
.
day
.
jiu2
.
length
==
1
&&
props
.
day
.
jiu2
[
0
].
name
!=
"温馨的家"
&&
props
.
day
.
jiu2
[
0
].
name
!=
t
(
'v103.details.style.d7'
)
&&
props
.
day
.
jiu2
[
0
].
name
!=
"机场附近酒店"
props
.
day
.
jiu2
[
0
].
name
!=
t
(
'v103.details.style.d8'
)
)
{
)
{
if
(
props
.
day
.
jiu2
[
0
].
status
==
1
)
{
if
(
props
.
day
.
jiu2
[
0
].
status
==
1
)
{
suffix
=
"【保证入住】"
;
suffix
=
t
(
'v103.details.style.d9'
)
;
}
else
{
}
else
{
if
(
props
.
isDirect
===
1
)
{
if
(
props
.
isDirect
===
1
)
{
suffix
=
"或同級"
;
suffix
=
t
(
'v103.details.style.d10'
)
;
}
}
}
}
}
}
...
...
src/components/trip/block/oneday.vue
View file @
00fab9f6
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
<div
<div
class=
"absolute-full flex flex-center bg-blue-1 text-dark"
class=
"absolute-full flex flex-center bg-blue-1 text-dark"
>
>
图片加载失败
{{
$t
(
'v103.details.style.nodata'
)
}}
</div>
</div>
</
template
>
</
template
>
</q-img>
</q-img>
...
@@ -79,12 +79,12 @@
...
@@ -79,12 +79,12 @@
"
"
>
>
<i
class=
"iconfont icon-shijian1"
></i>
<i
class=
"iconfont icon-shijian1"
></i>
约
{{$t('v103.details.style.d1')}}
<span
v-if=
"day.details[0].playTimeHour"
<span
v-if=
"day.details[0].playTimeHour"
>
{{ day.details[0].playTimeHour }}
小时
>
{{ day.details[0].playTimeHour }}
{{$t('v103.details.style.d2')}}
</span>
</span>
<span
v-if=
"day.details[0].playTimeMinutes"
<span
v-if=
"day.details[0].playTimeMinutes"
>
{{ day.details[0].playTimeMinutes }}
分钟
</span
>
{{ day.details[0].playTimeMinutes }}
{{$t('v103.details.style.d3')}}
</span
>
>
</span>
</span>
</div>
</div>
...
@@ -95,7 +95,7 @@
...
@@ -95,7 +95,7 @@
</div>
</div>
<div
class=
"item flex q-mt-sm q-pa-lg"
v-if=
"day.tips.length > 0"
>
<div
class=
"item flex q-mt-sm q-pa-lg"
v-if=
"day.tips.length > 0"
>
<h4>
温馨提示
</h4>
<h4>
{{$t('v103.details.style.d4')}}
</h4>
<div
class=
"remark"
>
<div
class=
"remark"
>
<span
v-for=
"(t, k) in day.tips"
:key=
"k"
v-html=
"t.content"
></span>
<span
v-for=
"(t, k) in day.tips"
:key=
"k"
v-html=
"t.content"
></span>
</div>
</div>
...
@@ -142,7 +142,7 @@
...
@@ -142,7 +142,7 @@
</span>
</span>
{{ getHotelSuffix() }}
{{ getHotelSuffix() }}
</div>
</div>
<div
class=
"val"
v-else
>
本日无酒店安排
</div>
<div
class=
"val"
v-else
>
{{$t('v103.details.style.d5')}}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -191,19 +191,19 @@ export default defineComponent({
...
@@ -191,19 +191,19 @@ export default defineComponent({
let
suffix
=
""
;
let
suffix
=
""
;
if
(
props
.
day
.
jiu2
.
length
>
1
)
{
if
(
props
.
day
.
jiu2
.
length
>
1
)
{
if
(
props
.
isDirect
===
1
)
{
if
(
props
.
isDirect
===
1
)
{
suffix
=
"或同級"
;
suffix
=
t
(
'v103.details.style.d6'
)
;
}
}
}
else
{
}
else
{
if
(
if
(
props
.
day
.
jiu2
.
length
==
1
&&
props
.
day
.
jiu2
.
length
==
1
&&
props
.
day
.
jiu2
[
0
].
name
!=
"温馨的家"
&&
props
.
day
.
jiu2
[
0
].
name
!=
t
(
'v103.details.style.d7'
)
&&
props
.
day
.
jiu2
[
0
].
name
!=
"机场附近酒店"
props
.
day
.
jiu2
[
0
].
name
!=
t
(
'v103.details.style.d8'
)
)
{
)
{
if
(
props
.
day
.
jiu2
[
0
].
status
==
1
)
{
if
(
props
.
day
.
jiu2
[
0
].
status
==
1
)
{
suffix
=
"【保证入住】"
;
suffix
=
t
(
'v103.details.style.d9'
)
;
}
else
{
}
else
{
if
(
props
.
isDirect
===
1
)
{
if
(
props
.
isDirect
===
1
)
{
suffix
=
"或同級"
;
suffix
=
t
(
'v103.details.style.d10'
)
;
}
}
}
}
}
}
...
...
src/components/trip/block/threeday.vue
View file @
00fab9f6
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
<div
<div
class=
"absolute-full flex flex-center bg-blue-1 text-dark"
class=
"absolute-full flex flex-center bg-blue-1 text-dark"
>
>
图片加载失败
{{
$t
(
'v103.details.style.nodata'
)
}}
</div>
</div>
</
template
>
</
template
>
</q-img>
</q-img>
...
@@ -80,12 +80,12 @@
...
@@ -80,12 +80,12 @@
"
"
>
>
<i
class=
"iconfont icon-shijian1"
></i>
<i
class=
"iconfont icon-shijian1"
></i>
约
{{$t('v103.details.style.d1')}}
<span
v-if=
"day.details[0].playTimeHour"
<span
v-if=
"day.details[0].playTimeHour"
>
{{ day.details[0].playTimeHour }}
小时
>
{{ day.details[0].playTimeHour }}
{{$t('v103.details.style.d2')}}
</span>
</span>
<span
v-if=
"day.details[0].playTimeMinutes"
<span
v-if=
"day.details[0].playTimeMinutes"
>
{{ day.details[0].playTimeMinutes }}
分钟
>
{{ day.details[0].playTimeMinutes }}
{{$t('v103.details.style.d3')}}
</span>
</span>
</span>
</span>
</div>
</div>
...
@@ -125,12 +125,12 @@
...
@@ -125,12 +125,12 @@
"
"
>
>
<i
class=
"iconfont icon-shijian1"
></i>
<i
class=
"iconfont icon-shijian1"
></i>
约
{{$t('v103.details.style.d1')}}
<span
v-if=
"day.details[1].playTimeHour"
<span
v-if=
"day.details[1].playTimeHour"
>
{{ day.details[1].playTimeHour }}
小时
>
{{ day.details[1].playTimeHour }}
{{$t('v103.details.style.d2')}}
</span>
</span>
<span
v-if=
"day.details[1].playTimeMinutes"
<span
v-if=
"day.details[1].playTimeMinutes"
>
{{ day.details[1].playTimeMinutes }}
分钟
>
{{ day.details[1].playTimeMinutes }}
{{$t('v103.details.style.d3')}}
</span>
</span>
</span>
</span>
</div>
</div>
...
@@ -163,7 +163,7 @@
...
@@ -163,7 +163,7 @@
<div
<div
class=
"absolute-full flex flex-center bg-blue-1 text-dark"
class=
"absolute-full flex flex-center bg-blue-1 text-dark"
>
>
图片加载失败
{{
$t
(
'v103.details.style.nodata'
)
}}
</div>
</div>
</
template
>
</
template
>
</q-img>
</q-img>
...
@@ -205,7 +205,7 @@
...
@@ -205,7 +205,7 @@
<div
<div
class=
"absolute-full flex flex-center bg-blue-1 text-dark"
class=
"absolute-full flex flex-center bg-blue-1 text-dark"
>
>
图片加载失败
{{
$t
(
'v103.details.style.nodata'
)
}}
</div>
</div>
</
template
>
</
template
>
</q-img>
</q-img>
...
@@ -248,12 +248,12 @@
...
@@ -248,12 +248,12 @@
"
"
>
>
<i
class=
"iconfont icon-shijian1"
></i>
<i
class=
"iconfont icon-shijian1"
></i>
约
{{$t('v103.details.style.d1')}}
<span
v-if=
"day.details[2].playTimeHour"
<span
v-if=
"day.details[2].playTimeHour"
>
{{ day.details[0].playTimeHour }}
小时
>
{{ day.details[0].playTimeHour }}
{{$t('v103.details.style.d2')}}
</span>
</span>
<span
v-if=
"day.details[2].playTimeMinutes"
<span
v-if=
"day.details[2].playTimeMinutes"
>
{{ day.details[0].playTimeMinutes }}
分钟
>
{{ day.details[0].playTimeMinutes }}
{{$t('v103.details.style.d3')}}
</span>
</span>
</span>
</span>
</div>
</div>
...
@@ -265,7 +265,7 @@
...
@@ -265,7 +265,7 @@
</div>
</div>
<div
class=
"item flex q-mt-sm q-pa-lg"
v-if=
"day.tips.length > 0"
>
<div
class=
"item flex q-mt-sm q-pa-lg"
v-if=
"day.tips.length > 0"
>
<h4>
温馨提示
</h4>
<h4>
{{$t('v103.details.style.d4')}}
</h4>
<div
class=
"remark"
>
<div
class=
"remark"
>
<span
v-for=
"(t, k) in day.tips"
:key=
"k"
v-html=
"t.content"
></span>
<span
v-for=
"(t, k) in day.tips"
:key=
"k"
v-html=
"t.content"
></span>
</div>
</div>
...
@@ -312,7 +312,7 @@
...
@@ -312,7 +312,7 @@
</span>
</span>
{{ getHotelSuffix() }}
{{ getHotelSuffix() }}
</div>
</div>
<div
class=
"val"
v-else
>
本日无酒店安排
</div>
<div
class=
"val"
v-else
>
{{$t('v103.details.style.d5')}}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -361,19 +361,19 @@ export default defineComponent({
...
@@ -361,19 +361,19 @@ export default defineComponent({
let
suffix
=
""
;
let
suffix
=
""
;
if
(
props
.
day
.
jiu2
.
length
>
1
)
{
if
(
props
.
day
.
jiu2
.
length
>
1
)
{
if
(
props
.
isDirect
===
1
)
{
if
(
props
.
isDirect
===
1
)
{
suffix
=
"或同級"
;
suffix
=
t
(
'v103.details.style.d6'
)
;
}
}
}
else
{
}
else
{
if
(
if
(
props
.
day
.
jiu2
.
length
==
1
&&
props
.
day
.
jiu2
.
length
==
1
&&
props
.
day
.
jiu2
[
0
].
name
!=
"温馨的家"
&&
props
.
day
.
jiu2
[
0
].
name
!=
t
(
'v103.details.style.d7'
)
&&
props
.
day
.
jiu2
[
0
].
name
!=
"机场附近酒店"
props
.
day
.
jiu2
[
0
].
name
!=
t
(
'v103.details.style.d8'
)
)
{
)
{
if
(
props
.
day
.
jiu2
[
0
].
status
==
1
)
{
if
(
props
.
day
.
jiu2
[
0
].
status
==
1
)
{
suffix
=
"【保证入住】"
;
suffix
=
t
(
'v103.details.style.d9'
)
;
}
else
{
}
else
{
if
(
props
.
isDirect
===
1
)
{
if
(
props
.
isDirect
===
1
)
{
suffix
=
"或同級"
;
suffix
=
t
(
'v103.details.style.d10'
)
;
}
}
}
}
}
}
...
...
src/components/trip/block/twoday.vue
View file @
00fab9f6
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
<div
<div
class=
"absolute-full flex flex-center bg-blue-1 text-dark"
class=
"absolute-full flex flex-center bg-blue-1 text-dark"
>
>
图片加载失败
{{
$t
(
'v103.details.style.nodata'
)
}}
</div>
</div>
</
template
>
</
template
>
</q-img>
</q-img>
...
@@ -82,12 +82,12 @@
...
@@ -82,12 +82,12 @@
v-if=
"item.playTimeHour || item.playTimeMinutes"
v-if=
"item.playTimeHour || item.playTimeMinutes"
>
>
<i
class=
"iconfont icon-shijian1"
></i>
<i
class=
"iconfont icon-shijian1"
></i>
约
{{$t('v103.details.style.d1')}}
<span
v-if=
"item.playTimeHour"
<span
v-if=
"item.playTimeHour"
>
{{ item.playTimeHour }}
小时
>
{{ item.playTimeHour }}
{{$t('v103.details.style.d2')}}
</span>
</span>
<span
v-if=
"item.playTimeMinutes"
<span
v-if=
"item.playTimeMinutes"
>
{{ item.playTimeMinutes }}
分钟
>
{{ item.playTimeMinutes }}
{{$t('v103.details.style.d3')}}
</span>
</span>
</span>
</span>
</div>
</div>
...
@@ -124,12 +124,12 @@
...
@@ -124,12 +124,12 @@
v-if=
"item.playTimeHour || item.playTimeMinutes"
v-if=
"item.playTimeHour || item.playTimeMinutes"
>
>
<i
class=
"iconfont icon-shijian1"
></i>
<i
class=
"iconfont icon-shijian1"
></i>
约
{{
$t
(
'v103.details.style.d1'
)
}}
<span
v-if=
"item.playTimeHour"
<span
v-if=
"item.playTimeHour"
>
{{
item
.
playTimeHour
}}
小时
>
{{
item
.
playTimeHour
}}
{{
$t
(
'v103.details.style.d2'
)
}}
</span>
</span>
<span
v-if=
"item.playTimeMinutes"
<span
v-if=
"item.playTimeMinutes"
>
{{
item
.
playTimeMinutes
}}
分钟
>
{{
item
.
playTimeMinutes
}}
{{
$t
(
'v103.details.style.d3'
)
}}
</span>
</span>
</span>
</span>
</div>
</div>
...
@@ -158,7 +158,7 @@
...
@@ -158,7 +158,7 @@
<div
<div
class=
"absolute-full flex flex-center bg-blue-1 text-dark"
class=
"absolute-full flex flex-center bg-blue-1 text-dark"
>
>
图片加载失败
{{
$t
(
'v103.details.style.nodata'
)
}}
</div>
</div>
</
template
>
</
template
>
</q-img>
</q-img>
...
@@ -176,7 +176,7 @@
...
@@ -176,7 +176,7 @@
</div>
</div>
<div
class=
"item flex q-mt-sm q-pa-lg"
v-if=
"day.tips.length > 0"
>
<div
class=
"item flex q-mt-sm q-pa-lg"
v-if=
"day.tips.length > 0"
>
<h4>
温馨提示
</h4>
<h4>
{{$t('v103.details.style.d4')}}
</h4>
<div
class=
"remark"
>
<div
class=
"remark"
>
<span
v-for=
"(t, k) in day.tips"
:key=
"k"
v-html=
"t.content"
></span>
<span
v-for=
"(t, k) in day.tips"
:key=
"k"
v-html=
"t.content"
></span>
</div>
</div>
...
@@ -223,7 +223,7 @@
...
@@ -223,7 +223,7 @@
</span>
</span>
{{ getHotelSuffix() }}
{{ getHotelSuffix() }}
</div>
</div>
<div
class=
"val"
v-else
>
本日无酒店安排
</div>
<div
class=
"val"
v-else
>
{{$t('v103.details.style.d5')}}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -264,7 +264,6 @@ export default defineComponent({
...
@@ -264,7 +264,6 @@ export default defineComponent({
})
})
const
methods
=
{
const
methods
=
{
showImageHandler
(
url
:
string
)
{
showImageHandler
(
url
:
string
)
{
console
.
log
(
url
,
'------'
)
data
.
currentImage
=
url
data
.
currentImage
=
url
data
.
showImagePriview
=
true
data
.
showImagePriview
=
true
},
},
...
@@ -273,19 +272,19 @@ export default defineComponent({
...
@@ -273,19 +272,19 @@ export default defineComponent({
let
suffix
=
""
;
let
suffix
=
""
;
if
(
props
.
day
.
jiu2
.
length
>
1
)
{
if
(
props
.
day
.
jiu2
.
length
>
1
)
{
if
(
props
.
isDirect
===
1
)
{
if
(
props
.
isDirect
===
1
)
{
suffix
=
"或同級"
;
suffix
=
t
(
'v103.details.style.d6'
)
;
}
}
}
else
{
}
else
{
if
(
if
(
props
.
day
.
jiu2
.
length
==
1
&&
props
.
day
.
jiu2
.
length
==
1
&&
props
.
day
.
jiu2
[
0
].
name
!=
"温馨的家"
&&
props
.
day
.
jiu2
[
0
].
name
!=
t
(
'v103.details.style.d7'
)
&&
props
.
day
.
jiu2
[
0
].
name
!=
"机场附近酒店"
props
.
day
.
jiu2
[
0
].
name
!=
t
(
'v103.details.style.d8'
)
)
{
)
{
if
(
props
.
day
.
jiu2
[
0
].
status
==
1
)
{
if
(
props
.
day
.
jiu2
[
0
].
status
==
1
)
{
suffix
=
"【保证入住】"
;
suffix
=
t
(
'v103.details.style.d9'
)
;
}
else
{
}
else
{
if
(
props
.
isDirect
===
1
)
{
if
(
props
.
isDirect
===
1
)
{
suffix
=
"或同級"
;
suffix
=
t
(
'v103.details.style.d10'
)
;
}
}
}
}
}
}
...
...
src/components/trip/style3.vue
View file @
00fab9f6
...
@@ -2721,7 +2721,7 @@
...
@@ -2721,7 +2721,7 @@
</label>
</label>
<label
class=
"style3_detail"
>
{{
getHotelSuffix
(
item
)
}}
</label>
<label
class=
"style3_detail"
>
{{
getHotelSuffix
(
item
)
}}
</label>
</div>
</div>
<div
class=
"val"
v-else
>
本日无酒店安排
</div>
<div
class=
"val"
v-else
>
{{
$t
(
'v103.details.style.d5'
)
}}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
src/components/trip/style5.vue
View file @
00fab9f6
...
@@ -127,7 +127,7 @@
...
@@ -127,7 +127,7 @@
</div>
</div>
</div>
</div>
<div
class=
"expense"
>
<div
class=
"expense"
>
<div
class=
"left"
>
温馨提示
</div>
<div
class=
"left"
>
{{
$t
(
'v103.details.style.d4'
)
}}
</div>
<div
class=
"right"
>
<div
class=
"right"
>
<div
v-html=
"htmlData5"
></div>
<div
v-html=
"htmlData5"
></div>
</div>
</div>
...
...
src/components/trip/style6.vue
View file @
00fab9f6
...
@@ -243,7 +243,7 @@
...
@@ -243,7 +243,7 @@
</label>
</label>
{{
getHotelSuffix
(
item
)
}}
{{
getHotelSuffix
(
item
)
}}
</div>
</div>
<div
class=
"style6_val"
v-else
>
本日无酒店安排
</div>
<div
class=
"style6_val"
v-else
>
{{
$t
(
'v103.details.style.d5'
)
}}
</div>
</div>
</div>
</div>
</div>
<div
class=
"detail-right"
>
<div
class=
"detail-right"
>
...
...
src/components/trip/tripView/calendar.vue
View file @
00fab9f6
...
@@ -2,17 +2,17 @@
...
@@ -2,17 +2,17 @@
<q-table
:rows=
"days"
:columns=
"cols"
flat
class=
"q-mt-md"
hide-pagination
>
<q-table
:rows=
"days"
:columns=
"cols"
flat
class=
"q-mt-md"
hide-pagination
>
<template
v-slot:body-cell-day=
"props"
>
<template
v-slot:body-cell-day=
"props"
>
<q-td
:props=
"props"
>
<q-td
:props=
"props"
>
<div
class=
"text-h6"
>
第
{{
props
.
row
.
dayNum
}}
天
</div>
<div
class=
"text-h6"
>
{{
$t
(
'v103.details.calendarhtml.d1'
)
}}
{{
props
.
row
.
dayNum
}}
{{
$t
(
'v103.details.calendarhtml.d11'
)
}}
</div>
<div
class=
"f12 text-grey-8"
>
{{
props
.
row
.
title
}}
</div>
<div
class=
"f12 text-grey-8"
>
{{
props
.
row
.
title
}}
</div>
</q-td>
</q-td>
</
template
>
</
template
>
<
template
v-slot:body-cell-dinner=
"props"
>
<
template
v-slot:body-cell-dinner=
"props"
>
<q-td
:props=
"props"
>
<q-td
:props=
"props"
>
<div
class=
"f12 text-grey-8"
>
早餐
:
</div>
<div
class=
"f12 text-grey-8"
>
{{
$t
(
'v103.details.calendarhtml.d2'
)
}}
:
</div>
<div
class=
"f12 text-grey-8"
>
{{
props
.
row
.
breakfast
}}
</div>
<div
class=
"f12 text-grey-8"
>
{{
props
.
row
.
breakfast
}}
</div>
<div
class=
"f12 text-grey-8 q-mt-sm"
>
午餐
:
</div>
<div
class=
"f12 text-grey-8 q-mt-sm"
>
{{
$t
(
'v103.details.calendarhtml.d3'
)
}}
:
</div>
<div
class=
"f12 text-grey-8"
>
{{
props
.
row
.
lanuch
}}
</div>
<div
class=
"f12 text-grey-8"
>
{{
props
.
row
.
lanuch
}}
</div>
<div
class=
"f12 text-grey-8 q-mt-sm"
>
晚餐
:
</div>
<div
class=
"f12 text-grey-8 q-mt-sm"
>
{{
$t
(
'v103.details.calendarhtml.d4'
)
}}
:
</div>
<div
class=
"f12 text-grey-8"
>
{{
props
.
row
.
dinner
}}
</div>
<div
class=
"f12 text-grey-8"
>
{{
props
.
row
.
dinner
}}
</div>
</q-td>
</q-td>
</
template
>
</
template
>
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
<q-td
:props=
"props"
>
<q-td
:props=
"props"
>
<div
v-for=
"(x,i) in props.row.hotel"
:key=
"i"
class=
"row items-center"
>
<div
v-for=
"(x,i) in props.row.hotel"
:key=
"i"
class=
"row items-center"
>
<q-chip
class=
"bg-transparent"
text-color=
"blue"
dense
:label=
"x.n"
/>
<q-chip
class=
"bg-transparent"
text-color=
"blue"
dense
:label=
"x.n"
/>
<span
class=
"q-ml-sm"
>
{{
x
.
t
==
0
?
'保證入住'
:
'或同級別酒店'
}}
</span>
<span
class=
"q-ml-sm"
>
{{
x
.
t
==
0
?
$t
(
'v103.details.calendarhtml.d5'
):
$t
(
'v103.details.calendarhtml.d6'
)
}}
</span>
</div>
</div>
<div
class=
"q-mt-sm"
v-if=
"props.row.tips"
>
{{
props
.
row
.
tips
}}
</div>
<div
class=
"q-mt-sm"
v-if=
"props.row.tips"
>
{{
props
.
row
.
tips
}}
</div>
</q-td>
</q-td>
...
@@ -52,10 +52,10 @@ export default defineComponent({
...
@@ -52,10 +52,10 @@ export default defineComponent({
const
data
=
reactive
({
const
data
=
reactive
({
cols
:
[
cols
:
[
{
name
:
"day"
,
label
:
"行程"
,
align
:
"left"
,
style
:
'vertical-align:top;'
},
{
name
:
"day"
,
label
:
t
(
'v103.details.calendartitle.d1'
)
,
align
:
"left"
,
style
:
'vertical-align:top;'
},
{
name
:
"dinner"
,
label
:
"用餐"
,
align
:
"left"
,
style
:
'vertical-align:top;'
},
{
name
:
"dinner"
,
label
:
t
(
'v103.details.calendartitle.d2'
)
,
align
:
"left"
,
style
:
'vertical-align:top;'
},
{
name
:
"acitvity"
,
label
:
"景点/场馆&活动"
,
align
:
"left"
,
style
:
'vertical-align:top;'
},
{
name
:
"acitvity"
,
label
:
t
(
'v103.details.calendartitle.d3'
)
,
align
:
"left"
,
style
:
'vertical-align:top;'
},
{
name
:
"hotel"
,
label
:
"酒店"
,
align
:
"left"
,
style
:
'vertical-align:top;'
},
{
name
:
"hotel"
,
label
:
t
(
'v103.details.calendartitle.d4'
)
,
align
:
"left"
,
style
:
'vertical-align:top;'
},
],
],
days
:
props
.
days
,
days
:
props
.
days
,
d
:
props
.
days
d
:
props
.
days
...
@@ -69,9 +69,9 @@ export default defineComponent({
...
@@ -69,9 +69,9 @@ export default defineComponent({
formatDay
()
{
formatDay
()
{
if
(
data
.
d
.
length
>
0
)
{
if
(
data
.
d
.
length
>
0
)
{
data
.
d
.
forEach
((
x
)
=>
{
data
.
d
.
forEach
((
x
)
=>
{
x
.
breakfast
=
'不含餐'
x
.
breakfast
=
t
(
'v103.details.day.d1'
)
x
.
lanuch
=
'不含餐'
x
.
lanuch
=
t
(
'v103.details.day.d1'
)
x
.
dinner
=
'不含餐'
x
.
dinner
=
t
(
'v103.details.day.d1'
)
x
.
activity
=
[]
x
.
activity
=
[]
x
.
hotel
=
[]
x
.
hotel
=
[]
x
.
tips
=
''
x
.
tips
=
''
...
@@ -87,13 +87,13 @@ export default defineComponent({
...
@@ -87,13 +87,13 @@ export default defineComponent({
y
.
title
=
methods
.
formatTraffice
(
y
.
childItem
.
subTraffic
);
y
.
title
=
methods
.
formatTraffice
(
y
.
childItem
.
subTraffic
);
y
.
icon
=
"iconfont iconjiaotong"
;
y
.
icon
=
"iconfont iconjiaotong"
;
}
else
if
(
y
.
type
==
4
)
{
}
else
if
(
y
.
type
==
4
)
{
if
(
y
.
childItem
.
dinnerName
.
indexOf
(
'自理'
)
==-
1
&&
y
.
childItem
.
dinnerName
.
indexOf
(
'请选择'
)
==-
1
){
if
(
y
.
childItem
.
dinnerName
.
indexOf
(
t
(
'v103.details.day.d2'
))
==-
1
&&
y
.
childItem
.
dinnerName
.
indexOf
(
t
(
'v103.details.day.d3'
)
)
==-
1
){
if
(
y
.
childItem
.
useDinnerType
==
'1'
){
if
(
y
.
childItem
.
useDinnerType
==
'1'
){
x
.
breakfast
=
x
.
breakfast
==
'不含餐'
?
y
.
childItem
.
dinnerName
:
x
.
breakfast
+
','
+
y
.
childItem
.
dinnerName
x
.
breakfast
=
x
.
breakfast
==
t
(
'v103.details.day.d1'
)
?
y
.
childItem
.
dinnerName
:
x
.
breakfast
+
','
+
y
.
childItem
.
dinnerName
}
else
if
(
y
.
childItem
.
useDinnerType
==
'2'
){
}
else
if
(
y
.
childItem
.
useDinnerType
==
'2'
){
x
.
lanuch
=
x
.
lanuch
==
'不含餐'
?
y
.
childItem
.
dinnerName
:
x
.
lanuch
+
','
+
y
.
childItem
.
dinnerName
x
.
lanuch
=
x
.
lanuch
==
t
(
'v103.details.day.d1'
)
?
y
.
childItem
.
dinnerName
:
x
.
lanuch
+
','
+
y
.
childItem
.
dinnerName
}
else
if
(
y
.
childItem
.
useDinnerType
==
'3'
){
}
else
if
(
y
.
childItem
.
useDinnerType
==
'3'
){
x
.
dinner
=
x
.
dinner
==
'不含餐'
?
y
.
childItem
.
dinnerName
:
x
.
dinner
+
','
+
y
.
childItem
.
dinnerName
x
.
dinner
=
x
.
dinner
==
t
(
'v103.details.day.d1'
)
?
y
.
childItem
.
dinnerName
:
x
.
dinner
+
','
+
y
.
childItem
.
dinnerName
}
}
}
}
}
else
if
(
y
.
type
==
2
)
{
}
else
if
(
y
.
type
==
2
)
{
...
@@ -104,7 +104,7 @@ export default defineComponent({
...
@@ -104,7 +104,7 @@ export default defineComponent({
}
else
if
(
y
.
type
==
5
)
{
}
else
if
(
y
.
type
==
5
)
{
x
.
activity
.
push
({
x
.
activity
.
push
({
t
:
2
,
t
:
2
,
n
:
'自由活動'
n
:
t
(
'v103.details.day.d4'
)
})
})
}
else
if
(
y
.
type
==
3
)
{
}
else
if
(
y
.
type
==
3
)
{
x
.
hotel
.
push
({
n
:
y
.
childItem
.
hotelName
,
t
:
y
.
childItem
.
IsSameLevel
})
x
.
hotel
.
push
({
n
:
y
.
childItem
.
hotelName
,
t
:
y
.
childItem
.
IsSameLevel
})
...
@@ -116,21 +116,21 @@ export default defineComponent({
...
@@ -116,21 +116,21 @@ export default defineComponent({
}
}
},
},
formatTraffice
(
tras
)
{
formatTraffice
(
tras
)
{
let
txt
=
"從"
+
tras
[
0
].
startCityName
;
let
txt
=
t
(
'v103.details.traffice.d1'
)
+
tras
[
0
].
startCityName
;
tras
.
forEach
((
z
,
i
)
=>
{
tras
.
forEach
((
z
,
i
)
=>
{
if
(
i
>
0
)
{
if
(
i
>
0
)
{
txt
=
";再"
;
txt
=
t
(
'v103.details.traffice.d2'
)
;
}
}
if
(
z
.
arrivalType
==
1
)
{
if
(
z
.
arrivalType
==
1
)
{
txt
+=
"搭乘航班"
;
txt
+=
t
(
'v103.details.traffice.d3'
)
;
}
else
if
(
z
.
arrivalType
==
2
)
{
}
else
if
(
z
.
arrivalType
==
2
)
{
txt
+=
"乘坐豪華巴士"
;
txt
+=
t
(
'v103.details.traffice.d4'
)
;
}
else
if
(
z
.
arrivalType
==
3
)
{
}
else
if
(
z
.
arrivalType
==
3
)
{
txt
+=
"乘坐豪華郵輪"
;
txt
+=
t
(
'v103.details.traffice.d5'
)
;
}
else
{
}
else
{
txt
+=
"乘坐高鐵"
;
txt
+=
t
(
'v103.details.traffice.d6'
)
;
}
}
txt
+=
" 到達"
+
z
.
arrivalCityName
;
txt
+=
`
${
t
(
'v103.details.traffice.d7'
)}
`
+
z
.
arrivalCityName
;
});
});
return
txt
;
return
txt
;
},
},
...
...
src/components/trip/tripView/list.vue
View file @
00fab9f6
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<q-timeline
color=
"secondary"
layout=
"dense"
>
<q-timeline
color=
"secondary"
layout=
"dense"
>
<q-timeline-entry
heading
class=
"small-heading"
>
<q-timeline-entry
heading
class=
"small-heading"
>
<span
class=
"text-subtitle1 text-grey-9 text-weight-bold"
<span
class=
"text-subtitle1 text-grey-9 text-weight-bold"
>
第
{{
x
.
dayNum
}}
天
</span
>
{{
$t
(
'v103.details.calendarhtml.d1'
)
}}
{{
x
.
dayNum
}}
{{
$t
(
'v103.details.calendarhtml.d11'
)
}}
</span
>
>
<span
class=
"text-subtitle1 text-grey-9 text-weight-bold q-ml-lg"
>
{{
<span
class=
"text-subtitle1 text-grey-9 text-weight-bold q-ml-lg"
>
{{
x
.
title
x
.
title
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
></div>
></div>
</q-timeline-entry>
</q-timeline-entry>
<q-timeline-entry
<q-timeline-entry
subtitle=
"景點/場館
"
:subtitle=
"$t('v103.details.list.d1')
"
icon=
"iconfont iconjingdian"
icon=
"iconfont iconjingdian"
color=
"info"
color=
"info"
:key=
"yi"
:key=
"yi"
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
<template
v-slot:title
>
<template
v-slot:title
>
<div
class=
"row"
>
<div
class=
"row"
>
<span
class=
"q-mr-md"
>
{{
<span
class=
"q-mr-md"
>
{{
`
遊玩
${y.childItem.couponsName
}
`
`
${$t('v103.details.list.d2')
}
${y.childItem.couponsName
}
`
}}
<
/span
>
}}
<
/span
>
<
div
<
div
class
=
"row items-center rounded-borders"
class
=
"row items-center rounded-borders"
...
@@ -43,17 +43,17 @@
...
@@ -43,17 +43,17 @@
class
=
"bg-dark text-white"
class
=
"bg-dark text-white"
style
=
"padding: 0 4px; font-size: 12px"
style
=
"padding: 0 4px; font-size: 12px"
>
>
推薦遊玩
{{
$t
(
'v103.details.list.d3'
)
}}
<
/div
>
<
/div
>
<
div
<
div
class
=
"text-dark"
class
=
"text-dark"
style
=
"padding: 0 4px; font-size: 12px; background: #f0bd86"
style
=
"padding: 0 4px; font-size: 12px; background: #f0bd86"
>
>
<
span
v
-
if
=
"y.childItem.playTimeHour > 0"
<
span
v
-
if
=
"y.childItem.playTimeHour > 0"
>
{{
y
.
childItem
.
playTimeHour
}}
小時
<
/spa
n
>
{{
y
.
childItem
.
playTimeHour
}}
{{
$t
(
'v103.details.list.d4'
)
}}
<
/spa
n
>
>
<
span
v
-
if
=
"y.childItem.playTimeMinutes > 0"
>
<
span
v
-
if
=
"y.childItem.playTimeMinutes > 0"
>
{{
y
.
childItem
.
playTimeMinutes
}}
分鐘
<
/spa
n
{{
y
.
childItem
.
playTimeMinutes
}}
{{
$t
(
'v103.details.list.d5'
)
}}
<
/spa
n
>
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
...
@@ -141,8 +141,8 @@
...
@@ -141,8 +141,8 @@
<
/div
>
<
/div
>
<
/q-timeline-entry
>
<
/q-timeline-entry
>
<
q
-
timeline
-
entry
<
q
-
timeline
-
entry
title
=
"自由活動
"
:
title
=
"$t('v103.details.day.d4')
"
subtitle
=
"放鬆休息,細細品味身邊的風景
"
:
subtitle
=
"$t('v103.details.list.d6')
"
icon
=
"iconfont iconhuodong"
icon
=
"iconfont iconhuodong"
:
key
=
"yi"
:
key
=
"yi"
color
=
"grey"
color
=
"grey"
...
@@ -184,7 +184,7 @@
...
@@ -184,7 +184,7 @@
<
/div
>
<
/div
>
<
/q-timeline-entry
>
<
/q-timeline-entry
>
<
q
-
timeline
-
entry
<
q
-
timeline
-
entry
subtitle
=
"住宿
"
:
subtitle
=
"$t('v103.details.list.d7')
"
icon
=
"iconfont iconjiudian"
icon
=
"iconfont iconjiudian"
color
=
"dark"
color
=
"dark"
:
key
=
"yi"
:
key
=
"yi"
...
@@ -193,7 +193,7 @@
...
@@ -193,7 +193,7 @@
<
template
v
-
slot
:
title
>
<
template
v
-
slot
:
title
>
<
div
class
=
"row items-center"
>
<
div
class
=
"row items-center"
>
<
span
class
=
"q-mr-md"
>
<
span
class
=
"q-mr-md"
>
<
span
>
入住
<
/span
>
<
span
>
{{
$t
(
'v103.details.list.d8'
)
}}
<
/span
>
<
span
class
=
"q-ml-sm"
>
<
span
class
=
"q-ml-sm"
>
{{
y
.
childItem
.
hotelName
}}
{{
y
.
childItem
.
hotelName
}}
<
q
-
badge
transparent
align
=
"middle"
color
=
"orange"
>
<
q
-
badge
transparent
align
=
"middle"
color
=
"orange"
>
...
@@ -208,7 +208,7 @@
...
@@ -208,7 +208,7 @@
square
square
text
-
color
=
"grey-2"
text
-
color
=
"grey-2"
dense
dense
label
=
"含早餐
"
:
label
=
"$t('v103.details.day.d5')
"
v
-
if
=
"y.childItem.useDinnerType.indexOf('1') != -1"
v
-
if
=
"y.childItem.useDinnerType.indexOf('1') != -1"
/>
/>
<
q
-
chip
<
q
-
chip
...
@@ -216,7 +216,7 @@
...
@@ -216,7 +216,7 @@
square
square
text
-
color
=
"grey-2"
text
-
color
=
"grey-2"
dense
dense
label
=
"含晚餐
"
:
label
=
"$t('v103.details.day.d6')
"
v
-
if
=
"y.childItem.useDinnerType.indexOf('3') != -1"
v
-
if
=
"y.childItem.useDinnerType.indexOf('3') != -1"
/>
/>
<
q
-
chip
<
q
-
chip
...
@@ -224,7 +224,7 @@
...
@@ -224,7 +224,7 @@
square
square
text
-
color
=
"grey-2"
text
-
color
=
"grey-2"
dense
dense
label
=
"保證入住
"
:
label
=
"$t('v103.details.day.d7')
"
v
-
if
=
"y.childItem.isSameLevel == 0"
v
-
if
=
"y.childItem.isSameLevel == 0"
/>
/>
<
q
-
chip
<
q
-
chip
...
@@ -232,10 +232,10 @@
...
@@ -232,10 +232,10 @@
square
square
text
-
color
=
"grey-2"
text
-
color
=
"grey-2"
dense
dense
label
=
"或同級別酒店
"
:
label
=
"$t('v103.details.day.d8')
"
>
>
<
q
-
tooltip
class
=
"bg-dark"
<
q
-
tooltip
class
=
"bg-dark"
>
我們會儘量保證入住行程所示酒店,不排除突發的意外情況造成無法入住,我們將會為您安排同級別的酒店,請您放心選購
<
/q-toolti
p
>
{{
$t
(
'v103.details.list.d9'
)
}}
<
/q-toolti
p
>
>
<
/q-chip
>
<
/q-chip
>
<
/div
>
<
/div
>
...
@@ -277,8 +277,8 @@
...
@@ -277,8 +277,8 @@
<
/div
>
<
/div
>
<
/q-timeline-entry
>
<
/q-timeline-entry
>
<
q
-
timeline
-
entry
<
q
-
timeline
-
entry
title
=
"溫馨提示
"
:
title
=
"$t('v103.details.list.d10')
"
subtitle
=
"感謝您的耐心閱讀,
"
:
subtitle
=
"$t('v103.details.list.d11')
"
icon
=
"iconfont icontishi"
icon
=
"iconfont icontishi"
:
key
=
"yi"
:
key
=
"yi"
color
=
"warning"
color
=
"warning"
...
@@ -356,7 +356,7 @@ export default defineComponent({
...
@@ -356,7 +356,7 @@ export default defineComponent({
y
.
title
=
methods
.
formatTraffice
(
y
.
childItem
.
subTraffic
);
y
.
title
=
methods
.
formatTraffice
(
y
.
childItem
.
subTraffic
);
y
.
icon
=
"iconfont iconjiaotong"
;
y
.
icon
=
"iconfont iconjiaotong"
;
}
else
if
(
y
.
type
==
4
)
{
}
else
if
(
y
.
type
==
4
)
{
let
t
=
[
"早餐"
,
"午餐"
,
"晚餐"
];
let
t
=
[
t
(
'v103.details.calendarhtml.d2'
),
t
(
'v103.details.calendarhtml.d3'
),
t
(
'v103.details.calendarhtml.d4'
)
];
y
.
childItem
.
dinnerTypeName
=
y
.
childItem
.
dinnerTypeName
=
t
[
parseInt
(
y
.
childItem
.
useDinnerType
)
-
1
];
t
[
parseInt
(
y
.
childItem
.
useDinnerType
)
-
1
];
}
}
...
@@ -365,21 +365,21 @@ export default defineComponent({
...
@@ -365,21 +365,21 @@ export default defineComponent({
}
}
}
,
}
,
formatTraffice
(
tras
)
{
formatTraffice
(
tras
)
{
let
txt
=
"從"
+
tras
[
0
].
startCityName
;
let
txt
=
t
(
'v103.details.traffice.d1'
)
+
tras
[
0
].
startCityName
;
tras
.
forEach
((
z
,
i
)
=>
{
tras
.
forEach
((
z
,
i
)
=>
{
if
(
i
>
0
)
{
if
(
i
>
0
)
{
txt
=
";再"
;
txt
=
t
(
'v103.details.traffice.d2'
)
;
}
}
if
(
z
.
arrivalType
==
1
)
{
if
(
z
.
arrivalType
==
1
)
{
txt
+=
"搭乘航班"
;
txt
+=
t
(
'v103.details.traffice.d3'
)
;
}
else
if
(
z
.
arrivalType
==
2
)
{
}
else
if
(
z
.
arrivalType
==
2
)
{
txt
+=
"乘坐豪華巴士"
;
txt
+=
t
(
'v103.details.traffice.d4'
)
;
}
else
if
(
z
.
arrivalType
==
3
)
{
}
else
if
(
z
.
arrivalType
==
3
)
{
txt
+=
"乘坐豪華郵輪"
;
txt
+=
t
(
'v103.details.traffice.d5'
)
;
}
else
{
}
else
{
txt
+=
"乘坐高鐵"
;
txt
+=
t
(
'v103.details.traffice.d6'
)
;
}
}
txt
+=
" 到達"
+
z
.
arrivalCityName
;
txt
+=
` ${t('v103.details.traffice.d7')
}
`
+
z
.
arrivalCityName
;
}
);
}
);
return
txt
;
return
txt
;
}
,
}
,
...
...
src/i18n/zh-TW/index.ts
View file @
00fab9f6
...
@@ -1150,7 +1150,74 @@ export default {
...
@@ -1150,7 +1150,74 @@ export default {
},
},
daily
:
'每日行程'
,
daily
:
'每日行程'
,
graphicmode
:
'圖文模式'
,
graphicmode
:
'圖文模式'
,
calendarmode
:
'日曆模式'
calendarmode
:
'日曆模式'
,
calendarhtml
:{
d1
:
'第'
,
d11
:
'天'
,
d2
:
'早餐'
,
d3
:
'午餐'
,
d4
:
'晚餐'
,
d5
:
'保證入住'
,
d6
:
'或同級別酒店'
,
},
calendartitle
:{
d1
:
'行程'
,
d2
:
'用餐'
,
d3
:
'景点/场馆&活动'
,
d4
:
'酒店'
,
},
day
:{
d1
:
'不含餐'
,
d2
:
'自理'
,
d3
:
'请选择'
,
d4
:
'自由活動'
,
d5
:
'含早餐'
,
d6
:
'含晚餐'
,
d7
:
'保證入住'
,
d8
:
'或同級別酒店'
},
traffice
:{
d1
:
'從'
,
d2
:
';再'
,
d3
:
'搭乘航班'
,
d4
:
'乘坐豪華巴士'
,
d5
:
'乘坐豪華郵輪'
,
d6
:
'乘坐高鐵'
,
d7
:
'到達'
,
},
list
:{
d1
:
'景點/場館'
,
d2
:
'遊玩'
,
d3
:
'推薦遊玩'
,
d4
:
'小時'
,
d5
:
'分鐘'
,
d6
:
'放鬆休息,細細品味身邊的風景'
,
d7
:
'住宿'
,
d8
:
'入住'
,
d9
:
'我們會儘量保證入住行程所示酒店,不排除突發的意外情況造成無法入住,我們將會為您安排同級別的酒店,請您放心選購'
,
d10
:
'溫馨提示'
,
d11
:
'感謝您的耐心閱讀,'
,
d12
:
''
,
d13
:
''
,
},
style
:{
nodata
:
'图片加载失败'
,
d1
:
'约'
,
d2
:
'小时'
,
d3
:
'分钟'
,
d4
:
'温馨提示'
,
d5
:
'本日无酒店安排'
,
d6
:
'或同級'
,
d7
:
'温馨的家'
,
d8
:
'机场附近酒店'
,
d9
:
'【保证入住】'
,
d10
:
'或同級'
,
d11
:
''
,
d12
:
''
,
d13
:
''
,
d14
:
''
,
d15
:
''
,
}
}
}
}
}
//#endregion
//#endregion
...
...
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