57 lines
1.3 KiB
CSS
57 lines
1.3 KiB
CSS
@import './styles/tokens.css';
|
|
@import './styles/base.css';
|
|
@import './styles/nav-bar.css';
|
|
@import './styles/home.css';
|
|
@import './styles/stores.css';
|
|
@import './styles/benefit.css';
|
|
@import './styles/mine.css';
|
|
@import './styles/address.css';
|
|
|
|
page,
|
|
body {
|
|
background: var(--color-background);
|
|
color: var(--color-on-surface);
|
|
font-family: var(--font-body);
|
|
margin: 0;
|
|
}
|
|
|
|
/* 全局隐藏滚动条(H5 + 小程序均可滚动,仅隐藏轨道) */
|
|
html,
|
|
page,
|
|
body,
|
|
#app,
|
|
.taro_page,
|
|
.taro_router,
|
|
.taro-tabbar__panel {
|
|
scrollbar-width: none; /* Firefox */
|
|
-ms-overflow-style: none; /* legacy Edge */
|
|
}
|
|
|
|
html::-webkit-scrollbar,
|
|
page::-webkit-scrollbar,
|
|
body::-webkit-scrollbar,
|
|
#app::-webkit-scrollbar,
|
|
.taro_page::-webkit-scrollbar,
|
|
.taro_router::-webkit-scrollbar,
|
|
.taro-tabbar__panel::-webkit-scrollbar {
|
|
width: 0 !important;
|
|
height: 0 !important;
|
|
display: none !important;
|
|
background: transparent;
|
|
}
|
|
|
|
/* H5:页面内已渲染 UserTabBar,隐藏 Taro 自带底栏,避免双层 Tab */
|
|
.taro-tabbar__tabbar,
|
|
.taro-tabbar__border {
|
|
display: none !important;
|
|
height: 0 !important;
|
|
visibility: hidden !important;
|
|
pointer-events: none !important;
|
|
}
|
|
|
|
.taro-tabbar__container,
|
|
.taro-tabbar__panel {
|
|
padding-bottom: 0 !important;
|
|
bottom: 0 !important;
|
|
}
|