Premium.vue 5.6 KB

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