Commit c958c64b authored by 黄奎's avatar 黄奎

页面修改

parent 5d9b240c
<style> <style>
.DMCchooseImg .resAddImg { .DMCchooseImg .resAddImg {
width: 520px; width: 520px;
padding-right: 45px; padding-right: 45px;
margin-top: 15px; margin-top: 15px;
} }
.DMCchooseImg .resource-name {
height: 34px; .DMCchooseImg .resource-name {
background: rgba(255, 255, 255, 1); height: 34px;
outline: none; background: rgba(255, 255, 255, 1);
border: 1px solid #d6d6d6; outline: none;
padding-left: 10px; border: 1px solid #d6d6d6;
} padding-left: 10px;
.DMCchooseImg .search-imgicon { }
padding-right: 20px;
margin-left: -40px; .DMCchooseImg .search-imgicon {
} padding-right: 20px;
.DMCchooseImg .searchImgIcon { margin-left: -40px;
cursor: pointer; }
}
.DMCchooseImg .addimgContent { .DMCchooseImg .searchImgIcon {
height: 290px; cursor: pointer;
overflow: auto; }
margin: 30px 0 20px 25px;
width: 560px; .DMCchooseImg .addimgContent {
} height: 290px;
.DMCchooseImg .addimgDiv { overflow: auto;
width: 160px; margin: 30px 0 20px 25px;
height: 155px; width: 560px;
float: left; }
margin: 0 20px 15px 0;
overflow: hidden; .DMCchooseImg .addimgDiv {
} width: 160px;
.DMCchooseImg .addimgContent div:first-child { height: 155px;
margin-left: 0; float: left;
} margin: 0 20px 15px 0;
.addimgContent div:nth-child(3n) { overflow: hidden;
margin-right: 0; }
}
.DMCchooseImg .test-1::-webkit-scrollbar { .DMCchooseImg .addimgContent div:first-child {
width: 0px; margin-left: 0;
height: 0px; }
background-color: #f5f5f5;
} .addimgContent div:nth-child(3n) {
.DMCchooseImg .test-1::-webkit-scrollbar-track { margin-right: 0;
background-color: #f5f5f5; }
}
.DMCchooseImg .test-1::-webkit-scrollbar-thumb { .DMCchooseImg .test-1::-webkit-scrollbar {
border-radius: 20px; width: 0px;
background-color: #aaa; height: 0px;
margin-bottom: 24px; background-color: #f5f5f5;
} }
.DMCchooseImg .test-1:hover::-webkit-scrollbar {
width: 4px; .DMCchooseImg .test-1::-webkit-scrollbar-track {
height: 4px; background-color: #f5f5f5;
background-color: #f5f5f5; }
}
.DMCchooseImg .itemImgdiv { .DMCchooseImg .test-1::-webkit-scrollbar-thumb {
width: 160px; border-radius: 20px;
height: 106px; background-color: #aaa;
position: relative; margin-bottom: 24px;
} }
.DMCchooseImg .itemImgdiv img {
width: 100%; .DMCchooseImg .test-1:hover::-webkit-scrollbar {
height: 100%; width: 4px;
border-radius: 10px; height: 4px;
} background-color: #f5f5f5;
.DMCchooseImg .imgseclet { }
width: 100%;
height: 100%; .DMCchooseImg .itemImgdiv {
background: rgba(0, 0, 0, 0.4); width: 160px;
border-radius: 10px; height: 106px;
position: absolute; position: relative;
top: 0; }
text-align: center;
line-height: 106px; .DMCchooseImg .itemImgdiv img {
color: #e95252; width: 100%;
} height: 100%;
.DMCchooseImg .addimg-btnlist { border-radius: 10px;
text-align: center; }
}
.DMCchooseImg .addimg-select { .DMCchooseImg .imgseclet {
font-size: 14px; width: 100%;
color: #999999; height: 100%;
float: right; background: rgba(0, 0, 0, 0.4);
margin-bottom: 10px; border-radius: 10px;
position: relative; position: absolute;
bottom: 20px; top: 0;
} text-align: center;
.DMCchooseImg .save-Btn { line-height: 106px;
width: 90px; color: #e95252;
height: 30px; }
background: rgba(233, 82, 82, 1);
border-radius: 15px; .DMCchooseImg .addimg-btnlist {
color: #fff; text-align: center;
outline: none; }
border:none;
border: 1px solid #e95252!important; .DMCchooseImg .addimg-select {
cursor: pointer; font-size: 14px;
margin-right: 20px; color: #999999;
} float: right;
.DMCchooseImg .cancel-Btn, margin-bottom: 10px;
.save-Btn:hover { position: relative;
opacity: 0.8; bottom: 20px;
} }
.DMCchooseImg .cancel-Btn {
width: 90px; .DMCchooseImg .save-Btn {
height: 30px; width: 90px;
background: rgba(255, 255, 255, 1); height: 30px;
border-radius: 15px; background: rgba(233, 82, 82, 1);
color: #e95252; border-radius: 15px;
outline: none; color: #fff;
cursor: pointer; outline: none;
border: 1px solid #e95252!important; border: none;
} border: 1px solid #e95252 !important;
.DMCchooseImg .el-pagination__total{display:none!important;} cursor: pointer;
.DMC_addContent{ margin-right: 20px;
width:160; }
height:106px;
border-radius:10px; .DMCchooseImg .cancel-Btn,
background-color: rgba(236, 236, 236, 1); .save-Btn:hover {
color:#fff; opacity: 0.8;
position: relative; }
}
.DMC_addContent .el-upload{ .DMCchooseImg .cancel-Btn {
width:100%; width: 90px;
height:105px; height: 30px;
} background: rgba(255, 255, 255, 1);
.DMC_addContent i{ border-radius: 15px;
font-size: 50px; color: #e95252;
color: #d1d1d1; outline: none;
position: relative; cursor: pointer;
left: 0; border: 1px solid #e95252 !important;
top: 20px; }
}
.DMCchooseImg .el-pagination__total {
display: none !important;
}
.DMC_addContent {
width: 160;
height: 106px;
border-radius: 10px;
background-color: rgba(236, 236, 236, 1);
color: #fff;
position: relative;
}
.DMC_addContent .el-upload {
width: 100%;
height: 105px;
}
.DMC_addContent i {
font-size: 50px;
color: #d1d1d1;
position: relative;
left: 0;
top: 20px;
}
</style> </style>
<template> <template>
<div class="DMCchooseImg"> <div class="DMCchooseImg">
<div style="width:98px;margin:0 25px;" v-if="this.IsShowVideo"> <div style="width:98px;margin:0 25px;" v-if="this.IsShowVideo">
<el-tabs v-model="activeName" @tab-click="handleClick"> <el-tabs v-model="activeName" @tab-click="handleClick">
<el-tab-pane label="图片" name="first"></el-tab-pane> <el-tab-pane label="图片" name="first"></el-tab-pane>
<el-tab-pane label="视频" name="second"></el-tab-pane> <el-tab-pane label="视频" name="second"></el-tab-pane>
</el-tabs> </el-tabs>
</div> </div>
<div v-if="activeName=='first'"> <div v-if="activeName=='first'">
<span style="margin-left:24px;"> <span style="margin-left:24px;">
<input type="text" class="resource-name resAddImg" v-model="queryMsg.Name" @keyup.enter="getList" placeholder="请输入关键字"/> <input type="text" class="resource-name resAddImg" v-model="queryMsg.Name" @keyup.enter="getList"
<span class="search-imgicon"><i class="iconfont icon-img_cz searchImgIcon" @click="getList"></i></span> placeholder="请输入关键字" />
</span> <span class="search-imgicon"><i class="iconfont icon-img_cz searchImgIcon" @click="getList"></i></span>
<div class="addimgContent test-1"> </span>
<div class="addimgDiv" v-for="(item,index) in imglistArry" :key="item.subCode" v-if="item.isShowImgDiv&&item.Path!=null"> <div class="addimgContent test-1">
<div class="itemImgdiv" @click="selectImg(index)"> <div class="addimgDiv" v-for="(item,index) in imglistArry" :key="item.subCode"
<img :src='compressImg(item.Path, "filt", 160, "")' @error="imgError(item)"/> v-if="item.isShowImgDiv&&item.Path!=null">
<div class="imgseclet" v-show="item.isShow"><i class="iconfont icon-dagouyouquan"></i></div> <div class="itemImgdiv" @click="selectImg(index)">
</div> <img :src='compressImg(item.Path, "filt", 160, "")' @error="imgError(item)" />
<div class="imgDescription">{{item.Name}}</div> <div class="imgseclet" v-show="item.isShow"><i class="iconfont icon-dagouyouquan"></i></div>
</div>
<div class="addimgDiv" v-if="IsShowAdd" >
<div class="DMC_addContent">
<el-upload class="upload-demo" :http-request="UploadImage" :multiple="false" accept="image/jpeg,image/gif,image/png,image/bmp"
:show-file-list="false" action="">
<i class="iconfont icon-img_haha"></i>
</el-upload>
</div>
</div>
</div> </div>
<div class="addimg-btnlist"> <div class="imgDescription">{{item.Name}}</div>
<input type="button" class="save-Btn" @click="dmccheckImgList()" value="确定" /> </div>
<input type="button" class="cancel-Btn" @click="closeDialog()" value="取消" /> <div class="addimgDiv" v-if="IsShowAdd">
<div class="DMC_addContent">
<el-upload class="upload-demo" :http-request="UploadImage" :multiple="false"
accept="image/jpeg,image/gif,image/png,image/bmp" :show-file-list="false" action="">
<i class="iconfont icon-img_haha"></i>
</el-upload>
</div> </div>
<span class="addimg-select">已选择<span style="color:#E95252;"><span>{{selectImgArr.length}}</span></span>张图片</span> </div>
<el-pagination
background
@current-change="handleCurrentChange"
:current-page.sync="queryMsg.currentPage"
:page-size="queryMsg.pageSize"
layout="total,prev, pager, next, jumper" :total="queryMsg.total">
</el-pagination>
</div> </div>
<div v-else> <div class="addimg-btnlist">
<span style="margin-left:24px;"> <input type="button" class="save-Btn" @click="dmccheckImgList()" value="确定" />
<input type="text" class="resource-name resAddImg" v-model="queVideoMsg.Name" @keyup.enter="getVideoList" placeholder="请输入关键字"/> <input type="button" class="cancel-Btn" @click="closeDialog()" value="取消" />
<span class="search-imgicon"><i class="iconfont icon-img_cz searchImgIcon" @click="getVideoList"></i></span> </div>
</span> <span class="addimg-select">已选择<span style="color:#E95252;"><span>{{selectImgArr.length}}</span></span>张图片</span>
<div class="addimgContent test-1"> <el-pagination background @current-change="handleCurrentChange" :current-page.sync="queryMsg.currentPage"
<div class="addimgDiv" v-for="(item,index) in videoListArray" :key="item.subCode" v-if="item.isShowImgDiv&&item.Cover!=null"> :page-size="queryMsg.pageSize" layout="total,prev, pager, next, jumper" :total="queryMsg.total">
<div class="itemImgdiv" @click="selectVideo(index)"> </el-pagination>
<img :src='item.Cover' @error="imgError(item)"/> </div>
<div class="imgseclet" v-show="item.isShow"><i class="iconfont icon-dagouyouquan"></i></div> <div v-else>
</div> <span style="margin-left:24px;">
<div class="imgDescription">{{item.Name}}</div> <input type="text" class="resource-name resAddImg" v-model="queVideoMsg.Name" @keyup.enter="getVideoList"
</div> placeholder="请输入关键字" />
</div> <span class="search-imgicon"><i class="iconfont icon-img_cz searchImgIcon" @click="getVideoList"></i></span>
<div class="addimg-btnlist"> </span>
<input type="button" class="save-Btn" @click="chkedVideoList()" value="确定" /> <div class="addimgContent test-1">
<input type="button" class="cancel-Btn" @click="closeDialog()" value="取消" /> <div class="addimgDiv" v-for="(item,index) in videoListArray" :key="item.subCode"
v-if="item.isShowImgDiv&&item.VideoCover!=null">
<div class="itemImgdiv" @click="selectVideo(index)">
<img :src='item.VideoCover' @error="imgError(item)" />
<div class="imgseclet" v-show="item.isShow"><i class="iconfont icon-dagouyouquan"></i></div>
</div> </div>
<span class="addimg-select">已选择<span style="color:#E95252;"><span>{{selectVideoArr.length}}</span></span>个视频</span> <div class="imgDescription">{{item.Name}}</div>
<el-pagination </div>
background </div>
@current-change="videoCurrentChange" <div class="addimg-btnlist">
:current-page.sync="queVideoMsg.currentPage" <input type="button" class="save-Btn" @click="chkedVideoList()" value="确定" />
:page-size="queVideoMsg.pageSize" <input type="button" class="cancel-Btn" @click="closeDialog()" value="取消" />
layout="total,prev, pager, next, jumper" :total="queVideoMsg.total">
</el-pagination>
</div> </div>
<span class="addimg-select">已选择<span
style="color:#E95252;"><span>{{selectVideoArr.length}}</span></span>个视频</span>
<el-pagination background @current-change="videoCurrentChange" :current-page.sync="queVideoMsg.currentPage"
:page-size="queVideoMsg.pageSize" layout="total,prev, pager, next, jumper" :total="queVideoMsg.total">
</el-pagination>
</div> </div>
</div>
</template> </template>
<script> <script>
export default { export default {
props: ["imgType", "isCheckmore",'queryItem','IsShowAdd','IsShowVideo'], props: ["imgType", "isCheckmore", 'queryItem', 'IsShowAdd', 'IsShowVideo'],
data() { data() {
return { return {
queryMsg: { queryMsg: {
pageSize: 50, pageSize: 50,
pageIndex: 1, pageIndex: 1,
currentPage: 1, currentPage: 1,
total: 0, total: 0,
Type: 1,//1-酒店,2-餐厅,3-景点,4-票务,5-车辆,6-领队,7-购物店 Type: 1, //1-酒店,2-餐厅,3-景点,4-票务,5-车辆,6-领队,7-购物店
Name: "",//资源图片名称 Name: "", //资源图片名称
SourceId:0//资源编号 SourceId: 0 //资源编号
},
//显示数组
imglistArry: [],
//选中显示数组
selectImgArr: [],
activeName:'first',
queVideoMsg:{
pageSize: 10,
pageIndex: 1,
Name:'',
currentPage:1,
total: 0
},
videoListArray:[],
//选中视频数组
selectVideoArr:[],
};
},
methods: {
getList() {
//初始化弹窗图片列表
this.imglistArry = [];
this.apipost(
"hotel_post_GetPicList",
this.queryMsg,
res => {
if (res.data.resultCode == 1) {
this.imglistArry = res.data.data.pageData;
this.imglistArry.forEach(x=>{
x.isShowImgDiv = true;
})
this.queryMsg.total = res.data.data.count;
}
}, },
null //显示数组
); imglistArry: [],
}, //选中显示数组
closeDialog() { selectImgArr: [],
this.imglistArry.forEach(selImg => { activeName: 'first',
selImg.isShow = false;
});
this.selectImgArr = [];
this.queryMsg.Name='';
this.queryMsg.SourceId=0;
this.$emit("closeImg");
//关闭清除选中视频 queVideoMsg: {
this.videoListArray.forEach(selvideo => { pageSize: 10,
selvideo.isShow = false; pageIndex: 1,
}); Name: '',
this.selectVideoArr = []; currentPage: 1,
this.queVideoMsg.Name=''; total: 0
}, },
sendMsg() {}, videoListArray: [],
handleCurrentChange(val) { //选中视频数组
this.queryMsg.pageIndex = val; selectVideoArr: [],
this.getList(); };
},
videoCurrentChange(val){
this.queVideoMsg.pageIndex = val;
this.getVideoList();
},
resetPageIndex() {
this.queryMsg.pageIndex = 1;
this.queryMsg.currentPage = 1;
}, },
selectImg(index) { methods: {
//选取弹窗图片 getList() {
if (this.isCheckmore == 1) { //初始化弹窗图片列表
this.imglistArry.forEach(item => { this.imglistArry = [];
item.isShow = false; this.apipost(
"hotel_post_GetPicList",
this.queryMsg,
res => {
if (res.data.resultCode == 1) {
this.imglistArry = res.data.data.pageData;
this.imglistArry.forEach(x => {
x.isShowImgDiv = true;
})
this.queryMsg.total = res.data.data.count;
}
},
null
);
},
closeDialog() {
this.imglistArry.forEach(selImg => {
selImg.isShow = false;
}); });
this.imglistArry[index].isShow = true;
this.selectImgArr = []; this.selectImgArr = [];
this.selectImgArr.push(this.imglistArry[index]); this.queryMsg.Name = '';
} else { this.queryMsg.SourceId = 0;
this.imglistArry[index].isShow = !this.imglistArry[index].isShow; this.$emit("closeImg");
if (this.imglistArry[index].isShow) {
//关闭清除选中视频
this.videoListArray.forEach(selvideo => {
selvideo.isShow = false;
});
this.selectVideoArr = [];
this.queVideoMsg.Name = '';
},
sendMsg() {},
handleCurrentChange(val) {
this.queryMsg.pageIndex = val;
this.getList();
},
videoCurrentChange(val) {
this.queVideoMsg.pageIndex = val;
this.getVideoList();
},
resetPageIndex() {
this.queryMsg.pageIndex = 1;
this.queryMsg.currentPage = 1;
},
selectImg(index) {
//选取弹窗图片
if (this.isCheckmore == 1) {
this.imglistArry.forEach(item => {
item.isShow = false;
});
this.imglistArry[index].isShow = true;
this.selectImgArr = [];
this.selectImgArr.push(this.imglistArry[index]); this.selectImgArr.push(this.imglistArry[index]);
} else { } else {
this.removeImg(); this.imglistArry[index].isShow = !this.imglistArry[index].isShow;
if (this.imglistArry[index].isShow) {
this.selectImgArr.push(this.imglistArry[index]);
} else {
this.removeImg();
}
} }
} },
}, //选中视频方法
//选中视频方法 selectVideo(index) {
selectVideo(index){
this.videoListArray.forEach(item => { this.videoListArray.forEach(item => {
item.isShow = false; item.isShow = false;
}); });
this.videoListArray[index].isShow = true; this.videoListArray[index].isShow = true;
this.selectVideoArr = []; this.selectVideoArr = [];
this.selectVideoArr.push(this.videoListArray[index]); this.selectVideoArr.push(this.videoListArray[index]);
console.log(this.selectVideoArr,'this.selectVideoArr'); },
}, //删除选中图片
//删除选中图片 removeImg() {
removeImg() { var newArr = [];
var newArr = []; this.selectImgArr.forEach(selImg => {
this.selectImgArr.forEach(selImg => { if (selImg.isShow) {
if (selImg.isShow) { newArr.push(selImg);
newArr.push(selImg);
}
});
this.selectImgArr = newArr;
},
//点击确定
dmccheckImgList() {
this.$emit("headCallBack", this.selectImgArr);
this.$emit("closeImg");
this.imglistArry.forEach(selImg => {
selImg.isShow = false;
});
this.selectImgArr = [];
},
//无效路径整个div不显示
imgError(item){
item.isShowImgDiv=false;
this.$forceUpdate();
},
//上传图片
UploadImage(file) {
let newArr = [];
newArr.push(file.file);
let fileName = file.file.name;
var path = "/Upload/DMC/";
this.UploadSelfFileT(path, newArr, x => {
var obj = this.$DMCUtils.DMCImageObj();
var str = x.name;
var imgUrl = this.domainManager().ViittoFileUrl + x.data.FilePath;
obj.Path = str;
obj.ShowPath = imgUrl;
this.uploadImageFile(x.data.FilePath);
});
},
//上传图片方法
uploadImageFile(Path) {
let msg = {
SourceId:this.queryMsg.SourceId,
ResourceType: this.imgType,
PicPath:Path,
imageName:this.queryMsg.Name
};
this.apipost(
"dmcimg_post_SetDmcImage",
msg,
response => {
if (response.data.resultCode == 1) {
this.getList();
} }
}, });
null this.selectImgArr = newArr;
); },
},
getQueryItem(){
if(this.queryItem && this.queryItem.queryName!=undefined){
this.queryMsg.Name = this.queryItem.queryName;
this.queryMsg.SourceId=this.queryItem.queryId;
this.queVideoMsg.Name=this.queryItem.queryName; //点击确定
}else{ dmccheckImgList() {
this.queryMsg.Name = ''; this.$emit("headCallBack", this.selectImgArr);
this.queryMsg.SourceId=0; this.$emit("closeImg");
this.imglistArry.forEach(selImg => {
selImg.isShow = false;
});
this.selectImgArr = [];
},
//无效路径整个div不显示
imgError(item) {
item.isShowImgDiv = false;
this.$forceUpdate();
},
//上传图片
UploadImage(file) {
let newArr = [];
newArr.push(file.file);
let fileName = file.file.name;
var path = "/Upload/DMC/";
this.UploadSelfFileT(path, newArr, x => {
var obj = this.$DMCUtils.DMCImageObj();
var str = x.name;
var imgUrl = this.domainManager().ViittoFileUrl + x.data.FilePath;
obj.Path = str;
obj.ShowPath = imgUrl;
this.uploadImageFile(x.data.FilePath);
});
},
//上传图片方法
uploadImageFile(Path) {
let msg = {
SourceId: this.queryMsg.SourceId,
ResourceType: this.imgType,
PicPath: Path,
imageName: this.queryMsg.Name
};
this.apipost(
"dmcimg_post_SetDmcImage",
msg,
response => {
if (response.data.resultCode == 1) {
this.getList();
}
},
null
);
},
getQueryItem() {
if (this.queryItem && this.queryItem.queryName != undefined) {
this.queryMsg.Name = this.queryItem.queryName;
this.queryMsg.SourceId = this.queryItem.queryId;
this.queVideoMsg.Name = this.queryItem.queryName;
} else {
this.queryMsg.Name = '';
this.queryMsg.SourceId = 0;
}
},
//点击切换
handleClick(tab, event) {
if (this.activeName == 'first') {
this.getList();
} else {
this.getVideoList();
}
},
//获取视频列表数据
getVideoList() {
this.apipost(
"Video_get_GetTripVideoPageListService",
this.queVideoMsg,
res => {
if (res.data.resultCode == 1) {
this.videoListArray = res.data.data.pageData;
this.queVideoMsg.total = res.data.data.count;
this.videoListArray.forEach(x => {
x.isShowImgDiv = true;
x.isShow = false;
})
} else {
this.Error(res.data.message);
}
},
null
);
},
//点击确定选择
chkedVideoList() {
this.$emit("headCallBack", this.videoListArray);
this.$emit("closeImg");
this.videoListArray.forEach(x => {
x.isShowImgDiv = true;
x.isShow = false;
})
this.videoListArray = [];
} }
}, },
created() {},
//点击切换 mounted() {
handleClick(tab,event){ this.queryMsg.Type = this.imgType;
if(this.activeName=='first'){ this.getQueryItem();
this.getList(); this.getList();
}else{
this.getVideoList();
}
}, },
//获取视频列表数据 watch: {
getVideoList(){ queryItem: {
this.apipost( //深度监听,可监听到对象、数组的变化
"Video_get_GetTripVideoPageListService", handler: function (val, oldVal) {
this.queVideoMsg, this.getQueryItem();
res => { this.getList();
if (res.data.resultCode == 1) {
this.videoListArray=res.data.data.pageData;
this.queVideoMsg.total = res.data.data.count;
this.videoListArray.forEach(x=>{
x.isShowImgDiv = true;
x.isShow=false;
})
}else{
this.Error(res.data.message);
}
}, },
null deep: true
); }
},
//点击确定选择
chkedVideoList(){
}
},
created() {},
mounted() {
this.queryMsg.Type = this.imgType;
this.getQueryItem();
this.getList();
},
watch: {
queryItem: {
//深度监听,可监听到对象、数组的变化
handler: function (val, oldVal) {
this.getQueryItem();
this.getList();
},
deep: true
} }
}
}; };
</script> </script>
...@@ -127,12 +127,17 @@ ...@@ -127,12 +127,17 @@
//获取选择的图片 //获取选择的图片
getDMCimg(imgArr) { getDMCimg(imgArr) {
var that = this; var that = this;
console.log("imgArr",imgArr)
imgArr.forEach(imgItem => { imgArr.forEach(imgItem => {
var obj = { var obj = {
Name: imgItem.Name, Name: imgItem.Name,
Url: imgItem.Path, Url: imgItem.Path,
fileName: imgItem.Name fileName: imgItem.Name
}; };
if(imgItem.VideoCover)
{
obj.VideoCover=imgItem.VideoCover;
}
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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment