| | |
| | | <articles :itemData="item"></articles> |
| | | </template> |
| | | |
| | | <!--活动专区--> |
| | | <template v-if="item.type == 'hdzq'&&item.data!=null"> |
| | | <hdzq :itemData="item"></hdzq> |
| | | </template> |
| | | |
| | | <!--供需匹配--> |
| | | <template v-if="item.type == 'gxpp'&&item.data!=null"> |
| | | <gxpp :itemData="item"></gxpp> |
| | | </template> |
| | | |
| | | <!--头条快报--> |
| | | <template v-if="item.type == 'special'&&item.data!=null"> |
| | | <special :itemData="item"></special> |
| | |
| | | <buttons :itemData="item"></buttons> |
| | | </template> |
| | | |
| | | <!--团购--> |
| | | <template v-if="item.type==='groupBuy'&&item.data!=null"> |
| | | <groupBuy :itemData="item"></groupBuy> |
| | | </template> |
| | | |
| | | </block> |
| | | </view> |
| | | </template> |
| | |
| | | import windows from './window/window'; |
| | | import videos from './videos/videos'; |
| | | import articles from './article/article'; |
| | | import hdzq from './hdzq/hdzq'; |
| | | import gxpp from './gxpp/gxpp'; |
| | | import special from './special/special'; |
| | | import notice from './notice/notice'; |
| | | import titles from './title/title'; |
| | |
| | | import previewProduct from './previewProduct/previewProduct'; |
| | | import live from './live/live'; |
| | | import buttons from './button/button'; // 按钮组 by lyzflash |
| | | import groupBuy from './groupBuy/groupBuy'; // 团购组件 |
| | | |
| | | export default { |
| | | components: { |
| | |
| | | windows, |
| | | videos, |
| | | articles, |
| | | hdzq, |
| | | gxpp, |
| | | special, |
| | | notice, |
| | | titles, |
| | |
| | | previewProduct, |
| | | live, |
| | | buttons, // 按钮组 by lyzflash |
| | | groupBuy, // 团购组件 |
| | | }, |
| | | data() { |
| | | return { |