|
@@ -1,29 +1,55 @@
|
|
|
<template>
|
|
|
<div class="commentSectorBox">
|
|
|
<div class="commentSectorBoxTitle">
|
|
|
- <styleTitle :id="id" :sort="1"/>
|
|
|
+ <editBtn :id="id" :sort="0" :type="7" :size="1"/>
|
|
|
+ <convertBtn :id="id" :sort="0" :type="2"/>
|
|
|
+ <div v-if="this.$store.state.template.pageData.index[id].content.componentList[0].component_style == 1">
|
|
|
+ <title1Style />
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="commentSectorBoxContent">
|
|
|
<div class="tabsCalendarNewsBox">
|
|
|
- <tabsCalendarNews :id="id" :sort="2"/>
|
|
|
+ <editBtn :id="id" :sort="1" :type="1" :size="5"/>
|
|
|
+ <convertBtn :id="id" :sort="1" :type="6"/>
|
|
|
+ <div v-if="this.$store.state.template.pageData.index[id].content.componentList[1].component_style == 1">
|
|
|
+ <tabs1Style />
|
|
|
+ </div>
|
|
|
+ <div v-if="this.$store.state.template.pageData.index[id].content.componentList[0].component_style == 2">
|
|
|
+ <tabs2Style />
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="calendarBox">
|
|
|
- <calendar :id="id" :sort="3"/>
|
|
|
+ <!-- <calendar :id="id" :sort="3"/> -->
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import styleTitle from './components/styleTitle.vue';
|
|
|
-import tabsCalendarNews from './components/tabsCalendarNews.vue';
|
|
|
-import calendar from './components/calendar.vue';
|
|
|
+//编辑按钮
|
|
|
+import editBtn from '../../public/editBtn.vue'
|
|
|
+import convertBtn from '../../public/convertBtn.vue'
|
|
|
+//标题组件
|
|
|
+import title1Style from './components/title/1.vue'
|
|
|
+//tabs组件
|
|
|
+import tabs1Style from './components/tabs/1.vue'
|
|
|
+import tabs2Style from './components/tabs/2.vue'
|
|
|
+
|
|
|
+
|
|
|
+// import styleTitle from './components/styleTitle.vue';
|
|
|
+// import tabsCalendarNews from './components/tabsCalendarNews.vue';
|
|
|
+// import calendar from './components/calendar.vue';
|
|
|
|
|
|
export default {
|
|
|
components: {
|
|
|
- styleTitle,
|
|
|
- tabsCalendarNews,
|
|
|
- calendar
|
|
|
+ editBtn,
|
|
|
+ convertBtn,
|
|
|
+ title1Style,
|
|
|
+ tabs1Style,
|
|
|
+ tabs2Style
|
|
|
+ // styleTitle,
|
|
|
+ // tabsCalendarNews,
|
|
|
+ // calendar
|
|
|
},
|
|
|
props: {
|
|
|
id: {
|
|
@@ -56,9 +82,7 @@ export default {
|
|
|
width: 80%;
|
|
|
border: 1px dashed #5570F1;
|
|
|
height: 41px;
|
|
|
- display: flex;
|
|
|
- justify-content: center;
|
|
|
- align-items: center;
|
|
|
+ position: relative;
|
|
|
}
|
|
|
.commentSectorBoxContent {
|
|
|
width: 80%;
|