ProductList.vue 696 Bytes
<script setup lang="ts">
</script>

<template>
    <div class="product-list-page">
        <h1>产品列表</h1>
        <el-table :data="[]" style="width: 100%">
            <el-table-column label="产品名称"
                             prop="name"
                             width="180" />
            <el-table-column label="价格"
                             prop="price"
                             width="180" />
            <el-table-column label="库存" prop="stock" />
        </el-table>
    </div>
</template>

<style scoped>
.product-list-page {
	padding: 24px;
}

.product-list-page h1 {
	margin-bottom: 16px;
	font-size: 24px;
	font-weight: 600;
	color: #333;
}
</style>