<template>
  <div class="flex items-center p-3 mb-5 bg-white rounded-[10px]">
    <div class="inline-flex items-center cursor-pointer">
      <img src="@/assets/images/back.png"
           alt=""
           class="" />
      <span class="ml-[6px] text-sm text-[#3C65FF]">返回</span>
    </div>
    <span class="mx-5 text-sm text-[#999]">|</span>
    <span class="text-sm text-[#333]">{{ name }}</span>
  </div>
</template>
<script setup lang="ts">
import { defineProps, PropType, ref } from 'vue';

defineProps({
  name: { type: String, required: true },
});
</script>
