product.vue 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. <template>
  2. <div class="context">
  3. <div class="container">
  4. <h2>
  5. <img src="/images/PDFReaderPro/logo.png" alt="PDFReaderPro">
  6. PDF Reader Pro
  7. </h2>
  8. <div class="title">满足你所有的PDF文件处理需求!</div>
  9. <div class="get-btn">
  10. <a target="_blank" :href="platform.isWindows ? $config.PDFReaderPro + '/zh-cn/windows/download' : $config.PDFReaderPro + '/zh-cn/downloading'" class="free">
  11. <WinBlack v-if="platform.isWindows" />
  12. <MacBlack v-else />
  13. 免费下载
  14. </a>
  15. <a target="_blank" :href="platform.isWindows ? $config.PDFReaderPro + '/zh-cn/windows/store' : $config.PDFReaderPro + '/zh-cn/store'" class="buy">立即购买</a>
  16. </div>
  17. </div>
  18. </div>
  19. </template>
  20. <script>
  21. import MacBlack from '~/assets/images/PDFReaderPro/macBlack.svg?inline'
  22. import WinBlack from '~/assets/images/PDFReaderPro/winBlack.svg?inline'
  23. export default {
  24. components: {
  25. MacBlack,
  26. WinBlack
  27. },
  28. props: ['platform']
  29. }
  30. </script>
  31. <style scoped lang="scss">
  32. .context {
  33. background: url('/images/PDFReaderPro/product_banner.png') top left/cover no-repeat;
  34. padding: 60px 0;
  35. h2 {
  36. display: flex;
  37. align-items: center;
  38. justify-content: center;
  39. font-family: Helvetica;
  40. font-size: 44px;
  41. font-weight: 700;
  42. line-height: 64px;
  43. color: #FFFFFF;
  44. img {
  45. width: 48px;
  46. margin-right: 16px;
  47. }
  48. }
  49. .title {
  50. margin-top: 12px;
  51. font-family: Source Han Sans CN;
  52. font-size: 32px;
  53. font-weight: 700;
  54. line-height: 48px;
  55. text-align: center;
  56. color: #FFFFFF;
  57. }
  58. .get-btn {
  59. margin-top: 30px;
  60. display: flex;
  61. align-items: center;
  62. justify-content: center;
  63. a {
  64. width: 180px;
  65. display: flex;
  66. align-items: center;
  67. justify-content: center;
  68. border-radius: 4px;
  69. font-family: Source Han Sans CN;
  70. font-size: 18px;
  71. font-weight: 700;
  72. transition: all ease .5;
  73. &:hover {
  74. transform: translateY(-6px);
  75. }
  76. }
  77. a + a {
  78. margin-left: 16px;
  79. }
  80. .free {
  81. line-height: 48px;
  82. background: #fff;
  83. color: #193469;
  84. &:hover {
  85. background: linear-gradient(0deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)),linear-gradient(0deg, #FFFFFF, #FFFFFF);
  86. }
  87. svg {
  88. margin-right: 4px;
  89. }
  90. }
  91. .buy {
  92. line-height: 46px;
  93. border: 1px solid #FFFFFFB2;
  94. color: #FFFFFF;
  95. &:hover {
  96. background: linear-gradient(0deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.15));
  97. }
  98. }
  99. }
  100. }
  101. </style>