|
@@ -12,7 +12,7 @@
|
|
</div>
|
|
</div>
|
|
<div class="sectorItemTitle">网站导航</div>
|
|
<div class="sectorItemTitle">网站导航</div>
|
|
</div> -->
|
|
</div> -->
|
|
- <div class="sectorItemBox" @click="addIndexModule('imgTitleSector',6)">
|
|
+ <div class="sectorItemBox" @click="addIndexModule('imgTitleSector',6,imgTitleSector)">
|
|
<div class="sectorItem">
|
|
<div class="sectorItem">
|
|
<img src="@/assets/template/sector/imgTitleSector.png" />
|
|
<img src="@/assets/template/sector/imgTitleSector.png" />
|
|
</div>
|
|
</div>
|
|
@@ -20,25 +20,25 @@
|
|
</div>
|
|
</div>
|
|
<div class="sectorItemBox">
|
|
<div class="sectorItemBox">
|
|
<div class="sectorItem">
|
|
<div class="sectorItem">
|
|
- <img src="@/assets/template/sector/bannerSector.png" @click="addIndexModule('bannerSector',34)"/>
|
|
+ <img src="@/assets/template/sector/bannerSector.png" @click="addIndexModule('bannerSector',34,bannerSector)"/>
|
|
</div>
|
|
</div>
|
|
<div class="sectorItemTitle">焦点图</div>
|
|
<div class="sectorItemTitle">焦点图</div>
|
|
</div>
|
|
</div>
|
|
<div class="sectorItemBox">
|
|
<div class="sectorItemBox">
|
|
<div class="sectorItem">
|
|
<div class="sectorItem">
|
|
- <img src="@/assets/template/sector/moreServicesSector.png" @click="addIndexModule('manyPictureSector',41)"/>
|
|
+ <img src="@/assets/template/sector/moreServicesSector.png" @click="addIndexModule('manyPictureSector',41,manyPictureSector)"/>
|
|
</div>
|
|
</div>
|
|
<div class="sectorItemTitle">多图菜单</div>
|
|
<div class="sectorItemTitle">多图菜单</div>
|
|
</div>
|
|
</div>
|
|
<div class="sectorItemBox">
|
|
<div class="sectorItemBox">
|
|
<div class="sectorItem">
|
|
<div class="sectorItem">
|
|
- <img src="@/assets/template/sector/commentSector.png" @click="addIndexModule('commentSector',40)"/>
|
|
+ <img src="@/assets/template/sector/commentSector.png" @click="addIndexModule('commentSector',40,commentSector)"/>
|
|
</div>
|
|
</div>
|
|
<div class="sectorItemTitle">文章列表带评论</div>
|
|
<div class="sectorItemTitle">文章列表带评论</div>
|
|
</div>
|
|
</div>
|
|
<div class="sectorItemBox">
|
|
<div class="sectorItemBox">
|
|
<div class="sectorItem">
|
|
<div class="sectorItem">
|
|
- <img src="@/assets/template/sector/newsSector.png" @click="addIndexModule('listSector',28)"/>
|
|
+ <img src="@/assets/template/sector/newsSector.png" @click="addIndexModule('listSector',28,listSector)"/>
|
|
</div>
|
|
</div>
|
|
<div class="sectorItemTitle">文章列表</div>
|
|
<div class="sectorItemTitle">文章列表</div>
|
|
</div>
|
|
</div>
|
|
@@ -92,7 +92,7 @@ export default {
|
|
sectorName:"bannerSector",//板块名称
|
|
sectorName:"bannerSector",//板块名称
|
|
componentList:[
|
|
componentList:[
|
|
{
|
|
{
|
|
- component_type:1,//组件类型 1=新闻(单个) 2=新闻(多个) 3=广告 4=友情链接 5=底部导航 6=静态html组件 7=文字
|
|
+ component_type:1,//组件类型 1=新闻(单个) 2=新闻(多个) 3=广告 4=友情链接 5=底部导航 6=静态html组件 7=文字 8=评论
|
|
component_name:"mainTitle",//组件名称
|
|
component_name:"mainTitle",//组件名称
|
|
sort:1,//组件排序
|
|
sort:1,//组件排序
|
|
componentData:{//该组件请求的数据
|
|
componentData:{//该组件请求的数据
|
|
@@ -157,11 +157,154 @@ export default {
|
|
sort:2,
|
|
sort:2,
|
|
componentData:{}
|
|
componentData:{}
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ component_type:1,
|
|
|
|
+ component_name:"tabsNews",
|
|
|
|
+ sort:3,
|
|
|
|
+ componentData:{
|
|
|
|
+ category_id:[],
|
|
|
|
+ page:1,
|
|
|
|
+ pageSize:3,
|
|
|
|
+ listType:[
|
|
|
|
+ "title",//标题
|
|
|
|
+ "created_time",//创建时间
|
|
|
|
+ ]
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ component_type:1,
|
|
|
|
+ component_name:"tabsNews",
|
|
|
|
+ sort:4,
|
|
|
|
+ componentData:{
|
|
|
|
+ category_id:[],
|
|
|
|
+ page:1,
|
|
|
|
+ pageSize:3,
|
|
|
|
+ listType:[
|
|
|
|
+ "title",//标题
|
|
|
|
+ "created_time",//创建时间
|
|
|
|
+ ]
|
|
|
|
+ }
|
|
|
|
+ },
|
|
]
|
|
]
|
|
},
|
|
},
|
|
//添加多图板块 end---------------------------------------->
|
|
//添加多图板块 end---------------------------------------->
|
|
|
|
|
|
|
|
+ //文章列表带评论板块 end---------------------------------------->
|
|
|
|
+ commentSector:{
|
|
|
|
+ sectorName:"commentSector",//板块名称
|
|
|
|
+ componentList:[
|
|
|
|
+ {
|
|
|
|
+ component_type:7, //纯文本
|
|
|
|
+ component_name:"styleTitle",
|
|
|
|
+ sort:1,
|
|
|
|
+ componentData:{
|
|
|
|
+ text:"板块标题"
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ component_type:1,
|
|
|
|
+ component_name:"tabsCalendarNews",
|
|
|
|
+ sort:2,
|
|
|
|
+ componentData:{
|
|
|
|
+ category_id:[],
|
|
|
|
+ page:1,
|
|
|
|
+ pageSize:6,
|
|
|
|
+ listType:[
|
|
|
|
+ "title",
|
|
|
|
+ "created_time",
|
|
|
|
+ "introduce"
|
|
|
|
+ ]
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ component_type:8,
|
|
|
|
+ component_name:"calendar", //评论组件无需提交数据
|
|
|
|
+ sort:3,
|
|
|
|
+ componentData:{}
|
|
|
|
+ },
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+ //文章列表带评论板块 end---------------------------------------->
|
|
|
|
|
|
|
|
+ //文章列表板块 start---------------------------------------->
|
|
|
|
+ listSector:{
|
|
|
|
+ sectorName:"listSector",//板块名称
|
|
|
|
+ componentList:[
|
|
|
|
+ {
|
|
|
|
+ component_type:7, //纯文本
|
|
|
|
+ component_name:"styleTitle",
|
|
|
|
+ sort:1,
|
|
|
|
+ componentData:{
|
|
|
|
+ text:"板块标题"
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ component_type:1,
|
|
|
|
+ component_name:"listNews",
|
|
|
|
+ sort:2,
|
|
|
|
+ componentData:{
|
|
|
|
+ category_id:[],
|
|
|
|
+ page:1,
|
|
|
|
+ pageSize:5,
|
|
|
|
+ listType:[
|
|
|
|
+ "title",
|
|
|
|
+ "created_time"
|
|
|
|
+ ]
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ component_type:1,
|
|
|
|
+ component_name:"listNews",
|
|
|
|
+ sort:3,
|
|
|
|
+ componentData:{
|
|
|
|
+ category_id:[],
|
|
|
|
+ page:1,
|
|
|
|
+ pageSize:5,
|
|
|
|
+ listType:[
|
|
|
|
+ "title",
|
|
|
|
+ "created_time"
|
|
|
|
+ ]
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+ //文章列表板块 end---------------------------------------->
|
|
|
|
+
|
|
|
|
+ //纯图片组合 start---------------------------------------->
|
|
|
|
+ onlyImgSector:{
|
|
|
|
+ sectorName:"onlyImgSector",//板块名称
|
|
|
|
+ componentList:[
|
|
|
|
+ {
|
|
|
|
+ component_type:1,
|
|
|
|
+ component_name:"",
|
|
|
|
+ sort:1,
|
|
|
|
+ componentData:{
|
|
|
|
+ category_id:[],
|
|
|
|
+ page:1,
|
|
|
|
+ pageSize:7,
|
|
|
|
+ listType:[
|
|
|
|
+ "title",
|
|
|
|
+ "imgUrl"
|
|
|
|
+ ]
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+ //纯图片组合 end---------------------------------------->
|
|
|
|
+
|
|
|
|
+ //友情链接板块 start---------------------------------------->
|
|
|
|
+ friendShipLinkSector:{
|
|
|
|
+ sectorName:"friendShipLinkSector",//友情链接无需提交数据
|
|
|
|
+ componentList:[
|
|
|
|
+ {
|
|
|
|
+ component_type:4,
|
|
|
|
+ component_name:"",
|
|
|
|
+ sort:1,
|
|
|
|
+ componentData:{}
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
|
|
+ }
|
|
|
|
+ //友情链接板块 end---------------------------------------->
|
|
|
|
|
|
}
|
|
}
|
|
},
|
|
},
|