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
aedc820b
Commit
aedc820b
authored
Dec 11, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
行程特色修改
parent
44f2f5fa
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
63 additions
and
19 deletions
+63
-19
VToolBar.vue
...wTravelmanager/TravelGroupControl/TravelTemp/VToolBar.vue
+15
-1
travelFeature3.vue
...lmanager/TravelGroupControl/TravelTemp/travelFeature3.vue
+48
-18
No files found.
src/components/newTravelmanager/TravelGroupControl/TravelTemp/VToolBar.vue
View file @
aedc820b
...
@@ -11,6 +11,9 @@
...
@@ -11,6 +11,9 @@
</div>
</div>
<div
v-if=
"isXuan === true"
>
<div
v-if=
"isXuan === true"
>
<i
:class=
"'iconfont ' + icon.xuan"
@
click=
"toXuan"
></i>
<i
:class=
"'iconfont ' + icon.xuan"
@
click=
"toXuan"
></i>
</div>
<div
v-if=
"isAdd === true"
>
<i
:class=
"'' + icon.add"
@
click=
"toAdd"
></i>
</div>
</div>
<div
v-if=
"isDelete === true"
>
<div
v-if=
"isDelete === true"
>
<i
:class=
"'iconfont ' + icon.delete"
@
click=
"toDelete"
></i>
<i
:class=
"'iconfont ' + icon.delete"
@
click=
"toDelete"
></i>
...
@@ -75,6 +78,11 @@
...
@@ -75,6 +78,11 @@
type
:
Boolean
,
type
:
Boolean
,
default
:
true
default
:
true
},
},
//是否显示添加
isAdd
:
{
type
:
Boolean
,
default
:
true
},
// 是否显示删除
// 是否显示删除
isDelete
:
{
isDelete
:
{
type
:
Boolean
,
type
:
Boolean
,
...
@@ -100,7 +108,8 @@
...
@@ -100,7 +108,8 @@
rightZ
:
'icon-right'
,
rightZ
:
'icon-right'
,
bottomY
:
'icon-arrowdown'
,
bottomY
:
'icon-arrowdown'
,
bottomZ
:
'icon-zhidi'
,
bottomZ
:
'icon-zhidi'
,
reset
:
'icon-zhongzhi'
reset
:
'icon-zhongzhi'
,
add
:
'el-icon-plus'
}
}
}
}
},
},
...
@@ -158,6 +167,11 @@
...
@@ -158,6 +167,11 @@
},
},
toReset
:
function
()
{
toReset
:
function
()
{
this
.
$emit
(
'toReset'
,
this
.
name
,
this
.
index1
,
this
.
index2
)
this
.
$emit
(
'toReset'
,
this
.
name
,
this
.
index1
,
this
.
index2
)
},
//添加
toAdd
:
function
()
{
this
.
$emit
(
'toAdd'
,
this
.
name
,
this
.
index1
,
this
.
index2
)
}
}
}
}
}
}
...
...
src/components/newTravelmanager/TravelGroupControl/TravelTemp/travelFeature3.vue
View file @
aedc820b
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
<vToolBar
:isHorizontal=
"false"
:isHuan=
"false"
:isXuan=
"false"
name=
"hotel"
:type=
"1"
:index1=
"item*2"
<vToolBar
:isHorizontal=
"false"
:isHuan=
"false"
:isXuan=
"false"
name=
"hotel"
:type=
"1"
:index1=
"item*2"
:index2=
"0"
:length1=
"hotelObj.list.length"
:length2=
"hotelObj.list[item*2].images.length"
:index2=
"0"
:length1=
"hotelObj.list.length"
:length2=
"hotelObj.list[item*2].images.length"
@
toPreY=
"bolckToPreY"
@
toNextY=
"bolckToNextY"
@
toPreZ=
"bolckToPreZ"
@
toNextZ=
"bolckToNextZ"
@
toPreY=
"bolckToPreY"
@
toNextY=
"bolckToNextY"
@
toPreZ=
"bolckToPreZ"
@
toNextZ=
"bolckToNextZ"
@
toDelete=
"bolckToDelete"
>
@
toDelete=
"bolckToDelete"
@
toAdd=
"blockToAdd"
>
</vToolBar>
</vToolBar>
</div>
</div>
<div
class=
"hotel_1_info_1_img"
>
<div
class=
"hotel_1_info_1_img"
>
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
<vToolBar
:isHorizontal=
"true"
name=
"hotel"
:type=
"2"
:index1=
"item*2"
:index2=
"0"
<vToolBar
:isHorizontal=
"true"
name=
"hotel"
:type=
"2"
:index1=
"item*2"
:index2=
"0"
:length1=
"hotelObj.list.length"
:length2=
"hotelObj.list[item*2].images.length"
@
toPreY=
"imgToPreY"
:length1=
"hotelObj.list.length"
:length2=
"hotelObj.list[item*2].images.length"
@
toPreY=
"imgToPreY"
@
toNextY=
"imgToNextY"
@
toPreZ=
"imgToPreZ"
@
toNextZ=
"imgToNextZ"
@
toHuan=
"imgToHuan"
@
toNextY=
"imgToNextY"
@
toPreZ=
"imgToPreZ"
@
toNextZ=
"imgToNextZ"
@
toHuan=
"imgToHuan"
@
toXuan=
"imgToXuan"
@
toDelete=
"imgToDelete"
@
toReset=
"resetXY"
:isReset=
'true'
>
@
toXuan=
"imgToXuan"
@
toDelete=
"imgToDelete"
@
toReset=
"resetXY"
:isReset=
'true'
:isAdd=
"false"
>
</vToolBar>
</vToolBar>
<input
type=
"file"
style=
"display:none"
:id=
'"hotelfile_"+(item*2)+"_0"'
@
change=
"uploadpic"
>
<input
type=
"file"
style=
"display:none"
:id=
'"hotelfile_"+(item*2)+"_0"'
@
change=
"uploadpic"
>
</div>
</div>
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
<vToolBar
:isHorizontal=
"true"
name=
"hotel"
:type=
"2"
:index1=
"item*2"
:index2=
"1"
<vToolBar
:isHorizontal=
"true"
name=
"hotel"
:type=
"2"
:index1=
"item*2"
:index2=
"1"
:length1=
"hotelObj.list.length"
:length2=
"hotelObj.list[item*2].images.length"
@
toPreY=
"imgToPreY"
:length1=
"hotelObj.list.length"
:length2=
"hotelObj.list[item*2].images.length"
@
toPreY=
"imgToPreY"
@
toNextY=
"imgToNextY"
@
toPreZ=
"imgToPreZ"
@
toNextZ=
"imgToNextZ"
@
toHuan=
"imgToHuan"
@
toNextY=
"imgToNextY"
@
toPreZ=
"imgToPreZ"
@
toNextZ=
"imgToNextZ"
@
toHuan=
"imgToHuan"
@
toXuan=
"imgToXuan"
@
toDelete=
"imgToDelete"
>
@
toXuan=
"imgToXuan"
@
toDelete=
"imgToDelete"
>
</vToolBar>
</vToolBar>
<input
type=
"file"
style=
"display:none"
:id=
'"hotelfile_"+(item*2)+"_1"'
@
change=
"uploadpic"
>
<input
type=
"file"
style=
"display:none"
:id=
'"hotelfile_"+(item*2)+"_1"'
@
change=
"uploadpic"
>
</div>
</div>
...
@@ -93,7 +93,7 @@
...
@@ -93,7 +93,7 @@
<vToolBar
:isHorizontal=
"false"
:isHuan=
"false"
:isXuan=
"false"
name=
"hotel"
:type=
"1"
:index1=
"item*2+1"
<vToolBar
:isHorizontal=
"false"
:isHuan=
"false"
:isXuan=
"false"
name=
"hotel"
:type=
"1"
:index1=
"item*2+1"
:index2=
"0"
:length1=
"hotelObj.list.length"
:length2=
"hotelObj.list[item*2+1].images.length"
:index2=
"0"
:length1=
"hotelObj.list.length"
:length2=
"hotelObj.list[item*2+1].images.length"
@
toPreY=
"bolckToPreY"
@
toNextY=
"bolckToNextY"
@
toPreZ=
"bolckToPreZ"
@
toNextZ=
"bolckToNextZ"
@
toPreY=
"bolckToPreY"
@
toNextY=
"bolckToNextY"
@
toPreZ=
"bolckToPreZ"
@
toNextZ=
"bolckToNextZ"
@
toDelete=
"bolckToDelete"
>
@
toDelete=
"bolckToDelete"
@
toAdd=
"blockToAdd"
>
</vToolBar>
</vToolBar>
</div>
</div>
<div
class=
"hotel_1_info_2_top"
>
<div
class=
"hotel_1_info_2_top"
>
...
@@ -178,7 +178,7 @@
...
@@ -178,7 +178,7 @@
<vToolBar
:isHorizontal=
"false"
:isHuan=
"false"
:isXuan=
"false"
name=
"hotel"
:type=
"1"
:index1=
"item*2"
<vToolBar
:isHorizontal=
"false"
:isHuan=
"false"
:isXuan=
"false"
name=
"hotel"
:type=
"1"
:index1=
"item*2"
:index2=
"0"
:length1=
"hotelObj.list.length"
:length2=
"hotelObj.list[item*2].images.length"
:index2=
"0"
:length1=
"hotelObj.list.length"
:length2=
"hotelObj.list[item*2].images.length"
@
toPreY=
"bolckToPreY"
@
toNextY=
"bolckToNextY"
@
toPreZ=
"bolckToPreZ"
@
toNextZ=
"bolckToNextZ"
@
toPreY=
"bolckToPreY"
@
toNextY=
"bolckToNextY"
@
toPreZ=
"bolckToPreZ"
@
toNextZ=
"bolckToNextZ"
@
toDelete=
"bolckToDelete"
>
@
toDelete=
"bolckToDelete"
@
toAdd=
"blockToAdd"
>
</vToolBar>
</vToolBar>
</div>
</div>
<img
class=
"hotel_2_info_1_bg"
<img
class=
"hotel_2_info_1_bg"
...
@@ -238,7 +238,7 @@
...
@@ -238,7 +238,7 @@
<vToolBar
:isHorizontal=
"false"
:isHuan=
"false"
:isXuan=
"false"
name=
"hotel"
:type=
"1"
:index1=
"item*2+1"
<vToolBar
:isHorizontal=
"false"
:isHuan=
"false"
:isXuan=
"false"
name=
"hotel"
:type=
"1"
:index1=
"item*2+1"
:index2=
"0"
:length1=
"hotelObj.list.length"
:length2=
"hotelObj.list[item*2+1].images.length"
:index2=
"0"
:length1=
"hotelObj.list.length"
:length2=
"hotelObj.list[item*2+1].images.length"
@
toPreY=
"bolckToPreY"
@
toNextY=
"bolckToNextY"
@
toPreZ=
"bolckToPreZ"
@
toNextZ=
"bolckToNextZ"
@
toPreY=
"bolckToPreY"
@
toNextY=
"bolckToNextY"
@
toPreZ=
"bolckToPreZ"
@
toNextZ=
"bolckToNextZ"
@
toDelete=
"bolckToDelete"
>
@
toDelete=
"bolckToDelete"
@
toAdd=
"blockToAdd"
>
</vToolBar>
</vToolBar>
</div>
</div>
<div
class=
"hotel_2_info_2_top"
>
<div
class=
"hotel_2_info_2_top"
>
...
@@ -365,7 +365,7 @@
...
@@ -365,7 +365,7 @@
<vToolBar
:isHorizontal=
"false"
:isHuan=
"false"
:isXuan=
"false"
name=
"viewSpot"
:type=
"1"
:index1=
"item*4"
<vToolBar
:isHorizontal=
"false"
:isHuan=
"false"
:isXuan=
"false"
name=
"viewSpot"
:type=
"1"
:index1=
"item*4"
:index2=
"0"
:length1=
"viewSpotObj.list.length"
:length2=
"viewSpotObj.list[item*4].images.length"
:index2=
"0"
:length1=
"viewSpotObj.list.length"
:length2=
"viewSpotObj.list[item*4].images.length"
@
toPreY=
"bolckToPreY"
@
toNextY=
"bolckToNextY"
@
toPreZ=
"bolckToPreZ"
@
toNextZ=
"bolckToNextZ"
@
toPreY=
"bolckToPreY"
@
toNextY=
"bolckToNextY"
@
toPreZ=
"bolckToPreZ"
@
toNextZ=
"bolckToNextZ"
@
toDelete=
"bolckToDelete"
>
@
toDelete=
"bolckToDelete"
@
toAdd=
"blockToAdd"
>
</vToolBar>
</vToolBar>
</div>
</div>
<div
class=
"viewSpot_1_info_1_img1"
>
<div
class=
"viewSpot_1_info_1_img1"
>
...
@@ -373,7 +373,7 @@
...
@@ -373,7 +373,7 @@
<vToolBar
:isHorizontal=
"true"
name=
"viewSpot"
:type=
"2"
:index1=
"item*4"
:index2=
"0"
<vToolBar
:isHorizontal=
"true"
name=
"viewSpot"
:type=
"2"
:index1=
"item*4"
:index2=
"0"
:length1=
"viewSpotObj.list.length"
:length2=
"viewSpotObj.list[item*4].images.length"
@
toPreY=
"imgToPreY"
:length1=
"viewSpotObj.list.length"
:length2=
"viewSpotObj.list[item*4].images.length"
@
toPreY=
"imgToPreY"
@
toNextY=
"imgToNextY"
@
toPreZ=
"imgToPreZ"
@
toNextZ=
"imgToNextZ"
@
toHuan=
"imgToHuan"
@
toXuan=
"imgToXuan"
@
toNextY=
"imgToNextY"
@
toPreZ=
"imgToPreZ"
@
toNextZ=
"imgToNextZ"
@
toHuan=
"imgToHuan"
@
toXuan=
"imgToXuan"
@
toDelete=
"imgToDelete"
@
toReset=
"resetXY"
:isReset=
'true'
>
@
toDelete=
"imgToDelete"
@
toReset=
"resetXY"
:isReset=
'true'
:isAdd=
"false"
>
</vToolBar>
</vToolBar>
<input
type=
"file"
style=
"display:none"
:id=
'"viewSpotfile_"+(item*4)+"_0"'
@
change=
"uploadpic"
>
<input
type=
"file"
style=
"display:none"
:id=
'"viewSpotfile_"+(item*4)+"_0"'
@
change=
"uploadpic"
>
</div>
</div>
...
@@ -408,7 +408,7 @@
...
@@ -408,7 +408,7 @@
<vToolBar
:isHorizontal=
"false"
:isHuan=
"false"
:isXuan=
"false"
name=
"viewSpot"
:type=
"1"
:index1=
"item*4+1"
<vToolBar
:isHorizontal=
"false"
:isHuan=
"false"
:isXuan=
"false"
name=
"viewSpot"
:type=
"1"
:index1=
"item*4+1"
:index2=
"0"
:length1=
"viewSpotObj.list.length"
:length2=
"viewSpotObj.list[item*4+1].images.length"
:index2=
"0"
:length1=
"viewSpotObj.list.length"
:length2=
"viewSpotObj.list[item*4+1].images.length"
@
toPreY=
"bolckToPreY"
@
toNextY=
"bolckToNextY"
@
toPreZ=
"bolckToPreZ"
@
toNextZ=
"bolckToNextZ"
@
toPreY=
"bolckToPreY"
@
toNextY=
"bolckToNextY"
@
toPreZ=
"bolckToPreZ"
@
toNextZ=
"bolckToNextZ"
@
toDelete=
"bolckToDelete"
>
@
toDelete=
"bolckToDelete"
@
toAdd=
"blockToAdd"
>
</vToolBar>
</vToolBar>
</div>
</div>
<div
class=
"viewSpot_1_info_2_bottom"
>
<div
class=
"viewSpot_1_info_2_bottom"
>
...
@@ -444,7 +444,6 @@
...
@@ -444,7 +444,6 @@
</div>
</div>
<div
class=
"travel_noImg dragDiv"
:id=
'"viewSpotBox_"+(item*4+1)+"_1"'
>
<div
class=
"travel_noImg dragDiv"
:id=
'"viewSpotBox_"+(item*4+1)+"_1"'
>
<div
class=
"triangle_border_rb_c"
></div>
<div
class=
"triangle_border_rb_c"
></div>
<!-- viewSpotObj.list[item*4+1].images[1].y -->
<VueDraggableResizable
v-if=
"viewSpotObj.list[item*4+1].images[1]"
<VueDraggableResizable
v-if=
"viewSpotObj.list[item*4+1].images[1]"
:ref=
'"viewSpotVds_"+(item*4+1)+"_1"'
tabindex=
"0"
:resizable=
'false'
:active=
"false"
:ref=
'"viewSpotVds_"+(item*4+1)+"_1"'
tabindex=
"0"
:resizable=
'false'
:active=
"false"
:parent=
"false"
axis=
'x'
@
activated=
"onActivated(item*4+1,1)"
:parent=
"false"
axis=
'x'
@
activated=
"onActivated(item*4+1,1)"
...
@@ -480,7 +479,7 @@
...
@@ -480,7 +479,7 @@
<vToolBar
:isHorizontal=
"false"
:isHuan=
"false"
:isXuan=
"false"
name=
"viewSpot"
:type=
"1"
:index1=
"item*4-2"
<vToolBar
:isHorizontal=
"false"
:isHuan=
"false"
:isXuan=
"false"
name=
"viewSpot"
:type=
"1"
:index1=
"item*4-2"
:index2=
"0"
:length1=
"viewSpotObj.list.length"
:length2=
"viewSpotObj.list[item*4-2].images.length"
:index2=
"0"
:length1=
"viewSpotObj.list.length"
:length2=
"viewSpotObj.list[item*4-2].images.length"
@
toPreY=
"bolckToPreY"
@
toNextY=
"bolckToNextY"
@
toPreZ=
"bolckToPreZ"
@
toNextZ=
"bolckToNextZ"
@
toPreY=
"bolckToPreY"
@
toNextY=
"bolckToNextY"
@
toPreZ=
"bolckToPreZ"
@
toNextZ=
"bolckToNextZ"
@
toDelete=
"bolckToDelete"
>
@
toDelete=
"bolckToDelete"
@
toAdd=
"blockToAdd"
>
</vToolBar>
</vToolBar>
</div>
</div>
<div
class=
"viewSpot_2_info_1_info"
>
<div
class=
"viewSpot_2_info_1_info"
>
...
@@ -503,7 +502,7 @@
...
@@ -503,7 +502,7 @@
<vToolBar
:isHorizontal=
"true"
name=
"viewSpot"
:type=
"2"
:index1=
"item*4-2"
:index2=
"0"
<vToolBar
:isHorizontal=
"true"
name=
"viewSpot"
:type=
"2"
:index1=
"item*4-2"
:index2=
"0"
:length1=
"viewSpotObj.list.length"
:length2=
"viewSpotObj.list[item*4-2].images.length"
:length1=
"viewSpotObj.list.length"
:length2=
"viewSpotObj.list[item*4-2].images.length"
@
toPreY=
"imgToPreY"
@
toNextY=
"imgToNextY"
@
toPreZ=
"imgToPreZ"
@
toNextZ=
"imgToNextZ"
@
toPreY=
"imgToPreY"
@
toNextY=
"imgToNextY"
@
toPreZ=
"imgToPreZ"
@
toNextZ=
"imgToNextZ"
@
toHuan=
"imgToHuan"
@
toXuan=
"imgToXuan"
@
toDelete=
"imgToDelete"
@
toReset=
"resetXY"
:isReset=
'true'
>
@
toHuan=
"imgToHuan"
@
toXuan=
"imgToXuan"
@
toDelete=
"imgToDelete"
@
toReset=
"resetXY"
:isReset=
'true'
:isAdd=
"false"
>
</vToolBar>
</vToolBar>
<input
type=
"file"
style=
"display:none"
:id=
'"viewSpotfile_"+(item*4-2)+"_0"'
@
change=
"uploadpic"
>
<input
type=
"file"
style=
"display:none"
:id=
'"viewSpotfile_"+(item*4-2)+"_0"'
@
change=
"uploadpic"
>
</div>
</div>
...
@@ -585,7 +584,7 @@
...
@@ -585,7 +584,7 @@
<vToolBar
:isHorizontal=
"false"
:isHuan=
"false"
:isXuan=
"false"
name=
"viewSpot"
:type=
"1"
<vToolBar
:isHorizontal=
"false"
:isHuan=
"false"
:isXuan=
"false"
name=
"viewSpot"
:type=
"1"
:index1=
"item*4-1"
:index2=
"0"
:length1=
"viewSpotObj.list.length"
:index1=
"item*4-1"
:index2=
"0"
:length1=
"viewSpotObj.list.length"
:length2=
"viewSpotObj.list[item*4-1].images.length"
@
toPreY=
"bolckToPreY"
@
toNextY=
"bolckToNextY"
:length2=
"viewSpotObj.list[item*4-1].images.length"
@
toPreY=
"bolckToPreY"
@
toNextY=
"bolckToNextY"
@
toPreZ=
"bolckToPreZ"
@
toNextZ=
"bolckToNextZ"
@
toDelete=
"bolckToDelete"
>
@
toPreZ=
"bolckToPreZ"
@
toNextZ=
"bolckToNextZ"
@
toDelete=
"bolckToDelete"
@
toAdd=
"blockToAdd"
>
</vToolBar>
</vToolBar>
</div>
</div>
<div
class=
"travel_toolbar"
v-if=
"canEdit===true"
>
<div
class=
"travel_toolbar"
v-if=
"canEdit===true"
>
...
@@ -612,7 +611,7 @@
...
@@ -612,7 +611,7 @@
<vToolBar
:isHorizontal=
"false"
:isHuan=
"false"
:isXuan=
"false"
name=
"viewSpot"
:type=
"1"
<vToolBar
:isHorizontal=
"false"
:isHuan=
"false"
:isXuan=
"false"
name=
"viewSpot"
:type=
"1"
:index1=
"item*4"
:index2=
"0"
:length1=
"viewSpotObj.list.length"
:index1=
"item*4"
:index2=
"0"
:length1=
"viewSpotObj.list.length"
:length2=
"viewSpotObj.list[item*4].images.length"
@
toPreY=
"bolckToPreY"
@
toNextY=
"bolckToNextY"
:length2=
"viewSpotObj.list[item*4].images.length"
@
toPreY=
"bolckToPreY"
@
toNextY=
"bolckToNextY"
@
toPreZ=
"bolckToPreZ"
@
toNextZ=
"bolckToNextZ"
@
toDelete=
"bolckToDelete"
>
@
toPreZ=
"bolckToPreZ"
@
toNextZ=
"bolckToNextZ"
@
toDelete=
"bolckToDelete"
@
toAdd=
"blockToAdd"
>
</vToolBar>
</vToolBar>
</div>
</div>
<div
class=
"travel_toolbar"
v-if=
"canEdit===true"
>
<div
class=
"travel_toolbar"
v-if=
"canEdit===true"
>
...
@@ -639,7 +638,7 @@
...
@@ -639,7 +638,7 @@
<vToolBar
:isHorizontal=
"false"
:isHuan=
"false"
:isXuan=
"false"
name=
"viewSpot"
:type=
"1"
<vToolBar
:isHorizontal=
"false"
:isHuan=
"false"
:isXuan=
"false"
name=
"viewSpot"
:type=
"1"
:index1=
"item*4+1"
:index2=
"0"
:length1=
"viewSpotObj.list.length"
:index1=
"item*4+1"
:index2=
"0"
:length1=
"viewSpotObj.list.length"
:length2=
"viewSpotObj.list[item*4+1].images.length"
@
toPreY=
"bolckToPreY"
@
toNextY=
"bolckToNextY"
:length2=
"viewSpotObj.list[item*4+1].images.length"
@
toPreY=
"bolckToPreY"
@
toNextY=
"bolckToNextY"
@
toPreZ=
"bolckToPreZ"
@
toNextZ=
"bolckToNextZ"
@
toDelete=
"bolckToDelete"
>
@
toPreZ=
"bolckToPreZ"
@
toNextZ=
"bolckToNextZ"
@
toDelete=
"bolckToDelete"
@
toAdd=
"blockToAdd"
>
</vToolBar>
</vToolBar>
</div>
</div>
<div
class=
"travel_toolbar"
v-if=
"canEdit===true"
>
<div
class=
"travel_toolbar"
v-if=
"canEdit===true"
>
...
@@ -698,7 +697,7 @@
...
@@ -698,7 +697,7 @@
<vToolBar
:isHorizontal=
"false"
:isHuan=
"false"
:isXuan=
"false"
name=
"restaurant"
:type=
"1"
:index1=
"item*2"
<vToolBar
:isHorizontal=
"false"
:isHuan=
"false"
:isXuan=
"false"
name=
"restaurant"
:type=
"1"
:index1=
"item*2"
:index2=
"0"
:length1=
"restaurantObj.list.length"
:length2=
"restaurantObj.list[item*2].images.length"
:index2=
"0"
:length1=
"restaurantObj.list.length"
:length2=
"restaurantObj.list[item*2].images.length"
@
toPreY=
"bolckToPreY"
@
toNextY=
"bolckToNextY"
@
toPreZ=
"bolckToPreZ"
@
toNextZ=
"bolckToNextZ"
@
toPreY=
"bolckToPreY"
@
toNextY=
"bolckToNextY"
@
toPreZ=
"bolckToPreZ"
@
toNextZ=
"bolckToNextZ"
@
toDelete=
"bolckToDelete"
>
@
toDelete=
"bolckToDelete"
@
toAdd=
"blockToAdd"
>
</vToolBar>
</vToolBar>
</div>
</div>
<div
class=
"restaurant_1_info_1_img1"
>
<div
class=
"restaurant_1_info_1_img1"
>
...
@@ -706,7 +705,7 @@
...
@@ -706,7 +705,7 @@
<vToolBar
:isHorizontal=
"true"
name=
"restaurant"
:type=
"2"
:index1=
"item*2"
:index2=
"0"
<vToolBar
:isHorizontal=
"true"
name=
"restaurant"
:type=
"2"
:index1=
"item*2"
:index2=
"0"
:length1=
"restaurantObj.list.length"
:length2=
"restaurantObj.list[item*2].images.length"
:length1=
"restaurantObj.list.length"
:length2=
"restaurantObj.list[item*2].images.length"
@
toPreY=
"imgToPreY"
@
toNextY=
"imgToNextY"
@
toPreZ=
"imgToPreZ"
@
toNextZ=
"imgToNextZ"
@
toHuan=
"imgToHuan"
@
toPreY=
"imgToPreY"
@
toNextY=
"imgToNextY"
@
toPreZ=
"imgToPreZ"
@
toNextZ=
"imgToNextZ"
@
toHuan=
"imgToHuan"
@
toXuan=
"imgToXuan"
@
toDelete=
"imgToDelete"
@
toReset=
"resetXY"
:isReset=
'true'
>
@
toXuan=
"imgToXuan"
@
toDelete=
"imgToDelete"
@
toReset=
"resetXY"
:isReset=
'true'
:isAdd=
"false"
>
</vToolBar>
</vToolBar>
<input
type=
"file"
style=
"display:none"
:id=
'"restaurantfile_"+(item*2)+"_0"'
@
change=
"uploadpic"
>
<input
type=
"file"
style=
"display:none"
:id=
'"restaurantfile_"+(item*2)+"_0"'
@
change=
"uploadpic"
>
</div>
</div>
...
@@ -741,7 +740,7 @@
...
@@ -741,7 +740,7 @@
<vToolBar
:isHorizontal=
"false"
:isHuan=
"false"
:isXuan=
"false"
name=
"restaurant"
:type=
"1"
<vToolBar
:isHorizontal=
"false"
:isHuan=
"false"
:isXuan=
"false"
name=
"restaurant"
:type=
"1"
:index1=
"item*2+1"
:index2=
"0"
:length1=
"restaurantObj.list.length"
:index1=
"item*2+1"
:index2=
"0"
:length1=
"restaurantObj.list.length"
:length2=
"restaurantObj.list[item*2+1].images.length"
@
toPreY=
"bolckToPreY"
@
toNextY=
"bolckToNextY"
:length2=
"restaurantObj.list[item*2+1].images.length"
@
toPreY=
"bolckToPreY"
@
toNextY=
"bolckToNextY"
@
toPreZ=
"bolckToPreZ"
@
toNextZ=
"bolckToNextZ"
@
toDelete=
"bolckToDelete"
>
@
toPreZ=
"bolckToPreZ"
@
toNextZ=
"bolckToNextZ"
@
toDelete=
"bolckToDelete"
@
toAdd=
"blockToAdd"
>
</vToolBar>
</vToolBar>
</div>
</div>
<div
class=
"restaurant_1_info_2_left"
>
<div
class=
"restaurant_1_info_2_left"
>
...
@@ -1635,6 +1634,37 @@
...
@@ -1635,6 +1634,37 @@
blockList
.
splice
(
index1
,
1
);
blockList
.
splice
(
index1
,
1
);
this
.
pageCount
(
name
)
this
.
pageCount
(
name
)
},
},
//添加酒店、门票、餐厅
blockToAdd
:
function
(
name
,
index1
,
index2
)
{
var
addObj
=
{
Ename
:
""
,
MD5Sign
:
""
,
description
:
"酒店描述信息"
,
images
:[],
name
:
"酒店名称"
,
type
:
"Hotel"
};
if
(
name
===
'hotel'
)
{
if
(
this
.
hotelObj
&&
this
.
hotelObj
.
list
){
this
.
hotelObj
.
list
.
push
(
addObj
);
}
}
else
if
(
name
===
'viewSpot'
)
{
addObj
.
description
=
"景点描述"
;
addObj
.
name
=
"景点名称"
;
addObj
.
type
=
"Scenic"
;
if
(
this
.
viewSpotObj
&&
this
.
viewSpotObj
.
list
){
this
.
viewSpotObj
.
list
.
push
(
addObj
);
}
}
else
if
(
name
===
'restaurant'
)
{
addObj
.
description
=
"餐厅描述"
;
addObj
.
name
=
"餐厅名称"
;
addObj
.
type
=
"Dinner"
;
if
(
this
.
restaurantObj
&&
this
.
restaurantObj
.
list
){
this
.
restaurantObj
.
list
.
push
(
addObj
);
}
}
},
//判断是否切换
//判断是否切换
getIsRefresh
()
getIsRefresh
()
{
{
...
...
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