converter.vue 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <!--
  2. * @Description:
  3. * @Author: 欧阳承珺
  4. * @LastEditors: 欧阳承珺
  5. * @Date: 2022-10-19 17:25:48
  6. * @LastEditTime: 2022-11-14 11:37:27
  7. -->
  8. <script>
  9. import { mapState } from 'vuex'
  10. export default {
  11. middleware: 'user',
  12. head() {
  13. return {
  14. title: 'PDF转换器免费在线转档',
  15. meta: [
  16. {
  17. hid: 'description',
  18. content: '17PDF Reader免费提供在线PDF格式转换文件转档服务,支持PDF转word,PDF转doc,PDF转PPT,PDF转png,PDF转html,PDF转epub,PDF转xls,psd转ai等。轻松拖曳,一键转档,批量转换,支持多种常用格式相互转档。先进的转换引擎,极速转换,精准度高达99.99%。',
  19. },
  20. {
  21. name: 'keywords',
  22. content: '格式转换,文件转档,pdf convert,converter, word to pdf'
  23. }
  24. ]
  25. }
  26. },
  27. computed: mapState([
  28. 'userInfo'
  29. ]),
  30. }
  31. </script>
  32. <template>
  33. <div class="page-converter">
  34. <div class="date-tips flex content-center justify-center py-6px ">
  35. <img src="http://cn-file.17pdf.com/website/common/ic_notice.svg" class="align-middle">
  36. <div class="text-container">
  37. <span class="text">
  38. 转档后的文件支持在云端保留24小时,<span v-if="userInfo?.memberInfo?.subscriberType === 1">会员尊享5G容量,</span>请在24小时内下载文件至本地永久保存
  39. </span>
  40. <span v-if="userInfo?.memberInfo?.subscriberType === 1" class="vip tip">
  41. <img src="http://cn-file.17pdf.com/website/common/ic_info.svg" alt="">
  42. <div class="tip-text">
  43. 若已有文件大小超出5G,将按转档时间计算(从最近一次转档往过去推算),即保留最近的5G容量文件,超出部分文件将不再保留
  44. </div>
  45. </span>
  46. </div>
  47. </div>
  48. <h1 class="text-48px text-opacity-100 font-500 text-[#3333] mt-48px mb-10px text-center">文件转换器</h1>
  49. <h2 class="text-20px text-center text-[#666] mt-20px font-normal">PDF文件格式转换器,一键转档,支持批量转换,精准快速。</h2>
  50. <div class="text-center mb-80px">
  51. <a class="mt-20px text-[#4D4D4D] text-16px font-600 inline-flex items-center leading-22px hover:text-$btn-color-primary hover:underline" href="https://www.compdf.com/pdf-conversion-sdk?utm_source=anroidapp&utm_medium=17pdfweb&utm_campaign=pdfsdk" target="_blank">由 ComPDFKit Conversion SDK 提供技术支持 <svg class="ml-8px" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6 12.9567L10.714 8.24261L6 3.52856" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg></a>
  52. </div>
  53. </div>
  54. </template>
  55. <style lang="scss">
  56. .page-converter {
  57. .date-tips {
  58. background: linear-gradient(0deg, #FFF2F6, #FFF2F6),linear-gradient(90deg, snow 10.37%, rgba(255,243,243,0) 91.75%),linear-gradient(90deg, #FFF2F6 2.26%, rgba(255,242,246,0.21) 101.41%);
  59. .text-container {
  60. display: flex;
  61. align-items: center;
  62. margin-left: 16px;
  63. img {
  64. margin-left: 8px;
  65. }
  66. }
  67. span {
  68. font-size: 14px;
  69. line-height: 24px;
  70. vertical-align: middle;
  71. }
  72. .text {
  73. display: inline-flex;
  74. align-items: center;
  75. }
  76. .tip {
  77. position: relative;
  78. font-size: 0;
  79. .tip-text {
  80. display: none;
  81. position: absolute;
  82. left: -3px;
  83. width: 258px;
  84. padding: 15px 14px 10px 10px;
  85. background: url('http://cn-file.17pdf.com/website/members/ic_tip.svg') left top no-repeat;
  86. background-size: auto 100%;
  87. font-size: 12px;
  88. line-height: 18px;
  89. color: #fff;
  90. border-radius: 4px;
  91. }
  92. &:hover .tip-text {
  93. display: block;
  94. }
  95. }
  96. }
  97. }
  98. </style>