feat: 新增 Taro 模板双端运行与独立 Web 预览

This commit is contained in:
que01 committed 2026-10-08 15:28:26 +08:00
1 parent f4061a24bd
commit 7e8fc01fba
48 files changed
+11576 -12

No files matched your search

+55
View File
@@ -0,0 +1,55 @@
page {
background: #fafaf9;
}
body {
margin: 0;
}
view,
text,
image,
input,
textarea,
button {
box-sizing: border-box;
}
button::after {
border: 0;
}
image {
display: block;
}
.runtime-state {
min-height: 70vh;
padding: 80px 32px;
color: #78716c;
font-size: 28px;
text-align: center;
}
.runtime-state button {
margin-top: 24px;
}
.preview-context {
padding: 12px 32px;
color: #78716c;
background: #fff;
border-bottom: 1px solid #eee;
font-size: 22px;
}
@media (min-width: 600px) {
body {
max-width: 430px;
margin: 0 auto;
background: #e7e5e4;
}
#app {
min-height: 100vh;
background: #fafaf9;
}
}
/* postcss-pxtransform disable */
@media (min-width: 600px) {
html {
font-size: 22.933333px !important;
}
}
/* postcss-pxtransform enable */