<template>
  <view class="task-center">
    <view class="row-center">
      <text class="title">使用证编号：<text class="text">{{ item.useRegisterNo }}</text></text>
      <text class="title">设备注册代码：<text class="text">{{ item.equipCode }}</text></text>
      <text class="title">费用：<text class="text">{{ item.fee || '-' }}</text></text>
    </view>
  </view>
</template>

<script lang="ts" setup>
interface Props {
  item: any
}

defineProps<Props>()
</script>

<style lang="scss" scoped>
.task-center {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background-color: rgb(244, 244, 244);
  border-radius: 5px;
}

.row-center {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.title {
  color: rgb(108, 108, 108);
  font-size: 12px;
  line-height: 25px;
  margin-right: 5px;
}

.text {
  color: rgb(51, 51, 51);
  font-size: 12px;
  line-height: 25px;
}
</style>
