竖屏封面

This commit is contained in:
草莓 2024-11-30 16:49:16 +08:00
parent 649bdf1121
commit fa07f67398
2 changed files with 6 additions and 1 deletions

View File

@ -1933,6 +1933,11 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
main.dom.startBackground.setAttribute('__src__', startBackground); main.dom.startBackground.setAttribute('__src__', startBackground);
main.dom.startBackground.src = startBackground; main.dom.startBackground.src = startBackground;
} }
if (core.domStyle.isVertical) {
main.dom.startBackground.style.width = "200%"
} else {
main.dom.startBackground.style.width = "100%"
}
} }
const _resize_canvas = function (obj) { //自适应画布 const _resize_canvas = function (obj) { //自适应画布
main.dom.outerBackground.style.width = obj.totalWidth + 'px'; main.dom.outerBackground.style.width = obj.totalWidth + 'px';

View File

@ -161,7 +161,7 @@
.startButton { .startButton {
width: 100%; width: 100%;
margin: 0; margin: 0;
font: 1.6rem "pala", sans-serif; font:2rem "pala", sans-serif;
font-weight: normal; font-weight: normal;
display: block; display: block;
cursor: pointer; cursor: pointer;