123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328 |
- <template>
- <div class="wrapper-tools container">
- <h2>一站式PDF解决方案</h2>
- <div
- ref="mySwiper"
- v-swiper:mySwiper="swiperOption"
- class="swiper-container"
- @mouseenter="handleEnter" @mouseleave="handleLeave"
- >
- <div class="swiper-button-next button"><Array class="default" /><ArrayHover class="hoverIn" /></div>
- <div class="swiper-button-prev button"><Array class="default" /><ArrayHover class="hoverIn" /></div>
- <div class="swiper-wrapper">
- <div v-for="(item, index) in solution" :key="index" class="swiper-slide">
- <div class="solution" :class="item.classObject">
- <div class="title">{{ item.title }}</div>
- <ul class="des">
- <li v-for="(items, indexes) in item.des" :key="indexes">{{ items }}</li>
- </ul>
- <img class="img" :src="item.src" :alt="item.title">
- <div class="link">
- <a :href="platform.isWindows ? $config.PDFReaderPro + '/zh-cn/windows/store' : $config.PDFReaderPro + '/zh-cn/store'" target="_blank" class="free">立即购买</a>
- <a :href="item.href" target="_blank" class="buy">了解更多</a>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </template>
- <script>
- import { directive } from 'vue-awesome-swiper'
- import Array from '~/assets/images/PDFReaderPro/array.svg?inline'
- import ArrayHover from '~/assets/images/PDFReaderPro/arrayHover.svg?inline'
- export default {
- directives: {
- swiper: directive
- },
- components: {
- Array,
- ArrayHover
- },
- props: ['platform'],
- data() {
- return {
- swiperOption: {
- loop: true,
- navigation: {
- nextEl: '.swiper-button-next',
- prevEl: '.swiper-button-prev'
- },
- autoplay: {
- delay: 5000,
- autoplayDisableOnInteraction: false
- }
- },
- solution: [
- {
- title: '教育',
- des: [
- '凭借其强大的工具,教育工作者可以高效地注释、组织和转换PDF文件。',
- 'PDF Reader Pro 的直观界面和OCR使其成为备课和学生作业的必备工具。'
- ],
- src: '/images/PDFReaderPro/solution/education.png',
- href: this.$config.PDFReaderPro + '/education',
- classObject: {
- 'bg-E0F7FF': true
- }
- },
- {
- title: '政府单位',
- des: [
- '通过安全高效的PDF管理增强政府工作流程。',
- '它提供注释、协作和文档签名等功能,可简化流程。'
- ],
- src: '/images/PDFReaderPro/solution/government.png',
- href: this.$config.PDFReaderPro + '/government',
- classObject: {
- 'bg-E0EBFF': true
- }
- },
- {
- title: '银行',
- des: [
- '适用于银行业务的全面PDF解决方案。',
- 'PDF Reader Pro 的高级功能和安全加密可实现高效的文档管理。'
- ],
- src: '/images/PDFReaderPro/solution/bank.png',
- href: this.$config.PDFReaderPro + '/banking',
- classObject: {
- 'bg-E0FFF0': true
- }
- },
- {
- title: '商业',
- des: [
- '适用于消费者和企业的多功能解决方案。',
- '它提供广泛的PDF管理工具,是高效文档协作和管理的理想之选。'
- ],
- src: '/images/PDFReaderPro/solution/business.png',
- href: this.$config.PDFReaderPro + '/business',
- classObject: {
- 'bg-FFF1E0': true
- }
- },
- {
- title: '建筑',
- des: [
- '简化建筑专业人员的文档管理。',
- 'PDF Reader Pro 可轻松访问、查看和编辑建筑文档,提高项目的生产率。'
- ],
- src: '/images/PDFReaderPro/solution/construction.png',
- href: this.$config.PDFReaderPro + '/construction',
- classObject: {
- 'bg-FFEAE0': true
- }
- },
- {
- title: '医疗保健',
- des: [
- '简化医疗保健领域的文档管理。',
- '它可以查看、注释和安全共享医疗记录,加强协作。它提高了效率和病人护理效果。'
- ],
- src: '/images/PDFReaderPro/solution/healthcare.png',
- href: this.$config.PDFReaderPro + '/healthcare',
- classObject: {
- 'bg-E0FFF6': true
- }
- }
- ]
- }
- },
- methods: {
- handleEnter () {
- this.$refs.mySwiper.swiper.autoplay.stop()
- },
- handleLeave () {
- this.$refs.mySwiper.swiper.autoplay.start()
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- .swiper-container {
- position: relative;
- overflow: hidden;
- z-index: 1;
- .swiper-wrapper {
- position: relative;
- width: 100%;
- height: 100%;
- z-index: 1;
- display: flex;
- transition-property: transform;
- box-sizing: content-box;
- .swiper-slide {
- flex-shrink: 0;
- width: 100%;
- height: 100%;
- position: relative;
- transition-property: transform;
- }
- }
- .button {
- position: absolute;
- z-index: 2;
- bottom: 293px;
- .hoverIn {
- display: none;
- }
- &:hover {
- .default {
- display: none;
- }
- .hoverIn {
- display: inline;
- }
- }
- }
- .swiper-button-prev {
- left: 112px;
- transform: translateY(-50%);
- &:hover{
- transform: rotate(180deg) translateY(50%);
- }
- }
- .swiper-button-next {
- right: 112px;
- transform: rotate(180deg) translateY(50%);
- &:hover {
- transform: rotate(0deg) translateY(-50%);
- }
- }
- }
- div.wrapper-tools {
- h2 {
- margin-top: 80px;
- font-size: 36px;
- font-weight: 700;
- line-height: 56px;
- text-align: center;
- color: #192233;
- }
- .solution {
- margin: 0 10px;
- margin-top: 40px;
- border-radius: 20px;
- display: flex;
- align-items: center;
- justify-content: center;
- flex-direction: column;
- .title {
- margin-top: 40px;
- font-size: 24px;
- font-weight: 700;
- line-height: 40px;
- color: #192233;
- }
- .des {
- margin-top: 8px;
- li {
- font-size: 20px;
- line-height: 32px;
- color: #404754;
- text-align: center;
- }
- }
- .img {
- max-width: 840px;
- width: 100%;
- }
- .link {
- margin-top: 20px;
- margin-bottom: 60px;
- display: flex;
- a {
- width: 180px;
- display: flex;
- align-items: center;
- justify-content: center;
- border-radius: 4px;
- font-size: 18px;
- font-weight: 700;
- }
- a + a {
- margin-left: 16px;
- }
- .free {
- line-height: 44px;
- background: #0061F2;
- color: #FFFFFF;
- &:hover {
- background: linear-gradient(0deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)),linear-gradient(0deg, #0061F2, #0061F2);
- }
- }
- .buy {
- line-height: 42px;
- border: 1px solid #D3D5DB;
- color: #192233;
- &:hover {
- background: linear-gradient(0deg, rgba(0, 97, 242, 0.1), rgba(0, 97, 242, 0.1));
- border: 1px solid #0061F266;
- color: #0061F2;
- }
- }
- }
- }
- .bg-E0F7FF {
- background: linear-gradient(180deg, #E0F7FF 0%, rgba(224, 247, 255, 0) 100%);
- }
- .bg-E0EBFF {
- background: linear-gradient(180deg, #E0EBFF 0%, rgba(224, 235, 255, 0) 100%);
- }
- .bg-E0FFF0 {
- background: linear-gradient(180deg, #E0FFF0 0%, rgba(224, 255, 240, 0) 100%);
- }
- .bg-FFF1E0 {
- background: linear-gradient(180deg, #FFF1E0 0%, rgba(255, 241, 224, 0) 100%);
- }
- .bg-FFEAE0 {
- background: linear-gradient(180deg, #FFEAE0 0%, rgba(255, 234, 224, 0) 100%);
- }
- .bg-E0FFF6 {
- background: linear-gradient(180deg, #E0FFF6 0%, rgba(224, 255, 246, 0) 100%);
- }
- }
- @media screen and (max-width: 959px) {
- .swiper-container {
- .button {
- display: none;
- }
- }
- div.wrapper-tools {
- h2 {
- margin-top: 48px;
- font-size: 24px;
- line-height: 32px;
- }
- .solution {
- margin: 0px;
- margin-top: 20px;
- padding: 0 10px;
- .title {
- margin-top: 20px;
- font-size: 20px;
- line-height: 28px;
- }
- .des {
- li {
- font-size: 14px;
- line-height: 20px;
- }
- }
- .link {
- margin-bottom: 24px;
- display: flex;
- flex-direction: column;
- a + a {
- margin-left: 0px;
- margin-top: 16px;
- }
- }
- }
- }
- }
- </style>
|