update 证书优化
This commit is contained in:
parent
d0e1cda98e
commit
43214e22e4
|
@ -49,9 +49,9 @@ class CertificateGenerator:
|
||||||
self.doc.setFont('SIMSUN', 12, leading=5)
|
self.doc.setFont('SIMSUN', 12, leading=5)
|
||||||
self.doc.drawString(2.8 * inch, 433, '统一社会信用代码:{}'.format(self.text_data['统一社会信用代码']))
|
self.doc.drawString(2.8 * inch, 433, '统一社会信用代码:{}'.format(self.text_data['统一社会信用代码']))
|
||||||
# ESG得分
|
# ESG得分
|
||||||
self.doc.setFont('SIMSUN', 12, leading=5)
|
self.doc.setFont('SourceHanSerifCN-Bold', 12, leading=5)
|
||||||
self.doc.setFillColor('#B79249')
|
self.doc.setFillColor('#B79249')
|
||||||
self.doc.drawString(5.35 * inch, 357, '{}'.format(self.text_data['ESG得分']))
|
self.doc.drawString(5.84 * inch, 366, '{}'.format(self.text_data['ESG得分']))
|
||||||
# 评价等级
|
# 评价等级
|
||||||
self.doc.setFont('SourceHanSerifCN-Bold', 35)
|
self.doc.setFont('SourceHanSerifCN-Bold', 35)
|
||||||
self.doc.drawString(3.2 * inch, 285, '{}级企业'.format(self.text_data['评价等级']))
|
self.doc.drawString(3.2 * inch, 285, '{}级企业'.format(self.text_data['评价等级']))
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 191 KiB |
Loading…
Reference in New Issue