TaskItemInfo.vue 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <template>
  2. <view class="task-center">
  3. <view class="row-center">
  4. <text class="title">使用证编号:<text class="text">{{ item.useRegisterNo }}</text></text>
  5. <text class="title">设备注册代码:<text class="text">{{ item.equipCode }}</text></text>
  6. <text class="title">费用:<text class="text">{{ item.fee || '-' }}</text></text>
  7. </view>
  8. </view>
  9. </template>
  10. <script lang="ts" setup>
  11. interface Props {
  12. item: any
  13. }
  14. defineProps<Props>()
  15. </script>
  16. <style lang="scss" scoped>
  17. .task-center {
  18. display: flex;
  19. align-items: center;
  20. justify-content: space-between;
  21. padding: 8px 12px;
  22. background-color: rgb(244, 244, 244);
  23. border-radius: 5px;
  24. }
  25. .row-center {
  26. display: flex;
  27. flex-direction: row;
  28. flex-wrap: wrap;
  29. justify-content: space-between;
  30. align-items: center;
  31. width: 100%;
  32. }
  33. .title {
  34. color: rgb(108, 108, 108);
  35. font-size: 12px;
  36. line-height: 25px;
  37. margin-right: 5px;
  38. }
  39. .text {
  40. color: rgb(51, 51, 51);
  41. font-size: 12px;
  42. line-height: 25px;
  43. }
  44. </style>