points.vue 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <!--
  2. * @Description:
  3. * @Author: 欧阳承珺
  4. * @LastEditors: 欧阳承珺
  5. * @Date: 2022-11-02 10:18:11
  6. * @LastEditTime: 2022-11-08 09:44:32
  7. -->
  8. <template>
  9. <div>
  10. <div>
  11. <p class="py-15px text-20px leading-28px">转换券购买记录</p>
  12. </div>
  13. <el-table :data="tableData">
  14. <el-table-column label="类目" ></el-table-column>
  15. <el-table-column label="金额" ></el-table-column>
  16. <el-table-column label="订单编号" ></el-table-column>
  17. <el-table-column label="时间" ></el-table-column>
  18. <!-- 表格无数据显示 -->
  19. <div slot="empty">
  20. <div class="table-empty"></div>
  21. <p class="text-14px" style="color:rgba(0,0,0,0.54)">没有任何消费记录</p>
  22. <p class="leading-20px mt-8px mb-100px text-14px" style="color:rgba(0,0,0,0.38)">每一分钱都花在了刀刃上</p>
  23. </div>
  24. </el-table>
  25. </div>
  26. </template>
  27. <script>
  28. export default {
  29. layout: 'userCenter',
  30. middleware: ['auth','user'],
  31. data() {
  32. return {
  33. tableData:[]
  34. }
  35. }
  36. }
  37. </script>
  38. <style lang="scss">
  39. .el-table {
  40. th {
  41. background-color: #f4f4f4 !important;
  42. font-size: 16px;
  43. color: #666666;
  44. font-weight: normal;
  45. }
  46. }
  47. .table-empty {
  48. margin-top: 50px;
  49. height: 200px;
  50. background: url(http://cn-file.17pdf.com/website/members/pic_noconsumption.png) no-repeat center center;
  51. }
  52. </style>