Browse Source

1

pull/15/head^2
zhaoguoqiang 3 years ago
parent
commit
9b80a7e3e2
  1. 9
      src/views/Home/index.vue

9
src/views/Home/index.vue

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

Loading…
Cancel
Save