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
238a85ec
Commit
238a85ec
authored
Oct 16, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整行程多图
parent
b580d86c
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
94 additions
and
50 deletions
+94
-50
tripIndexNew2.css
src/assets/css/tripIndexNew2.css
+1
-2
xclogo.png
src/assets/img/trip/xclogo.png
+0
-0
index.vue
src/components/LeaveGroupDownload/index.vue
+35
-6
confirmationOrderDownLoadNew.vue
src/components/confirmationOrderDownLoadNew.vue
+1
-1
TravelManagerThree.vue
...ewTravelmanager/TravelGroupControl/TravelManagerThree.vue
+0
-3
TravelDaysTrip_DirectThree.vue
...avelmanager/travelLineTrip/TravelDaysTrip_DirectThree.vue
+3
-3
travelDays.vue
...newTravelmanager/travelLineTrip/components/travelDays.vue
+34
-33
travelDaysTripThree.vue
...s/newTravelmanager/travelLineTrip/travelDaysTripThree.vue
+20
-2
No files found.
src/assets/css/tripIndexNew2.css
View file @
238a85ec
...
@@ -275,7 +275,6 @@ html, body{
...
@@ -275,7 +275,6 @@ html, body{
}
}
.travelDaysTitlle
{
.travelDaysTitlle
{
margin-top
:
47px
;
margin-top
:
47px
;
overflow
:
hidden
;
}
}
.travelDaysTitlle-left
{
.travelDaysTitlle-left
{
width
:
173px
;
width
:
173px
;
...
@@ -288,7 +287,7 @@ html, body{
...
@@ -288,7 +287,7 @@ html, body{
height
:
173px
;
height
:
173px
;
/* background: url('https://imgfile.oytour.com/Static/NewTripFeature/Shape.png')no-repeat center #FFF; */
/* background: url('https://imgfile.oytour.com/Static/NewTripFeature/Shape.png')no-repeat center #FFF; */
background
:
url('../img/trip/xclogo.png')
no-repeat
center
;
background
:
url('../img/trip/xclogo.png')
no-repeat
center
;
background-size
:
100%
100%
;
background-size
:
auto
100%
;
overflow
:
hidden
;
overflow
:
hidden
;
border-radius
:
50%
;
border-radius
:
50%
;
-webkit-border-radius
:
50%
;
-webkit-border-radius
:
50%
;
...
...
src/assets/img/trip/xclogo.png
View replaced file @
b580d86c
View file @
238a85ec
36.2 KB
|
W:
|
H:
65.6 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/components/LeaveGroupDownload/index.vue
View file @
238a85ec
...
@@ -4,6 +4,27 @@
...
@@ -4,6 +4,27 @@
<div
class=
"absolute z-index1 column"
style=
"left: 0;right: 0; top: 0;bottom: 0;"
>
<div
class=
"absolute z-index1 column"
style=
"left: 0;right: 0; top: 0;bottom: 0;"
>
<Header
:TripColor=
"dataAll&&dataAll.tripColor"
:orderMsg=
"orderMsg"
></Header>
<Header
:TripColor=
"dataAll&&dataAll.tripColor"
:orderMsg=
"orderMsg"
></Header>
<div
class=
"travelDaysTitlle row-aic"
:style=
"
{'background':backgroundColor}">
<div
class=
"travelDaysTitlle-left"
>
<div
class=
"relative"
>
<div
class=
"travelDaysTitlle-left-text column-ajc absolute"
>
<div
class=
"travelDaysTitlle-left-textOne"
>
<span></span>
</div>
<div
class=
"travelDaysTitlle-left-textTwo"
>
<span></span>
</div>
</div>
</div>
</div>
<div
class=
"travelDaysTitlle-right"
>
<div
class=
"travelDaysTitlle-right-text row-aic"
:style=
"
{'font-size': getFontSize(orderMsg.lineteamName+orderMsg.dayNum),'color':textColor}">
{{
orderMsg
.
lineteamName
}}{{
orderMsg
.
dayNum
}}
日游
</div>
</div>
</div>
<!--
<div
class=
"travelDaysTitlle row-aic"
>
<div
class=
"travelDaysTitlle row-aic"
>
<div
class=
"travelDaysTitlle-left"
>
<div
class=
"travelDaysTitlle-left"
>
<div
class=
"travelDaysTitlle-left-text column-ajc"
>
<div
class=
"travelDaysTitlle-left-text column-ajc"
>
...
@@ -21,7 +42,7 @@
...
@@ -21,7 +42,7 @@
{{
orderMsg
.
lineteamName
}}{{
orderMsg
.
dayNum
}}
日游
{{
orderMsg
.
lineteamName
}}{{
orderMsg
.
dayNum
}}
日游
</div>
</div>
</div>
</div>
</div>
</div>
-->
<div
style=
"margin: 0 30px;"
>
<div
style=
"margin: 0 30px;"
>
<div
class=
"trip-adviser"
style=
"margin-top: 20px;"
>
<div
class=
"trip-adviser"
style=
"margin-top: 20px;"
>
<!--
<h1
class=
"trip-nav-title"
>
<!--
<h1
class=
"trip-nav-title"
>
...
@@ -244,11 +265,19 @@
...
@@ -244,11 +265,19 @@
methods
:
{
methods
:
{
getFontSize
(
title
)
{
getFontSize
(
title
)
{
if
(
title
.
length
+
2
>
60
)
{
if
(
!
title
)
return
return
929
/
60
+
'px'
let
size
=
30
;
}
else
{
if
(
title
&&
title
.
length
>
0
&&
title
.
length
>
80
)
{
return
'30px'
var
tempSize
=
Number
(
80
)
/
Number
(
title
.
length
);
tempSize
=
tempSize
*
30
;
size
=
tempSize
.
toFixed
(
1
);
}
}
return
size
+
"px"
;
// if (title.length + 2 > 60) {
// return 929 / 60 + 'px'
// } else {
// return '30px'
// }
},
},
},
},
computed
:
{},
computed
:
{},
...
@@ -262,7 +291,7 @@
...
@@ -262,7 +291,7 @@
let
rgba0
=
rgba
[
0
].
split
(
'('
)
let
rgba0
=
rgba
[
0
].
split
(
'('
)
let
arr
=
[
rgba0
[
1
],
rgba
[
1
],
rgba
[
2
]]
let
arr
=
[
rgba0
[
1
],
rgba
[
1
],
rgba
[
2
]]
if
(
this
.
getRgbLevel
(
arr
)
>
50
)
{
if
(
this
.
getRgbLevel
(
arr
)
>
50
)
{
this
.
textColor
=
"#
fff
"
this
.
textColor
=
"#
333
"
}
else
{
}
else
{
this
.
textColor
=
"#333"
this
.
textColor
=
"#333"
}
}
...
...
src/components/confirmationOrderDownLoadNew.vue
View file @
238a85ec
...
@@ -979,7 +979,7 @@
...
@@ -979,7 +979,7 @@
<
style
>
<
style
>
@import
url('../assets/css/tripIndex.css')
;
@import
url('../assets/css/tripIndex.css')
;
@import
url("../assets/css/UpgradedVersion.css")
;
@import
url("../assets/css/UpgradedVersion.css")
;
@import
url("../assets/css/tripIndexNew.css")
;
@import
url("../assets/css/tripIndexNew
2
.css")
;
@import
url('../assets/css/detail.css')
;
@import
url('../assets/css/detail.css')
;
...
...
src/components/newTravelmanager/TravelGroupControl/TravelManagerThree.vue
View file @
238a85ec
...
@@ -313,9 +313,6 @@
...
@@ -313,9 +313,6 @@
}
else
{
}
else
{
this
.
$refs
.
TravelFeature
.
setNewDate
(
data
);
this
.
$refs
.
TravelFeature
.
setNewDate
(
data
);
}
}
},
getConfig
()
{
},
},
/*获取组件配置信息【回调方法】*/
/*获取组件配置信息【回调方法】*/
getConfig
(
configObj
)
{
getConfig
(
configObj
)
{
...
...
src/components/newTravelmanager/travelLineTrip/TravelDaysTrip_DirectThree.vue
View file @
238a85ec
...
@@ -151,7 +151,7 @@
...
@@ -151,7 +151,7 @@
</div>
</div>
<div
class=
"newDayContent"
<div
class=
"newDayContent"
:style=
"{'width':!item.isHide?'520px':'1020px'}"
>
:style=
"{'width':!item.isHide?'520px':'1020px'}"
>
<travelDaysTrip
v-bind:dayObj=
"item"
v-bind:CurrentIndex=
"index"
<travelDaysTrip
:dataAll=
"dataAll"
v-bind:dayObj=
"item"
v-bind:CurrentIndex=
"index"
v-bind:TotalCount=
"subConfig.DayList.length"
v-bind:isOpenGroup=
"isOpenGroup"
v-bind:TotalCount=
"subConfig.DayList.length"
v-bind:isOpenGroup=
"isOpenGroup"
v-bind:AllCityList=
"AllCityList"
v-bind:StartCity=
"StartCity"
v-bind:UseTypeArray=
"UseTypeArray"
v-bind:AllCityList=
"AllCityList"
v-bind:StartCity=
"StartCity"
v-bind:UseTypeArray=
"UseTypeArray"
v-bind:AirPickUp=
"AirPickUp"
v-bind:AirSend=
"AirSend"
v-bind:DayList=
"subConfig.DayList"
v-bind:AirPickUp=
"AirPickUp"
v-bind:AirSend=
"AirSend"
v-bind:DayList=
"subConfig.DayList"
...
@@ -364,7 +364,7 @@
...
@@ -364,7 +364,7 @@
TrafficList
:
TrafficList
,
TrafficList
:
TrafficList
,
WarmTipList
:
WarmTipList
,
WarmTipList
:
WarmTipList
,
TitleList
:
TitleList
,
TitleList
:
TitleList
,
IsUpdateTrip
:
this
.
subConfig
.
IsUpdateTrip
IsUpdateTrip
:
this
.
subConfig
.
IsUpdateTrip
,
};
};
this
.
HotelList
=
HotelList
;
this
.
HotelList
=
HotelList
;
this
.
DinnerList
=
DinnerList
;
this
.
DinnerList
=
DinnerList
;
...
@@ -406,7 +406,7 @@
...
@@ -406,7 +406,7 @@
this
.
emitData
();
this
.
emitData
();
},
},
deep
:
true
deep
:
true
}
}
,
}
}
};
};
...
...
src/components/newTravelmanager/travelLineTrip/components/travelDays.vue
View file @
238a85ec
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
</div>
</div>
</div>
</div>
<!-- 一张图 1-单张图,2-多张图-->
<!-- 一张图 1-单张图,2-多张图-->
<div
v-if=
"
dataAll.ShowTripType==1||(item.ScenicArray.length==0||item.ScenicArray.length==1)
"
>
<div
v-if=
"
item.TitleObj.ShowTripType==1
"
>
<div
:id=
"'viewSpotBox_'+(item*4)+'_0'+index"
class=
"travelDaysMasterMap relative borderRadius18 hidden"
>
<div
:id=
"'viewSpotBox_'+(item*4)+'_0'+index"
class=
"travelDaysMasterMap relative borderRadius18 hidden"
>
<div
class=
"travelDaysMasterMap-one"
:style=
"
{'color':'#fff'}">
<div
class=
"travelDaysMasterMap-one"
:style=
"
{'color':'#fff'}">
<div
class=
"travelDaysMasterMap-oneImg bjF6 relative UpgradedVersion-Hover"
>
<div
class=
"travelDaysMasterMap-oneImg bjF6 relative UpgradedVersion-Hover"
>
...
@@ -80,7 +80,7 @@
...
@@ -80,7 +80,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
<
template
v-else
>
<
template
v-if=
"item.TitleObj.ShowTripType==2"
>
<div
class=
"column travelDaysMasterMap2-box"
>
<div
class=
"column travelDaysMasterMap2-box"
>
<!-- 2张 -->
<!-- 2张 -->
<div
v-if=
"item.ScenicArray.length==2"
>
<div
v-if=
"item.ScenicArray.length==2"
>
...
@@ -793,6 +793,37 @@
...
@@ -793,6 +793,37 @@
},
},
methods
:
{
methods
:
{
infor
(){
this
.
RenderingOk
=
false
;
this
.
ScenicArrayList
=
[]
this
.
item
.
ScenicArray
.
forEach
((
x
,
index
)
=>
{
if
(
this
.
item
.
TitleObj
.
ShowTripType
==
1
&&
this
.
item
.
ScenicArray
&&
this
.
item
.
ScenicArray
.
length
>
0
){
if
(
x
.
DefaultNum
>
0
)
{
this
.
defaultScenicIndex
=
index
;
this
.
ScenicArrayList
.
push
(
x
)
}
}
else
{
this
.
ScenicArrayList
.
push
(
x
)
}
});
if
(
this
.
ScenicArrayList
.
length
==
0
)
{
this
.
item
.
ScenicArray
.
forEach
((
x
,
index
)
=>
{
if
(
this
.
item
.
TitleObj
.
ShowTripType
==
1
&&
this
.
item
.
ScenicArray
&&
this
.
item
.
ScenicArray
.
length
>
0
){
if
(
index
==
0
)
{
x
.
DefaultNum
=
1
;
this
.
defaultScenicIndex
=
index
;
this
.
ScenicArrayList
.
push
(
x
)
}
}
else
{
this
.
ScenicArrayList
.
push
(
x
)
}
});
}
this
.
RenderingOk
=
true
;
setTimeout
(()
=>
{
this
.
pageHeight
=
document
.
querySelector
(
`#LineOfTravel
${
this
.
item
*
4
}
_0
${
this
.
index
}
`
).
offsetHeight
},
500
)
},
getHtmlPlainText
(
html_str
)
{
getHtmlPlainText
(
html_str
)
{
//提取字符串中的文字
//提取字符串中的文字
let
re
=
new
RegExp
(
'<[^<>]+>'
,
'g'
)
let
re
=
new
RegExp
(
'<[^<>]+>'
,
'g'
)
...
@@ -943,37 +974,7 @@
...
@@ -943,37 +974,7 @@
watch
:
{
watch
:
{
item
:
{
item
:
{
handler
(
val
,
oldVal
)
{
handler
(
val
,
oldVal
)
{
this
.
infor
()
this
.
RenderingOk
=
false
;
this
.
ScenicArrayList
=
[]
this
.
item
.
ScenicArray
.
forEach
((
x
,
index
)
=>
{
if
(
this
.
item
.
ScenicArray
&&
this
.
item
.
ScenicArray
.
length
==
1
){
if
(
x
.
DefaultNum
>
0
)
{
this
.
defaultScenicIndex
=
index
;
this
.
ScenicArrayList
.
push
(
x
)
}
}
else
{
this
.
ScenicArrayList
.
push
(
x
)
}
});
if
(
this
.
ScenicArrayList
.
length
==
0
)
{
this
.
item
.
ScenicArray
.
forEach
((
x
,
index
)
=>
{
if
(
this
.
item
.
ScenicArray
&&
this
.
item
.
ScenicArray
.
length
==
1
){
if
(
index
==
0
)
{
x
.
DefaultNum
=
1
;
this
.
defaultScenicIndex
=
index
;
this
.
ScenicArrayList
.
push
(
x
)
}
}
else
{
this
.
ScenicArrayList
.
push
(
x
)
}
});
}
console
.
log
(
this
.
ScenicArrayList
,
'-----'
)
this
.
RenderingOk
=
true
;
setTimeout
(()
=>
{
this
.
pageHeight
=
document
.
querySelector
(
`#LineOfTravel
${
this
.
item
*
4
}
_0
${
this
.
index
}
`
).
offsetHeight
},
500
)
},
},
deep
:
true
,
deep
:
true
,
immediate
:
true
immediate
:
true
...
...
src/components/newTravelmanager/travelLineTrip/travelDaysTripThree.vue
View file @
238a85ec
...
@@ -222,9 +222,16 @@
...
@@ -222,9 +222,16 @@
</li>
</li>
</ul>
</ul>
</div>
</div>
<div
class=
"row-aic marginT10"
style=
"width: 100%;"
v-if=
"dayObj.ScenicArray.length>0&&dayObj.ScenicArray.length==1"
>
<div
class=
"row-aic marginT10"
style=
"width: 100%;"
v-if=
"dayObj.ScenicArray.length>0"
>
<span>
是否展示多景
</span>
<div
style=
"margin-left: 5px;"
>
<el-checkbox
v-model=
"dayObj.TitleObj.ShowTripType"
border
size=
"mini"
:true-label=
"ShowTripType[0]"
:false-label=
"ShowTripType[1]"
></el-checkbox>
</div>
</div>
<div
class=
"row-aic marginT10"
style=
"width: 100%;"
v-if=
"dayObj.TitleObj.ShowTripType==1&&dayObj.ScenicArray.length>0"
>
<span
v-if=
"ishasScenic"
>
默认展示图
</span>
<span
v-if=
"ishasScenic"
>
默认展示图
</span>
<el-select
v-if=
"ishasScenic&&NoticeParameters.IsDirect==1"
class=
"w220 Ht_hotelSelect"
size=
"mini"
<el-select
style=
"margin-left: 5px;"
v-if=
"ishasScenic&&NoticeParameters.IsDirect==1"
class=
"w220 Ht_hotelSelect"
size=
"mini"
:placeholder=
"$t('pub.pleaseSel')"
v-model=
"ScenicArraySingle"
filterable
@
change=
"setDefaultScenic"
>
:placeholder=
"$t('pub.pleaseSel')"
v-model=
"ScenicArraySingle"
filterable
@
change=
"setDefaultScenic"
>
<el-option
v-for=
"(item,index) in dayObj.ScenicArray"
:label=
"item.CouponsName"
:value=
"item.CouponsId"
<el-option
v-for=
"(item,index) in dayObj.ScenicArray"
:label=
"item.CouponsName"
:value=
"item.CouponsId"
:key=
"index"
>
:key=
"index"
>
...
@@ -284,6 +291,7 @@
...
@@ -284,6 +291,7 @@
export
default
{
export
default
{
props
:
[
props
:
[
"dataAll"
,
"CurrentIndex"
,
//当前索引
"CurrentIndex"
,
//当前索引
"TotalCount"
,
//总索引
"TotalCount"
,
//总索引
"dayObj"
,
//行程每天对象
"dayObj"
,
//行程每天对象
...
@@ -301,6 +309,7 @@
...
@@ -301,6 +309,7 @@
],
],
data
()
{
data
()
{
return
{
return
{
ShowTripType
:[
2
,
1
],
ScenicArraySingle
:
this
.
dayObj
.
ScenicArrayImg
?
this
.
dayObj
.
ScenicArrayImg
:
''
,
//单选默认图
ScenicArraySingle
:
this
.
dayObj
.
ScenicArrayImg
?
this
.
dayObj
.
ScenicArrayImg
:
''
,
//单选默认图
ScenicArray
:
this
.
dayObj
.
ScenicArrayImg
?
this
.
dayObj
.
ScenicArrayImg
:
[],
//默认展示图
ScenicArray
:
this
.
dayObj
.
ScenicArrayImg
?
this
.
dayObj
.
ScenicArrayImg
:
[],
//默认展示图
DefaultSelectValue
:
0
,
DefaultSelectValue
:
0
,
...
@@ -322,6 +331,9 @@
...
@@ -322,6 +331,9 @@
};
};
},
},
methods
:
{
methods
:
{
hasTripTypeChange
(){
},
//设置默认显示的景点图
//设置默认显示的景点图
setDefaultScenic
()
{
setDefaultScenic
()
{
this
.
dayObj
.
ScenicArray
.
forEach
(
x
=>
{
this
.
dayObj
.
ScenicArray
.
forEach
(
x
=>
{
...
@@ -723,6 +735,12 @@
...
@@ -723,6 +735,12 @@
},
},
deep
:
true
deep
:
true
},
},
dataAll
:
{
handler
:
function
(
val
,
oldVal
)
{
},
deep
:
true
},
},
},
mounted
()
{},
mounted
()
{},
components
:
{
components
:
{
...
...
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