9.20界面

This commit is contained in:
2025-09-20 21:09:27 +08:00
parent d343a1389a
commit 44ac2723a0
118 changed files with 8042 additions and 679 deletions

View File

@@ -12,6 +12,50 @@
}
</script>
<style>
<style lang="scss">
/*每个页面公共css */
page{
background-color: $uni-bg-color;
color: $uni-text-color;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* 强制所有端白底(防止小程序旧样式残留覆盖) */
.uni-page-body, uni-page-body {
background-color: $uni-bg-color !important;
}
/* 小程序节点:强制 wx-view 白底 */
wx-view { background-color: #ffffff !important; }
/* 例外:需要有主色底的元素,强制还原 */
.cta, .notice-left, .fab {
background-color: $uni-color-primary !important;
border-color: $uni-color-primary !important;
color: #ffffff !important;
}
.cta .cta-text { color:#ffffff !important; font-weight: 700; }
/* 覆盖历史深色背景(统一纯白/浅灰) */
.home, .report, .order, .me, .page { background: $uni-bg-color !important; }
.notice, .hero, .grid-wrap, .panel, .card, .tabs, .seg, .list, .search, .summary, .toolbar, .item { background: $uni-bg-color-grey !important; }
.text-secondary{
color:$uni-text-color-grey;
}
.card{
background-color:$uni-bg-color-grey;
border:1px solid $uni-border-color;
border-radius: 8rpx;
}
.primary{
color:$uni-color-primary;
}
/* 底部原生 tabBarH5/APP端可生效字体加大 */
.uni-tabbar__label, .uni-tabbar__text{
font-size: 28rpx !important;
font-weight: 700 !important;
}
/* 图表统一透明底(常见容器/画布选择器) */
canvas, .ec-canvas, .echarts, .charts, .chart, .ucharts-box{
background-color: transparent !important;
}
</style>