|
@@ -326,10 +326,15 @@ export default {
|
|
|
`width: ${this.params.cardWidth}mm;`,
|
|
|
`width: ${this.params.cardHeight}mm;`
|
|
|
);
|
|
|
- console.log("html:", html);
|
|
|
+ html = html.replace(
|
|
|
+ `margin-right: ${this.params.paddingRight}mm`,
|
|
|
+ `margin-right: ${this.params.paddingRight + 15}mm`
|
|
|
+ );
|
|
|
}
|
|
|
html = html.replace(`</style>`, `</style><div class="card-a4">`);
|
|
|
html = `${html}</div>`;
|
|
|
+
|
|
|
+ console.log("html:", html);
|
|
|
let params = {
|
|
|
orderId: this.orderDetail.orderId,
|
|
|
shopId: this.orderDetail.shopId,
|