|
@@ -0,0 +1,178 @@
|
|
|
+<template>
|
|
|
+ <div>
|
|
|
+ <!-- 藏品列表 -->
|
|
|
+ <div class="notice-list">
|
|
|
+ <i class="el-icon-tickets"> 藏品列表</i>
|
|
|
+ </div>
|
|
|
+
|
|
|
+
|
|
|
+ <!-- 数据栏 -->
|
|
|
+ <div class="list-data">
|
|
|
+ <el-table border="true" :data="tableData" style="width: 100%">
|
|
|
+ <el-table-column
|
|
|
+ align="center"
|
|
|
+ label="ID"
|
|
|
+ width="100"
|
|
|
+ prop="noticeId">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span >{{ scope.row.id }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+
|
|
|
+ <el-table-column
|
|
|
+ align="center"
|
|
|
+ label="藏品名称"
|
|
|
+ width="200">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span >{{ scope.row.name }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <el-table-column
|
|
|
+ align="center"
|
|
|
+ label="售卖时间"
|
|
|
+ width="200">
|
|
|
+ <template slot-scope="scope">
|
|
|
+
|
|
|
+ <span >{{ scope.row.time }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+
|
|
|
+ <el-table-column
|
|
|
+ align="center"
|
|
|
+ label="藏品价格(¥)"
|
|
|
+ width="200">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span >{{ scope.row.price }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+
|
|
|
+ <el-table-column
|
|
|
+ align="center"
|
|
|
+ label="藏品状态"
|
|
|
+ width="200">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div slot="reference" class="name-wrapper">
|
|
|
+ <el-tag size="medium">{{ scope.row.state }}</el-tag>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+
|
|
|
+ <el-table-column
|
|
|
+ align="center"
|
|
|
+ label="数量(份)"
|
|
|
+ width="198">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span >{{ scope.row.num }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <el-table-column
|
|
|
+ align="center"
|
|
|
+ label="操作"
|
|
|
+ width="200">
|
|
|
+ <template>
|
|
|
+ <div>
|
|
|
+ <el-button
|
|
|
+ type="text"
|
|
|
+ size="small"
|
|
|
+ @click="CollectionDetails">
|
|
|
+ 藏品详情
|
|
|
+ </el-button>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+
|
|
|
+ </div>
|
|
|
+ <div class="bottom">
|
|
|
+ <div class="bottom-page">
|
|
|
+ <el-pagination layout="prev, pager, next" :total="this.total" @current-change="handleCurrentChange">
|
|
|
+ </el-pagination>
|
|
|
+ </div>
|
|
|
+ <span class="bottom-number">共2条 </span>
|
|
|
+ </div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+<script>
|
|
|
+import CollectionDetails from './collectionDetails.vue';
|
|
|
+
|
|
|
+ export default{
|
|
|
+ data(){
|
|
|
+ return{
|
|
|
+ tableData: [
|
|
|
+
|
|
|
+ {
|
|
|
+ id:62,
|
|
|
+ name: '返佣1',
|
|
|
+ date: '2016-05-02',
|
|
|
+ time:'2023-02-10:00:00-2023-02-16:00:00:00',
|
|
|
+ price:0.1,
|
|
|
+ state:'已售空',
|
|
|
+ num: 500,
|
|
|
+
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id:63,
|
|
|
+ name: '返佣2',
|
|
|
+ date: '2016-05-02',
|
|
|
+ time:'2023-02-10:00:00-2023-02-16:00:00:00',
|
|
|
+ price:2,
|
|
|
+ state:'正在售卖',
|
|
|
+ num: 2,
|
|
|
+
|
|
|
+ },
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ //藏品详情点击跳转
|
|
|
+
|
|
|
+ CollectionDetails(){
|
|
|
+ this.$router.push("./collectionDetails")
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
+</script>
|
|
|
+
|
|
|
+<style scoped>
|
|
|
+.notice-list {
|
|
|
+ width: 1250px;
|
|
|
+ height: 50px;
|
|
|
+ margin: 0 auto;
|
|
|
+ border-radius: 4px;
|
|
|
+ border: 1px solid #ebeef5;
|
|
|
+ margin-top: 30px;
|
|
|
+ line-height: 17px;
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+}
|
|
|
+.el-icon-tickets {
|
|
|
+ margin-top: 17px;
|
|
|
+ margin-left: 20px;
|
|
|
+ font-family: PingFang SC;
|
|
|
+ font-size: 15px;
|
|
|
+}
|
|
|
+.paging-button{
|
|
|
+ margin-left: 1100px;
|
|
|
+}
|
|
|
+.bottom-number {
|
|
|
+ padding-top: 5px;
|
|
|
+ color: #303133;
|
|
|
+ float: right;
|
|
|
+}
|
|
|
+
|
|
|
+.bottom-page {
|
|
|
+ float: right;
|
|
|
+}
|
|
|
+</style>
|