index.vue 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. <template>
  2. <div class="box">
  3. <banner></banner>
  4. <div class="article">
  5. <template>
  6. <el-table
  7. :data="list"
  8. stripe
  9. style="width: 100%">
  10. <el-table-column type="index" label="序号" width="80" />
  11. <el-table-column prop="name" label="货号" />
  12. <el-table-column prop="name" label="原研公司" />
  13. <el-table-column
  14. prop="date"
  15. label="MOA"
  16. width="180"
  17. column-key="date"
  18. :filters="[{text: '2016-05-01', value: '2016-05-01'}, {text: '2016-05-02', value: '2016-05-02'}, {text: '2016-05-03', value: '2016-05-03'}, {text: '2016-05-04', value: '2016-05-04'}]"
  19. :filter-method="filterHandler"
  20. >
  21. </el-table-column>
  22. <el-table-column prop="name" label="上市国家" />
  23. <el-table-column prop="name" label="抗体名称" />
  24. <el-table-column prop="name" label="文章题目" />
  25. </el-table>
  26. </template>
  27. </div>
  28. </div>
  29. </template>
  30. <script>
  31. import banner from "@/components/banner";
  32. export default {
  33. name: "article",
  34. components: {
  35. banner
  36. },
  37. data() {
  38. return {
  39. list: [
  40. {
  41. name: "12",
  42. fileUrl: "/static/img/mRNA1.af470f1.jpg"
  43. }, {
  44. name: "12",
  45. fileUrl: "/static/img/mRNA1.af470f1.jpg"
  46. }, {
  47. name: "12",
  48. fileUrl: "/static/img/mRNA1.af470f1.jpg"
  49. }, {
  50. name: "12",
  51. fileUrl: "/static/img/mRNA1.af470f1.jpg"
  52. }, {
  53. name: "12",
  54. fileUrl: "/static/img/mRNA1.af470f1.jpg"
  55. }, {
  56. name: "12",
  57. fileUrl: "/static/img/mRNA1.af470f1.jpg"
  58. }, {
  59. name: "12",
  60. fileUrl: "/static/img/mRNA1.af470f1.jpg"
  61. }, {
  62. name: "12",
  63. fileUrl: "/static/img/mRNA1.af470f1.jpg"
  64. }, {
  65. name: "12",
  66. fileUrl: "/static/img/mRNA1.af470f1.jpg"
  67. }, {
  68. name: "12",
  69. fileUrl: "/static/img/mRNA1.af470f1.jpg"
  70. }, {
  71. name: "12",
  72. fileUrl: "/static/img/mRNA1.af470f1.jpg"
  73. }, {
  74. name: "12",
  75. fileUrl: "/static/img/mRNA1.af470f1.jpg"
  76. }, {
  77. name: "12",
  78. fileUrl: "/static/img/mRNA1.af470f1.jpg"
  79. }, {
  80. name: "12",
  81. fileUrl: "/static/img/mRNA1.af470f1.jpg"
  82. }, {
  83. name: "12",
  84. fileUrl: "/static/img/mRNA1.af470f1.jpg"
  85. }
  86. ]
  87. };
  88. },
  89. methods: {
  90. },
  91. mounted() {},
  92. created() {
  93. }
  94. };
  95. </script>
  96. <style lang="scss">
  97. .site-header-suggestion-select {
  98. .el-autocomplete-suggestion__wrap {
  99. max-height: 380px;
  100. }
  101. }
  102. </style>
  103. <style lang="scss" scoped>
  104. @media screen and (min-width: 751px) and (max-width: 9999px) {
  105. .box {
  106. .article /deep/{
  107. width: 1200px;
  108. margin: 30px auto 90px;
  109. .cell{
  110. color: #000;
  111. }
  112. .el-table__row td{
  113. background-color: #fff !important;
  114. }
  115. .el-table__row--striped td{
  116. background-color: #F0FAFE !important;
  117. }
  118. }
  119. }
  120. }
  121. </style>