banner.vue 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  1. <template>
  2. <div class="banner-container">
  3. <div class="banner container">
  4. <div class="text">
  5. <h1><img src="/images/PDFReaderPro/logo.png" alt="PDFReaderPro">PDF Reader Pro</h1>
  6. <div class="sub-title">轻量级全能PDF编辑器</div>
  7. <div class="description">一款备受全球9千万用户喜爱的强大PDF编辑器。它不仅支持阅读、注释、编辑、转换、填写表单和签名、OCR,还支持合并、拆分PDF页面等功能,满足你所有PDF文件需求。如果你只需要一款PDF软件,PDF Reader Pro绝对是你的最佳选择。</div>
  8. <div class="rate">
  9. <Rate />
  10. <span>24,807 Ratings</span>
  11. </div>
  12. <div class="get-btn">
  13. <a target="_blank" :href="platform.isWindows ? $config.PDFReaderPro + '/zh-cn/windows/download' : $config.PDFReaderPro + '/zh-cn/downloading'" class="free">
  14. <WinBlack v-if="platform.isWindows" />
  15. <MacBlack v-else />
  16. 免费下载
  17. </a>
  18. <a target="_blank" :href="platform.isWindows ? $config.PDFReaderPro + '/zh-cn/windows/store' : $config.PDFReaderPro + '/zh-cn/store'" class="buy">立即购买</a>
  19. </div>
  20. <div class="available">
  21. <span>适用于</span>
  22. <a target="_blank" :href="this.$config.PDFReaderPro + '/zh-cn/windows/download'">
  23. <WindowsLogo />
  24. </a>
  25. <a target="_blank" :href="this.$config.PDFReaderPro + '/zh-cn/downloading'">
  26. <MacLogo />
  27. </a>
  28. <a target="_blank" href="https://apps.apple.com/cn/app/id919472509">
  29. <IOSLogo />
  30. </a>
  31. <a target="_blank" :href="this.$config.PDFReaderPro + '/pdfreaderpro-android'">
  32. <AndroidLogo />
  33. </a>
  34. </div>
  35. </div>
  36. <div class="img">
  37. <img loading="lazy" src="/images/PDFReaderPro/banner_pro.png" alt="PDF Reader Pro">
  38. </div>
  39. </div>
  40. </div>
  41. </template>
  42. <script>
  43. import Rate from '~/assets/images/PDFReaderPro/rate.svg?inline'
  44. import MacBlack from '~/assets/images/PDFReaderPro/macBlack.svg?inline'
  45. import WinBlack from '~/assets/images/PDFReaderPro/winBlack.svg?inline'
  46. import WindowsLogo from '~/assets/images/PDFReaderPro/windowsLogo.svg?inline'
  47. import MacLogo from '~/assets/images/PDFReaderPro/macLogo.svg?inline'
  48. import IOSLogo from '~/assets/images/PDFReaderPro/iosLogo.svg?inline'
  49. import AndroidLogo from '~/assets/images/PDFReaderPro/androidLogo.svg?inline'
  50. export default {
  51. components: {
  52. Rate,
  53. MacBlack,
  54. WindowsLogo,
  55. MacLogo,
  56. IOSLogo,
  57. AndroidLogo,
  58. WinBlack
  59. },
  60. props: ['platform']
  61. }
  62. </script>
  63. <style scoped lang="scss">
  64. .banner {
  65. background: url('/images/PDFReaderPro/banner.png') 70% bottom/cover #0B2770 no-repeat;
  66. border-radius: 20px;
  67. display: flex;
  68. justify-content: space-between;
  69. align-items: center;
  70. .text {
  71. width: 43.34%;
  72. padding: 116px 0;
  73. padding-left: 3.34%;
  74. h1 {
  75. font-size: 36px;
  76. font-weight: 700;
  77. line-height: 48px;
  78. color: #FFFFFF;
  79. display: flex;
  80. align-items: center;
  81. img {
  82. width: 48px;
  83. margin-right: 16px;
  84. }
  85. }
  86. .sub-title {
  87. font-size: 46px;
  88. font-weight: 700;
  89. line-height: 72px;
  90. color: #FFFFFF;
  91. }
  92. .description {
  93. margin-top: 12px;
  94. font-size: 18px;
  95. font-weight: 400;
  96. line-height: 32px;
  97. color: #FFFFFF;
  98. opacity: .8;
  99. }
  100. .rate {
  101. margin-top: 12px;
  102. font-size: 14px;
  103. font-weight: 700;
  104. line-height: 24px;
  105. color: #FF8266;
  106. display: flex;
  107. svg {
  108. margin-right: 8px;
  109. }
  110. }
  111. .get-btn {
  112. margin-top: 40px;
  113. display: flex;
  114. a {
  115. width: 180px;
  116. display: flex;
  117. align-items: center;
  118. justify-content: center;
  119. border-radius: 4px;
  120. font-size: 18px;
  121. font-weight: 700;
  122. transition: all ease-out .2s;
  123. &:hover {
  124. transform: translateY(-6px);
  125. }
  126. }
  127. a + a {
  128. margin-left: 16px;
  129. }
  130. .free {
  131. line-height: 48px;
  132. background: #fff;
  133. color: #232748;
  134. &:hover {
  135. background: linear-gradient(0deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)),linear-gradient(0deg, #FFFFFF, #FFFFFF);
  136. }
  137. svg {
  138. margin-right: 4px;
  139. }
  140. }
  141. .buy {
  142. line-height: 46px;
  143. border: 1px solid #FFFFFFB2;
  144. color: #FFFFFF;
  145. &:hover {
  146. background: linear-gradient(0deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.15));
  147. }
  148. }
  149. }
  150. .available {
  151. margin-top: 12px;
  152. display: flex;
  153. font-family: Helvetica;
  154. font-size: 14px;
  155. font-weight: 400;
  156. line-height: 20px;
  157. color: #b8bdd6;
  158. svg {
  159. margin-left: 16px;
  160. color: #b8bdd6;
  161. &:hover {
  162. color: #fff;
  163. }
  164. }
  165. svg + svg {
  166. margin-left: 8px;
  167. }
  168. }
  169. }
  170. .img {
  171. width: 60%;
  172. margin-right: -5.34%;
  173. padding: 70px 0;
  174. img {
  175. width: 100%;
  176. }
  177. }
  178. }
  179. @media screen and (max-width: 959px) {
  180. .banner {
  181. flex-direction: column;
  182. .text {
  183. width: 100%;
  184. padding: 40px 0;
  185. padding-left: 0%;
  186. h1 {
  187. text-align: center;
  188. justify-content: center;
  189. }
  190. .sub-title {
  191. font-size: 40px;
  192. line-height: 48px;
  193. text-align: center;
  194. }
  195. .description {
  196. font-size: 16px;
  197. line-height: 24px;
  198. text-align: center;
  199. }
  200. .rate {
  201. align-items: center;
  202. justify-content: center;
  203. svg {
  204. margin-right: 8px;
  205. }
  206. }
  207. .get-btn {
  208. margin-top: 24px;
  209. flex-direction: column;
  210. align-items: center;
  211. justify-content: center;
  212. a {
  213. &:hover {
  214. transform: translateY(0px);
  215. }
  216. }
  217. a + a {
  218. margin-top: 16px;
  219. margin-left: 0px;
  220. }
  221. }
  222. .available {
  223. justify-content: center;
  224. color: #b8bdd6;
  225. }
  226. }
  227. .img {
  228. width: 100%;
  229. padding: 0;
  230. padding-bottom: 40px;
  231. img {
  232. width: 100%;
  233. }
  234. }
  235. }
  236. }
  237. </style>