<template>
  <div class='app-container'>
    <div class="list" v-for="item in 3" :key="item.id">
      <div class="header between">
        <span>寄回单号：GDHxxxxxxxx</span>
        <span>换新</span>
      </div>
      <el-descriptions class="main" :column="1">
        <el-descriptions-item label="姓名："></el-descriptions-item>
        <el-descriptions-item label="产品型号："></el-descriptions-item>
        <el-descriptions-item label="电话号码："></el-descriptions-item>
        <el-descriptions-item label="颜色："></el-descriptions-item>
      </el-descriptions>
      <div class="footer between">
        <span>填写时间：2024-05-24 14:00</span>
        <span>仓库已发货</span>
      </div>
    </div>
  </div>
</template>

<script setup>
import { onMounted } from 'vue';

onMounted(() => {
  document.title = '申请查询'
})
</script>

<style lang="scss" scoped>
.app-container {
  background-color: #f7f7f7;
}

.list {
  border-radius: 8px;
  overflow: hidden;
  background-color: #FFF;
  margin-bottom: 15px;
}

.header {
  background-color: #000;
  color: #FFF;
  padding: 8px 10px;
  font-size: 16px;
}

.main {
  padding: 8px 10px 0;
}

.footer {
  padding: 12px 10px;
  border-top: 1px solid #f7f7f7;
  font-size: 14px;
}

.between {
  display: flex;
  justify-content: space-between;
}
</style>