Function.vue 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. <template>
  2. <div class="function-wrapper">
  3. <div class="function-title">功能介绍</div>
  4. <ul class="function-list">
  5. <li
  6. class="function-item"
  7. v-for="(item, index) in functionList"
  8. :key="index"
  9. >
  10. <a
  11. class="function-link"
  12. :href="item.link"
  13. title="查看说明文档"
  14. target="_blank"
  15. >
  16. <div class="img-wrapper">
  17. <img class="img" :src="item.icon" />
  18. </div>
  19. <div class="content">
  20. <h3 class="title">{{ item.title }}</h3>
  21. <p class="desc">{{ item.desc }}</p>
  22. </div>
  23. </a>
  24. </li>
  25. </ul>
  26. </div>
  27. </template>
  28. <script>
  29. export default {
  30. name: 'Function',
  31. data() {
  32. return {
  33. functionList: [
  34. {
  35. icon: require('_a/images/home/function/store.png'),
  36. title: '多种存储方式',
  37. desc: '使用奇文社区自研框架 ufop,支持本地磁盘、阿里云 OSS 对象存储、FastDFS 存储、MinIO 存储、七牛云 KODO 对象存储',
  38. link: 'https://pan.qiwenshare.com/docs/config/#%E5%AD%98%E5%82%A8%E6%96%B9%E5%BC%8F%E9%85%8D%E7%BD%AE'
  39. },
  40. {
  41. icon: require('_a/images/home/function/shard.png'),
  42. title: '分片、断点续传及极速秒传',
  43. desc: '集成 vue-simple-uploader,实现文件分片上传,提高上传速度;准确识别已上传文件,达到秒传效果,以分片为维度,可实现断点续传',
  44. link: 'https://pan.qiwenshare.com/docs/guide/function.html#%E4%B8%89%E7%A7%8D%E6%96%87%E4%BB%B6%E4%B8%8A%E4%BC%A0%E6%96%B9%E5%BC%8F'
  45. },
  46. {
  47. icon: require('_a/images/home/function/edit.png'),
  48. title: '在线编辑文档',
  49. desc: '提供 Word, Excel, PowerPoint 文档的在线创建、在线编辑、协同编辑功能',
  50. link: 'https://pan.qiwenshare.com/docs/config/#%E5%9C%A8%E7%BA%BF%E7%BC%96%E8%BE%91%E9%A2%84%E8%A7%88%E9%85%8D%E7%BD%AE'
  51. },
  52. {
  53. icon: require('_a/images/home/function/delete.png'),
  54. title: '回收站功能',
  55. desc: '回收站可以轻松帮助找回误删文件,对回收站进行清理后文件才将彻底删除',
  56. link: 'https://pan.qiwenshare.com/docs/guide/function.html#%E6%96%87%E4%BB%B6%E5%9B%9E%E6%94%B6%E7%AB%99'
  57. },
  58. {
  59. icon: require('_a/images/home/function/type.png'),
  60. title: '多种文件分类 & 查看模式',
  61. desc: '支持以图片、文档、视频、音乐、其他五种分类查看文件;提供了列表、网格、时间线模式,网格模式下支持手动调整图标大小',
  62. link: 'https://pan.qiwenshare.com/docs/guide/function.html#%E4%B8%89%E7%A7%8D%E6%9F%A5%E7%9C%8B%E6%A8%A1%E5%BC%8F'
  63. },
  64. {
  65. icon: require('_a/images/home/function/search.png'),
  66. title: '全局搜索',
  67. desc: '支持搜索文件名,快速定位文件并可以打开文件所处位置',
  68. link: 'https://pan.qiwenshare.com/docs/guide/function.html#%E6%96%87%E4%BB%B6%E6%90%9C%E7%B4%A2'
  69. },
  70. {
  71. icon: require('_a/images/home/function/share.png'),
  72. title: '分享',
  73. desc: '支持分享文件,设置过期时间,自动生成提取码;可查看个人分享过的文件列表',
  74. link: 'https://pan.qiwenshare.com/docs/guide/function.html#%E6%96%87%E4%BB%B6%E5%88%86%E4%BA%AB'
  75. },
  76. {
  77. icon: require('_a/images/home/function/operation.png'),
  78. title: '基本操作',
  79. desc: '支持拖拽上传文件,支持文件移动、重命名、解压缩、下载、删除、还原',
  80. link: 'https://pan.qiwenshare.com/docs/guide/#%E5%9F%BA%E7%A1%80%E6%93%8D%E4%BD%9C'
  81. },
  82. {
  83. icon: require('_a/images/home/function/preview.png'),
  84. title: '在线预览',
  85. desc: '支持图片、视频、音频在线预览,支持 Office 文件在线预览',
  86. link: 'https://pan.qiwenshare.com/docs/guide/function.html#%E6%96%87%E4%BB%B6%E5%9C%A8%E7%BA%BF%E9%A2%84%E8%A7%88-%E7%BC%96%E8%BE%91'
  87. }
  88. ]
  89. }
  90. }
  91. }
  92. </script>
  93. <style lang="stylus" scoped>
  94. @import '~_a/styles/varibles.styl'
  95. .function-wrapper {
  96. margin-bottom: 40px;
  97. .function-title {
  98. padding: 60px 0;
  99. text-align: center;
  100. font-size: 28px;
  101. }
  102. .function-list {
  103. max-width: 1200px;
  104. margin: 0 auto;
  105. display flex
  106. flex-wrap wrap
  107. justify-content space-between
  108. list-style: none;
  109. .function-item {
  110. margin-bottom 24px
  111. width: 32%;
  112. .function-link {
  113. display: block;
  114. border-radius: 10px;
  115. background: #ecf5ff;
  116. width: 100%;
  117. height: 100%
  118. padding: 40px;
  119. text-align: center;
  120. &:hover {
  121. background linear-gradient(to right bottom, $Primary, #66b1ff)
  122. .content {
  123. .title,
  124. .desc {
  125. color #fff
  126. }
  127. }
  128. }
  129. .img-wrapper {
  130. border-radius 50%
  131. background #fff
  132. margin 0 auto
  133. padding 15px 0
  134. width: 100px;
  135. height 100px
  136. .img {
  137. width: 70px
  138. height 70px
  139. }
  140. }
  141. .content {
  142. margin-top: 32px;
  143. .title {
  144. margin 0 0 24px
  145. color: #333;
  146. font-weight: normal;
  147. font-size: 18px;
  148. }
  149. .desc {
  150. color: #808080;
  151. }
  152. }
  153. }
  154. }
  155. }
  156. }
  157. </style>