|
@@ -172,10 +172,11 @@ export default {
|
|
line-height: 44px;
|
|
line-height: 44px;
|
|
text-align: center;
|
|
text-align: center;
|
|
font-size: 16px;
|
|
font-size: 16px;
|
|
|
|
+ background-color: #ffffff;
|
|
}
|
|
}
|
|
</style>`
|
|
</style>`
|
|
const iframe = document.createElement('iframe');
|
|
const iframe = document.createElement('iframe');
|
|
- iframe.setAttribute('style', `position: absolute;top: 0;left: 0;width: calc(11.7in - 1.27cm);height: 300px;z-index: 1000;opacity: 1;border: none;background-color: #efefef;`)
|
|
|
|
|
|
+ iframe.setAttribute('style', `position: absolute;top: 0;left: 0;width: calc(11.7in - 1.27cm);height: 300px;z-index: -1;opacity: 0;border: none;background-color: #efefef;`)
|
|
document.body.appendChild(iframe);
|
|
document.body.appendChild(iframe);
|
|
const doc = iframe.contentDocument;
|
|
const doc = iframe.contentDocument;
|
|
const titleDom = `<div class="title">${title}</div>`;
|
|
const titleDom = `<div class="title">${title}</div>`;
|