Commit d87c97a5 authored by 华国豪's avatar 华国豪 🙄

‘href 行程特色颜色’

parent e08ad4f9
......@@ -59,7 +59,7 @@
<analogIFrame :key="i" :type='item.type' v-model="item.history" :curIndex='i' :refer='item.refer' v-show="tabs.indexOf(currentTag)==i" :componentTemp='item.comp' v-for="(item,i) in tabs" v-if='item.comp' :path='item.path' :name='item.name'></analogIFrame>
</div>
<div class="flexParent" v-if="openMode==0">
<a :href='blankUrl' ref='blankLink' target="_blank" style="display:none">1</a>
<a :href='blankUrl' id='blankLink' target="_blank" style="display:none">1</a>
<div class="resource-ttop" style="font-family:PingFangSC-Semibold" v-if="rootName!=''">
{{rootName}}<i class="iconfont icon-weibiaoti102"></i>{{parentName}}<i class="iconfont icon-weibiaoti102"></i><span class="active">{{currentName}}</span>
</div>
......@@ -882,10 +882,10 @@ export default {
next()
}else if(that.openMode==0 && to.query.blank && to.query.blank=='y'){
that.$refs.blankLink.href=`http://${window.location.host}/#${to.fullPath}`
let dom = document.querySelector("#blankLink")
dom.href=`http://${window.location.host}/#${to.fullPath}`
//console.log(that.$refs.blankLink.click())
that.$refs.blankLink.click()
dom.click()
}else{
next()
}
......
......@@ -14,6 +14,11 @@
<div>{{item.ckTitle}}</div>
</div>
</div>
<div>
<el-radio-group v-model="FeatureData.TemplateId">
<el-radio-button v-for="item in templateColorArray" :label="item.text" :key="item.id" :value="item.id"></el-radio-button>
</el-radio-group>
</div>
<div>注:幻灯片(图片至少为两张,图片尺寸应该控制在960*500,如果超出系统将自动裁剪显示)</div>
<div class="ScraList">九宫格(请尽量保持图片高清,系统将根据你的图片数量自动缩放图片大小,最多9张图片)</div>
<div class="TFContent">
......@@ -248,6 +253,23 @@
TypeState: 5
}
], //tab数组
templateColorArray:[
{
id: 1,
color: 'yellow',
text: '黄色'
},
{
id: 2,
color: 'pink',
text: '粉色'
},
{
id: 3,
color: 'blue',
text: '蓝色'
},
],
travelsList: [],
del_show: true,
//折叠展开
......
......@@ -139,6 +139,7 @@
Subtitle: "",
LineName: "",
DayList: [],
TemplateId: 1,
IsSave: false //是否保存
},
//线路行程
......@@ -584,6 +585,7 @@
this.FeatureData.ConfigId = tempData.Feature.ConfigId;
this.FeatureData.FeatureType = tempData.Feature.FeatureType;
this.FeatureData.FeatureImg = tempData.Feature.FeatureImg;
this.FeatureData.TemplateId = tempData.Feature.TemplateId;
this.FeatureData.FeatureContent = tempData.Feature.FeatureContent;
//图片列表
this.FeatureData.fileList = tempData.Feature.FeatureImgList;
......
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