<template>
	<div class="module-item-twtit flex-y-center flex-grow-1">
		<moduleText :class="miaosha?'flex-grow-0':'flex-grow-1'"  :text="title" :type="type" />
		<moduleMiaosha class="flex-grow-1" :text="title" v-if="miaosha" :miaosha='miaosha' />
	</div>
</template>

<script>
	import moduleText from './text.vue'
	import moduleMiaosha from './miaosha.vue'
	export default {
		name: 'moduleTwtit',
		props: ['title', 'type','miaosha'],
		components: {
			moduleText,
			moduleMiaosha
		}
	}
</script>

<style scoped>
	.module-item-twtit {
		font-size: 14px;
		position: relative;
		z-index: 1;
		padding: 0 12px;
		padding-top: 10px;
	}
</style>


