Premium.vue 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. <template>
  2. <div id="Comparatif">
  3. <LayoutContainer>
  4. <div class="d-flex justify-center align-center">
  5. <v-icon size="10" class="fa-solid fa-circle icon-title"></v-icon>
  6. <h5 class="subtitle">Découvrez les avantages de la solution</h5>
  7. </div>
  8. <h3 class="title">Et si vous passiez à la version Premium</h3>
  9. <table class="table-comparatif">
  10. <thead>
  11. <tr>
  12. <th class="thead"></th>
  13. <th class="thead"></th>
  14. <th class="thead">
  15. <p class="standard">Standard</p>
  16. <p class="from">A partir de </p>
  17. <p class="price">44,10 <span class="ttc">ttc</span> </p>
  18. <p class="month">/mois</p>
  19. </th>
  20. <th class="thead premium-column">
  21. <p class="standard">Premium</p>
  22. <p class="from">A partir de </p>
  23. <p class="price">60,20 <span class="ttc">ttc</span> </p>
  24. <p class="month">/mois</p>
  25. </th>
  26. </tr>
  27. </thead>
  28. <tbody class="table-body">
  29. <tr v-for="row in tableData" :key="row.id" class="table-row">
  30. <td class="table-data table-data-left">{{ row.column1 }}</td>
  31. <td class="table-data ">{{ row.column2 }}</td>
  32. <td class="table-data-second">
  33. <v-icon
  34. size="15"
  35. class="far fa-check-circle"
  36. v-if="row.column3 == 'check'"
  37. ></v-icon>
  38. <span v-else>{{ row.column3 }}</span>
  39. </td >
  40. <td class="table-data-second ">
  41. <v-icon
  42. size="15"
  43. class="far fa-check-circle"
  44. v-if="row.column4 == 'check'"
  45. ></v-icon>
  46. <span v-else>{{ row.column4 }}</span>
  47. </td>
  48. </tr>
  49. </tbody>
  50. </table>
  51. </LayoutContainer>
  52. </div>
  53. </template>
  54. <script>
  55. export default {
  56. data() {
  57. return {
  58. tableData: [
  59. {
  60. id: 1,
  61. column1: "Espace mémoire",
  62. column2: "Stockage disponible",
  63. column3: "1 Go",
  64. column4: "2 Go",
  65. },
  66. {
  67. id: 2,
  68. column1: "Administration",
  69. column2: "Compte Internet avec gestion des droits",
  70. column3: "150",
  71. column4: "300",
  72. },
  73. {
  74. id: 3,
  75. column1: "",
  76. column2: "Gestion des rôles",
  77. column3: "check",
  78. column4: "check",
  79. },
  80. {
  81. id: 4,
  82. column1: "",
  83. column2: "Gestion du bureau et du CA",
  84. column3: "check",
  85. column4: "check",
  86. },
  87. {
  88. id: 5,
  89. column1: "",
  90. column2: "Gestion des commissions",
  91. column3: "check",
  92. column4: "check",
  93. },
  94. {
  95. id: 6,
  96. column1: "gestion des membres",
  97. column2: "",
  98. column3: "check",
  99. column4: "check",
  100. },
  101. {
  102. id: 7,
  103. column1: "",
  104. column2: "Tuteurs pour les mineurs",
  105. column3: "check",
  106. column4: "check",
  107. },
  108. {
  109. id: 8,
  110. column1: "gestion des élèves",
  111. column2: "Nombre d’élève maximum",
  112. column3: "check",
  113. column4: "check",
  114. },
  115. {
  116. id: 9,
  117. column1: "",
  118. column2: "Fiche élève avec gestion des tuteurs",
  119. column3: "check",
  120. column4: "check",
  121. },
  122. {
  123. id: 10,
  124. column1: "",
  125. column2: "Corus suivi",
  126. column3: "check",
  127. column4: "check",
  128. },
  129. {
  130. id: 11,
  131. column1: "",
  132. column2: "Suivi pédagogique",
  133. column3: "check",
  134. column4: "check",
  135. },
  136. ],
  137. };
  138. },
  139. };
  140. </script>
  141. .
  142. <style scoped>
  143. .table-data-second {
  144. padding-right: 5rem;
  145. }
  146. .standard{
  147. font-family: 'Barlow';
  148. font-style: normal;
  149. font-weight: 600;
  150. font-size: 12px;
  151. line-height: 16px;
  152. text-align: center;
  153. letter-spacing: 0.18em;
  154. text-transform: uppercase;
  155. color: #0E2D32;
  156. padding-right: 5rem;
  157. }
  158. .from, .ttc{
  159. font-family: 'Barlow';
  160. font-style: normal;
  161. font-weight: 300;
  162. font-size: 12px;
  163. line-height: 14px;
  164. text-align: center;
  165. color: #454545;
  166. padding-right: 5rem;
  167. }
  168. .price, .month{
  169. font-family: 'Barlow';
  170. font-style: normal;
  171. font-weight: 400;
  172. font-size: 30px;
  173. line-height: 34px;
  174. text-align: center;
  175. color: #454545;
  176. }
  177. .month{
  178. padding-right: 5rem;
  179. }
  180. .table-data-left{
  181. width: 15rem;
  182. padding-right: 2rem;
  183. }
  184. .table-data {
  185. text-align: left;
  186. padding-left: 20px;
  187. font-family: "Barlow";
  188. font-style: normal;
  189. font-weight: 600;
  190. font-size: 12px;
  191. line-height: 16px;
  192. letter-spacing: 0.18em;
  193. text-transform: uppercase;
  194. color: #454545;
  195. }
  196. .icon-title {
  197. color: rgba(32, 147, 190, 0.6);
  198. }
  199. .subtitle {
  200. font-family: "Barlow";
  201. font-style: normal;
  202. font-weight: 500;
  203. font-size: 0.9rem;
  204. margin-left: 0.5rem;
  205. margin-right: 73rem;
  206. }
  207. .title {
  208. font-size: 1.5rem;
  209. font-weight: 500;
  210. margin-left: 3rem;
  211. width: 27rem;
  212. font-family: "Barlow";
  213. font-size: 2.5rem;
  214. margin-top: 2rem;
  215. }
  216. .thead {
  217. background-color: #fff;
  218. height: 8rem;
  219. font-family: "Barlow";
  220. font-style: normal;
  221. font-weight: 400;
  222. font-size: 30px;
  223. line-height: 34px;
  224. }
  225. .table-comparatif {
  226. width: 80rem;
  227. margin-top: 1rem;
  228. margin-left: 5rem;
  229. margin-right: 5rem;
  230. border: none;
  231. border-collapse: collapse;
  232. }
  233. .table-row {
  234. background-color: white;
  235. text-align: center;
  236. height: 3rem;
  237. }
  238. .table-body .table-row:nth-child(even) {
  239. background-color: rgba(32, 147, 190, 0.2);
  240. }
  241. </style>