|
@@ -1,5 +1,17 @@
|
|
<template>
|
|
<template>
|
|
<div class="sectorBox">
|
|
<div class="sectorBox">
|
|
|
|
+ <div
|
|
|
|
+ class="sectorItemBox"
|
|
|
|
+ @click="addModule('channelMenu', 13, channelMenu)"
|
|
|
|
+ @drag="drag('channelMenu', 13, channelMenu)"
|
|
|
|
+ @dragend="dragend('channelMenu', 13, channelMenu)"
|
|
|
|
+ >
|
|
|
|
+ <div class="sectorItem">
|
|
|
|
+ <img src="http://img.bjzxtw.org.cn/pre/image/jpeg/20250619/1750311785239902.jpg" v-if="this.$store.state.template.editWebsiteClass==1"/>
|
|
|
|
+ <img src="http://img.bjzxtw.org.cn/pre/image/jpeg/20250625/1750839704883892.jpg" v-if="this.$store.state.template.editWebsiteClass==2"/>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="sectorItemTitle">子导航菜单</div>
|
|
|
|
+ </div>
|
|
<div class="sectorItemBox"
|
|
<div class="sectorItemBox"
|
|
@click="addModule('adSector', 12, adSector)"
|
|
@click="addModule('adSector', 12, adSector)"
|
|
@drag="drag('adSector', 12, adSector)"
|
|
@drag="drag('adSector', 12, adSector)"
|
|
@@ -35,6 +47,19 @@ export default {
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
|
|
+ //模块1频道菜单 start---------------------------------------->
|
|
|
|
+ channelMenu: {
|
|
|
|
+ "sectorName": "channelMenu",//板块名称
|
|
|
|
+ "componentList": [
|
|
|
|
+ {
|
|
|
|
+ "component_type": 3,//组件类型 1=新闻(选择导航池id)2=广告(输入广告位名称) 3=静态组件
|
|
|
|
+ "component_style": 1,//组件选择了哪个版式
|
|
|
|
+ "sort": 1,
|
|
|
|
+ "componentData": {}
|
|
|
|
+ }
|
|
|
|
+ ],
|
|
|
|
+ },
|
|
|
|
+ //模块1频道菜单 end---------------------------------------->
|
|
//添加通栏广告模块 start---------------------------------------->
|
|
//添加通栏广告模块 start---------------------------------------->
|
|
adSector: {
|
|
adSector: {
|
|
"sectorName": "adSector",//板块名称
|
|
"sectorName": "adSector",//板块名称
|