@ -1,7 +1,7 @@
<template>
<div class="home">
<div class="tabs">
<van-tabs v-model="active" sticky>
<van-tabs v-model="active" >
<van-tab title="数据总览">
<dataOverview></dataOverview>
</van-tab>
@ -43,11 +43,18 @@
.tabs {
font-size: 36px;
height: 80px;
padding-top: 90px;
// position: fixed;
// top: 0;
::v-deep {
.van-tabs__wrap {
height: 90px;
padding-bottom: 10px;
position: fixed;
top: 0;
z-index: 999;
width: 100%;
}
.van-tabs__nav--line {