# feng-seal **Repository Path**: fs1997/feng-seal ## Basic Information - **Project Name**: feng-seal - **Description**: uniapp插件 canvas电子印章、图章生成工具 ,一款解决前端页面生成印章、图章的组件 - **Primary Language**: NodeJS - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-12-12 - **Last Updated**: 2024-03-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # feng-seal 印章生成工具 ## 快速使用 ```vue ``` 生成并返回图片地址 ```js this.$refs.seal.make().then((res) => { console.log(res); }); ``` ### props参数详情 | 参数 | 类型 | 默认值 | 说明 | | ----------- | ------- | ------ | ------------------------------------------------------------ | | size | string | 400px | 印章宽高 支持使用rpx | | companyText | string | | 上弦文 | | sealCode | string | | 下弦文 | | sealText | string | | 印章名称 | | color | string | red | 颜色 | | inCircle | Boolean | false | 是否显示印章内圈 | | hidden | Boolean | false | 是否隐藏canvas画布 | | imageType | string | png | 返回图片的类型 ,可选类型(png,base64) | | centerImage | string | | 默认显示五角星,修改需要传小程序内图片链接,使用uni.download()下载的链接 |