Commit 6d5f5c6d authored by 华国豪's avatar 华国豪 🙄

‘行程特色@’

parent 2070d6f3
...@@ -1983,3 +1983,12 @@ div{ ...@@ -1983,3 +1983,12 @@ div{
.__flower_J{ .__flower_J{
left: -135px; left: -135px;
} }
.template_bg_1{
background-color: #f6dc61 !important
}
.template_bg_2{
background-color: pink !important
}
.template_bg_3{
background-color: skyblue !important
}
\ No newline at end of file
...@@ -942,6 +942,8 @@ ...@@ -942,6 +942,8 @@
isShowVisa:this.vshowH?1:0, isShowVisa:this.vshowH?1:0,
//isPc是否PC下载 //isPc是否PC下载
isPc: isPc, isPc: isPc,
//模板参数
templateId: this.showType,
}; };
this.GetLocalFile("DownLoadTripWord", msg,title+ ".doc", res=>{ this.GetLocalFile("DownLoadTripWord", msg,title+ ".doc", res=>{
this.pdfLoading = false this.pdfLoading = false
......
...@@ -155,7 +155,7 @@ ...@@ -155,7 +155,7 @@
</div> --> </div> -->
<new-feature ref='newFeature' :data='FeatureData'></new-feature> <new-feature ref='newFeature' :data='FeatureData'></new-feature>
</div> </div>
<div v-if="FeatureData.FeatureType===FeatureTypeState.travelSpecial2 && FeatureDataFlag"> <div v-if="(FeatureData.FeatureType===FeatureTypeState.travelSpecial2 || FeatureData.FeatureType===6 || FeatureData.FeatureType===7) && FeatureDataFlag">
<!--<newFeature2 ref='newFeature2' :data='FeatureData'></newFeature2>--> <!--<newFeature2 ref='newFeature2' :data='FeatureData'></newFeature2>-->
<newFeature2 ref='newFeature2' :FeatureData='FeatureData'></newFeature2> <newFeature2 ref='newFeature2' :FeatureData='FeatureData'></newFeature2>
</div> </div>
...@@ -222,7 +222,7 @@ ...@@ -222,7 +222,7 @@
nineGrid: 2, nineGrid: 2,
userDefined: 3, userDefined: 3,
travelSpecial: 4, travelSpecial: 4,
travelSpecial2: 5 travelSpecial2: 5,
}, },
TypeArray: [{ TypeArray: [{
ckTitle: "自定义", ckTitle: "自定义",
...@@ -249,27 +249,40 @@ ...@@ -249,27 +249,40 @@
TypeState: 4 TypeState: 4
}, },
{ {
ckTitle: "行程特色2", ckTitle: "行程特色-黄",
isShow: false, isShow: false,
imgUrl: Travelslider, imgUrl: Travelslider,
TypeState: 5 TypeState: 5
} },
// {
// ckTitle: "行程特色-粉",
// isShow: false,
// imgUrl: Travelslider,
// TypeState: 6
// },
// {
// ckTitle: "行程特色-蓝",
// isShow: false,
// imgUrl: Travelslider,
// TypeState: 7
// }
], //tab数组 ], //tab数组
templateColorArray:[ templateColorArray:[
{ {
id: 1, id: 1,
color: 'yellow', color: 'yellow',
text: '黄色' text: '土黄黄'
}, },
{ {
id: 2, id: 2,
color: 'pink', color: 'pink',
text: '粉色' text: '樱桃粉'
}, },
{ {
id: 3, id: 3,
color: 'blue', color: 'blue',
text: '蓝色' text: '水蓝蓝'
}, },
], ],
travelsList: [], travelsList: [],
...@@ -473,7 +486,7 @@ ...@@ -473,7 +486,7 @@
//切换tab事件 //切换tab事件
clickFeature(item) { clickFeature(item) {
let state = this.FeatureData.FeatureType let state = this.FeatureData.FeatureType
if (state === 4 && item.TypeState === 5) { if ((state === 4 && item.TypeState === 5) || (state === 4 && item.TypeState === 6) || (state === 4 && item.TypeState === 7)) {
this.$confirm('尊敬的用户,行程特色“1”切换为行程特色“2”将会清空行程特色“1”里面的所有内容,您确定切换吗?', { this.$confirm('尊敬的用户,行程特色“1”切换为行程特色“2”将会清空行程特色“1”里面的所有内容,您确定切换吗?', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
......
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