|
|
|
@ -7,7 +7,7 @@
|
|
|
|
|
<a-button type="primary" size="small" @click="downLoad" style="margin: 0 10px">下载</a-button>
|
|
|
|
|
<a-button type="primary" size="small" @click="openMail" >发送邮件</a-button>
|
|
|
|
|
<a-button type="primary" size="small" style="margin: 0 10px">盖章</a-button>
|
|
|
|
|
<a-popover overlayClassName="printMoadl-card">
|
|
|
|
|
<a-popover overlayClassName="printMoadl-card">
|
|
|
|
|
<template #content>
|
|
|
|
|
<div>
|
|
|
|
|
<div style="font-weight: bold;margin: 10px 0;">分享</div>
|
|
|
|
@ -54,6 +54,7 @@ async function init(url,name) {
|
|
|
|
|
let result = await QRCode.toDataURL(fileURL.value);
|
|
|
|
|
codeUrl.value = result
|
|
|
|
|
fileName.value = name
|
|
|
|
|
console.log(url,result)
|
|
|
|
|
}
|
|
|
|
|
function openMail(){
|
|
|
|
|
EmailModalRef.value.init(fileURL.value,fileName.value)
|
|
|
|
@ -103,6 +104,7 @@ defineExpose({
|
|
|
|
|
<style lang="less">
|
|
|
|
|
.printMoadl-card {
|
|
|
|
|
width: 385px;
|
|
|
|
|
z-index: 1200 !important;
|
|
|
|
|
|
|
|
|
|
.ant-popover-inner-content {
|
|
|
|
|
width: 100%;
|
|
|
|
|