indexOffer.vue 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  1. <template>
  2. <div class="offerCard">
  3. <!-- <div class="yellowCard">
  4. <h1>Our Offer</h1>
  5. </div> -->
  6. <div class="greenCard">
  7. <div class="cardList">
  8. <div class="cardTitle">
  9. <h1>0.9%</h1>
  10. </div>
  11. <div class="cardText">
  12. <div>
  13. <p>VISA/MASTERCARD & EFTPOS</p>
  14. </div>
  15. <div>
  16. <p>Transaction Fee</p>
  17. </div>
  18. <div><span>(inc. GST)</span></div>
  19. </div>
  20. <div class="cardImg">
  21. <div><img src="../assets/payments/visa.png" alt=""></div>
  22. <div class="master-card"><img src="../assets/payments/mastercard.png" alt=""></div>
  23. <div><img src="../assets/payments/eftops.png" alt=""></div>
  24. </div>
  25. </div>
  26. <div class="cardList1">
  27. <div class="cardTitle1">
  28. <h1>2.2%</h1>
  29. </div>
  30. <div class="cardText1">
  31. <div>
  32. <p>UPI and alternate Payments</p>
  33. </div>
  34. <div><span>(inc. GST)</span></div>
  35. </div>
  36. <div class="cardImg1">
  37. <div class="unionPay"><img src="../assets/payments/unionPay.png" alt=""></div>
  38. <div class="Alipay"><img src="../assets/payments/Alipay.png" alt=""></div>
  39. <div class="Alipay"><img src="../assets/payments/weChat.png" alt=""></div>
  40. </div>
  41. </div>
  42. <div class="cardList2">
  43. <div class="cardTitle2">
  44. <h1>$29.95</h1>
  45. </div>
  46. <div class="cardText2">
  47. <div>
  48. <p>Terminal rental (Per month/terminal)</p>
  49. </div>
  50. <div><span>(inc. GST)</span></div>
  51. </div>
  52. </div>
  53. </div>
  54. </div>
  55. </template>
  56. <script>
  57. </script>
  58. <style lang="less" scoped>
  59. .offerCard {
  60. width: 530px;
  61. height: auto;
  62. position: relative;
  63. .yellowCard {
  64. position: absolute;
  65. width: 160px;
  66. height: 66px;
  67. background: #fcf558;
  68. border-radius: 100%;
  69. right: -20px;
  70. top: -24px;
  71. z-index: 1;
  72. h1 {
  73. font-size: 24px;
  74. text-align: center;
  75. color: #005198;
  76. margin: 0;
  77. line-height: 66px;
  78. }
  79. }
  80. .greenCard {
  81. position: absolute;
  82. top: 30px;
  83. .cardList {
  84. width: 530px;
  85. height: 95px;
  86. background: #a7de50;
  87. box-shadow: 0 6px 10px rgba(0, 0, 0, .2), 0 0 6px rgba(0, 0, 0, .04);
  88. border-radius: 12px;
  89. display: flex;
  90. align-items: center;
  91. gap: 10px;
  92. .cardTitle {
  93. margin-left: 14px;
  94. h1 {
  95. margin: 0;
  96. color: #fff;
  97. }
  98. }
  99. .cardText {
  100. margin-left: 38px;
  101. p {
  102. color: #fff;
  103. margin: 0;
  104. }
  105. span {
  106. color: #fff;
  107. font-size: 12px;
  108. }
  109. }
  110. .cardImg {
  111. display: flex;
  112. align-items: center;
  113. margin-top: 40px;
  114. gap: 8px;
  115. .master-card {
  116. img {
  117. width: 30px;
  118. height: auto;
  119. }
  120. }
  121. img {
  122. width: 38px;
  123. height: auto;
  124. }
  125. }
  126. }
  127. .cardList1 {
  128. width: 530px;
  129. height: 95px;
  130. background: #a7de50;
  131. box-shadow: 0 6px 10px rgba(0, 0, 0, .2), 0 0 6px rgba(0, 0, 0, .04);
  132. border-radius: 12px;
  133. display: flex;
  134. align-items: center;
  135. margin-top: 15px;
  136. gap: 10px;
  137. .cardTitle1 {
  138. margin-left: 15px;
  139. h1 {
  140. margin: 0;
  141. color: #fff;
  142. }
  143. }
  144. .cardText1 {
  145. margin-left: 40px;
  146. p {
  147. color: #fff;
  148. margin: 0;
  149. }
  150. span {
  151. color: #fff;
  152. font-size: 12px;
  153. }
  154. }
  155. .cardImg1 {
  156. display: flex;
  157. align-items: center;
  158. justify-content: center;
  159. margin-top: 40px;
  160. gap: 8px;
  161. .unionPay {
  162. img {
  163. width: 26px;
  164. height: auto;
  165. }
  166. }
  167. .Alipay {
  168. img {
  169. width: 48px;
  170. height: auto;
  171. }
  172. }
  173. }
  174. }
  175. .cardList2 {
  176. width: 530px;
  177. height: 95px;
  178. background: #a7de50;
  179. box-shadow: 0 6px 10px rgba(0, 0, 0, .2), 0 0 6px rgba(0, 0, 0, .04);
  180. border-radius: 12px;
  181. display: flex;
  182. align-items: center;
  183. margin-top: 15px;
  184. gap: 10px;
  185. .cardTitle2 {
  186. margin-left: 12px;
  187. h1 {
  188. margin: 0;
  189. color: #fff;
  190. }
  191. }
  192. .cardText2 {
  193. margin-left: 10px;
  194. p {
  195. color: #fff;
  196. margin: 0;
  197. }
  198. span {
  199. color: #fff;
  200. font-size: 12px;
  201. }
  202. }
  203. }
  204. }
  205. }
  206. @media (max-width: 767px) {
  207. .cardList{
  208. width: 344px !important;
  209. height: 211px !important;
  210. display: block !important;
  211. h1{
  212. font-size: 48px;
  213. line-height: 72px;
  214. }
  215. }
  216. .cardList1{
  217. width: 344px !important;
  218. height: 211px !important;
  219. display: block !important;
  220. h1{
  221. font-size: 48px;
  222. line-height: 72px;
  223. }
  224. }
  225. .cardList2{
  226. width: 344px !important;
  227. height: 211px !important;
  228. display: block !important;
  229. h1{
  230. font-size: 48px;
  231. line-height: 72px;
  232. }
  233. }
  234. }
  235. </style>