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
ac630930
Commit
ac630930
authored
Feb 28, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
3e071169
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
TravelFeature.vue
...nts/newTravelmanager/TravelGroupControl/TravelFeature.vue
+1
-2
travelFeature3.vue
...lmanager/TravelGroupControl/TravelTemp/travelFeature3.vue
+9
-3
No files found.
src/components/newTravelmanager/TravelGroupControl/TravelFeature.vue
View file @
ac630930
...
...
@@ -506,7 +506,7 @@
});
this
.
FeatureData
.
FeatureHtmlJson
=
null
this
.
FeatureData
.
FeatureHtmlJsonDelete
=
null
this
.
FeatureData
.
lastFeatureType
=
this
.
FeatureData
.
FeatureType
this
.
FeatureData
.
lastFeatureType
=
this
.
FeatureData
.
FeatureType
<
4
?
true
:
false
this
.
FeatureData
.
switch4or5
=
true
this
.
$forceUpdate
()
}).
catch
(()
=>
{
...
...
@@ -601,7 +601,6 @@
},
initFeature
()
{
this
.
TypeArray
.
forEach
(
x
=>
{
console
.
log
(
"this.FeatureData.FeatureType"
,
this
.
FeatureData
.
FeatureType
)
if
(
x
.
TypeState
==
this
.
FeatureData
.
FeatureType
)
{
x
.
isShow
=
true
;
this
.
ckTitle
=
x
.
ckTitle
;
...
...
src/components/newTravelmanager/TravelGroupControl/TravelTemp/travelFeature3.vue
View file @
ac630930
...
...
@@ -1355,10 +1355,10 @@
let
dataList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
FeatureData
));
let
deleteDataList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
FeatureData
.
FeatureHtmlJsonDelete
));
this
.
deleteArray
=
!
deleteDataList
?
[]
:
deleteDataList
;
console
.
log
(
"this.deleteArray"
,
this
.
deleteArray
)
console
.
log
(
"dataList"
,
dataList
,
!
this
.
$route
.
query
.
configId
,
dataList
.
switch4or5
)
//
console.log("this.deleteArray", this.deleteArray)
//
console.log("dataList",dataList,!this.$route.query.configId,dataList.switch4or5)
// console.log("this.$route.query.configId && this.FeatureData.FeatureType
<
4
",this.$route.query.configId && this.FeatureData.FeatureType<4) || (this.$route.query.configId && this.FeatureData.FeatureType<4)
if (!this.$route.query.configId || (this.$route.query.configId && dataList.switch4or5) || (this.$route.query.configId && this.FeatureData.lastFeatureType
<4
)){
if (!this.$route.query.configId || (this.$route.query.configId && dataList.switch4or5) || (this.$route.query.configId && this.FeatureData.lastFeatureType)){
for (let i = 0; i < dataList.DayList.length; i++) { //组装数据
let restaurantObj = travelFeatureTwo.DinnerInit(i, dataList.DayList) // 餐饮
let hotelObj = travelFeatureTwo.HotelInit(i, dataList.DayList) // 酒店
...
...
@@ -1647,24 +1647,30 @@
imgList = this.hotelObj.list[index1].images;
for (let i = 0; i < imgList.length; i ++) {
imgList[i].y = 0;
imgList[i].x = 0;
if (this.$refs["
hotelVds_
"+index1+"
_
"+i]) {
this.$refs["
hotelVds_
"+index1+"
_
"+i][0]._data.top=0
this.$refs["
hotelVds_
"+index1+"
_
"+i][0]._data.left=0
}
}
} else if (name === 'viewSpot') {
imgList = this.viewSpotObj.list[index1].images;
for (let i = 0; i < imgList.length; i ++) {
imgList[i].y = 0;
imgList[i].x = 0;
if (this.$refs["
viewSpotVds_
"+index1+"
_
"+i]) {
this.$refs["
viewSpotVds_
"+index1+"
_
"+i][0]._data.top=0
this.$refs["
viewSpotVds_
"+index1+"
_
"+i][0]._data.left = 0
}
}
} else if (name === 'restaurant') {
imgList = this.restaurantObj.list[index1].images;
for (let i = 0; i < imgList.length; i ++) {
imgList[i].y = 0;
imgList[i].x = 0;
if (this.$refs["
restaurantVds_
"+index1+"
_
"+i]) {
this.$refs["
restaurantVds_
"+index1+"
_
"+i][0]._data.top=0
this.$refs["
restaurantVds_
"+index1+"
_
"+i][0]._data.left = 0
}
}
}
...
...
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