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
5140707e
Commit
5140707e
authored
5 years ago
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
6939258b
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
106 additions
and
64 deletions
+106
-64
DMCchooseImg.vue
src/components/commonPage/DMCchooseImg.vue
+2
-1
fivedayList.vue
...onents/newTravelmanager/TravelTripPreview/fivedayList.vue
+9
-6
fourdayList.vue
...onents/newTravelmanager/TravelTripPreview/fourdayList.vue
+8
-1
onedayList.vue
...ponents/newTravelmanager/TravelTripPreview/onedayList.vue
+73
-54
threedayList.vue
...nents/newTravelmanager/TravelTripPreview/threedayList.vue
+8
-1
twodayList.vue
...ponents/newTravelmanager/TravelTripPreview/twodayList.vue
+6
-1
No files found.
src/components/commonPage/DMCchooseImg.vue
View file @
5140707e
...
@@ -426,7 +426,8 @@
...
@@ -426,7 +426,8 @@
this
.
videoListArray
.
forEach
(
x
=>
{
this
.
videoListArray
.
forEach
(
x
=>
{
x
.
isShowImgDiv
=
true
;
x
.
isShowImgDiv
=
true
;
x
.
isShow
=
false
;
x
.
isShow
=
false
;
})
x
.
FileType
=
".mp4"
});
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
Error
(
res
.
data
.
message
);
}
}
...
...
This diff is collapsed.
Click to expand it.
src/components/newTravelmanager/TravelTripPreview/fivedayList.vue
View file @
5140707e
...
@@ -256,7 +256,8 @@
...
@@ -256,7 +256,8 @@
<el-dialog
custom-class=
"TC_comDMCchoose"
title=
"选择图片"
center
:visible
.
sync=
"isShowScenicImg"
>
<el-dialog
custom-class=
"TC_comDMCchoose"
title=
"选择图片"
center
:visible
.
sync=
"isShowScenicImg"
>
<!--imgType:1-酒店,2-餐厅,3-景点,4-票务,5-车辆,6-领队,7-购物店,isCheckmore:是否多选图片-->
<!--imgType:1-酒店,2-餐厅,3-景点,4-票务,5-车辆,6-领队,7-购物店,isCheckmore:是否多选图片-->
<DMCchooseImg
@
closeImg=
"closeDMCchooseImg"
ref=
"DMCchooseImg1"
@
headCallBack=
"getDMCimg"
<DMCchooseImg
@
closeImg=
"closeDMCchooseImg"
ref=
"DMCchooseImg1"
@
headCallBack=
"getDMCimg"
v-bind:queryItem=
"queryItem"
v-bind:isCheckmore=
"1"
v-bind:imgType=
"3"
v-bind:IsShowAdd=
"true"
v-bind:IsShowVideo=
"true"
></DMCchooseImg>
v-bind:queryItem=
"queryItem"
v-bind:isCheckmore=
"1"
v-bind:imgType=
"3"
v-bind:IsShowAdd=
"true"
v-bind:IsShowVideo=
"true"
></DMCchooseImg>
</el-dialog>
</el-dialog>
</div>
</div>
</
template
>
</
template
>
...
@@ -325,6 +326,12 @@
...
@@ -325,6 +326,12 @@
Name
:
imgItem
.
Name
,
Name
:
imgItem
.
Name
,
fileName
:
imgItem
.
Name
fileName
:
imgItem
.
Name
};
};
if
(
imgItem
.
VideoPath
)
{
obj
.
VideoPath
=
imgItem
.
VideoPath
;
}
if
(
imgItem
.
FileType
)
{
obj
.
FileType
=
imgItem
.
FileType
;
}
var
array
=
[];
var
array
=
[];
array
.
push
(
obj
);
array
.
push
(
obj
);
this
.
ClickItem
.
NewImaArray
=
array
;
this
.
ClickItem
.
NewImaArray
=
array
;
...
@@ -361,11 +368,7 @@
...
@@ -361,11 +368,7 @@
DMCchooseImg
,
DMCchooseImg
,
VueDraggableResizable
VueDraggableResizable
},
},
created
()
{
created
()
{},
// this.scenicArray.forEach(x=>{
// x.ScenicJson = typeof(x.ScenicJsonStr) === 'string' ? JSON.parse(x.ScenicJsonStr) : { x:0, y:0 };
// })
},
};
};
</
script
>
</
script
>
This diff is collapsed.
Click to expand it.
src/components/newTravelmanager/TravelTripPreview/fourdayList.vue
View file @
5140707e
...
@@ -229,7 +229,8 @@
...
@@ -229,7 +229,8 @@
<el-dialog
custom-class=
"TC_comDMCchoose"
title=
"选择图片"
center
:visible
.
sync=
"isShowScenicImg"
>
<el-dialog
custom-class=
"TC_comDMCchoose"
title=
"选择图片"
center
:visible
.
sync=
"isShowScenicImg"
>
<!--imgType:1-酒店,2-餐厅,3-景点,4-票务,5-车辆,6-领队,7-购物店,isCheckmore:是否多选图片-->
<!--imgType:1-酒店,2-餐厅,3-景点,4-票务,5-车辆,6-领队,7-购物店,isCheckmore:是否多选图片-->
<DMCchooseImg
@
closeImg=
"closeDMCchooseImg"
ref=
"DMCchooseImg1"
@
headCallBack=
"getDMCimg"
<DMCchooseImg
@
closeImg=
"closeDMCchooseImg"
ref=
"DMCchooseImg1"
@
headCallBack=
"getDMCimg"
v-bind:queryItem=
"queryItem"
v-bind:isCheckmore=
"1"
v-bind:imgType=
"3"
v-bind:IsShowAdd=
"true"
v-bind:IsShowVideo=
"true"
></DMCchooseImg>
v-bind:queryItem=
"queryItem"
v-bind:isCheckmore=
"1"
v-bind:imgType=
"3"
v-bind:IsShowAdd=
"true"
v-bind:IsShowVideo=
"true"
></DMCchooseImg>
</el-dialog>
</el-dialog>
</div>
</div>
</
template
>
</
template
>
...
@@ -298,6 +299,12 @@
...
@@ -298,6 +299,12 @@
Name
:
imgItem
.
Name
,
Name
:
imgItem
.
Name
,
fileName
:
imgItem
.
Name
fileName
:
imgItem
.
Name
};
};
if
(
imgItem
.
VideoPath
)
{
obj
.
VideoPath
=
imgItem
.
VideoPath
;
}
if
(
imgItem
.
FileType
)
{
obj
.
FileType
=
imgItem
.
FileType
;
}
var
array
=
[];
var
array
=
[];
array
.
push
(
obj
);
array
.
push
(
obj
);
this
.
ClickItem
.
NewImaArray
=
array
;
this
.
ClickItem
.
NewImaArray
=
array
;
...
...
This diff is collapsed.
Click to expand it.
src/components/newTravelmanager/TravelTripPreview/onedayList.vue
View file @
5140707e
<
style
>
<
style
>
.TC-OneDayImg
{
.TC-OneDayImg
{
height
:
452px
;
height
:
452px
;
width
:
660px
;
width
:
660px
;
float
:
left
;
float
:
left
;
position
:
relative
;
position
:
relative
;
border
:
1px
solid
#d1d1d1
;
border
:
1px
solid
#d1d1d1
;
}
.TC-OneDayImg
img
{
width
:
100%
;
min-height
:
449px
;}
.TC-OneDayImg
:hover
.TC_uploadDiv
{
display
:
block
;
}
}
.TC-OneDaySpan
{
.TC-OneDayImg
img
{
width
:
100%
;
min-height
:
449px
;
}
.TC-OneDayImg
:hover
.TC_uploadDiv
{
display
:
block
;
}
.TC-OneDaySpan
{
max-height
:
265px
;
max-height
:
265px
;
line-height
:
1.5em
;
line-height
:
1.5em
;
color
:
#444
;
color
:
#444
;
...
@@ -19,21 +25,29 @@
...
@@ -19,21 +25,29 @@
display
:
block
;
display
:
block
;
font-size
:
15px
;
font-size
:
15px
;
}
}
</
style
>
</
style
>
<
template
>
<
template
>
<div
class=
"TC-ScencContent"
>
<div
class=
"TC-ScencContent"
>
<div
class=
"TC-OneDayImg"
:id=
'"boxs_"+DayNum+"_"+0'
>
<div
class=
"TC-OneDayImg"
:id=
'"boxs_"+DayNum+"_"+0'
>
<VueDraggableResizable
axis=
"y"
:ref=
'"oneDay_"+DayNum+"_"+0'
tabindex=
"0"
:w=
"660"
:h=
"449"
:resizable=
'false'
:x=
"scenicArray[0].ScenicJson.x"
<template
v-if=
"scenicArray[0].NewImaArray[0].FileType&&scenicArray[0].NewImaArray[0].FileType=='.mp4'"
>
:y=
"scenicArray[0].ScenicJson.y"
:z=
"2"
:active=
"false"
:parent=
"false"
@
dragstop=
"onDragImagestop"
@
activated=
"onActivated(0)"
>
<img
:src=
'scenicArray[0].NewImaArray[0].Url'
:id=
'"bodys_"+DayNum+"_"+0'
/>
</
template
>
<
template
v-else
>
<VueDraggableResizable
axis=
"y"
:ref=
'"oneDay_"+DayNum+"_"+0'
tabindex=
"0"
:w=
"660"
:h=
"449"
:resizable=
'false'
:x=
"scenicArray[0].ScenicJson.x"
:y=
"scenicArray[0].ScenicJson.y"
:z=
"2"
:active=
"false"
:parent=
"false"
@
dragstop=
"onDragImagestop"
@
activated=
"onActivated(0)"
>
<img
:src=
'compressImg(scenicArray[0].NewImaArray[0].Url, "filt", 600, "")'
:id=
'"bodys_"+DayNum+"_"+0'
/>
<img
:src=
'compressImg(scenicArray[0].NewImaArray[0].Url, "filt", 600, "")'
:id=
'"bodys_"+DayNum+"_"+0'
/>
</VueDraggableResizable>
</VueDraggableResizable>
</
template
>
<!-- <img v-if="scenicArray[0].NewImaArray.length>0&&scenicArray[0].NewImaArray[0].Url" :src="scenicArray[0].NewImaArray[0].Url" alt>
<!-- <img v-if="scenicArray[0].NewImaArray.length>0&&scenicArray[0].NewImaArray[0].Url" :src="scenicArray[0].NewImaArray[0].Url" alt>
<div v-else class="_noData_img" src=""></div> -->
<div v-else class="_noData_img" src=""></div> -->
<div
class=
"TC_uploadDiv"
>
<div
class=
"TC_uploadDiv"
>
<span
class=
"TC-Upimg"
>
<span
class=
"TC-Upimg"
>
<el-upload
:file-list=
"UploadList"
action
:http-request=
"uploadImg"
accept=
"image/jpeg, image/gif, image/png, image/bmp"
<el-upload
:file-list=
"UploadList"
action
:http-request=
"uploadImg"
:show-file-list=
"false"
>
accept=
"image/jpeg, image/gif, image/png, image/bmp"
:show-file-list=
"false"
>
<i
class=
"iconfont icon-img_bdsc"
></i>
<i
class=
"iconfont icon-img_bdsc"
></i>
</el-upload>
</el-upload>
</span>
</span>
...
@@ -50,15 +64,18 @@
...
@@ -50,15 +64,18 @@
</div>
</div>
<div
class=
"TC-playTime"
>
<div
class=
"TC-playTime"
>
<span>
游玩时间
</span>
<span>
游玩时间
</span>
<el-input
class=
"w69"
v-if=
"!isRead"
v-model=
"scenicArray[0].PlayTimeHour"
@
keyup
.
native=
"checkInteger(scenicArray[0],'PlayTimeHour')"
placeholder=
"小时"
></el-input>
<el-input
class=
"w69"
v-if=
"!isRead"
v-model=
"scenicArray[0].PlayTimeHour"
@
keyup
.
native=
"checkInteger(scenicArray[0],'PlayTimeHour')"
placeholder=
"小时"
></el-input>
<span
v-if=
"isRead"
>
{{scenicArray[0].PlayTimeHour}}
</span>
<span
v-if=
"isRead"
>
{{scenicArray[0].PlayTimeHour}}
</span>
小时
小时
<el-input
class=
"w69"
v-if=
"!isRead"
v-model=
"scenicArray[0].PlayTimeMinutes"
@
keyup
.
native=
"checkInteger(scenicArray[0],'PlayTimeMinutes')"
placeholder=
"分钟"
></el-input>
<el-input
class=
"w69"
v-if=
"!isRead"
v-model=
"scenicArray[0].PlayTimeMinutes"
@
keyup
.
native=
"checkInteger(scenicArray[0],'PlayTimeMinutes')"
placeholder=
"分钟"
></el-input>
<span
v-if=
"isRead"
>
{{scenicArray[0].PlayTimeMinutes}}
</span>
<span
v-if=
"isRead"
>
{{scenicArray[0].PlayTimeMinutes}}
</span>
分钟
分钟
</div>
</div>
<span
v-if=
"!isRead"
>
<span
v-if=
"!isRead"
>
<el-input
type=
"textarea"
v-model=
"scenicArray[0].Description"
resize=
"none"
class=
"TC-TextArea"
placeholder=
"请输入景点介绍"
></el-input>
<el-input
type=
"textarea"
v-model=
"scenicArray[0].Description"
resize=
"none"
class=
"TC-TextArea"
placeholder=
"请输入景点介绍"
></el-input>
</span>
</span>
<span
class=
"TC-OneDaySpan"
v-if=
"isRead"
>
<span
class=
"TC-OneDaySpan"
v-if=
"isRead"
>
{{scenicArray[0].Description}}
{{scenicArray[0].Description}}
...
@@ -67,8 +84,9 @@
...
@@ -67,8 +84,9 @@
</div>
</div>
<el-dialog
custom-class=
"TC_comDMCchoose"
title=
"选择图片"
center
:visible
.
sync=
"isShowScenicImg"
>
<el-dialog
custom-class=
"TC_comDMCchoose"
title=
"选择图片"
center
:visible
.
sync=
"isShowScenicImg"
>
<!--imgType:1-酒店,2-餐厅,3-景点,4-票务,5-车辆,6-领队,7-购物店,isCheckmore:是否多选图片-->
<!--imgType:1-酒店,2-餐厅,3-景点,4-票务,5-车辆,6-领队,7-购物店,isCheckmore:是否多选图片-->
<DMCchooseImg
@
closeImg=
"closeDMCchooseImg"
ref=
"DMCchooseImg1"
@
headCallBack=
"getDMCimg"
v-bind:queryItem=
"queryItem"
v-bind:isCheckmore=
"1"
<DMCchooseImg
@
closeImg=
"closeDMCchooseImg"
ref=
"DMCchooseImg1"
@
headCallBack=
"getDMCimg"
v-bind:imgType=
"3"
v-bind:IsShowAdd=
"true"
v-bind:IsShowVideo=
"true"
></DMCchooseImg>
v-bind:queryItem=
"queryItem"
v-bind:isCheckmore=
"1"
v-bind:imgType=
"3"
v-bind:IsShowAdd=
"true"
v-bind:IsShowVideo=
"true"
></DMCchooseImg>
</el-dialog>
</el-dialog>
</div>
</div>
</template>
</template>
...
@@ -77,28 +95,27 @@
...
@@ -77,28 +95,27 @@
import
DMCchooseImg
from
"../../commonPage/DMCchooseImg.vue"
;
import
DMCchooseImg
from
"../../commonPage/DMCchooseImg.vue"
;
export
default
{
export
default
{
/*IsDirect:1直采,0非直采*/
/*IsDirect:1直采,0非直采*/
props
:
[
"scenicArray"
,
"IsDirect"
,
"isRead"
,
"DayNum"
],
props
:
[
"scenicArray"
,
"IsDirect"
,
"isRead"
,
"DayNum"
],
data
()
{
data
()
{
return
{
return
{
UploadList
:
[],
UploadList
:
[],
//是否显示选择图片框
//是否显示选择图片框
isShowScenicImg
:
false
,
isShowScenicImg
:
false
,
queryName
:
''
,
queryName
:
''
,
//点击传递对象
//点击传递对象
queryItem
:{
queryItem
:
{
queryName
:
''
,
queryName
:
''
,
queryId
:
0
,
queryId
:
0
,
},
},
//当前拖动的图片索引
//当前拖动的图片索引
currentChooseIndex
:
0
,
currentChooseIndex
:
0
,
};
};
},
},
components
:
{
components
:
{
DMCchooseImg
,
DMCchooseImg
,
VueDraggableResizable
VueDraggableResizable
},
},
mounted
()
{
mounted
()
{},
},
methods
:
{
methods
:
{
//上传图片
//上传图片
uploadImg
(
file
)
{
uploadImg
(
file
)
{
...
@@ -133,49 +150,51 @@
...
@@ -133,49 +150,51 @@
Url
:
imgItem
.
Path
,
Url
:
imgItem
.
Path
,
fileName
:
imgItem
.
Name
fileName
:
imgItem
.
Name
};
};
if
(
imgItem
.
VideoPath
)
if
(
imgItem
.
VideoPath
)
{
{
obj
.
VideoPath
=
imgItem
.
VideoPath
;
obj
.
VideoPath
=
imgItem
.
VideoPath
;
}
if
(
imgItem
.
FileType
)
{
obj
.
FileType
=
imgItem
.
FileType
;
}
}
that
.
scenicArray
[
0
].
NewImaArray
=
[];
that
.
scenicArray
[
0
].
NewImaArray
=
[];
that
.
scenicArray
[
0
].
NewImaArray
.
push
(
obj
);
that
.
scenicArray
[
0
].
NewImaArray
.
push
(
obj
);
that
.
scenicArray
[
0
].
NewScenicImg
=
JSON
.
stringify
(
that
.
scenicArray
[
0
].
NewImaArray
);
that
.
scenicArray
[
0
].
NewScenicImg
=
JSON
.
stringify
(
that
.
scenicArray
[
0
].
NewImaArray
);
console
.
log
(
"that.scenicArray[0].NewImaArray"
,
that
.
scenicArray
[
0
].
NewImaArray
);
});
});
},
},
getImgInfo
(
item
){
getImgInfo
(
item
)
{
this
.
queryItem
.
queryName
=
item
.
CouponsName
;
this
.
queryItem
.
queryName
=
item
.
CouponsName
;
this
.
queryItem
.
queryId
=
item
.
CouponsId
;
this
.
queryItem
.
queryId
=
item
.
CouponsId
;
},
},
onDragImagestop
(
x
,
y
)
{
onDragImagestop
(
x
,
y
)
{
let
imgHeight
=
document
.
querySelector
(
"#bodys_"
+
this
.
DayNum
+
"_"
+
this
.
currentChooseIndex
).
height
;
let
imgHeight
=
document
.
querySelector
(
"#bodys_"
+
this
.
DayNum
+
"_"
+
this
.
currentChooseIndex
).
height
;
var
obj
=
document
.
querySelector
(
"#boxs_"
+
this
.
DayNum
+
"_"
+
this
.
currentChooseIndex
);
var
obj
=
document
.
querySelector
(
"#boxs_"
+
this
.
DayNum
+
"_"
+
this
.
currentChooseIndex
);
let
boxHeight
=
document
.
querySelector
(
"#boxs_"
+
this
.
DayNum
+
"_"
+
this
.
currentChooseIndex
).
offsetHeight
;
let
boxHeight
=
document
.
querySelector
(
"#boxs_"
+
this
.
DayNum
+
"_"
+
this
.
currentChooseIndex
).
offsetHeight
;
let
cha
=
boxHeight
-
imgHeight
let
cha
=
boxHeight
-
imgHeight
if
(
cha
<=
0
)
{
if
(
cha
<=
0
)
{
if
(
y
<
0
&&
y
<
cha
)
{
if
(
y
<
0
&&
y
<
cha
)
{
y
=
cha
y
=
cha
}
else
if
(
y
>
0
)
{
}
else
if
(
y
>
0
)
{
y
=
0
y
=
0
}
}
}
else
{
}
else
{
if
(
y
<
0
)
{
if
(
y
<
0
)
{
y
=
0
y
=
0
}
else
if
(
y
>
0
&&
y
>
cha
)
{
}
else
if
(
y
>
0
&&
y
>
cha
)
{
y
=
cha
y
=
cha
}
}
}
}
this
.
scenicArray
[
this
.
currentChooseIndex
].
ScenicJson
.
y
=
y
;
this
.
scenicArray
[
this
.
currentChooseIndex
].
ScenicJson
.
y
=
y
;
this
.
$refs
[
"oneDay_"
+
this
.
DayNum
+
"_"
+
this
.
currentChooseIndex
].
_data
.
top
=
y
;
this
.
$refs
[
"oneDay_"
+
this
.
DayNum
+
"_"
+
this
.
currentChooseIndex
].
_data
.
top
=
y
;
},
},
//获取选中的图片索引
//获取选中的图片索引
onActivated
(
currentIndex
){
onActivated
(
currentIndex
)
{
this
.
currentChooseIndex
=
currentIndex
;
this
.
currentChooseIndex
=
currentIndex
;
},
},
},
},
created
()
{
created
()
{
// this.scenicArray.forEach(x=>{
// x.ScenicJson = typeof(x.ScenicJsonStr) === 'string' ? JSON.parse(x.ScenicJsonStr) : { x:0, y:0 };
// })
},
},
};
};
</
script
>
</
script
>
This diff is collapsed.
Click to expand it.
src/components/newTravelmanager/TravelTripPreview/threedayList.vue
View file @
5140707e
...
@@ -178,7 +178,8 @@
...
@@ -178,7 +178,8 @@
<el-dialog
custom-class=
"TC_comDMCchoose"
title=
"选择图片"
center
:visible
.
sync=
"isShowScenicImg"
>
<el-dialog
custom-class=
"TC_comDMCchoose"
title=
"选择图片"
center
:visible
.
sync=
"isShowScenicImg"
>
<!--imgType:1-酒店,2-餐厅,3-景点,4-票务,5-车辆,6-领队,7-购物店,isCheckmore:是否多选图片-->
<!--imgType:1-酒店,2-餐厅,3-景点,4-票务,5-车辆,6-领队,7-购物店,isCheckmore:是否多选图片-->
<DMCchooseImg
@
closeImg=
"closeDMCchooseImg"
ref=
"DMCchooseImg1"
@
headCallBack=
"getDMCimg"
<DMCchooseImg
@
closeImg=
"closeDMCchooseImg"
ref=
"DMCchooseImg1"
@
headCallBack=
"getDMCimg"
v-bind:queryItem=
"queryItem"
v-bind:isCheckmore=
"1"
v-bind:imgType=
"3"
v-bind:IsShowAdd=
"true"
v-bind:IsShowVideo=
"true"
></DMCchooseImg>
v-bind:queryItem=
"queryItem"
v-bind:isCheckmore=
"1"
v-bind:imgType=
"3"
v-bind:IsShowAdd=
"true"
v-bind:IsShowVideo=
"true"
></DMCchooseImg>
</el-dialog>
</el-dialog>
</div>
</div>
</
template
>
</
template
>
...
@@ -246,6 +247,12 @@
...
@@ -246,6 +247,12 @@
Name
:
imgItem
.
Name
,
Name
:
imgItem
.
Name
,
fileName
:
imgItem
.
Name
fileName
:
imgItem
.
Name
};
};
if
(
imgItem
.
VideoPath
)
{
obj
.
VideoPath
=
imgItem
.
VideoPath
;
}
if
(
imgItem
.
FileType
)
{
obj
.
FileType
=
imgItem
.
FileType
;
}
var
array
=
[];
var
array
=
[];
array
.
push
(
obj
);
array
.
push
(
obj
);
this
.
ClickItem
.
NewImaArray
=
array
;
this
.
ClickItem
.
NewImaArray
=
array
;
...
...
This diff is collapsed.
Click to expand it.
src/components/newTravelmanager/TravelTripPreview/twodayList.vue
View file @
5140707e
...
@@ -175,11 +175,16 @@
...
@@ -175,11 +175,16 @@
var
that
=
this
;
var
that
=
this
;
imgArr
.
forEach
(
imgItem
=>
{
imgArr
.
forEach
(
imgItem
=>
{
var
obj
=
{
var
obj
=
{
// Url: imgItem.Path + "?x-oss-process=image/resize,l_140",
Url
:
imgItem
.
Path
,
Url
:
imgItem
.
Path
,
Name
:
imgItem
.
Name
,
Name
:
imgItem
.
Name
,
fileName
:
imgItem
.
Name
fileName
:
imgItem
.
Name
};
};
if
(
imgItem
.
VideoPath
)
{
obj
.
VideoPath
=
imgItem
.
VideoPath
;
}
if
(
imgItem
.
FileType
)
{
obj
.
FileType
=
imgItem
.
FileType
;
}
var
array
=
[];
var
array
=
[];
array
.
push
(
obj
);
array
.
push
(
obj
);
this
.
ClickItem
.
NewImaArray
=
array
;
this
.
ClickItem
.
NewImaArray
=
array
;
...
...
This diff is collapsed.
Click to expand it.
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