123456789101112131415161718192021222324252627 |
- <template>
- 2222
- </template>
- <script setup>
- //引入vue
- import {ref} from 'vue';
- //获得新闻数据
- const props = defineProps({
- titleLink:Object,//板块名称
- templateData:Array,//新闻数据
- skinId:String,//皮肤id
- templateAdData:Object,//广告
- });
- //样式1与样式2共用 start ---------------------------------------->
- // const component_style1_News1Array = ref({});
- // component_style1_News1Array.value = props.templateData.img.slice(0,2);
- // const component_style1_News1Array_2 = ref({});
- // component_style1_News1Array_2.value = props.templateData.img.slice(2,3);
- // const component_style1_News3 = ref({});
- // component_style1_News3.value = props.templateData.text.slice(0,4);
- //样式1与样式2共用 end ---------------------------------------->
- </script>
- <style lang="less" scoped>
- </style>
|