411 lines
9.7 KiB
Plaintext
411 lines
9.7 KiB
Plaintext
|
/* flex */
|
||
|
.i-flex {
|
||
|
display: flex;
|
||
|
}
|
||
|
|
||
|
.i-flex-wrap {
|
||
|
flex-wrap: wrap;
|
||
|
}
|
||
|
|
||
|
.i-flex-nowrap {
|
||
|
flex-wrap: nowrap;
|
||
|
}
|
||
|
|
||
|
.i-flex-col {
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
}
|
||
|
|
||
|
.i-flex-item {
|
||
|
flex: 1;
|
||
|
}
|
||
|
|
||
|
.i-flex-alc {
|
||
|
justify-content: center;
|
||
|
align-items: center;
|
||
|
}
|
||
|
|
||
|
.i-flex-spb {
|
||
|
justify-content: space-between;
|
||
|
align-items: center;
|
||
|
}
|
||
|
|
||
|
.i-aic {
|
||
|
align-items: center!important;
|
||
|
}
|
||
|
|
||
|
.jcontent-c {
|
||
|
justify-content: center;
|
||
|
}
|
||
|
|
||
|
.jcontent-sb {
|
||
|
justify-content: space-between;
|
||
|
}
|
||
|
|
||
|
.jcontent-sa {
|
||
|
justify-content: space-around;
|
||
|
}
|
||
|
|
||
|
.weight {
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
.text-overflow1 {
|
||
|
overflow: hidden;
|
||
|
text-overflow:ellipsis;
|
||
|
white-space: nowrap;
|
||
|
}
|
||
|
|
||
|
.text-overflow2 {
|
||
|
display: -webkit-box;
|
||
|
-webkit-box-orient: vertical;
|
||
|
-webkit-line-clamp: 2;
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
|
||
|
.text-center {
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
.text-right {
|
||
|
text-align: right;
|
||
|
}
|
||
|
|
||
|
/* 字体大小 */
|
||
|
.fsz-16 {
|
||
|
font-size: 16rpx!important;
|
||
|
}
|
||
|
|
||
|
.fsz-22 {
|
||
|
font-size: 22rpx;
|
||
|
}
|
||
|
|
||
|
.fsz-24 {
|
||
|
font-size: 24rpx;
|
||
|
}
|
||
|
|
||
|
.fsz-26 {
|
||
|
font-size: 26rpx;
|
||
|
}
|
||
|
|
||
|
.fsz-28 {
|
||
|
font-size: 28rpx;
|
||
|
}
|
||
|
|
||
|
.fsz-30 {
|
||
|
font-size: 30rpx;
|
||
|
}
|
||
|
|
||
|
.fsz-32 {
|
||
|
font-size: 32rpx;
|
||
|
}
|
||
|
|
||
|
.fsz-34 {
|
||
|
font-size: 34rpx;
|
||
|
}
|
||
|
|
||
|
.fsz-36 {
|
||
|
font-size: 36rpx;
|
||
|
}
|
||
|
|
||
|
.fsz-38 {
|
||
|
font-size: 38rpx;
|
||
|
}
|
||
|
|
||
|
.fsz-60 {
|
||
|
font-size: 60rpx;
|
||
|
}
|
||
|
|
||
|
/* 字体颜色 */
|
||
|
.text-3 {
|
||
|
color: #333!important;
|
||
|
}
|
||
|
|
||
|
.text-6 {
|
||
|
color: #666;
|
||
|
}
|
||
|
|
||
|
.text-gray {
|
||
|
color: #999;
|
||
|
}
|
||
|
|
||
|
.text-white {
|
||
|
color: #fff!important;
|
||
|
}
|
||
|
|
||
|
.text-dark {
|
||
|
color: #000!important;
|
||
|
}
|
||
|
|
||
|
.text-sucess {
|
||
|
color: #5cb85c!important;
|
||
|
}
|
||
|
|
||
|
.text-warning {
|
||
|
color: #f0ad4e!important;
|
||
|
}
|
||
|
|
||
|
.red {
|
||
|
color: #ff5344;
|
||
|
}
|
||
|
|
||
|
.bule {
|
||
|
color: #4facfe;
|
||
|
}
|
||
|
|
||
|
/* 背景 */
|
||
|
.bg-f {
|
||
|
background-color: #fff;
|
||
|
}
|
||
|
|
||
|
.bg-blue {
|
||
|
background-color: #4facfe;
|
||
|
}
|
||
|
|
||
|
.bg-primary {
|
||
|
background-color: #ff5344;
|
||
|
}
|
||
|
|
||
|
.bg-lighter {
|
||
|
background-color: #f8f8f8;
|
||
|
}
|
||
|
|
||
|
.bg-ccc {
|
||
|
background: #ccc!important;
|
||
|
}
|
||
|
|
||
|
.bg-sucess {
|
||
|
background: #5cb85c!important;
|
||
|
}
|
||
|
|
||
|
.bg-warning {
|
||
|
background: #f0ad4e!important;
|
||
|
}
|
||
|
|
||
|
/* 边距 */
|
||
|
.ml5 {
|
||
|
margin-left: 10rpx;
|
||
|
}
|
||
|
|
||
|
.ml10 {
|
||
|
margin-left: 20rpx;
|
||
|
}
|
||
|
|
||
|
.mb5 {
|
||
|
margin-bottom: 10rpx;
|
||
|
}
|
||
|
|
||
|
.mt-auto {
|
||
|
margin-top: auto;
|
||
|
}
|
||
|
|
||
|
.mt5 {
|
||
|
margin-top: 10rpx;
|
||
|
}
|
||
|
|
||
|
.mx5 {
|
||
|
margin-left: 10rpx;
|
||
|
margin-right: 10rpx;
|
||
|
}
|
||
|
|
||
|
.m10 {
|
||
|
margin: 20rpx;
|
||
|
}
|
||
|
|
||
|
.mt10 {
|
||
|
margin-top: 20rpx;
|
||
|
}
|
||
|
|
||
|
.my10 {
|
||
|
margin-top: 10rpx;
|
||
|
margin-bottom: 10rpx;
|
||
|
}
|
||
|
|
||
|
.mx10 {
|
||
|
margin-left: 20rpx;
|
||
|
margin-right: 20rpx;
|
||
|
}
|
||
|
|
||
|
.mx15 {
|
||
|
margin-left: 30rpx;
|
||
|
margin-right: 30rpx;
|
||
|
}
|
||
|
|
||
|
.mb10 {
|
||
|
margin-bottom: 20rpx;
|
||
|
}
|
||
|
|
||
|
.mb20 {
|
||
|
margin-bottom: 40rpx;
|
||
|
}
|
||
|
|
||
|
.m15 {
|
||
|
margin: 30rpx;
|
||
|
}
|
||
|
|
||
|
.p5 {
|
||
|
padding: 10rpx;
|
||
|
}
|
||
|
|
||
|
.p10 {
|
||
|
padding: 20rpx;
|
||
|
}
|
||
|
|
||
|
.p15 {
|
||
|
padding: 30rpx;
|
||
|
}
|
||
|
|
||
|
.pt10 {
|
||
|
padding-top: 20rpx;
|
||
|
}
|
||
|
|
||
|
.pb10 {
|
||
|
padding-bottom: 20rpx!important;
|
||
|
}
|
||
|
|
||
|
.py10 {
|
||
|
padding-top: 20rpx!important;
|
||
|
padding-bottom: 20rpx!important;
|
||
|
}
|
||
|
|
||
|
.pb15 {
|
||
|
padding-bottom: 30rpx;
|
||
|
}
|
||
|
|
||
|
.px15 {
|
||
|
padding-left: 30rpx;
|
||
|
padding-right: 30rpx;
|
||
|
}
|
||
|
|
||
|
.py15 {
|
||
|
padding-top: 30rpx!important;
|
||
|
padding-bottom: 30rpx!important;
|
||
|
}
|
||
|
|
||
|
.pb20 {
|
||
|
padding-bottom: 40rpx;
|
||
|
}
|
||
|
|
||
|
.p30 {
|
||
|
padding: 30rpx;
|
||
|
}
|
||
|
|
||
|
.ml30 {
|
||
|
margin-left: 30rpx;
|
||
|
}
|
||
|
|
||
|
.pb100 {
|
||
|
padding-bottom: 100rpx;
|
||
|
}
|
||
|
|
||
|
.w0 {
|
||
|
width: 0;
|
||
|
}
|
||
|
|
||
|
.w90p {
|
||
|
width: 90%;
|
||
|
}
|
||
|
|
||
|
.maxH {
|
||
|
max-height: 75vh;
|
||
|
}
|
||
|
|
||
|
.rounded-mini {
|
||
|
border-radius: 5rpx;
|
||
|
}
|
||
|
|
||
|
.rounded {
|
||
|
border-radius: 10rpx;
|
||
|
}
|
||
|
|
||
|
.border-bottom,
|
||
|
.border-top {
|
||
|
position: relative;
|
||
|
}
|
||
|
|
||
|
.border-bottom::after {
|
||
|
content: "";
|
||
|
position: absolute;
|
||
|
left: 0;
|
||
|
bottom: 0;
|
||
|
right: 0;
|
||
|
border-bottom: 1px solid #e5e5e5;
|
||
|
transform-origin: 0 0;
|
||
|
transform: scaleY(0.5);
|
||
|
}
|
||
|
|
||
|
.border-top::before {
|
||
|
content: "";
|
||
|
position: absolute;
|
||
|
left: 0;
|
||
|
top: 0;
|
||
|
right: 0;
|
||
|
border-bottom: 1px solid #e5e5e5;
|
||
|
transform-origin: 0 0;
|
||
|
transform: scaleY(0.5);
|
||
|
}
|
||
|
|
||
|
.btn-hollow {
|
||
|
border: 1rpx solid #e5e5e5;
|
||
|
padding: 12rpx 20rpx;
|
||
|
border-radius: 30rpx;
|
||
|
font-size: 22rpx;
|
||
|
color: #666;
|
||
|
line-height: 1;
|
||
|
}
|
||
|
|
||
|
.line-through {
|
||
|
text-decoration: line-through;
|
||
|
}
|
||
|
|
||
|
.line-height {
|
||
|
line-height: 1.5;
|
||
|
}
|
||
|
|
||
|
/* 定位 */
|
||
|
.pos-r {
|
||
|
position: relative;
|
||
|
}
|
||
|
|
||
|
.pos-a {
|
||
|
position: absolute;
|
||
|
}
|
||
|
|
||
|
.pos-f {
|
||
|
position: fixed;
|
||
|
}
|
||
|
|
||
|
.avatar {
|
||
|
width: 80rpx;
|
||
|
height: 80rpx;
|
||
|
border-radius: 50%;
|
||
|
}
|
||
|
|
||
|
.shadow {
|
||
|
box-shadow: 1px 2px 5px #ccc;
|
||
|
}
|
||
|
|
||
|
.shadow-top {
|
||
|
box-shadow: 0px -3px 5px -2px #ccc;
|
||
|
}
|
||
|
|
||
|
.avatar-md {
|
||
|
width: 100rpx;
|
||
|
height: 100rpx;
|
||
|
border-radius: 50%;
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
|
||
|
/* 边距 字体 */
|
||
|
.u-m-l-5{margin-left:5rpx !important}.u-m-l-10{margin-left:10rpx !important}.u-m-l-15{margin-left:15rpx !important}.u-m-l-20{margin-left:20rpx !important}.u-m-l-25{margin-left:25rpx !important}.u-m-l-30{margin-left:30rpx !important}.u-m-l-35{margin-left:35rpx !important}.u-m-l-40{margin-left:40rpx !important}.u-m-l-45{margin-left:45rpx !important}.u-m-l-50{margin-left:50rpx !important}.u-m-l-55{margin-left:55rpx !important}.u-m-l-60{margin-left:60rpx !important}.u-m-t-5{margin-top:5rpx !important}.u-m-t-10{margin-top:10rpx !important}.u-m-t-15{margin-top:15rpx !important}.u-m-t-20{margin-top:20rpx !important}.u-m-t-25{margin-top:25rpx !important}.u-m-t-30{margin-top:30rpx !important}.u-m-t-35{margin-top:35rpx !important}.u-m-t-40{margin-top:40rpx !important}.u-m-t-45{margin-top:45rpx !important}.u-m-t-50{margin-top:50rpx !important}.u-m-t-55{margin-top:55rpx !important}.u-m-t-60{margin-top:60rpx !important}.u-m-r-5{margin-right:5rpx !important}.u-m-r-10{margin-right:10rpx !important}.u-m-r-15{margin-right:15rpx !important}.u-m-r-20{margin-right:20rpx !important}.u-m-r-25{margin-right:25rpx !important}.u-m-r-30{margin-right:30rpx !important}.u-m-r-35{margin-right:35rpx !important}.u-m-r-40{margin-right:40rpx !important}.u-m-r-45{margin-right:45rpx !important}.u-m-r-50{margin-right:50rpx !important}.u-m-r-55{margin-right:55rpx !important}.u-m-r-60{margin-right:60rpx !important}.u-m-b-5{margin-bottom:5rpx !important}.u-m-b-10{margin-bottom:10rpx !important}.u-m-b-15{margin-bottom:15rpx !important}.u-m-b-20{margin-bottom:20rpx !important}.u-m-b-25{margin-bottom:25rpx !important}.u-m-b-30{margin-bottom:30rpx !important}.u-m-b-35{margin-bottom:35rpx !important}.u-m-b-40{margin-bottom:40rpx !important}.u-m-b-45{margin-bottom:45rpx !important}.u-m-b-50{margin-bottom:50rpx !important}.u-m-b-55{margin-bottom:55rpx !important}.u-m-b-60{margin-bottom:60rpx !important}.u-p-l-5{padding-left:5rpx !important}.u-p-l-10{padding-left:10rpx !important}.u-p-l-15{padding-left:15rpx !important}.u-p-l-20{padding-left:20rpx !important}.u-p-l-25{padding-left:25rpx !important}.u-p-l-30{padding-left:30rpx !important}.u-p-l-35{padding-left:35rpx !important}.u-p-l-40{padding-left:40rpx !important}.u-p-l-45{padding-left:45rpx !important}.u-p-l-50{padding-left:50rpx !important}.u-p-l-55{padding-left:55rpx !important}.u-p-l-60{padding-left:60rpx !important}.u-p-t-5{padding-top:5rpx !important}.u-p-t-10{padding-top:10rpx !important}.u-p-t-15{padding-top:15rpx !important}.u-p-t-20{padding-top:20rpx !important}.u-p-t-25{padding-top:25rpx !important}.u-p-t-30{padding-top:30rpx !important}.u-p-t-35{padding-top:35rpx !important}.u-p-t-40{padding-top:40rpx !important}.u-p-t-45{padding-top:45rpx !important}.u-p-t-50{padding-top:50rpx !important}.u-p-t-55{padding-top:55rpx !important}.u-p-t-60{padding-top:60rpx !important}.u-p-r-5{padding-right:5rpx !important}.u-p-r-10{padding-right:10rpx !important}.u-p-r-15{padding-right:15rpx !important}.u-p-r-20{padding-right:20rpx !important}.u-p-r-25{padding-right:25rpx !important}.u-p-r-30{padding-right:30rpx !important}.u-p-r-35{padding-right:35rpx !important}.u-p-r-40{padding-right:40rpx !important}.u-p-r-45{padding-right:45rpx !important}.u-p-r-50{padding-right:50rpx !important}.u-p-r-55{padding-right:55rpx !important}.u-p-r-60{padding-right:60rpx !important}.u-p-b-5{padding-bottom:5rpx !important}.u-p-b-10{padding-bottom:10rpx !important}.u-p-b-15{padding-bottom:15rpx !important}.u-p-b-20{padding-bottom:20rpx !important}.u-p-b-25{padding-bottom:25rpx !important}.u-p-b-30{padding-bottom:30rpx !important}.u-p-b-35{padding-bottom:35rpx !important}.u-p-b-40{padding-bottom:40rpx !important}.u-p-b-45{padding-bottom:45rpx !important}.u-p-b-50{padding-bottom:50rpx !important}.u-p-b-55{padding-bottom:55rpx !important}.u-p-b-60{padding-bottom:60rpx !important}.u-m-5{margin:5rpx !important}.u-m-10{margin:10rpx !important}.u-m-15{margin:15rpx !important}.u-m-20{margin:20rpx !important}.u-m-25{margin:25rpx !important}.u-m-30{margin:30rpx !important}.u-m-35{margin:35rpx !important}.u-m-40{margin:40rpx !important}.u-p-5{padding:5r
|
||
|
/* 边框 */
|
||
|
.u-border-bottom,
|
||
|
.u-border-left,
|
||
|
.u-border-right,
|
||
|
.u-border-top,
|
||
|
.u-border-top-bottom{position:relative}.u-border-bottom:after,
|
||
|
.u-border-left:after,
|
||
|
.u-border-right:after,
|
||
|
.u-border-top-bottom:after,
|
||
|
.u-border-top:after,
|
||
|
.u-border:after{content:" ";position:absolute;left:0;top:0;pointer-events:none;box-sizing:border-box;-webkit-transform-origin:0 0;transform-origin:0 0;width:199.8%;height:199.7%;-webkit-transform:scale(.5);transform:scale(.5);border:0 solid #e4e7ed;z-index:2}.u-border-top:after{border-top-width:1px}.u-border-left:after{border-left-width:1px}.u-border-right:after{border-right-width:1px}.u-border-bottom:after{border-bottom-width:1px}.u-border-top-bottom:after{border-width:1px 0}.u-border:after{border-width:1px}
|