converter.vue 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <!--
  2. * @Description:
  3. * @Author: 欧阳承珺
  4. * @LastEditors: 欧阳承珺
  5. * @Date: 2022-10-19 17:25:48
  6. * @LastEditTime: 2022-11-08 09:28:05
  7. -->
  8. <script>
  9. import { mapState } from 'vuex'
  10. export default {
  11. middleware: 'user',
  12. computed: mapState([
  13. 'userInfo'
  14. ])
  15. }
  16. </script>
  17. <template>
  18. <div class="page-converter">
  19. <div class="date-tips flex content-center justify-center py-6px ">
  20. <img src="http://cn-file.17pdf.com/website/common/ic_notice.svg" class="align-middle">
  21. <div class="text-container">
  22. <span class="text">
  23. 转档后的文件支持在云端保留24小时,<span v-if="userInfo?.memberInfo.subscriberType === 1">会员尊享5G容量,</span>请在24小时内下载文件至本地永久保存
  24. </span>
  25. <span v-if="userInfo?.memberInfo.subscriberType === 1" class="vip tip">
  26. <img src="http://cn-file.17pdf.com/website/common/ic_info.svg" alt="">
  27. <div class="tip-text">
  28. 若已有文件大小超出5G,将按转档时间计算(从最近一次转档往过去推算),即保留最近的5G容量文件,超出部分文件将不再保留
  29. </div>
  30. </span>
  31. </div>
  32. </div>
  33. <h1 class="text-48px text-opacity-100 font-500 text-[#3333] mt-48px mb-10px text-center">文件转换器</h1>
  34. <h2 class="text-20px text-center text-[#666] mt-20px font-normal">PDF文件格式转换器,一键转档,支持批量转换,精准快速。</h2>
  35. <div class="text-center mb-80px">
  36. <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>
  37. </div>
  38. </div>
  39. </template>
  40. <style lang="scss">
  41. .page-converter {
  42. .date-tips {
  43. 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%);
  44. .text-container {
  45. display: flex;
  46. align-items: center;
  47. margin-left: 16px;
  48. img {
  49. margin-left: 8px;
  50. }
  51. }
  52. span {
  53. font-size: 14px;
  54. line-height: 24px;
  55. vertical-align: middle;
  56. }
  57. .text {
  58. display: inline-flex;
  59. align-items: center;
  60. }
  61. .tip {
  62. position: relative;
  63. font-size: 0;
  64. .tip-text {
  65. display: none;
  66. position: absolute;
  67. left: -3px;
  68. width: 258px;
  69. padding: 15px 14px 10px 10px;
  70. background: url('http://cn-file.17pdf.com/website/members/ic_tip.svg') left top no-repeat;
  71. background-size: auto 100%;
  72. font-size: 12px;
  73. line-height: 18px;
  74. color: #fff;
  75. border-radius: 4px;
  76. }
  77. &:hover .tip-text {
  78. display: block;
  79. }
  80. }
  81. }
  82. }
  83. </style>