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
13915e9f
Commit
13915e9f
authored
Feb 12, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'行程特色图片位置问题@@@'
parent
ea3583a8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
8 deletions
+15
-8
travelFeature3.vue
...lmanager/TravelGroupControl/TravelTemp/travelFeature3.vue
+3
-3
threedayList.vue
...nents/newTravelmanager/TravelTripPreview/threedayList.vue
+9
-5
travelDaysTrip.vue
...onents/newTravelmanager/travelLineTrip/travelDaysTrip.vue
+3
-0
No files found.
src/components/newTravelmanager/TravelGroupControl/TravelTemp/travelFeature3.vue
View file @
13915e9f
...
...
@@ -1410,9 +1410,9 @@
}
let
json
=
this
.
FeatureData
.
FeatureHtmlJson
?
JSON
.
parse
(
JSON
.
stringify
(
this
.
FeatureData
.
FeatureHtmlJson
))
:
''
;
// console.log("jsonjsonjson",json)
this
.
hotelObj
.
title
=
json
.
hotelObj
.
title
.
first
?
json
.
hotelObj
.
title
:
this
.
hotelObj
.
title
;
this
.
restaurantObj
.
title
=
json
.
restaurantObj
.
title
?
json
.
restaurantObj
.
title
:
this
.
restaurantObj
.
title
;
this
.
viewSpotObj
.
title
=
json
.
viewSpotObj
.
title
?
json
.
viewSpotObj
.
title
:
this
.
viewSpotObj
.
title
;
this
.
hotelObj
.
title
=
json
.
hotelObj
?
json
.
hotelObj
.
title
:
this
.
hotelObj
.
title
;
this
.
restaurantObj
.
title
=
json
.
restaurantObj
?
json
.
restaurantObj
.
title
:
this
.
restaurantObj
.
title
;
this
.
viewSpotObj
.
title
=
json
.
viewSpotObj
?
json
.
viewSpotObj
.
title
:
this
.
viewSpotObj
.
title
;
},
// 酒店图片拖拽
onHotelDragstop
(
x
,
y
){
...
...
src/components/newTravelmanager/TravelTripPreview/threedayList.vue
View file @
13915e9f
...
...
@@ -253,11 +253,15 @@
},
created
()
{
this
.
scenicArray
.
forEach
(
x
=>
{
if
(
!
x
.
ScenicJson
){
x
.
ScenicJson
=
{
x
:
0
,
y
:
0
};
}
});
// this.scenicArray.forEach(x=>{
// if(!x.ScenicJson){
// x.ScenicJson= x.ScenicJsonStr ? JSON{ x:0, y:0 };
// }
// });
this
.
scenicArray
.
forEach
(
x
=>
{
x
.
ScenicJson
=
typeof
(
x
.
ScenicJsonStr
)
===
'string'
?
JSON
.
parse
(
x
.
ScenicJsonStr
)
:
{
x
:
0
,
y
:
0
};
console
.
log
(
typeof
(
x
.
ScenicJsonStr
)
===
'string'
)
})
},
components
:
{
DMCchooseImg
,
...
...
src/components/newTravelmanager/travelLineTrip/travelDaysTrip.vue
View file @
13915e9f
...
...
@@ -301,6 +301,9 @@
methods
:
{
//非直采切换
NoDirectScenicCheck
(
number
)
{
// this.dayObj.ScenicArray.forEach(x=>{
// x.ScenicJson = x.ScenicJsonStr ? JSON.parse(x.ScenicJsonStr) : { x:0, y:0 };
// })
if
(
this
.
dayObj
.
ScenicArray
==
null
)
{
this
.
dayObj
.
ScenicArray
=
[];
}
...
...
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