平台基础样式
html,
body {
margin: 0px;
padding: 0px;
}
.bs-app-scrollbar-top {
.el-scrollbar__wrap:nth-child(1) {
height: auto;
}
}
.bs-root-dialog {
.el-dialog__body {
padding: 0px 0px;
}
}
.bs-app-scrollbar-auto {
.el-scrollbar__wrap:nth-child(1) {
height: 100%;
}
}
.target-fix {
// 让它滚动上来的时候在实际位置的基础上向下偏移60px,和你设置的nav高度一致即可;
position: relative;
top: -4rem; // 偏移值
display: block;
height: 0;
overflow: hidden;
}
@import "./mixin.scss";
.dialog-export,
.dialog-import {
.el-dialog__body {
padding: 0px 20px;
}
}
.app-header__fixed {
height: 60px;
line-height: 25px;
margin-bottom: 60px;
text-align: center;
vertical-align: middle;
background-color: rgb(58, 112, 194);
color: #ffffff;
position: fixed;
top: 0;
z-index: 100;
width: 100vw;
}
.app-form__dialog{
z-index: 100;
}
// .app-main__body {
// // padding-top: 70px;
// // padding-bottom: 60px;
// }
.app-foot {
@include fxied-bottom();
// height: 60px;
// line-height: 25px;
// padding-top: 5px;
// background-color:rgb(132, 196, 255);
// background-color: rgb(101, 144, 248);
// border: 2px solid;
/* Old Firefox */
// color: #ffffff;
width: 100vw;
}
.app-back {
text-align: center;
vertical-align: middle;
color: #ffffff;
background-color: rgb(58, 112, 194);
height: 40px;
padding-top: 12px;
padding-left: 0.8rem;
.el-page-header__content {
color: #ffffff;
}
}
.g-app-scrollbar {
.el-scrollbar {
height: calc(100vh - 1rem);
.el-scrollbar__wrap {
overflow-x: hidden;
}
}
}
.bs-page-scroll__alt {
text-align: center;
}
.mt {
margin-top: 0.8rem;
}
.border__tn {
border-top: 0px;
}
@media screen and (min-width:651px) {
.app-foot {
//display: none;
}
.app-header-top__fixed {
display: none;
}
.app-main__body {
// padding-top: 70px;
}
}
/* 横向放置的手机及分辨率更小的设备 */
@media screen and (max-width:650px) {
.el-message-box {
width: 100%;
}
.app-container {}
.app-header__fixed {
// display: none;
@include fxied-bottom();
top: calc(100vh - 60px);
}
.g-header-nav {
padding: 0px 0px;
.van-nav-bar {
z-index: 100;
}
}
.app-header-top__fixed {
top: 0rem;
}
.app-main__body {
padding-bottom: 80px;
padding-top: 0px;
}
}
.app-g__hidden {
display: none;
;
}
.height-100 {
width: 100%;
}
.width-100 {
width: 100%;
}
.width-100-vw {
width: 100vw;
}
.width-100-vw-2r {
width: calc(100vw - 2rem);
}
.width-50 {
width: 50%;
}
.width-80 {
width: 80%;
}
.width-25 {
width: 25%;
}
.p-top-08 {
padding-top: 0.8rem;
}
.p-top-04 {
padding-top: 0.4rem;
}
.p-top-05 {
padding-top: 0.5rem;
}
.p-top-06 {
padding-top: 0.6rem;
}
.p-top-07 {
padding-top: 0.7rem;
}
.p-top-10 {
padding-top: 1rem;
}
.p-top-15 {
padding-top: 1.5rem;
}
.p-top-20 {
padding-top: 2rem;
}
.p-top-25 {
padding-top: 2.5rem;
}
.p-top-30 {
padding-top: 3rem;
}
.p-top-40 {
padding-top: 4rem;
}
.p-top-50 {
padding-top: 5rem;
}
.p-bottom-08 {
padding-bottom: 0.8rem;
}
.p-bottom-10 {
padding-bottom: 1rem;
}
.p-left-08 {
padding-left: 0.8rem;
}
.p-right-08 {
padding-right: 0.8rem;
}
.p-right-10 {
padding-right: 1rem;
}
.m-top-05 {
margin-top: 0.5rem;
}
.m-top-08 {
margin-top: 0.8rem;
}
.m-top-10 {
margin-top: 1rem;
}
.m-right-08 {
margin-right: 0.8rem;
}
.m-right-10 {
margin-right: 1rem;
}
.m-left-08 {
margin-left: 0.8rem;
}
.m-left-10 {
margin-left: 1rem;
}
.m-bottom-08 {
margin-bottom: 0.8rem;
}
.m-bottom-10 {
margin-bottom: 1rem;
}
.align-c {
text-align: center;
}
.align-r {
text-align: right;
}
.align-l {
text-align: left;
}
.float-r {
float: right;
}
.float-l {
float: left;
}
.clear-b {
clear: both;
}
.none {
display: none;
}
.inline {
display: inline;
}
/* 平板电脑和小屏电脑之间的分辨率 */
@media screen and (max-width: 719px) {
.el-dialog {
width: 95%;
}
}
/*
根据项目自定义
*/
@import "./styles-app-owner-used.scss";
文档更新时间: 2021-10-13 08:35 作者:admin