This commit is contained in:
liuye
2024-07-16 10:12:00 +08:00
parent 1a67e725af
commit 8e389a2afc
3 changed files with 39 additions and 57 deletions

View File

@@ -6,7 +6,7 @@
<img src="https://cdn.sinoecare.com/i/2024/07/12/6690a1303d423.png" alt="">
</div>
<div class="statistics-content" v-if="currentTabBar == 0">
<div class="top-tabs" :style="{'top': `${statusBarHeight+50}px`}">
<div class="top-tabs">
<u-tabs :list="tabList" :is-scroll="false" :current="currentTabs" height="96" bg-color="#fff" inactive-color="#222"
active-color="#1D2229" :bar-style="barStyle" font-size="34" @change="change"></u-tabs>
</div>
@@ -514,40 +514,15 @@ uni-page-body {
z-index: -1;
}
}
.header-content-bg {
width: 100%;
position: relative;
img {
width: 100%;
height: 592px;
position: absolute;
z-index: -1;
}
}
.top-tabs {
width: calc(100% - 64px);
box-sizing: border-box;
position: fixed;
left: 32px;
}
::v-deep .u-tabs {
border-bottom: 1px solid #eee;
border-top-left-radius: 16px;
border-top-right-radius: 16px;
}
.statistics-content {
padding-bottom: 216px;
// .top-tabs {
// padding: 32px;
// box-sizing: border-box;
// ::v-deep .u-tabs {
// border-radius: 16px;
// }
// }
.top-tabs {
padding: 32px;
box-sizing: border-box;
::v-deep .u-tabs {
border-radius: 16px;
}
}
.statistics-chart {
padding: 0 32px;
.statistics-num {