File was renamed from apps/cMiniApp/src/subpackages/task/components/TaskDetailWelfareItem.vue |
| | |
| | | <template> |
| | | <div class="taskDetail-welfare-list-item"> |
| | | <img :src="IconAttentioActive" class="taskDetail-welfare-list-item-icon" /> |
| | | <div class="taskDetail-welfare-list-item-text">高温补贴</div> |
| | | <img :src="icon" class="taskDetail-welfare-list-item-icon" /> |
| | | <div class="taskDetail-welfare-list-item-text">{{ text }}</div> |
| | | </div> |
| | | </template> |
| | | |
| | | <script setup lang="ts"> |
| | | import IconAttentioActive from '@/assets/task/icon-attention-active.png'; |
| | | |
| | | defineOptions({ |
| | | name: 'TaskDetailWelfareItem', |
| | | }); |
| | | |
| | | // type Props = {}; |
| | | type Props = { |
| | | icon: string; |
| | | text: string; |
| | | }; |
| | | |
| | | // const props = withDefaults(defineProps<Props>(), {}); |
| | | const props = withDefaults(defineProps<Props>(), {}); |
| | | </script> |
| | | |
| | | <style lang="scss"> |