/* package/polling/polling.wxss */ .page { min-height: 100vh; background: #F7F7FA; position: relative; } /* 顶部tab */ .swiper-tab { display: flex; height: 98rpx; line-height: 98rpx; width: 100%; position: fixed; top: 0; z-index: 100; background: #fff; border-bottom: 2rpx solid #e8e8e8; } .swiper-tab-item { flex: 1; font-size: 28rpx; text-align: center; color: #333333; position: relative; } .active { color: #1979ff; position: relative; }