This commit is contained in:
aihe 2024-09-01 17:26:43 +08:00
parent 3bee60f46f
commit 1908b4bbe8

View File

@ -1,30 +1,30 @@
<template>
<tpx-layout>
<template v-slot:header></template>
<template v-slot:body>
<view class="dt-block">
</view>
</template>
<template v-slot:footer>
<view class="blcok-white-noradius">
<u-row justify="space-around">
<u-button @click="downloadFile(``)" :plain="true" size="large" shape="circle" type="primary" custom-style="margin: 0 10rpx;height:80rpx;font-size: 30rpx;"
>下载PDF到本地
</u-button>
<u-button @click="setClipboardData(`dasdasd`)" size="large" shape="circle" custom-style="margin: 0 10rpx;height:80rpx;font-size: 30rpx;"
>复制分享链接
</u-button>
</u-row>
</view>
</template>
</tpx-layout>
<tpx-page>
<tpx-layout>
<template v-slot:header></template>
<template v-slot:body>
<view class="dt-block">
</view>
</template>
<template v-slot:footer>
<view class="blcok-white-noradius">
<u-row justify="space-around">
<u-button @click="downloadFile(``)" :plain="true" size="large" shape="circle" type="primary" custom-style="margin: 0 10rpx;height:80rpx;font-size: 30rpx;"
>下载PDF到本地
</u-button>
<u-button @click="setClipboardData(`dasdasd`)" size="large" shape="circle" custom-style="margin: 0 10rpx;height:80rpx;font-size: 30rpx;"
>复制分享链接
</u-button>
</u-row>
</view>
</template>
</tpx-layout>
</tpx-page>
</template>
<script>
import getCdnUrl from "@/common/getCdnUrl"
import { goto, goBack, setClipboardData, confirmModal, showLoading, downloadFile } from "@/common/untool"
export default {
props: {
// hasLeftWin: {
@ -35,7 +35,9 @@
},
data() {
return {
queryOption: {
url: ''
}
}
},
onShareAppMessage() {
@ -51,10 +53,6 @@
onUnload() {
},
methods: {
setClipboardData,
goto,
downloadFile,
getCdnUrl,
initData(){
// showLoading()
},