Premium.vue 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. <template>
  2. <LayoutContainer>
  3. <h6 class="subtitle">Comparatif de nos solutions</h6>
  4. <h3 class="title">Et si vous passiez à la version Premium</h3>
  5. <table class="table-comparatif">
  6. <thead>
  7. <tr>
  8. <th class="thead"></th>
  9. <th class="thead"></th>
  10. <th class="thead">
  11. <p>Standard</p>
  12. <p>A partir de 44,10 ttc /mois</p>
  13. </th>
  14. <th class="thead">
  15. <p>Premium</p>
  16. <p>A partir de 60,20 ttc /mois</p>
  17. </th> </tr>
  18. </thead>
  19. <tbody class="table-body">
  20. <tr v-for="row in tableData" :key="row.id" class="table-row">
  21. <td class="table-data">{{ row.column1 }}</td>
  22. <td>{{ row.column2 }}</td>
  23. <td>{{ row.column3 }}</td>
  24. <td>{{ row.column4 }}</td>
  25. </tr>
  26. </tbody>
  27. </table>
  28. </LayoutContainer>
  29. </template>
  30. <script>
  31. export default {
  32. data() {
  33. return {
  34. tableData: [
  35. {
  36. id: 1,
  37. column1: "Donnée 1",
  38. column2: "Donnée 2",
  39. column3: "Donnée 3",
  40. column4: "Donnée 4",
  41. },
  42. {
  43. id: 2,
  44. column1: "Donnée 5",
  45. column2: "Donnée 6",
  46. column3: "Donnée 7",
  47. column4: "Donnée 8",
  48. },
  49. {
  50. id: 3,
  51. column1: "Donnée 9",
  52. column2: "Donnée 10",
  53. column3: "Donnée 11",
  54. column4: "Donnée 12",
  55. },
  56. {
  57. id: 4,
  58. column1: "Donnée 13",
  59. column2: "Donnée 14",
  60. column3: "Donnée 15",
  61. column4: "Donnée 16",
  62. },
  63. {
  64. id: 5,
  65. column1: "Donnée 17",
  66. column2: "Donnée 18",
  67. column3: "Donnée 19",
  68. column4: "Donnée 20",
  69. },
  70. {
  71. id: 6,
  72. column1: "Donnée 21",
  73. column2: "Donnée 22",
  74. column3: "Donnée 23",
  75. column4: "Donnée 24",
  76. },
  77. {
  78. id: 7,
  79. column1: "Donnée 25",
  80. column2: "Donnée 26",
  81. column3: "Donnée 27",
  82. column4: "Donnée 28",
  83. },
  84. {
  85. id: 8,
  86. column1: "Donnée 29",
  87. column2: "Donnée 30",
  88. column3: "Donnée 31",
  89. column4: "Donnée 32",
  90. },
  91. {
  92. id: 9,
  93. column1: "Donnée 33",
  94. column2: "Donnée 34",
  95. column3: "Donnée 35",
  96. column4: "Donnée 36",
  97. },
  98. {
  99. id: 10,
  100. column1: "Donnée 37",
  101. column2: "Donnée 38",
  102. column3: "Donnée 39",
  103. column4: "Donnée 40",
  104. },
  105. {
  106. id: 11,
  107. column1: "Donnée 41",
  108. column2: "Donnée 42",
  109. column3: "Donnée 43",
  110. column4: "Donnée 44",
  111. },
  112. ],
  113. };
  114. },
  115. };
  116. </script>
  117. <style scoped>
  118. .subtitle {
  119. font-size: 1.5rem;
  120. font-weight: 400;
  121. margin-left: 9rem;
  122. }
  123. .title{
  124. font-size: 1.5rem;
  125. font-weight: 400;
  126. margin-left: 9rem;
  127. }
  128. .thead {
  129. background-color: #fff;
  130. height: 8rem;
  131. font-family: 'Barlow';
  132. font-style: normal;
  133. font-weight: 400;
  134. font-size: 30px;
  135. line-height: 34px;
  136. }
  137. .table-comparatif {
  138. width: 74rem;
  139. margin-top: 1rem;
  140. margin-left: 15rem;
  141. margin-right: 5rem;
  142. border: none;
  143. border-collapse: collapse;
  144. }
  145. .table-row{
  146. background-color: white;
  147. text-align: center;
  148. height: 3rem;
  149. }
  150. .table-body .table-row:nth-child(even) {
  151. background: rgba(250, 194, 10, 0.2);
  152. }
  153. </style>