<template>
  <!-- 任务名插件 -->
  <view class="box shadow-lg">
    <view class="bg-white rounded-md h-10 leading-10 pl-2">{{ task.name }}</view>
  </view>
</template>

<script setup>
defineProps({ task: { type: Object, default: () => {} } });
</script>

<style scoped lang="scss">
  .box{
    border-radius: 8px;
    background: #fff;
    padding: 16px;
    overflow: hidden;
  }
</style>
