<template>
    <div class="hc-page-box">
        <hc-new-card title="测试签章">
            <HcSignPdf :batch="isBatch" :dom="hcSignImageArr" :sign="logoName" :src="pdfUrl" @change="pdfChange" />
        </hc-new-card>
    </div>
</template>

<script setup>
import { ref } from 'vue'
import HcSignPdf from './hc-pdf1.vue'

const isBatch = ref(true)
const pdfUrl = 'https://blade-oss-chongqing.oss-cn-shenzhen.aliyuncs.com//upload/20240816/c584d958a8cbcd7e3e3a163dc0976339.pdf'

const hcSignImageArr = ref([])
const logoName = ref('https://blade-oss-chongqing.oss-cn-shenzhen.aliyuncs.com//upload/20231019/5cd4978468e45c123a37fd9515cb535f.png')

const pdfChange = (data) => {
    console.log('签章数据', data)
}
</script>
