index.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461
  1. <script>
  2. import Parallax from 'parallax-js'
  3. import Viewing from '~/assets/images/home/ic_features_view.svg?inline'
  4. import Annotations from '~/assets/images/home/ic_features_annotations.svg?inline'
  5. import Signatures from '~/assets/images/home/ic_features_signatures.svg?inline'
  6. import Forms from '~/assets/images/home/ic_features_forms.svg?inline'
  7. import Document from '~/assets/images/home/ic_features_pageedit.svg?inline'
  8. import Edit from '~/assets/images/home/ic_features_edit.svg?inline'
  9. import Security from '~/assets/images/home/ic_features_security.svg?inline'
  10. import Arrow from '~/assets/images/home/arrow.svg?inline'
  11. import LineArrow from '~/assets/images/home/line_arrow.svg?inline'
  12. import Platform from '~/assets/images/home/platforms.svg?inline'
  13. import Dots from '~/assets/images/home/dot.svg?inline'
  14. import Api from '~/assets/images/home/ic_features_api.svg?inline'
  15. import Integrate from '~/assets/images/home/ic_features_integrate.svg?inline'
  16. import Developer from '~/assets/images/home/ic_features_developer.svg?inline'
  17. import Customizable from '~/assets/images/home/ic_features_customizable.svg?inline'
  18. import Dot from '~/assets/images/home/comment_dot.svg?inline'
  19. import Signflow from '~/assets/images/home/signflow.svg?inline'
  20. import SignIcon from '~/assets/images/home/sign_icon.svg?inline'
  21. import AnnotationsIcon from '~/assets/images/home/annotations_icon.svg?inline'
  22. import ConversionIcon from '~/assets/images/home/conversion_icon.svg?inline'
  23. import SdkIcon from '~/assets/images/home/sdk_icon.svg?inline'
  24. import ChooseProduct from '../components/ChooseProduct.vue'
  25. export default {
  26. components: {
  27. Viewing,
  28. Annotations,
  29. Signatures,
  30. Forms,
  31. Document,
  32. Edit,
  33. Security,
  34. Arrow,
  35. LineArrow,
  36. Platform,
  37. Dots,
  38. Signflow,
  39. Api,
  40. SignIcon,
  41. AnnotationsIcon,
  42. ConversionIcon,
  43. SdkIcon,
  44. Integrate,
  45. Developer,
  46. Customizable,
  47. Dot
  48. },
  49. head() {
  50. return {
  51. title: this.$config.meta['home-title'],
  52. meta: [
  53. {
  54. hid: 'description',
  55. name: 'description',
  56. content: this.$config.meta['home-desc']
  57. },
  58. {
  59. hid: 'og:title',
  60. property: 'og:title',
  61. content: this.$config.meta['home-title']
  62. },
  63. {
  64. hid: 'og:description',
  65. property: 'og:description',
  66. content: this.$config.meta['home-desc']
  67. },
  68. {
  69. hid: 'twitter:title',
  70. property: 'twitter:title',
  71. content: this.$config.meta['home-title']
  72. },
  73. {
  74. hid: 'twitter:description',
  75. property: 'twitter:description',
  76. content: this.$config.meta['home-desc']
  77. }
  78. ],
  79. link: [{
  80. hid: 'canonical',
  81. rel: 'canonical',
  82. href: process.env.domain
  83. }]
  84. }
  85. },
  86. data () {
  87. return {
  88. scrollTop: false,
  89. platform: 'iOS',
  90. language: 'Objective-C',
  91. languageIndex: 0,
  92. devices: ['iOS', 'Android', 'Windows', 'Mac', 'Web', 'Linux'],
  93. code: {
  94. iOS: {
  95. 'Objective-C': `<span class="statement">#import</span> <span class="string">&lt;ComPDFKit/ComPDFKit.h&gt;</span>
  96. - (<span class="keyword">void</span>)<span class="title">viewDidLoad</span> {
  97. [<span class="keyword">super</span> viewDidLoad];
  98. <span class="comment">// Get the path of a PDF</span>
  99. <span class="title">NSString</span> *<span class="title">pdfPath</span> = <span class="string">@"..."</span>;
  100. <span class="comment">// Initialize a CPDFDocument object with the path to the PDF file</span>
  101. <span class="title">NSURL</span> *<span class="title">url</span> = [NSURL fileURLWithPath:pdfPath];
  102. <span class="title">CPDFDocument</span> *<span class="title">document</span> = [[[CPDFDocument alloc] initWithURL:url] autorelease];
  103. <span class="keyword">if</span> (document.error && document.error.code != CPDFDocumentPasswordError) {
  104. <span class="keyword">return</span>;
  105. }
  106. <span class="comment">// Initialize a CPDFView object with the size of the entire screen</span>
  107. <span class="title">CPDFView</span> *<span class="title">pdfView</span> = [[[CPDFView alloc] initWithFrame:<span class="keyword">self</span>.view.bounds] autorelease];
  108. <span class="comment">// Set the document to display</span>
  109. <span class="title">pdfView</span>.<span class="title">document</span> = document;
  110. <span class="comment">// Add the pdfView to the root view</span>
  111. [<span class="keyword">self</span>.view addSubview:pdfView];
  112. }`,
  113. Swift: `<span class="keyword">override</span> <span class="title">func viewDidLoad</span>() {
  114. <span class="keyword">super</span>.viewDidLoad()
  115. <span class="comment">// Initialize a CPDFDocument object with the path to the PDF file</span>
  116. let document: CPDFDocument? = CPDFDocument.init(url: filePath)
  117. <span class="keyword">if</span> ((document?.error != <span class="keyword">nil</span>) && document?.error?._code != CPDFDocumentPasswordError) {
  118. <span class="keyword">return</span>
  119. }
  120. <span class="comment">// Initialize a CPDFView object with the size of the entire screen</span>
  121. let pdfView: CPDFView? = CPDFView.init(frame: <span class="keyword">self</span>.view.bounds)
  122. pdfView?.document = document
  123. <span class="comment">// Add the pdfView to the root view</span>
  124. <span class="keyword">self</span>.view.addSubview(pdfView!)
  125. }`
  126. },
  127. Android: {
  128. Java: `<span class="title">CPDFReaderView readerView</span>;
  129. <span class="comment">// Get CPDFReaderView from xml</span>
  130. <span class="title">readerView</span> = findViewById(R.<span class="keyword">id</span>.readerview);
  131. <span class="title">CPDFDocument document</span> = <span class="keyword">new</span> CPDFDocument(context);
  132. <span class="comment">//Open document.</span>
  133. <span class="title">CPDFDocument</span>.<span class="title">PDFDocumentError error</span> = document.open(pdfUri);
  134. <span class="keyword">if</span> (error == CPDFDocument.PDFDocumentError.PDFDocumentErrorPassword) {
  135. <span class="comment">//The document is encrypted and requires a password to open.</span>
  136. <span class="title">error</span> = document.open(pdfUri, <span class="string">"password"</span>);
  137. }
  138. <span class="keyword">if</span> (error == CPDFDocument.PDFDocumentError.PDFDocumentErrorSuccess) {
  139. <span class="comment">//The document is opened successfully and data can be parsed and manipulated.</span>
  140. } <span class="keyword">else</span> {
  141. <span class="comment">//The PDF file failed to open. You can refer to the API file for specific error messages.</span>
  142. }
  143. <span class="comment">// Set the PDF document type to CPDFReaderView</span>
  144. <span class="title">readerView</span>.<span class="title">setPDFDocument</span>(document);`,
  145. Kotlin: `<span class="comment">// Get CPDFReaderView from xml</span>
  146. <span class="title">val readerView</span> = findViewById(R.<span class="keyword">id</span>.readerview)
  147. val document = CPDFDocument(context)
  148. <span class="comment">//Open document.</span>
  149. val error = document.open(pdfUri)
  150. when (error) {
  151. CPDFDocument.PDFDocumentError.PDFDocumentErrorPassword -> {
  152. <span class="comment">//The document is encrypted and requires a password to open.</span>
  153. document.open(pdfUri, <span class="string">"password"</span>)
  154. }
  155. CPDFDocument.PDFDocumentError.PDFDocumentErrorSuccess -> {
  156. <span class="comment">//The document is opened successfully and data can be parsed and manipulated.</span>
  157. }
  158. <span class="keyword">else</span> -> {
  159. <span class="comment">//The PDF file failed to open. You can refer to the API file for specific error messages.</span>
  160. }
  161. }
  162. <span class="comment">// Set the PDF document type to CPDFReaderView</span>
  163. readerView.setPDFDocument(document)`
  164. },
  165. Windows: {
  166. 'C# WPF': `<span class="keyword">private void</span> OpenFile_Click(object sender, RoutedEventArgs e)
  167. {
  168. var dlg = <span class="keyword">new</span> OpenFileDialog();
  169. dlg.Filter = <span class="string">"PDF Files (*.pdf)|*.pdf"</span>;
  170. <span class="keyword">if</span> (dlg.ShowDialog() == <span class="keyword">true</span>)
  171. {
  172. <span class="comment">//Initialize CPdfViewer.</span>
  173. CPdfViewer pdfViewer = <span class="keyword">new</span> CPdfViewer();
  174. <span class="comment">//Open the document through the document path.</span>
  175. pdfViewer.InitDocument(dlg.FileName);
  176. <span class="keyword">if</span> (pdfViewer.Document != null)
  177. {
  178. pdfViewer.Load();
  179. }
  180. }
  181. }`,
  182. 'C# UWP': `<span class="keyword">private</span> async <span class="keyword">void</span> OpenFile_Click(object sender, RoutedEventArgs e)
  183. {
  184. FileOpenPicker filePicker = <span class="keyword">new</span> FileOpenPicker();
  185. filePicker.SuggestedStartLocation = PickerLocationId.DocumentsLibrary;
  186. filePicker.ViewMode = PickerViewMode.List;
  187. filePicker.FileTypeFilter.Add(<span class="string">".pdf"</span>);
  188. StorageFile pdfFile = await filePicker.PickSingleFileAsync();
  189. <span class="keyword">if</span> (pdfFile == null)
  190. <span class="keyword">return</span>;
  191. StorageFile docSource = CreateDocSource(pdfFile);
  192. CPDFViewer pdfViewer = <span class="keyword">new</span> CPDFViewer();
  193. pdfViewer.OpenFile(docSource.Path);
  194. }`
  195. },
  196. Mac: {
  197. 'Objective-C': `<span class="statement">#import</span> <span class="string">&lt;ComPDFKit/ComPDFKit.h&gt;</span>
  198. - (<span class="keyword">void</span>)<span class="title">viewDidLoad</span> {
  199. [<span class="keyword">super</span> viewDidLoad];
  200. <span class="comment">// Get the path of a PDF</span>
  201. <span class="title">NSString</span> *<span class="title">pdfPath</span> = <span class="string">@"..."</span>;
  202. <span class="comment">// Initialize a CPDFDocument object with the path to the PDF file</span>
  203. <span class="title">NSURL</span> *<span class="title">url</span> = [NSURL fileURLWithPath:pdfPath];
  204. <span class="title">CPDFDocument</span> *<span class="title">document</span> = [[[CPDFDocument alloc] initWithURL:url] autorelease];
  205. <span class="keyword">if</span> (document.error && document.error.code != CPDFDocumentPasswordError) {
  206. <span class="keyword">return</span>;
  207. }
  208. <span class="comment">// Initialize a CPDFView object with the size of the entire screen</span>
  209. <span class="title">CPDFView</span> *<span class="title">pdfView</span> = [[[CPDFView alloc] initWithFrame:<span class="keyword">self</span>.view.bounds] autorelease];
  210. <span class="comment">// Set the document to display</span>
  211. <span class="title">pdfView</span>.<span class="title">document</span> = document;
  212. <span class="comment">// Add the pdfView to the root view</span>
  213. [<span class="keyword">self</span>.view addSubview:pdfView];
  214. }`,
  215. Swift: `<span class="keyword">override</span> <span class="title">func viewDidLoad</span>() {
  216. <span class="keyword">super</span>.viewDidLoad()
  217. <span class="comment">// Initialize a CPDFDocument object with the path to the PDF file</span>
  218. let document: CPDFDocument? = CPDFDocument.init(url: filePath)
  219. <span class="keyword">if</span> ((document?.error != <span class="keyword">nil</span>) && document?.error?._code != CPDFDocumentPasswordError) {
  220. <span class="keyword">return</span>
  221. }
  222. <span class="comment">// Initialize a CPDFView object with the size of the entire screen</span>
  223. let pdfView: CPDFView? = CPDFView.init(frame: <span class="keyword">self</span>.view.bounds)
  224. pdfView?.document = document
  225. <span class="comment">// Add the pdfView to the root view</span>
  226. <span class="keyword">self</span>.view.addSubview(pdfView!)
  227. }`
  228. },
  229. Web: {
  230. JavaScript: `<span class="keyword">const</span> setPdfView= async () => {
  231. <span class="comment">// Get PDFDocument object with the path to the PDF file</span>
  232. <span class="keyword">const</span> pdfFile = await loadPdf({
  233. url: <span class="string">'document.pdf'</span>
  234. });
  235. <span class="comment">// Initialize PdfViewer</span>
  236. setPdfDocument(pdfFile);
  237. };
  238. <span class="title">setPdfView</span>();`
  239. },
  240. Linux: {
  241. CMD: `<span class="statement">#!/bin/sh</span>
  242. <span class="string">echo</span> <span class="keyword">"Example 1) Convert myIn.pdf in this folder to myOut.docx using default options:"</span>
  243. ./comPdf convert docx -i myIn.pdf -o myOut.docx --license COMPDF_LICENSE_KEY
  244. <span class="string">echo</span> <span class="keyword">"Example 2) merge main.pdf and myIn1.pdf in this folder to merged.pdf using default options:"</span>
  245. ./comPdf merge --doc=myIn1.pdf -i main.pdf -o merged.pdf --license COMPDF_LICENSE_KEY`
  246. }
  247. },
  248. comment: [
  249. {
  250. text: `Considered that our users want to take some notes when they are reading and studying. I was trying to process PDFs and to recreate all the functionality, but what I needed to provide is a solution to a business problem at my work, not write a PDF-processing piece of software. With the help of ComPDFKit, we needn't waste much time on development process.`,
  251. name: 'Gordon Hall',
  252. job: 'Operations Director, Information Technology'
  253. },
  254. {
  255. text: `We were in search of the best PDF column, and have chosen ComPDFKit to help us integrate PDF files viewing, converting, and annotating capabilities. I must say it's the best choice.`,
  256. name: 'Theodore Evans',
  257. job: 'Manager of Marketing Department, Education'
  258. },
  259. {
  260. text: 'Thanks to ComPDFKit a lot. This time, our company want to offer customers a simple, fast, and secure way to sign and fill PDF forms, they could always meet the needs of our company. That is why PDF Technologies has been our partner for many years.',
  261. name: 'Ronald W. Reagan',
  262. job: 'Product Manager, Modern service industry'
  263. }
  264. ]
  265. }
  266. },
  267. mounted() {
  268. window.addEventListener('scroll', this.onScroll)
  269. this.onScroll()
  270. window.addEventListener('mousemove', this.handleMouseMove)
  271. const scene = document.querySelector('.js-images-scene');
  272. if (scene) {
  273. // eslint-disable-next-line no-new
  274. new Parallax(scene, {});
  275. }
  276. },
  277. methods: {
  278. onScroll () {
  279. this.scrollTop = window.scrollY > 0
  280. }
  281. },
  282. }
  283. </script>
  284. <template>
  285. <div class="bg-[#F4F8FF]">
  286. <Header :class="scrollTop && 'border-b-1px border-b-[#CDDFFF]'" />
  287. <div class="top-banner bg-[#F4F8FF] overflow-hidden lg:h-618px lg:mt-80px <lg:mt-66px">
  288. <div class="banner container h-full lg:flex lg:justify-between lg:items-center <lg:py-40px <lg:text-center">
  289. <div class="text-container lg:w-[44.2373%] lg:mb-12px">
  290. <h1 class="text-brand-0 lg:text-40px lg:leading-46px lg:pb-2px <lg:pb-8px <lg:text-30px <lg:leading-32px font-bold">ComPDFKit</h1>
  291. <h1 class="text-brand-0 lg:text-40px lg:leading-46px <lg:text-30px <lg:leading-32px font-bold">专业的PDF文档处理SDK</h1>
  292. <TextParagraph class="lg:text-20px lg:leading-32px lg:mt-12px lg:mb-60px <lg:my-24px <lg:text-14px <lg:leading-20px">ComPDFKit提供专业、全平台支持的PDF开发库,包括Windows、Mac、Linux、 Android、iOS、Web平台。开发者可以快速、灵活整合PDF功能到各开发平台的软件、程序、系统中。丰富的功能,多种开发语言,灵活的部署方案可供选择,满足您对PDF文档的所有需求。</TextParagraph>
  293. <div class="flex <lg:flex-col <lg:items-center">
  294. <LinkButton type="plain" bold class="dynamic lg:max-w-200px bg-brand-0 text-white text-sm <lg:max-w-260px <lg:h-48px <lg:mb-16px" href="/contact-sales">立刻试用</LinkButton>
  295. <nuxt-link class="lg:max-w-200px w-[100%] rounded-6px border-1px text-[#1460F3] border-[#1460F3] flex justify-center items-center font-bold lg:ml-12px lg:hover:bg-brand-0 lg:hover:text-white <lg:max-w-260px <lg:active:bg-brand-0 <lg:active:text-white <lg:h-48px" to="/">联系我们</nuxt-link>
  296. </div>
  297. </div>
  298. <div class="img-container relative flex items-center md:h-452px md:w-714px <lg:mt-30px <lg:mx-auto">
  299. <picture class="swiper-img md:absolute w-full">
  300. <source type="image/png" media="(min-width: 768px)" srcset="/images/home/pdf_sdk_banner@2x.png">
  301. <source type="image/png" media="(max-width: 767px)" srcset="/images/home/pdf_sdk_banner.png">
  302. <img src="/images/home/pdf_sdk_banner@2x.png" alt="PDF Reader Pro for Windows">
  303. </picture>
  304. </div>
  305. </div>
  306. </div>
  307. <div class="bg-white">
  308. <div class="lg:py-80px <lg:py-40px">
  309. <h3 class="lg:mb-70px text-xl text-brand-1 font-bold text-center <lg:text-20px <lg:leading-24px <lg:mb-24px">选择您需要的产品&功能</h3>
  310. <ChooseProduct />
  311. <LinkButton type="plain" bold class="dynamic max-w-200px mx-auto mt-60px bg-brand-0 text-white text-sm <lg:max-h-54px <lg:mt-24px" href="/contact-sales">免费试用获取报价</LinkButton>
  312. </div>
  313. </div>
  314. <div class="lg:my-80px <lg:mt-40px">
  315. <h3 class="lg:mb-70px text-xl text-brand-1 font-bold text-center <lg:text-20px <lg:leading-24px">ComPDFKit产品优势</h3>
  316. <div class="container flex justify-between <lg:text-center <lg:hidden">
  317. <HomeBlock>
  318. <img class="<lg:mx-auto" src="/images/home/mature_technology.png" alt="成熟的研发技术">
  319. <template slot="title">成熟的研发技术</template>
  320. <template slot="desc">拥有多年的技术积累,建立了完善的产品研发和迭代机制,为产品竞争力提供坚实保障。</template>
  321. </HomeBlock>
  322. <HomeBlock>
  323. <img class="<lg:mx-auto" src="/images/home/full_pdf_transform.png" alt="全面的PDF和格式转换功能">
  324. <template slot="title">全面的PDF和格式转换功能</template>
  325. <template slot="desc">支持全面的PDF和转换功能,满足多样化需求,简单易用,企业替换、迁移无培训成本。</template>
  326. </HomeBlock>
  327. <HomeBlock>
  328. <img class="<lg:mx-auto" src="/images/home/service_aftermarket.png" alt="优质的服务和售后保障体系">
  329. <template slot="title">优质的服务和售后保障体系</template>
  330. <template slot="desc">提供7*24小时的专业服务保障及技术支持,多种方式快速响应用户反馈, 解答疑问。</template>
  331. </HomeBlock>
  332. <HomeBlock>
  333. <img class="<lg:mx-auto" src="/images/home/intellectual_property.png" alt="Future-oriented">
  334. <template slot="title">自主知识产权</template>
  335. <template slot="desc">技术独立自主,符合国际标准, 帮助企业对接国际业务的同时,无需考虑版权风险。</template>
  336. </HomeBlock>
  337. </div>
  338. <div class="lg:hidden">
  339. <PdfSdkCommentSwiper :comment="comment"/>
  340. </div>
  341. <LinkButton type="plain" bold class="dynamic max-w-200px mx-auto mt-60px bg-brand-0 text-white text-sm <lg:mt-0 <lg:mb-40px" href="/contact-sales">免费试用</LinkButton>
  342. </div>
  343. <CooperationCase />
  344. <div class="lg:pt-52px lg:pb-90px <lg:py-40px">
  345. <div class="container text-center">
  346. <h3 class="text-xl text-brand-1 font-bold <lg:text-20px <lg:leading-24px">ComPDFKit 功能展示代码样例</h3>
  347. <TextParagraph class="max-w-970px mx-auto lg:mt-16px lg:mb-60px <lg:text-12px <lg:leading-16px <lg:mt-16px <lg:mb-24px">值得开发者信赖的全功能PDF API,随市场对PDF SDK需求的改变,不断调整我们的SDK产品,提供高性能的PDF开发库,缩短您项目的开发周期。</TextParagraph>
  348. <CodePreviewIndex :platform="platform" :devices="devices" :language="language" :languageIndex="languageIndex" :code="code" />
  349. </div>
  350. </div>
  351. <div class="pdfpro">
  352. <div class="pdfpro-container lg:pt-94px lg:pb-74px <lg:py-30px <md:px-20px">
  353. <div class="pdfpro-content mx-auto 2xl:w-1280px lg:py-47px lg:w-930px @md:w-700px <lg:py-24px <lg:px-16px <lg:text-center <md:w-full <md:max-w-520px">
  354. <div class="lg:flex lg:pl-[7.0313%] lg:pr-[2.3438%] @lg:items-center @xl:items-center">
  355. <div class="lg:w-[39.3103%]">
  356. <img class="w-60px <lg:mx-auto" src="/images/home/pdfpro_logo.png" alt="pdfpro logo">
  357. <h3 class="mb-8px text-brand-1 font-bold lg:mt-12px lg:text-xl <lg:mt-8px <lg:text-base">PDF Reader Pro</h3>
  358. <div class="text-brand-1 text-18px leading-24px font-bold">由ComPDFKit提供技术支持</div>
  359. <div class="mt-16px text-tiny text-[#6A6F77] <lg:text-12px <lg:leading-16px">PDF Reader Pro是由ComPDFKit提供技术支持的、一站式的PDF编辑器。快速集成ComPDFKit丰富的PDF功能,加速PDF Reader Pro产品投入市场并获得了广大用户的认可。</div>
  360. <LinkButton type="plain" bold class="dynamic max-w-200px mt-24px bg-brand-0 text-white text-sm <lg:mx-auto" :href="$config.pdfproHost" target="_blank">点击了解更多</LinkButton>
  361. </div>
  362. <div class="img-container lg:w-[61.8163%] 2xl:mb-[-55px] <lg:mt-15px">
  363. <picture>
  364. <source type="image/png" media="(min-width: 930px)" srcset="/images/home/reader_image@2x.png">
  365. <source type="image/png" media="(max-width: 929px)" srcset="/images/home/reader_image.png">
  366. <img class="<lg:mx-auto <lg:w-full <lg:max-w-648px" src="/images/home/reader_image.png" alt="PDF Reader Pro Picture">
  367. </picture>
  368. </div>
  369. </div>
  370. </div>
  371. </div>
  372. </div>
  373. <PdfSdkGetProduct />
  374. <Service />
  375. <Footer />
  376. </div>
  377. </template>
  378. <style lang="scss" scoped>
  379. .top-banner {
  380. background: url('/images/home/bg_top@2x.jpg') center/cover no-repeat;
  381. }
  382. .comment {
  383. .comment-item {
  384. box-shadow: 0px 13px 46px #AFCBFF, inset 1.5px -1.5px 1.5px rgba(214, 214, 214, 0.4), inset -1.5px 1.5px 1.5px rgba(255, 255, 255, 0.4);
  385. }
  386. }
  387. .all-platforms {
  388. background: url('/images/home/platforms_background@2x.jpg') center/cover no-repeat;
  389. }
  390. .pdfpro {
  391. background: linear-gradient(264.73deg, #377BFF -1.36%, #FFFFFF 107.27%);
  392. }
  393. @media screen and (max-width: 929px) {
  394. .top-banner {
  395. background-image: url('/images/home/bg_top.jpg');
  396. }
  397. .pdfpro-content {
  398. background: linear-gradient(186.94deg, rgba(255, 255, 255, 0.76) 24.77%, rgba(255, 255, 255, 0.48) 71.79%, rgba(255, 255, 255, 0) 86.64%);
  399. backdrop-filter: blur(1.47626px);
  400. border-radius: 11px;
  401. }
  402. }
  403. @media screen and (max-width: 767px) {
  404. .all-platforms {
  405. background-image: url('/images/home/platforms_background.jpg');
  406. }
  407. }
  408. @media screen and (min-width: 930px) {
  409. .card {
  410. transition: all .2s ease;
  411. svg {
  412. transition: all .2s ease;
  413. }
  414. &:hover {
  415. transform: translateY(-10px);
  416. box-shadow: 0px 10px 20px rgba(6, 80, 222, 0.25);
  417. svg {
  418. transform: translateX(8px);
  419. }
  420. }
  421. }
  422. .card-conversion {
  423. &:hover {
  424. box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.25);
  425. }
  426. }
  427. .review-card {
  428. background: #EEF7FF url('/images/home/customer.png') right bottom/100% auto no-repeat;
  429. }
  430. .pdfpro-container {
  431. background: linear-gradient(264.73deg, #377BFF -1.36%, #FFFFFF 107.27%);
  432. }
  433. .pdfpro-content {
  434. background: linear-gradient(89.1deg, rgba(255, 255, 255, 0.76) 25%, rgba(255, 255, 255, 0.48) 67.84%, rgba(255, 255, 255, 0) 81.37%);
  435. backdrop-filter: blur(5.5px);
  436. border-radius: 16px;
  437. transform: translateX(-50px);
  438. }
  439. }
  440. @media screen and (min-width: 1280px) {
  441. .pdfpro .img-container {
  442. transform: translateY(25px);
  443. }
  444. }
  445. </style>