|
@@ -56,7 +56,14 @@ export default {
|
|
MacWhite,
|
|
MacWhite,
|
|
WinWhite
|
|
WinWhite
|
|
},
|
|
},
|
|
- props: ['platform'],
|
|
|
|
|
|
+ props: {
|
|
|
|
+ platform: {
|
|
|
|
+ default: {}
|
|
|
|
+ },
|
|
|
|
+ showBanner: {
|
|
|
|
+ default: false
|
|
|
|
+ }
|
|
|
|
+ },
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
tool: 0,
|
|
tool: 0,
|
|
@@ -123,7 +130,7 @@ export default {
|
|
src: '/images/PDFReaderPro/tool/batch.png',
|
|
src: '/images/PDFReaderPro/tool/batch.png',
|
|
title: '加速工作流程',
|
|
title: '加速工作流程',
|
|
des: [
|
|
des: [
|
|
- '灵活地批量压缩、提取及合并文档。',
|
|
|
|
|
|
+ '灵活地批量压缩、合并文档。',
|
|
'一次为多个文件批量添加水印、背景、页眉、页脚等。',
|
|
'一次为多个文件批量添加水印、背景、页眉、页脚等。',
|
|
'通过设置密码增强安全性,利用批量加密功能有效保护文件。'
|
|
'通过设置密码增强安全性,利用批量加密功能有效保护文件。'
|
|
]
|
|
]
|
|
@@ -177,24 +184,41 @@ export default {
|
|
src: '/images/PDFReaderPro/tool/form.png',
|
|
src: '/images/PDFReaderPro/tool/form.png',
|
|
title: '轻松创建表格和签名',
|
|
title: '轻松创建表格和签名',
|
|
des: [
|
|
des: [
|
|
- '用文本域、复选框、下拉菜单、图像等创建可填写的PDF。',
|
|
|
|
|
|
+ '用文本域、复选框、下拉菜单等创建可填写的PDF。',
|
|
'轻点几下即可使用个人电子签名签署合同。',
|
|
'轻点几下即可使用个人电子签名签署合同。',
|
|
'支持多种格式的签名输入(触控板、键盘、图像)。'
|
|
'支持多种格式的签名输入(触控板、键盘、图像)。'
|
|
]
|
|
]
|
|
}
|
|
}
|
|
- ]
|
|
|
|
|
|
+ ],
|
|
|
|
+ scrollLeft: 0
|
|
}
|
|
}
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
this.changeIndex()
|
|
this.changeIndex()
|
|
},
|
|
},
|
|
|
|
+ watch: {
|
|
|
|
+ showBanner (val) {
|
|
|
|
+ if (val) {
|
|
|
|
+ this.changeIndex()
|
|
|
|
+ } else {
|
|
|
|
+ this.stopChange()
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
methods: {
|
|
methods: {
|
|
changeIndex () {
|
|
changeIndex () {
|
|
this.time = setInterval(() => {
|
|
this.time = setInterval(() => {
|
|
if (this.tool > 7) {
|
|
if (this.tool > 7) {
|
|
this.tool = 0
|
|
this.tool = 0
|
|
|
|
+ this.scrollLeft = 0
|
|
|
|
+ this.$refs.myElement.scrollLeft = 0
|
|
} else {
|
|
} else {
|
|
this.tool++
|
|
this.tool++
|
|
|
|
+ let containerWidth = this.$refs.myElement.clientWidth
|
|
|
|
+ if ((this.tool + 1) * 115 > containerWidth) {
|
|
|
|
+ this.scrollLeft = this.scrollLeft + 120
|
|
|
|
+ }
|
|
|
|
+ this.$refs.myElement.scrollLeft = this.scrollLeft
|
|
}
|
|
}
|
|
}, 5000)
|
|
}, 5000)
|
|
},
|
|
},
|
|
@@ -224,7 +248,6 @@ export default {
|
|
padding: 12px 0;
|
|
padding: 12px 0;
|
|
background: linear-gradient(90deg, rgba(245, 247, 250, 0) 0%, #F5F7FA 52.6%, rgba(245, 247, 250, 0) 100%);
|
|
background: linear-gradient(90deg, rgba(245, 247, 250, 0) 0%, #F5F7FA 52.6%, rgba(245, 247, 250, 0) 100%);
|
|
margin-bottom: 16px;
|
|
margin-bottom: 16px;
|
|
- overflow-x: auto;
|
|
|
|
.tool {
|
|
.tool {
|
|
display: flex;
|
|
display: flex;
|
|
align-items: center;
|
|
align-items: center;
|
|
@@ -325,4 +348,73 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+@media screen and (max-width: 1280px) {
|
|
|
|
+ .choose-tools {
|
|
|
|
+ h2 {
|
|
|
|
+ margin-top: 48px;
|
|
|
|
+ margin-bottom: 20px;
|
|
|
|
+ font-size: 24px;
|
|
|
|
+ line-height: 32px;
|
|
|
|
+ }
|
|
|
|
+ .tools {
|
|
|
|
+ padding: 8px 0;
|
|
|
|
+ overflow-x: auto;
|
|
|
|
+ &::-webkit-scrollbar {
|
|
|
|
+ scrollbar-width: none; /* Firefox */
|
|
|
|
+ -ms-overflow-style: none; /* IE 10+ */
|
|
|
|
+ display: none; /* Chrome Safari */
|
|
|
|
+ }
|
|
|
|
+ .tool {
|
|
|
|
+ min-width: 115px;
|
|
|
|
+ padding: 4px;
|
|
|
|
+ font-size: 14px;
|
|
|
|
+ line-height: 20px;
|
|
|
|
+ svg {
|
|
|
|
+ width: 32px;
|
|
|
|
+ height: 32px;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ .detail {
|
|
|
|
+ display: flex;
|
|
|
|
+ flex-direction: column-reverse;
|
|
|
|
+ min-height: none;
|
|
|
|
+ .img-container {
|
|
|
|
+ width: 100%;
|
|
|
|
+ }
|
|
|
|
+ .text-container {
|
|
|
|
+ width: 100%;
|
|
|
|
+ .title {
|
|
|
|
+ font-size: 20px;
|
|
|
|
+ line-height: 28px;
|
|
|
|
+ text-align: center;
|
|
|
|
+ }
|
|
|
|
+ .des {
|
|
|
|
+ text-align: center;
|
|
|
|
+ margin-top: 20px;
|
|
|
|
+ li {
|
|
|
|
+ font-size: 14px;
|
|
|
|
+ line-height: 20px;
|
|
|
|
+ color: #232F48;
|
|
|
|
+ opacity: .8;
|
|
|
|
+ }
|
|
|
|
+ li + li {
|
|
|
|
+ margin-top: 8px;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ .link {
|
|
|
|
+ margin-top: 20px;
|
|
|
|
+ display: flex;
|
|
|
|
+ justify-content: center;
|
|
|
|
+ flex-direction: column;
|
|
|
|
+ align-items: center;
|
|
|
|
+ a + a {
|
|
|
|
+ margin-left: 0px;
|
|
|
|
+ margin-top: 16px;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+}
|
|
</style>
|
|
</style>
|