Commit 86861cd0 authored by liudong1993's avatar liudong1993
parents ba2014e7 71f2e2b1
html, body{
background: #fff;
}
.UpgradedVersion-box .edit_div { .UpgradedVersion-box .edit_div {
min-width: 30px; min-width: 30px;
height: 100%; height: 100%;
...@@ -36,6 +39,7 @@ ...@@ -36,6 +39,7 @@
.introduceFooter-text img { .introduceFooter-text img {
width: 28px; width: 28px;
height: 28px; height: 28px;
object-fit: cover;
display: inline-block; display: inline-block;
margin: 0 9px; margin: 0 9px;
} }
...@@ -45,7 +49,7 @@ ...@@ -45,7 +49,7 @@
text-align: center; text-align: center;
overflow: hidden; overflow: hidden;
font-size: 22px; font-size: 22px;
font-family: FZCuSong-B09S; font-family: FZCuSong-B09S !important;
font-weight: 400; font-weight: 400;
color: #2A2A2A; color: #2A2A2A;
margin: 0 9px 0 0; margin: 0 9px 0 0;
...@@ -172,7 +176,7 @@ img { ...@@ -172,7 +176,7 @@ img {
height: 80px; height: 80px;
overflow: hidden; overflow: hidden;
font-size: 66px; font-size: 66px;
font-family: FZCuSong-B09S; font-family: FZCuSong-B09S !important;
font-weight: 400; font-weight: 400;
color: #2A2A2A; color: #2A2A2A;
padding: 0 280px 0 0; padding: 0 280px 0 0;
...@@ -195,7 +199,7 @@ img { ...@@ -195,7 +199,7 @@ img {
.featureHome-text-box .edit_div { .featureHome-text-box .edit_div {
font-size: 45px; font-size: 45px;
font-family: FZCuSong-B09S; font-family: FZCuSong-B09S !important;
font-weight: bold; font-weight: bold;
/* color: #CC0066; */ /* color: #CC0066; */
} }
...@@ -235,6 +239,7 @@ img { ...@@ -235,6 +239,7 @@ img {
width: 100%; width: 100%;
height: 100%; height: 100%;
display: block; display: block;
object-fit: cover;
} }
.featureHome-right { .featureHome-right {
...@@ -254,7 +259,7 @@ img { ...@@ -254,7 +259,7 @@ img {
height: 540px; height: 540px;
overflow: hidden; overflow: hidden;
font-size: 45px; font-size: 45px;
font-family: FZCuSong-B09S; font-family: FZCuSong-B09S !important;
font-weight: 400; font-weight: 400;
color: #FFFFFF; color: #FFFFFF;
} }
...@@ -454,6 +459,7 @@ img { ...@@ -454,6 +459,7 @@ img {
top: 0; top: 0;
width: 100%; width: 100%;
height: 100%; height: 100%;
object-fit: cover;
} }
.MasterMapList-4 .MasterMapList-2 { .MasterMapList-4 .MasterMapList-2 {
...@@ -503,7 +509,7 @@ img { ...@@ -503,7 +509,7 @@ img {
top: 1137px; top: 1137px;
left: 70px; left: 70px;
right: 70px; right: 70px;
height: 330px; height: 300px;
overflow: hidden; overflow: hidden;
font-size: 23px; font-size: 23px;
font-family: Microsoft YaHei; font-family: Microsoft YaHei;
...@@ -559,6 +565,7 @@ img { ...@@ -559,6 +565,7 @@ img {
top: 0; top: 0;
width: 100%; width: 100%;
height: 100%; height: 100%;
object-fit: cover;
} }
.UpgradedVersionDetails-detailsTop { .UpgradedVersionDetails-detailsTop {
...@@ -591,21 +598,21 @@ img { ...@@ -591,21 +598,21 @@ img {
.UpgradedVersionDetails-num { .UpgradedVersionDetails-num {
height: 38px; height: 38px;
overflow: hidden; overflow: hidden;
margin-top: 5px;
} }
.UpgradedVersionDetails-num span { .UpgradedVersionDetails-num span {
font-size: 76px; font-size: 76px;
font-weight: bold; font-weight: bold;
/* font-family: FZCuSong-B09S; */ /* font-family: FZCuSong-B09S !important; */
left: 0; left: 0;
top: -23px; top: -21px;
} }
.UpgradedVersionDetails-Img-two { .UpgradedVersionDetails-Img-two {
width: 264px; width: 264px;
height: 21px; height: 21px;
margin-top: 38px;
margin-top: 77px;
margin-bottom: 20px; margin-bottom: 20px;
} }
...@@ -618,11 +625,10 @@ img { ...@@ -618,11 +625,10 @@ img {
} }
.UpgradedVersionDetails-Img-two p { .UpgradedVersionDetails-Img-two p {
left: 0;
right: 0;
top: -31px;
font-size: 24px; font-size: 24px;
font-weight: 500; font-weight: 500;
margin-top: 38px;
margin-bottom: 20px;
} }
.UpgradedVersionDetails-T { .UpgradedVersionDetails-T {
...@@ -630,7 +636,7 @@ img { ...@@ -630,7 +636,7 @@ img {
height: 44px; height: 44px;
overflow: hidden; overflow: hidden;
font-size: 38px; font-size: 38px;
font-family: FZCuSong-B09S; font-family: FZCuSong-B09S !important;
font-weight: 400; font-weight: 400;
color: #2A2A2A; color: #2A2A2A;
left: -7px; left: -7px;
...@@ -763,7 +769,7 @@ img { ...@@ -763,7 +769,7 @@ img {
.UpgradedVersion-sTR { .UpgradedVersion-sTR {
font-size: 45px; font-size: 45px;
font-family: FZCuSong-B09S; font-family: FZCuSong-B09S !important;
font-weight: 400; font-weight: 400;
color: #2A2A2A; color: #2A2A2A;
} }
...@@ -804,7 +810,8 @@ img { ...@@ -804,7 +810,8 @@ img {
.UpgradedVersion-subIdeImgBoxL img { .UpgradedVersion-subIdeImgBoxL img {
width: 44px; width: 44px;
height: 1005; height: 100%;
object-fit: cover;
} }
.UpgradedVersion-subIdeImgBoxR { .UpgradedVersion-subIdeImgBoxR {
...@@ -879,6 +886,7 @@ img { ...@@ -879,6 +886,7 @@ img {
top: 0; top: 0;
width: 100%; width: 100%;
height: 100%; height: 100%;
object-fit: cover;
} }
.subIdeImgForm1Box { .subIdeImgForm1Box {
...@@ -932,7 +940,7 @@ img { ...@@ -932,7 +940,7 @@ img {
height: 70px; height: 70px;
overflow: hidden; overflow: hidden;
font-size: 60px; font-size: 60px;
font-family: FZCuSong-B09S; font-family: FZCuSong-B09S !important;
font-weight: 400; font-weight: 400;
color: #2A2A2A; color: #2A2A2A;
} }
...@@ -961,7 +969,7 @@ img { ...@@ -961,7 +969,7 @@ img {
right: 124px; right: 124px;
height: 53px; height: 53px;
font-size: 49px; font-size: 49px;
font-family: FZCuSong-B09S; font-family: FZCuSong-B09S !important;
font-weight: 400; font-weight: 400;
color: #2A2A2A; color: #2A2A2A;
} }
...@@ -986,6 +994,7 @@ img { ...@@ -986,6 +994,7 @@ img {
.UpgradedVersion-headerTitle-two .edit_div { .UpgradedVersion-headerTitle-two .edit_div {
height: 40px; height: 40px;
text-overflow: ellipsis;
} }
.UpgradedVersion-headerTitle-three { .UpgradedVersion-headerTitle-three {
...@@ -1040,7 +1049,7 @@ img { ...@@ -1040,7 +1049,7 @@ img {
.UpgradedVersion-header .edit_div { .UpgradedVersion-header .edit_div {
font-size: 38px; font-size: 38px;
font-weight: 400; font-weight: 400;
font-family: FZCuSong-B09S; font-family: FZCuSong-B09S !important;
color: #2A2A2A; color: #2A2A2A;
} }
...@@ -1100,6 +1109,8 @@ img { ...@@ -1100,6 +1109,8 @@ img {
.Template-img img { .Template-img img {
width: 100%; width: 100%;
height: 100%;
object-fit: cover;
padding: 10px; padding: 10px;
display: block; display: block;
} }
......
.LeaveGroupDownload-form div, .LeaveGroupDownload-form dl, html, body{
background: #fff;
}
.LeaveGroupDownload-form dl,
.LeaveGroupDownload-form dt, .LeaveGroupDownload-form dd, .LeaveGroupDownload-form dt, .LeaveGroupDownload-form dd,
.LeaveGroupDownload-form ul, .LeaveGroupDownload-form ol, .LeaveGroupDownload-form ul, .LeaveGroupDownload-form ol,
.LeaveGroupDownload-form li, .LeaveGroupDownload-form h1, .LeaveGroupDownload-form li, .LeaveGroupDownload-form h1,
...@@ -245,6 +248,7 @@ ...@@ -245,6 +248,7 @@
.travelDaysTitlle-left { .travelDaysTitlle-left {
flex-shrink: 0; flex-shrink: 0;
margin-left: 22px;
} }
.travelDaysTitlle-left-text { .travelDaysTitlle-left-text {
...@@ -340,7 +344,8 @@ ...@@ -340,7 +344,8 @@
.travelDaysMasterMap-twoImg { .travelDaysMasterMap-twoImg {
max-width: 335px; max-width: 335px;
max-height: 189px; /* max-height: 189px; */
height: 44.5%;
overflow: hidden; overflow: hidden;
border: 2px solid #FFFFFF; border: 2px solid #FFFFFF;
border-radius: 18px; border-radius: 18px;
...@@ -354,7 +359,7 @@ ...@@ -354,7 +359,7 @@
} }
.travelDaysContent { .travelDaysContent {
min-height: 360px; min-height: 360px;
max-height:600px; max-height:600px;
overflow:hidden; overflow:hidden;
line-height: 38px; line-height: 38px;
...@@ -425,21 +430,31 @@ ...@@ -425,21 +430,31 @@
} }
.LeaveGroupDownload-form .expense { .LeaveGroupDownload-form .expense {
padding: 0 20px; padding: 0 30px;
margin-bottom: 20px; margin-bottom: 20px;
} }
.LeaveGroupDownload-form .expense .right { .LeaveGroupDownload-form .expense .right {
margin-bottom: 20px; margin-bottom: 20px;
} }
.LeaveGroupDownload-form .expense .right * { .LeaveGroupDownload-form .expense .right * {
color: #000000 !important; color: #000000 !important;
font-size: 15px !important; font-size: 15px !important;
padding: 0 !important; padding: 0 !important;
margin: 0 !important; margin: 0 !important;
line-height: 160%; line-height: 160%;
} }
.travelControlTrip .LeaveGroupDownload-form .Passenger-table{
width: 100% !important;
padding: 0 30px;
margin: 0;
}
.travelControlTrip .LeaveGroupDownload-form .footer-div {
text-align: center;
padding: 25px 0;
border-top: none;
}
.UpgradedVersion-header { .UpgradedVersion-header {
top: 0; top: 0;
...@@ -484,13 +499,13 @@ ...@@ -484,13 +499,13 @@
.UpgradedVersion-header .edit_div { .UpgradedVersion-header .edit_div {
font-size: 38px; font-size: 38px;
font-weight: 400; font-weight: 400;
font-family: FZCuSong-B09S; font-family: FZCuSong-B09S !important;
color: #2A2A2A; color: #2A2A2A;
} }
.UpgradedVersion-box { .UpgradedVersion-box {
width: 1123px; width: 1123px;
height: 1588px; height: 1478px;
overflow: hidden; overflow: hidden;
} }
...@@ -519,10 +534,9 @@ ...@@ -519,10 +534,9 @@
.otherJourney-introduceFooter { .otherJourney-introduceFooter {
left: 0; left: 0;
right: 0; right: 0;
bottom: 32px; margin-bottom: 32px;
width: 100%; width: 100%;
height: 34px; height: 34px;
background-size: 100% 100%;
} }
.introduceFooterBJ { .introduceFooterBJ {
...@@ -559,7 +573,7 @@ ...@@ -559,7 +573,7 @@
text-align: center; text-align: center;
overflow: hidden; overflow: hidden;
font-size: 22px; font-size: 22px;
font-family: FZCuSong-B09S; font-family: FZCuSong-B09S !important;
font-weight: 400; font-weight: 400;
color: #2A2A2A; color: #2A2A2A;
margin: 0 9px 0 0; margin: 0 9px 0 0;
......
This diff is collapsed.
...@@ -39,7 +39,6 @@ ...@@ -39,7 +39,6 @@
<div class="travelDaysMasterMap-text absolute z-index2">{{item.details[0].title}}</div> <div class="travelDaysMasterMap-text absolute z-index2">{{item.details[0].title}}</div>
</div> </div>
<div class="travelDaysMasterMap-two absolute z-index2"> <div class="travelDaysMasterMap-two absolute z-index2">
<template v-if="item.imgMapId=='travelDaysMasterMap_'+index&&item.showImgOne">
<div class="travelDaysMasterMap-twoImg relative bjF6" <div class="travelDaysMasterMap-twoImg relative bjF6"
:style="{'color':'#fff'}" :style="{'color':'#fff'}"
:id="'travelDaysImg_two'+index" :id="'travelDaysImg_two'+index"
...@@ -59,8 +58,6 @@ ...@@ -59,8 +58,6 @@
</template> </template>
</template> </template>
</div> </div>
</template>
<template v-if="item.imgMapId=='travelDaysMasterMap_'+index&&item.showImgTwo">
<div class="travelDaysMasterMap-twoImg relative bjF6" style="margin-top: 47px;" <div class="travelDaysMasterMap-twoImg relative bjF6" style="margin-top: 47px;"
:style="{'color':'#fff'}" :style="{'color':'#fff'}"
:id="'travelDaysImg_three'+index" :id="'travelDaysImg_three'+index"
...@@ -81,15 +78,19 @@ ...@@ -81,15 +78,19 @@
</template> </template>
</template> </template>
</div> </div>
</template>
</div> </div>
</div> </div>
<div class="travelDaysContent column"> <div class="travelDaysContent column">
<div class="travelDaysContent-text" v-for="(jindian,j) in item.details"> <div class="travelDaysContent-text" v-for="(jindian,j) in item.details"
<span>【{{jindian.title}}】</span> v-if="item.details.length>0">
<span>{{jindian.title?'【'+jindian.title+'】':''}}</span>
{{jindian.content}} {{jindian.content}}
</div> </div>
<div class="travelDaysContent-text"
v-else>
<span>暂无描述</span>
</div>
</div> </div>
<div class="travelDaysdetails"> <div class="travelDaysdetails">
...@@ -154,31 +155,6 @@ ...@@ -154,31 +155,6 @@
}, },
methods: { methods: {
getShow(Id,HeightNum,item){
item.imgMapId = Id
if(HeightNum>=243){
item.showImgOne = true
}else{
item.showImgOne = false
}
if(HeightNum>=478){
item.showImgTwo = true
}else{
item.showImgTwo = false
}
this.$forceUpdate()
},
getHeigthNum(Id,item){
let that = this
setTimeout(()=>{
var Height = document.getElementById(Id);
if(Height){
let HeightNum = Height.offsetHeight
that.getShow(Id,HeightNum,item)
}
},300)
},
getFontSize(title){ getFontSize(title){
if(title.length>60){ if(title.length>60){
return 929/60 +'px' return 929/60 +'px'
...@@ -285,9 +261,7 @@ ...@@ -285,9 +261,7 @@
}, },
tripList: { tripList: {
handler(val, oldVal) { handler(val, oldVal) {
this.tripList.forEach((x,index)=>{
this.getHeigthNum(`'travelDaysMasterMap_'+${this.index}`)
})
}, },
deep: true, deep: true,
immediate: true immediate: true
......
...@@ -41,25 +41,27 @@ ...@@ -41,25 +41,27 @@
<div class="travelControlTrip"> <div class="travelControlTrip">
<div class="trip_cover" v-show="pdfLoading" v-loading="pdfLoading"></div> <div class="trip_cover" v-show="pdfLoading" v-loading="pdfLoading"></div>
<el-row style="padding: 0 0 20px 0;box-shadow: 1px 10px 10px#e6e6e6;"> <el-row style="padding: 0 0 20px 0;box-shadow: 1px 10px 10px#e6e6e6;">
<el-col :span="14"> <el-col :span="14" class="row-aic">
<el-dropdown trigger="click"> <div class="el-dropdown-link" style=" height: 30px;
<span class="el-dropdown-link">行程下载 line-height: 30px;
<i class="el-icon-arrow-down el-icon--right"></i> background-color: #E95252;
</span> color: #fff;
<el-dropdown-menu slot="dropdown" class="travelControlDropDown"> font-size: 12px;
<el-dropdown-item width: 80px;
@click.native="toPDF_2023(orderMsg.startDate + orderMsg.lineteamName+orderMsg.dayNum+'日游')"> text-align: center;
2023版PDF border-radius: 4px;
</el-dropdown-item> cursor: pointer;
</el-dropdown-menu> margin-left: 20px;"
</el-dropdown> @click="toPDF_2023(orderMsg.startDate + orderMsg.lineteamName+orderMsg.dayNum+'日游')">
<el-checkbox v-model="isShowTime">显示行程日期</el-checkbox> 2023版PDF
</div>
<el-checkbox class="marginL11" v-model="isShowTime">显示行程日期</el-checkbox>
</el-col> </el-col>
</el-row> </el-row>
<div id="pdfNode" class="LeaveGroupDownload-form"> <div id="pdfNode" class="LeaveGroupDownload-form">
<div id="pdfDom" style="padding:0 20px;"> <div id="pdfDom">
<!-- 首页 --> <!-- 首页 -->
<LeaveGroupDownload :vshowJ="vshowJ" :vshowL="vshowL" :WeiXinShareImgSrc="WeiXinShareImgSrc" <LeaveGroupDownload :dataAll="dataAll" :vshowJ="vshowJ" :vshowL="vshowL" :WeiXinShareImgSrc="WeiXinShareImgSrc"
:orderMsg="orderMsg" :orderTripdiff="orderTripdiff" :vshowLLR="vshowLLR" :vshowB="vshowB" :lineId="lineId"> :orderMsg="orderMsg" :orderTripdiff="orderTripdiff" :vshowLLR="vshowLLR" :vshowB="vshowB" :lineId="lineId">
</LeaveGroupDownload> </LeaveGroupDownload>
...@@ -287,26 +289,30 @@ ...@@ -287,26 +289,30 @@
'Content-Type': 'application/json' 'Content-Type': 'application/json'
}, },
method: 'post', method: 'post',
url: urlObj.DomainUrl + '/api/file/DownLoadPdf2023', url: urlObj.DomainUrl + '/api/file/DownLoadPdf2023Url',
data: { data: {
"msg": msg "msg": msg
} }
}).then(res => { }).then(res => {
if (res.data.resultCode === 1) { if (res.data.resultCode === 1&&res.data.data) {
let sign = title + "V2" let sign = title + "V2"
const a = document.createElement('a'); const a = document.createElement('a');
a.setAttribute('download', ''); a.setAttribute('download', '');
a.setAttribute('href', urlObj.DomainUrl + '/api/file/DownloadFileForPdf?fileName=' + sign + let path = res.data.data
'.pdf&&fPath=' + res.data.data); a.setAttribute('href', 'https://microservice.oytour.com/task/create/pdf/'+encodeURIComponent(path));
a.click(); a.click();
setTimeout(()=>{
this.pdfLoading = false
},25000)
} else { } else {
this.pdfLoading = false
this.$message.error('PDF获取失败'); this.$message.error('PDF获取失败');
} }
this.pdfLoading = false
}).catch(err => { }).catch(err => {
}) })
}, },
DateDiff(sDate1, sDate2) { //sDate1和sDate2是2002-12-18格式 DateDiff(sDate1, sDate2) { //sDate1和sDate2是2002-12-18格式
var aDate, oDate1, oDate2, iDays var aDate, oDate1, oDate2, iDays
aDate = sDate1.split("-") aDate = sDate1.split("-")
...@@ -351,14 +357,6 @@ ...@@ -351,14 +357,6 @@
}, },
//初始化行程 //初始化行程
initTrip(res, data) { initTrip(res, data) {
let arrlist = function (arr) {
arr.forEach(x => {
x.showImgOne = true
x.showImgTwo = true
x.imgMapId = null
})
}
arrlist(res.data.data.dayList)
this.tripList = res.data.data.dayList; this.tripList = res.data.data.dayList;
this.feature = res.data.data.feature this.feature = res.data.data.feature
this.showType = this.feature.featureType; this.showType = this.feature.featureType;
......
...@@ -31,17 +31,17 @@ ...@@ -31,17 +31,17 @@
</div> </div>
<!-- UpgradedVersionDetails-two 02 UpgradedVersionDetails-three 03--> <!-- UpgradedVersionDetails-two 02 UpgradedVersionDetails-three 03-->
<div class="UpgradedVersionDetails-Title UpgradedVersionDetails-two"> <div class="UpgradedVersionDetails-Title UpgradedVersionDetails-two">
<div class="UpgradedVersionDetails-Img-one relative"> <div class="UpgradedVersionDetails-Img-one">
<div class="UpgradedVersionDetails-num relative" :style="{'color':TripColor}"> <div class="UpgradedVersionDetails-num relative" :style="{'color':TripColor}">
<span class="absolute">{{'0'+(i+1)}}</span> <span class="absolute">{{'0'+(i+1)}}</span>
</div> </div>
<div class="UpgradedVersionDetails-T absolute"> <div class="UpgradedVersionDetails-T">
<vEditDiv :canEdit='canEdit' v-model="item.MainName"></vEditDiv> <vEditDiv :canEdit='canEdit' v-model="item.MainName"></vEditDiv>
</div> </div>
</div> </div>
<div class="UpgradedVersionDetails-Img-two relative"> <div class="UpgradedVersionDetails-Img-two">
<template v-for="(items,indexs) in subscriptText"> <template v-for="(items,indexs) in subscriptText">
<p :key="indexs+10000" class="absolute row-sb" v-if="indexs==i" :style="{'color':TripColor}"> <p :key="indexs+10000" class="row-sb" v-if="indexs==i" :style="{'color':TripColor}">
<span v-for="(t,i) in items.Name" :key="i+100000">{{t}}</span> <span v-for="(t,i) in items.Name" :key="i+100000">{{t}}</span>
</p> </p>
</template> </template>
......
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
<i class="el-icon-plus"></i> <i class="el-icon-plus"></i>
</div> </div>
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" content="删除页面" placement="top"> <el-tooltip class="item" effect="dark" content="删除页面" placement="top">
<div @click="toDeletePages" v-if="isDeletePage"> <div @click="toDeletePages" v-if="isDeletePage">
<i class="el-icon-delete"></i> <i class="el-icon-delete"></i>
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
</div> </div>
</div> </div>
<!-- subIdeImgBox 食景副标题图 --> <!-- subIdeImgBox 食景副标题图 -->
<template v-if="FeatureData.pageTitle=='宿'||FeatureData.pageTitle=='食'||FeatureData.pageTitle=='景'"> <template v-if="FeatureData.pageType==4||FeatureData.pageType==5||FeatureData.pageType==6">
<div :class="[Template==1?'':'subIdeImgBox']"> <div :class="[Template==1?'':'subIdeImgBox']">
<div class="UpgradedVersion-subIdeImgBox absolute row z-index1"> <div class="UpgradedVersion-subIdeImgBox absolute row z-index1">
<div class="UpgradedVersion-subIdeImgBoxL" :style="{'background':TripColor}"> <div class="UpgradedVersion-subIdeImgBoxL" :style="{'background':TripColor}">
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
</div> </div>
</template> </template>
<!-- 介绍标题 --> <!-- 介绍标题 -->
<div class="UpgradedVersion-intTitle" v-if="FeatureData.pageTitle=='介绍'"> <div class="UpgradedVersion-intTitle" v-if="FeatureData.pageType==2">
<div class="UpgradedVersion-intTitle-one absolute"> <div class="UpgradedVersion-intTitle-one absolute">
<vEditDiv :canEdit='canEdit' v-model="FeatureData.dataObj.MainName"></vEditDiv> <vEditDiv :canEdit='canEdit' v-model="FeatureData.dataObj.MainName"></vEditDiv>
</div> </div>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<Header :TripColor="TripColor" :canEdit="canEdit" :FeatureItem="item"></Header> <Header :TripColor="TripColor" :canEdit="canEdit" :FeatureItem="item"></Header>
<!-- 首页 --> <!-- 首页 -->
<featureHome v-if="item.pageType==1" :canEdit="canEdit" :index="index" :FeatureItem="item" :TripColor="TripColor" <featureHome v-if="item.pageType==1" :canEdit="canEdit" :index="index" :FeatureItem="item" :TripColor="TripColor"
@toAddPages="AddPages" @toDeletePages="DeletePages"></featureHome> @UploadImg="UploadImg" @toAddPages="AddPages" @toDeletePages="DeletePages"></featureHome>
<!-- 其余页 --> <!-- 其余页 -->
<div v-else> <div v-else>
<headerTitle :FeatureItem="item" :TripColor="TripColor" :canEdit="canEdit"></headerTitle> <headerTitle :FeatureItem="item" :TripColor="TripColor" :canEdit="canEdit"></headerTitle>
...@@ -118,6 +118,11 @@ ...@@ -118,6 +118,11 @@
}; };
}, },
methods: { methods: {
UploadImg(pageType,index,url){
if(pageType==1){
this.pageList[index].dataObj.ImgList[0].url = url
}
},
getPageObj() { getPageObj() {
var pageObj = { var pageObj = {
pageTitle: '首页', //页面名称 pageTitle: '首页', //页面名称
......
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