<template>
  <div class="page-shell">
    <div class="page-shell__header">第 {{ page.page_idx + 1 }} 页</div>
    <div class="page-shell__body">
      <span class="page-shell__text">页面内容按需加载中</span>
    </div>
  </div>
</template>

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

<style scoped lang="scss">
.page-shell {
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.page-shell__header {
  padding: 8px 12px;
  font-size: 13px;
  color: #667085;
  border-bottom: 1px solid #eaecf0;
}

.page-shell__body {
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #98a2b3;
  background: linear-gradient(180deg, #f8fafc 0%, #f2f4f7 100%);
}

.page-shell__text {
  font-size: 14px;
}
</style>
