1234567891011121314151617181920212223242526272829303132333435 |
- <template>
- <div class="headLineBigBox">
- <div>
- <style1 :templateData="templateData.componentList[0].data.text"/>
- </div>
- <div>
- <!-- <style2/> -->
- </div>
- </div>
- </template>
- <script setup>
- //样式1
- import style1 from '@/components/template/component/headLine/1200x140/1.vue'
- //样式2
- import style2 from '@/components/template/component/headLine/1200x140/2.vue'
- const props = defineProps({
- skinId: Number,//皮肤id
- templateData:Object,//新闻数据
- });
- </script>
- <style lang="less">
- .headLineBigBox {
- width: 1200px;
- height: 140px;
- position: relative;
- margin: 0 auto;
- .templateEditBtnBox {
- right: 0;
- }
- }
- </style>
|