converter.vue 3.2 KB

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