You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

263 lines
7.9 KiB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  1. <template>
  2. <div class="bottom-info">
  3. <div class="computer hidden-sm-and-down">
  4. <v-card
  5. class="d-flex justify-center mb-15 mt-10"
  6. flat
  7. color="transparent"
  8. >
  9. <v-card
  10. width="1366"
  11. class="px-13 d-flex flex-column"
  12. flat
  13. color="transparent"
  14. >
  15. <v-card
  16. class="d-flex flex-column"
  17. flat
  18. color="transparent"
  19. v-if="countries.length>0"
  20. >
  21. <v-card
  22. flat
  23. color="transparent"
  24. class="font-weight-bold mt-4 mb-2 text-size-14"
  25. >
  26. {{ $t("userProfile.companyCountry") }}
  27. </v-card>
  28. <v-card class="d-flex flex-row flex-wrap" flat color="transparent">
  29. <p
  30. class="grey--text text--lighten-1 me-5"
  31. style="line-height: 18px"
  32. v-for="(item, idx) in countries"
  33. :key="idx"
  34. >
  35. <nuxt-link
  36. :to="localePath(item.url)"
  37. class="remove-underline text-size-14"
  38. >
  39. {{ item.name }}
  40. </nuxt-link>
  41. </p>
  42. </v-card>
  43. </v-card>
  44. <v-card
  45. class="d-flex flex-column"
  46. flat
  47. color="transparent"
  48. v-if="cards.length>0"
  49. >
  50. <v-card
  51. flat
  52. color="transparent"
  53. class="font-weight-bold mt-4 mb-2 text-size-14"
  54. >
  55. {{ $t("Hot Exhibitions") }}
  56. </v-card>
  57. <v-card class="d-flex flex-row flex-wrap" flat color="transparent">
  58. <p
  59. class="grey--text text--lighten-1 me-5"
  60. style="line-height: 18px"
  61. v-for="(item, idx) in cards"
  62. :key="idx"
  63. >
  64. <nuxt-link
  65. :to="localePath(item.url)"
  66. class="remove-underline text-size-14"
  67. >
  68. {{ item.name }}
  69. </nuxt-link>
  70. </p>
  71. </v-card>
  72. </v-card>
  73. <v-card
  74. class="d-flex flex-column"
  75. flat
  76. color="transparent"
  77. v-if="categories.length>0"
  78. >
  79. <v-card
  80. flat
  81. color="transparent"
  82. class="font-weight-bold mt-4 mb-2 text-size-14"
  83. >
  84. {{ $t("Exhibition Categories") }}
  85. </v-card>
  86. <v-card class="d-flex flex-row flex-wrap" flat color="transparent">
  87. <p
  88. class="grey--text text--lighten-1 me-5"
  89. style="line-height: 18px"
  90. v-for="(item, idx) in categories"
  91. :key="idx"
  92. >
  93. <nuxt-link
  94. :to="localePath(item.url)"
  95. class="remove-underline text-size-14"
  96. >
  97. {{ item.name }}
  98. </nuxt-link>
  99. </p>
  100. </v-card>
  101. </v-card>
  102. </v-card>
  103. </v-card>
  104. </div>
  105. <div class="tablet d-none d-sm-flex d-md-none">
  106. <v-container v-if="countries.length>0 || cards.length>0 || categories.length>0" class="main-container mb-15 mt-15 mx-12">
  107. <v-row v-if="countries.length>0">
  108. <v-container>
  109. <v-row class="font-weight-bold mt-4 text-size-14">
  110. {{ $t("userProfile.companyCountry") }}
  111. </v-row>
  112. <v-row>
  113. <p
  114. class="grey--text text--lighten-1 me-5"
  115. v-for="(subcollection, idx) in countries"
  116. :key="idx"
  117. style="font-size: 14px"
  118. >
  119. <nuxt-link
  120. :to="localePath(subcollection.url)"
  121. class="remove-underline text-size-14"
  122. >
  123. {{ subcollection.name }}
  124. </nuxt-link>
  125. </p>
  126. </v-row>
  127. </v-container>
  128. </v-row>
  129. <v-row v-if="cards.length>0">
  130. <v-container>
  131. <v-row class="font-weight-bold mt-4 text-size-14">
  132. {{ $t("Hot Exhibitions") }}
  133. </v-row>
  134. <v-row>
  135. <p
  136. class="grey--text text--lighten-1 me-5"
  137. v-for="(subcollection, idx) in cards"
  138. :key="idx"
  139. style="font-size: 14px"
  140. >
  141. <nuxt-link
  142. :to="localePath(subcollection.url)"
  143. class="remove-underline text-size-14"
  144. >
  145. {{ subcollection.name }}
  146. </nuxt-link>
  147. </p>
  148. </v-row>
  149. </v-container>
  150. </v-row>
  151. <v-row v-if="categories.length>0">
  152. <v-container>
  153. <v-row class="font-weight-bold mt-4 text-size-14">
  154. {{ $t("Exhibition Categories") }}
  155. </v-row>
  156. <v-row>
  157. <p
  158. class="grey--text text--lighten-1 me-5"
  159. v-for="(subcollection, idx) in categories"
  160. :key="idx"
  161. style="font-size: 14px"
  162. >
  163. <nuxt-link
  164. :to="localePath(subcollection.url)"
  165. class="remove-underline text-size-14"
  166. >
  167. {{ subcollection.name }}
  168. </nuxt-link>
  169. </p>
  170. </v-row>
  171. </v-container>
  172. </v-row>
  173. </v-container>
  174. </div>
  175. <div class="phone hidden-sm-and-up">
  176. <v-spacer v-if="countries.length>0 || cards.length>0 || categories.length>0" class="mb-15 mt-10 ms-6 pe-0">
  177. <v-spacer v-if="countries.length>0">
  178. <div class="font-weight-bold mt-4 text-size-14 mb-2">
  179. {{ $t("userProfile.companyCountry") }}
  180. </div>
  181. <div>
  182. <span
  183. class="grey--text text--lighten-1 me-5 d-inline-block text-size-12"
  184. v-for="(subcollection, idx) in countries"
  185. :key="idx"
  186. >
  187. <nuxt-link
  188. :to="localePath(subcollection.url)"
  189. class="remove-underline text-size-12"
  190. >
  191. {{ subcollection.name }}
  192. </nuxt-link>
  193. </span>
  194. </div>
  195. </v-spacer>
  196. <v-spacer v-if="cards.length>0">
  197. <div class="font-weight-bold mt-4 text-size-14 mb-2">
  198. {{ $t("Hot Exhibitions") }}
  199. </div>
  200. <div>
  201. <span
  202. class="grey--text text--lighten-1 me-5 d-inline-block text-size-12"
  203. v-for="(subcollection, idx) in cards"
  204. :key="idx"
  205. >
  206. <nuxt-link
  207. :to="localePath(subcollection.url)"
  208. class="remove-underline text-size-12"
  209. >
  210. {{ subcollection.name }}
  211. </nuxt-link>
  212. </span>
  213. </div>
  214. </v-spacer>
  215. <v-spacer v-if="categories.length>0">
  216. <div class="font-weight-bold mt-4 text-size-14 mb-2">
  217. {{ $t("Exhibition Categories") }}
  218. </div>
  219. <div>
  220. <span
  221. class="grey--text text--lighten-1 me-5 d-inline-block text-size-12"
  222. v-for="(subcollection, idx) in categories"
  223. :key="idx"
  224. >
  225. <nuxt-link
  226. :to="localePath(subcollection.url)"
  227. class="remove-underline text-size-12"
  228. >
  229. {{ subcollection.name }}
  230. </nuxt-link>
  231. </span>
  232. </div>
  233. </v-spacer>
  234. </v-spacer>
  235. </div>
  236. </div>
  237. </template>
  238. <script>
  239. export default {
  240. props: {
  241. collections: {
  242. type: Array,
  243. },
  244. countries: {
  245. type: Array,
  246. },
  247. cards: {
  248. type: Array,
  249. },
  250. categories: {
  251. type: Array,
  252. },
  253. },
  254. };
  255. </script>
  256. <style lang="scss" scoped></style>