移除 H5 软键盘打开时平台壳全局 transform 位移,避免浏览器原生避让后再次弹跳。 保留键盘打开状态、底部 dock 隐藏和浅色根背景兜底,避免短表单露出黑色宿主底色。 补充小程序 web-view 原生 page 浅色背景和对应样式测试。 更新统一创作页与平台键盘适配文档,沉淀不再全局上移平台壳的约束。
83 lines
1.4 KiB
Plaintext
83 lines
1.4 KiB
Plaintext
page {
|
|
background: #fffdf9;
|
|
}
|
|
|
|
.web-view-host {
|
|
display: block;
|
|
width: 100%;
|
|
min-height: 100vh;
|
|
background: #fffdf9;
|
|
}
|
|
|
|
.setup-screen {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 48rpx;
|
|
background: #0b0f14;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.setup-card {
|
|
width: 100%;
|
|
max-width: 560rpx;
|
|
padding: 36rpx;
|
|
border: 1rpx solid rgba(255, 255, 255, 0.14);
|
|
border-radius: 12rpx;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.setup-title {
|
|
font-size: 34rpx;
|
|
font-weight: 600;
|
|
line-height: 1.35;
|
|
color: #f5f7fb;
|
|
}
|
|
|
|
.setup-text {
|
|
margin-top: 16rpx;
|
|
font-size: 26rpx;
|
|
line-height: 1.55;
|
|
color: rgba(245, 247, 251, 0.72);
|
|
}
|
|
|
|
.setup-text--danger {
|
|
color: #ffb4a9;
|
|
}
|
|
|
|
.nickname-input {
|
|
margin-top: 28rpx;
|
|
width: 100%;
|
|
min-height: 88rpx;
|
|
padding: 0 24rpx;
|
|
border: 1rpx solid rgba(255, 255, 255, 0.22);
|
|
border-radius: 8rpx;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
color: #f5f7fb;
|
|
font-size: 28rpx;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.retry-button {
|
|
margin-top: 28rpx;
|
|
width: 100%;
|
|
border-radius: 8rpx;
|
|
background: #f5f7fb;
|
|
color: #0b0f14;
|
|
font-size: 28rpx;
|
|
line-height: 2.6;
|
|
}
|
|
|
|
.ghost-button {
|
|
margin-top: 18rpx;
|
|
width: 100%;
|
|
border-radius: 8rpx;
|
|
border: 1rpx solid rgba(255, 255, 255, 0.24);
|
|
background: transparent;
|
|
color: rgba(245, 247, 251, 0.86);
|
|
font-size: 26rpx;
|
|
line-height: 2.6;
|
|
}
|