| <template> | 
|   <div class="taskDetail-welfare-list-item"> | 
|     <img :src="icon" class="taskDetail-welfare-list-item-icon" /> | 
|     <div class="taskDetail-welfare-list-item-text">{{ text }}</div> | 
|   </div> | 
| </template> | 
|   | 
| <script setup lang="ts"> | 
| defineOptions({ | 
|   name: 'TaskDetailWelfareItem', | 
| }); | 
|   | 
| type Props = { | 
|   icon: string; | 
|   text: string; | 
| }; | 
|   | 
| const props = withDefaults(defineProps<Props>(), {}); | 
| </script> | 
|   | 
| <style lang="scss"> | 
| @import '@/styles/common.scss'; | 
|   | 
| .taskDetail-welfare-list-item { | 
|   display: flex; | 
|   align-items: center; | 
|   flex-direction: column; | 
|   width: 25%; | 
|   | 
|   .taskDetail-welfare-list-item-icon { | 
|     width: 72px; | 
|     height: 72px; | 
|     margin-bottom: 24px; | 
|   } | 
|   | 
|   .taskDetail-welfare-list-item-text { | 
|     font-weight: 400; | 
|     font-size: 24px; | 
|     color: boleGetCssVar('text-color', 'regular'); | 
|     line-height: 36px; | 
|     text-align: center; | 
|     /* @include ellipsis; */ | 
|   } | 
| } | 
| </style> |