branding.vue 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. <script lang='ts' setup>
  2. const activeName = ref()
  3. </script>
  4. <template>
  5. <div class="w-1200-auto">
  6. <div class="w-1200-auto text-center">
  7. <h2 class="text-36px fw-800 text-#333 !mb-60px custom-title-font">
  8. Customization & <span class="custom-title-bg">Branding</span>
  9. </h2>
  10. <div class="custom-collapse w-full pos-relative">
  11. <el-collapse v-model="activeName" accordion>
  12. <el-collapse-item name="2">
  13. <template #title>
  14. <div class="flex">
  15. <div
  16. class="w-36px h-36px text-16px lh-36px text-center b-rd-50% bg-#9B6CFF text-#fff mr-20px"
  17. >
  18. 1
  19. </div>
  20. <h3
  21. class="flex-1 text-24px fw-bold text-#333 text-left lh-34px w-800px custom-title-font"
  22. >
  23. What is the suggested strategy to manage creative fatigue?
  24. </h3>
  25. </div>
  26. </template>
  27. <template #icon="{ isActive }">
  28. <img
  29. v-if="!isActive"
  30. src="@/assets/images/plus.png"
  31. class="!w-20px !h-20px mt-12px"
  32. >
  33. <img
  34. v-else
  35. src="@/assets/images/reduce.png"
  36. class="!w-20px !h-20px mt-12px"
  37. >
  38. </template>
  39. <h3
  40. class="text-#999 fw-500 lh-24px mt-10px px-60px custom-title-font"
  41. >
  42. EJET Spark description, spark the trend, ignate sales. EJET Spark catalog description, EJET Spark description, spark the trend, ignate sales. EJET Spark catalog description, EJET Spark description, spark the trend, ignate sales. EJET Spark catalog description, EJET Spark description, spark the trend, ignate sales. EJET Spark catalog description,
  43. </h3>
  44. </el-collapse-item>
  45. <el-collapse-item name="3">
  46. <template #title>
  47. <div class="flex">
  48. <div
  49. class="w-36px h-36px text-16px lh-36px text-center b-rd-50% bg-#9B6CFF text-#fff mr-20px"
  50. >
  51. 2
  52. </div>
  53. <div
  54. class="flex-1 text-24px fw-bold text-#333 text-left lh-34px w-800px custom-title-font"
  55. >
  56. What is the suggested strategy to manage creative fatigue?
  57. </div>
  58. </div>
  59. </template>
  60. <template #icon="{ isActive }">
  61. <img
  62. v-if="!isActive"
  63. src="@/assets/images/plus.png"
  64. class="!w-20px !h-20px mt-12px"
  65. >
  66. <img
  67. v-else
  68. src="@/assets/images/reduce.png"
  69. class="!w-20px !h-20px mt-12px"
  70. >
  71. </template>
  72. <h3
  73. class="text-#999 fw-500 lh-24px mt-10px px-60px custom-title-font"
  74. >
  75. EJET Spark description, spark the trend, ignate sales. EJET Spark catalog description, EJET Spark description, spark the trend, ignate sales. EJET Spark catalog description, EJET Spark description, spark the trend, ignate sales. EJET Spark catalog description, EJET Spark description, spark the trend, ignate sales. EJET Spark catalog description,
  76. </h3>
  77. </el-collapse-item>
  78. <el-collapse-item name="4">
  79. <template #title>
  80. <div class="flex">
  81. <div
  82. class="w-36px h-36px text-16px lh-36px text-center b-rd-50% bg-#9B6CFF text-#fff mr-20px"
  83. >
  84. 3
  85. </div>
  86. <div
  87. class="flex-1 text-24px fw-bold text-#333 text-left lh-34px w-800px custom-title-font"
  88. >
  89. What is the suggested strategy to manage creative fatigue?
  90. </div>
  91. </div>
  92. </template>
  93. <template #icon="{ isActive }">
  94. <img
  95. v-if="!isActive"
  96. src="@/assets/images/plus.png"
  97. class="!w-20px !h-20px mt-12px"
  98. >
  99. <img
  100. v-else
  101. src="@/assets/images/reduce.png"
  102. class="!w-20px !h-20px mt-12px"
  103. >
  104. </template>
  105. <h3
  106. class="text-#999 fw-500 lh-24px mt-10px px-60px custom-title-font"
  107. >
  108. EJET Spark description, spark the trend, ignate sales. EJET Spark catalog description, EJET Spark description, spark the trend, ignate sales. EJET Spark catalog description, EJET Spark description, spark the trend, ignate sales. EJET Spark catalog description, EJET Spark description, spark the trend, ignate sales. EJET Spark catalog description,
  109. </h3>
  110. </el-collapse-item>
  111. </el-collapse>
  112. </div>
  113. </div>
  114. </div>
  115. </template>
  116. <style lang="less" scoped>
  117. .custom-collapse {
  118. ::v-deep(.el-collapse) {
  119. border-top: unset !important;
  120. border-bottom: unset !important;
  121. .el-collapse-item {
  122. margin-bottom: 30px;
  123. border-radius: 12px;
  124. background-color: #fff;
  125. box-sizing: border-box;
  126. border: 1px solid #e0e4ea;
  127. overflow: hidden;
  128. padding: 30px;
  129. .el-collapse-item__header {
  130. border-bottom: unset !important;
  131. display: flex;
  132. justify-content: space-between;
  133. align-items: start;
  134. height: unset !important;
  135. line-height: unset !important;
  136. }
  137. &.is-active {
  138. .el-collapse-item__wrap {
  139. border-bottom: unset !important;
  140. }
  141. }
  142. .el-collapse-item__content {
  143. padding: 0px !important;
  144. text-align: left;
  145. }
  146. }
  147. }
  148. }
  149. </style>