index.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640
  1. <script>
  2. export default {
  3. middleware: 'user',
  4. data() {
  5. return {
  6. indexActive: 1
  7. }
  8. },
  9. methods: {
  10. // elementui走马灯组件bug:item只有两个时变换的方向有问题
  11. // fix:多增加一份item,自定义轮播点
  12. handlerCarouselChange (cur) {
  13. if(cur === 1 || cur === 3) {
  14. this.indexActive = 2
  15. }else {
  16. this.indexActive = 1
  17. }
  18. },
  19. openInterface (){
  20. this.$store.commit('OPEN_LOGIN', true)
  21. this.$store.commit('SET_INTERFACE', 'register')
  22. }
  23. }
  24. }
  25. </script>
  26. <template>
  27. <div class="page-home">
  28. <client-only>
  29. <el-carousel ref="carousel" indicator-position="none" loop height="100vh" @change="handlerCarouselChange">
  30. <el-carousel-item>
  31. <div class="home-banner banner ">
  32. <div class="bg"><img src="~/assets/images/common/pic_home_banner00.png" /></div>
  33. <div class="slogan">
  34. <h2 class="tittle">17PDF Reader</h2>
  35. <h3 class="subtitle">阅轻松·阅简单·阅快捷</h3>
  36. <p class="info">行业领先的阅读引擎,精准快速的格式转换,让移动无纸化办公轻松易行!</p>
  37. <a class="power-sdk" href="https://www.compdf.com?utm_source=anroidapp&utm_medium=17pdfweb&utm_campaign=pdfsdk" target="_blank">由 ComPDFKit 提供技术支持 <svg 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"/></svg></a>
  38. </div>
  39. </div>
  40. </el-carousel-item>
  41. <el-carousel-item>
  42. <div class="home-banner converter-banner banner">
  43. <div class="slogan">
  44. <h2 class="tittle">在线格式转换</h2>
  45. <h3 class="subtitle">轻松拖拽/一键转档/批量转换</h3>
  46. <p>支持多种常用格式转档,先进的转换引擎,精准快速,超乎想象。</p>
  47. <a href="/converter">立即体验</a>
  48. </div>
  49. <div class="bg"><img src="~/assets/images/common/pic_home_banner02.png" /></div>
  50. </div>
  51. </el-carousel-item>
  52. <el-carousel-item>
  53. <div class="home-banner banner">
  54. <div class="bg"><img src="~/assets/images/common/pic_home_banner00.png" /></div>
  55. <div class="slogan">
  56. <h2 class="tittle">17PDF Reader</h2>
  57. <h3 class="subtitle">阅轻松·阅简单·阅快捷</h3>
  58. <p class="info">行业领先的阅读引擎,精准快速的格式转换,让移动无纸化办公轻松易行!</p>
  59. <a class="power-sdk" href="https://www.compdf.com?utm_source=anroidapp&utm_medium=17pdfweb&utm_campaign=pdfsdk" target="_blank">由 ComPDFKit 提供技术支持 <svg 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"/></svg></a>
  60. </div>
  61. </div>
  62. </el-carousel-item>
  63. <el-carousel-item>
  64. <div class="home-banner converter-banner banner">
  65. <div class="slogan">
  66. <h2 class="tittle">在线格式转换</h2>
  67. <h3 class="subtitle">轻松拖拽/一键转档/批量转换</h3>
  68. <p>支持多种常用格式转档,先进的转换引擎,精准快速,超乎想象。</p>
  69. <a href="/converter">立即体验</a>
  70. </div>
  71. <div class="bg"><img src="~/assets/images/common/pic_home_banner02.png" /></div>
  72. </div>
  73. </el-carousel-item>
  74. </el-carousel>
  75. </client-only>
  76. <!-- 自定义轮播点 -->
  77. <ul class="indicators">
  78. <li v-for="index in 2" :key="index" :class="index === indexActive?'is-active':''" class="indicator">
  79. </li>
  80. </ul>
  81. <div class="home_info">
  82. <div class="item white">
  83. <div class="left"><img src="http://cn-file.17pdf.com/website/home/pic_home_file_converter.png" /></div>
  84. <div class="right">
  85. <div class="cotent">
  86. <h3>格式转换</h3>
  87. <p>PDF高效格式转换,支持PDF to Word、PPT、Excel、TXT、JPG/PNG,一键转档,批量转换,突破格式壁垒。</p>
  88. <a href="/converter">立即使用</a>
  89. </div>
  90. </div>
  91. </div>
  92. </div>
  93. <div class="home_function">
  94. <h3>更多强大功能 · 助力效率提升</h3>
  95. <ul class="clear">
  96. <li>
  97. <div class="list">
  98. <img src="http://cn-file.17pdf.com/website/home/ic_home_more_eyes.png" />
  99. <div class="wrap">
  100. <h4>文件阅读</h4>
  101. <p>优质的阅读引擎带来流畅、稳定的阅读体验,轻松阅读无干扰。</p>
  102. </div>
  103. </div>
  104. </li>
  105. <li>
  106. <div class="list">
  107. <img src="http://cn-file.17pdf.com/website/home/ic_home_more_mark.png" />
  108. <div class="wrap">
  109. <h4>文件注释</h4>
  110. <p>支持高亮、下划线、波浪线、手写等注释方式,可插入图片及语音笔记。</p>
  111. </div>
  112. </div>
  113. </li>
  114. <li>
  115. <div class="list">
  116. <img src="http://cn-file.17pdf.com/website/home/ic_home_more_manage.png" />
  117. <div class="wrap">
  118. <h4>文件管理</h4>
  119. <p>文件移动复制、压缩删除,PDF文件密码保护,并可将PDF文件生成链接方便分享。</p>
  120. </div>
  121. </div>
  122. </li>
  123. <li>
  124. <div class="list">
  125. <img src="http://cn-file.17pdf.com/website/home/ic_home_more_edit.png" />
  126. <div class="wrap">
  127. <h4>页面编辑</h4>
  128. <p>可将PDF任意页面进行删除、旋转、排序、拆分并另存为新的PDF,还能对多个PDF文件进行合并。</p>
  129. </div>
  130. </div>
  131. </li>
  132. <li>
  133. <div class="list">
  134. <img src="http://cn-file.17pdf.com/website/home/ic_home_moer_mode.png" />
  135. <div class="wrap">
  136. <h4>阅读模式</h4>
  137. <p>日间模式/夜间模式/护眼模式自由切换,缓解视觉疲劳。</p>
  138. </div>
  139. </div>
  140. </li>
  141. <li>
  142. <div class="list">
  143. <img src="http://cn-file.17pdf.com/website/home/ic_home_more_search.png" />
  144. <div class="wrap">
  145. <h4>搜索索引</h4>
  146. <p>从PDF文档中提取、选择、搜索和检索文本,以最快的速度搜索索引PDF文本信息。</p>
  147. </div>
  148. </div>
  149. </li>
  150. <li>
  151. <div class="list">
  152. <img src="http://cn-file.17pdf.com/website/home/ic_home_more_scan.png" />
  153. <div class="wrap">
  154. <h4>文件扫描</h4>
  155. <p>支持拍照扫描文件、图片并保存为PDF文件,可调整图片边缘及使用滤镜,抠图精准。</p>
  156. </div>
  157. </div>
  158. </li>
  159. <li>
  160. <div class="list">
  161. <img src="http://cn-file.17pdf.com/website/home/ic_home_more_read.png" />
  162. <div class="wrap">
  163. <h4>文件朗读</h4>
  164. <p>支持文字转语音(TTS),朗读PDF文件内容,解放双眼,让耳朵“读”文件。</p>
  165. </div>
  166. </div>
  167. </li>
  168. </ul>
  169. </div>
  170. <div class="home_user_say">
  171. <h3>5年口碑 · 品质之选</h3>
  172. <client-only>
  173. <el-carousel class="user_say_carousel">
  174. <el-carousel-item class="item">
  175. <ul class="clear">
  176. <li>
  177. <img src="http://cn-file.17pdf.com/website/home/pic_home_head_01.png" /><span>Leon Reed</span>
  178. <p>绝对是最好用的PDF阅读器,没有之一,强力推荐!</p>
  179. <div>---来自百度的用户说</div>
  180. </li>
  181. <li>
  182. <img src="http://cn-file.17pdf.com/website/home/pic_home_head_02.png" /><span>Ella Pope</span>
  183. <p>支持切白边,没广告,好用!</p>
  184. <div>---来自VIVO的用户说</div>
  185. </li>
  186. <li>
  187. <img src="http://cn-file.17pdf.com/website/home/pic_home_head_03.png" /><span>tube244</span>
  188. <p>用着很方便,可以横屏,比iReader好。</p>
  189. <div>---来自OPPO的用户说</div>
  190. </li>
  191. </ul>
  192. </el-carousel-item>
  193. <el-carousel-item class="item">
  194. <ul class="clear">
  195. <li>
  196. <img src="http://cn-file.17pdf.com/website/home/pic_home_head_04.png" /><span>lemo</span>
  197. <p>解压功能非常好,谷歌风设计,流畅,读书方便。</p>
  198. <div>---来自360的用户说</div>
  199. </li>
  200. <li>
  201. <img src="http://cn-file.17pdf.com/website/home/pic_home_head_05.png" /><span>wing 。</span>
  202. <p>真的适合学习勾画重点呀。赞!</p>
  203. <div>---来自华为的用户说</div>
  204. </li>
  205. <li>
  206. <img src="http://cn-file.17pdf.com/website/home/pic_home_head_06.png" /><span>378java</span>
  207. <p>格式转档功能非常强大,是刚需!</p>
  208. <div>---来自小米的用户说</div>
  209. </li>
  210. </ul>
  211. </el-carousel-item>
  212. <el-carousel-item class="item">
  213. <ul class="clear">
  214. <li>
  215. <img src="http://cn-file.17pdf.com/website/home/pic_home_head_01.png" /><span>Leon Reed</span>
  216. <p>绝对是最好用的PDF阅读器,没有之一,强力推荐!</p>
  217. <div>---来自百度的用户说</div>
  218. </li>
  219. <li>
  220. <img src="http://cn-file.17pdf.com/website/home/pic_home_head_02.png" /><span>Ella Pope</span>
  221. <p>支持切白边,没广告,好用!</p>
  222. <div>---来自VIVO的用户说</div>
  223. </li>
  224. <li>
  225. <img src="http://cn-file.17pdf.com/website/home/pic_home_head_03.png" /><span>tube244</span>
  226. <p>用着很方便,可以横屏,比iReader好。</p>
  227. <div>---来自OPPO的用户说</div>
  228. </li>
  229. </ul>
  230. </el-carousel-item>
  231. <el-carousel-item class="item">
  232. <ul class="clear">
  233. <li>
  234. <img src="http://cn-file.17pdf.com/website/home/pic_home_head_04.png" /><span>lemo</span>
  235. <p>解压功能非常好,谷歌风设计,流畅,读书方便。</p>
  236. <div>---来自360的用户说</div>
  237. </li>
  238. <li>
  239. <img src="http://cn-file.17pdf.com/website/home/pic_home_head_05.png" /><span>wing 。</span>
  240. <p>真的适合学习勾画重点呀。赞!</p>
  241. <div>---来自华为的用户说</div>
  242. </li>
  243. <li>
  244. <img src="http://cn-file.17pdf.com/website/home/pic_home_head_06.png" /><span>378java</span>
  245. <p>格式转档功能非常强大,是刚需!</p>
  246. <div>---来自小米的用户说</div>
  247. </li>
  248. </ul>
  249. </el-carousel-item>
  250. </el-carousel>
  251. </client-only>
  252. </div>
  253. <div class="free_signup">
  254. <p>开启17PDF Reader高效办公学习旅程</p>
  255. <span>现在注册即送10张格式转换券!</span>
  256. <a class="cursor-pointer" @click="openInterface">立即注册</a>
  257. </div>
  258. </div>
  259. </template>
  260. <style lang="scss">
  261. .page-home {
  262. position: relative;
  263. z-index: 1;
  264. top: -80px;
  265. margin-bottom: -80px;
  266. .el-carousel {
  267. border-bottom: 1px solid #dcdcdc;
  268. .el-carousel__arrow {
  269. display: none;
  270. }
  271. }
  272. .home_banner_wrap{
  273. border-bottom: 1px solid #dcdcdc;
  274. position: relative;
  275. top: -80px;
  276. z-index: 1;
  277. }
  278. .home-banner {
  279. display: flex;
  280. height: 100%;
  281. width: 100%;
  282. cursor: pointer;
  283. background:rgb(240,241,243);
  284. .bg{
  285. height: 100%;
  286. width: 50%;
  287. img{
  288. width: 100%;
  289. max-width: 770px;
  290. margin-top: 28%;
  291. }
  292. }
  293. .slogan {
  294. padding-top: 19%;
  295. padding-left: 70px;
  296. width: 50%;
  297. .tittle {
  298. color: rgb(26, 26, 26);
  299. font-size: 68px;
  300. padding-bottom: 10px;
  301. font-weight: normal;
  302. }
  303. .subtitle {
  304. color: rgb(77, 77, 77);
  305. font-size: 33px;
  306. }
  307. .info {
  308. color: rgb(77, 77, 77);
  309. opacity: 0.8;
  310. font-size: 22px;
  311. padding-top: 10px;
  312. max-width: 450px;
  313. }
  314. .power-sdk {
  315. display: flex;
  316. align-items: center;
  317. margin-top: 20px;
  318. color: #4D4D4D;
  319. font-size: 16px;
  320. line-height: 22px;
  321. font-weight: 600;
  322. svg {
  323. margin-left: 8px;
  324. }
  325. &:hover {
  326. color: #FF4F4F;
  327. text-decoration: underline;
  328. }
  329. }
  330. .home-btn {
  331. background-color: rgb(255, 255, 255);
  332. font-size: 18px;
  333. padding: 8px 38px;
  334. margin-top: 35px;
  335. position: absolute;
  336. border-radius: 4px;
  337. a {
  338. color: rgb(235, 64, 26);
  339. &:hover, &:active {
  340. text-decoration: none;
  341. }
  342. }
  343. &:hover {
  344. background-color: #FFE8E8;
  345. }
  346. }
  347. }
  348. }
  349. .indicators {
  350. display: flex;
  351. justify-content: center;
  352. position: relative;
  353. align-items: center;
  354. bottom: 45px;
  355. z-index: 3;
  356. .indicator {
  357. width: 10px;
  358. height: 10px;
  359. margin-left: 5px;
  360. background-color: white;
  361. border-radius: 10px;
  362. border: 1px solid rgba(0,0,0,0.87);
  363. &.is-active {
  364. width: 12px;
  365. height: 12px;
  366. border-radius: 12px;
  367. background-color: black;
  368. }
  369. }
  370. }
  371. .converter-banner {
  372. cursor: pointer;
  373. background-color: #fff;
  374. .bg {
  375. text-align: right;
  376. }
  377. .slogan {
  378. max-width: 470px;
  379. padding: 19% 0px 0px;
  380. margin-left: 12%;
  381. .tittle {
  382. font-size: 48px;
  383. color: rgb(51,51,51);
  384. margin:0px;
  385. font-weight: normal;
  386. padding-bottom: 0px;
  387. }
  388. .subtitle{
  389. font-size: 32px;
  390. color: rgb(77,77,77);
  391. margin: 30px 0px 12px;
  392. }
  393. p{
  394. font-size: 24px;
  395. color: rgb(77,77,77);
  396. }
  397. a{
  398. width: 160px;
  399. height: 52px;
  400. background: rgb(255,79,79);
  401. color: #fff;
  402. font-size: 24px;
  403. border-radius: 4px;
  404. display: block;
  405. margin-top: 48px;
  406. line-height: 52px;
  407. text-align: center;
  408. &:hover{
  409. background:rgba(255,79,79,0.9);
  410. }
  411. }
  412. }
  413. .bg img {
  414. margin-top: 26%;
  415. }
  416. }
  417. .home_info{
  418. width: 100%;
  419. .item{
  420. height: 418px;
  421. padding:0px 10%;
  422. text-align: center;
  423. .right{
  424. width: 50%;
  425. float: left;
  426. }
  427. .left{
  428. width: 50%;
  429. float: left;
  430. }
  431. img{
  432. width: 394px;
  433. margin-top: 75px;
  434. }
  435. .cotent{
  436. width: 394px;
  437. display: inline-block;
  438. h3{
  439. font-size: 36px;
  440. color: rgba(0,0,0,0.87);
  441. margin:126px 0px 16px;
  442. text-align: left;
  443. }
  444. p{
  445. font-size: 18px;
  446. color: rgba(0,0,0,0.87);
  447. text-align: left;
  448. }
  449. a{
  450. font-size: 18px;
  451. display: block;
  452. color: rgb(255,79,79);
  453. width: 124px;
  454. height: 40px;
  455. border:1px solid rgb(255,79,79);
  456. border-radius: 4px;
  457. line-height: 40px;
  458. margin-top: 32px;
  459. &:hover{
  460. background: rgb(255,79,79);
  461. color: #fff;
  462. }
  463. }
  464. }
  465. &.white{
  466. background: #fff;
  467. }
  468. &.gray{
  469. background: rgb(250,250,250);
  470. }
  471. }
  472. }
  473. .home_function{
  474. width: 100%;
  475. background-color: #fafafa;
  476. h3{
  477. height: 50px;
  478. line-height: 50px;
  479. margin-bottom: 100px;
  480. padding-top: 70px;
  481. font-size: 36px;
  482. color: rgb(51,51,51);
  483. text-align: center;
  484. }
  485. ul{
  486. padding:0px 10%;
  487. margin: 0;
  488. &::after {
  489. visibility: hidden;
  490. display: block;
  491. font-size: 0;
  492. content: " ";
  493. clear: both;
  494. height: 0;
  495. }
  496. li{
  497. list-style: none;
  498. height: 110px;
  499. width: 50%;
  500. float: left;
  501. margin-bottom: 20px;
  502. text-align: center;
  503. .list{
  504. width: 460px;
  505. display: inline-block;
  506. }
  507. img{
  508. float: left;
  509. width: 96px;
  510. height: 96px;
  511. }
  512. .wrap{
  513. max-width:324px;
  514. float: left;
  515. margin-left: 40px;
  516. h4{
  517. font-size: 24px;
  518. color: rgba(0,0,0,0.87);
  519. margin: 6px 0px 6px;
  520. text-align: left;
  521. }
  522. p{
  523. font-size: 16px;
  524. line-height: 24px;
  525. color: rgb(102,102,102);
  526. text-align: left;
  527. }
  528. }
  529. }
  530. }
  531. }
  532. .home_user_say{
  533. padding-top: 40px;
  534. h3{
  535. font-size: 36px;
  536. color: rgb(51,51,51);
  537. height: 50px;
  538. line-height: 50px;
  539. text-align: center;
  540. margin: 0;
  541. }
  542. .user_say_carousel{
  543. width: 100%;
  544. .item{
  545. ul{
  546. padding-top: 40px;
  547. width: 100%;
  548. min-width: 1240px;
  549. height: 100%;
  550. text-align: center;
  551. font-size: 0;
  552. li + li {
  553. margin-left: 107px;
  554. }
  555. li{
  556. position: relative;
  557. list-style: none;
  558. width: 298px;
  559. height: 160px;
  560. display: inline-block;
  561. border-radius:4px;
  562. box-shadow:1px 1px 6px 0px rgba(153,153,153,0.3);
  563. background: #fff;
  564. padding: 23px 14px 0px;
  565. text-align: left;
  566. vertical-align: top;
  567. img{
  568. margin-right: 12px;
  569. width: 42px;
  570. height: 42px;
  571. display: inline;
  572. border-radius: 20px;
  573. }
  574. span{
  575. font-size: 14px;
  576. color: rgb(51,51,51);
  577. }
  578. p{
  579. padding: 8px 0px 12px;
  580. font-size: 16px;
  581. line-height: 26px;
  582. color: rgb(51,51,51);
  583. text-align: left;
  584. }
  585. div{
  586. position: absolute;
  587. right: 14px;
  588. bottom: 23px;
  589. font-size: 14px;
  590. color: rgb(102,102,102);
  591. text-align: right;
  592. }
  593. }
  594. }
  595. }
  596. .el-carousel__indicators {
  597. display: none;
  598. }
  599. }
  600. }
  601. .free_signup{
  602. width: 100%;
  603. height: 359px;
  604. background: url(http://cn-file.17pdf.com/website/home/pic_home_bg.png) no-repeat;
  605. background-size: 100% 100%;
  606. color: #fff;
  607. text-align: center;
  608. margin-bottom: -2px;
  609. p{
  610. font-size: 36px;
  611. padding:96px 0px 10px;
  612. }
  613. span{
  614. display: block;
  615. margin-bottom: 30px;
  616. font-size: 22px;
  617. opacity:0.7;
  618. }
  619. a{
  620. width: 200px;
  621. height: 48px;
  622. background: rgb(255,79,79);
  623. color: #fff;
  624. display: inline-block;
  625. border-radius: 8px;
  626. line-height: 48px;
  627. font-size: 18px;
  628. outline: none;
  629. &:hover{
  630. background: rgb(243,69,69);
  631. }
  632. }
  633. }
  634. }
  635. </style>