all
This commit is contained in:
@@ -0,0 +1,266 @@
|
||||
page,body {
|
||||
width: 100%;
|
||||
min-width: 1310px;
|
||||
min-height: 100%;
|
||||
background: #FFFFFF;
|
||||
font-size: 20px;
|
||||
color: #1A1A1A;
|
||||
// font-family: "\u601d\u6e90\u9ed1\u4f53", Source Han sans-serif;
|
||||
font-family:"Source Han Sans CN", sans-serif;
|
||||
font-weight: 400;
|
||||
// display: flex;
|
||||
// &>view{
|
||||
// flex: 1;
|
||||
// width: 100%;
|
||||
// }
|
||||
user-select: text;
|
||||
-webkit-user-select: text;
|
||||
}
|
||||
view,div,input,textarea{
|
||||
box-sizing: border-box;
|
||||
}
|
||||
button{
|
||||
height: 88rpx;
|
||||
border-radius: 44rpx;
|
||||
line-height: 88rpx;
|
||||
text-align: center;
|
||||
font-size: 32rpx;
|
||||
}
|
||||
button[type=primary]{
|
||||
background: linear-gradient(to right,#34cb67,#17b54d);
|
||||
color: #FFFFFF;
|
||||
box-shadow: #BAE9CA 0 20rpx 20rpx;
|
||||
}
|
||||
button[loading][type=primary]{
|
||||
background: linear-gradient(to right,#34cb67,#17b54d);
|
||||
}
|
||||
.button-hover[type=primary]{
|
||||
background: linear-gradient(to right,#34cb67,#17b54d);
|
||||
}
|
||||
.bg-white{
|
||||
background-color: #FFFFFF !important;
|
||||
}
|
||||
.text-ellipsis{
|
||||
word-wrap: normal;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
}
|
||||
.text-ellipsis-2{
|
||||
display: -webkit-box;
|
||||
word-break: break-all;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 2;
|
||||
}
|
||||
.uni-page-head {
|
||||
text-align: center;
|
||||
}
|
||||
.fl{
|
||||
float: left;
|
||||
}
|
||||
.fr{
|
||||
float: right;
|
||||
}
|
||||
.clear-b{
|
||||
clear: both;
|
||||
&::after{
|
||||
clear: both;
|
||||
}
|
||||
}
|
||||
.clear-l{
|
||||
clear: left;
|
||||
}
|
||||
.clear-r{
|
||||
clear: right;
|
||||
}
|
||||
/*display*/
|
||||
.d-f {
|
||||
display: flex;
|
||||
}
|
||||
.d-c-c {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.d-c-s {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: flex-start;
|
||||
}
|
||||
.d-s-c {
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.d-s-s {
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
align-items: flex-start;
|
||||
}
|
||||
.d-e-c {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
}
|
||||
.d-b-c {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
.d-b-s {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
}
|
||||
.d-b-e {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: flex-end;
|
||||
}
|
||||
.d-a-c {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
align-items: center;
|
||||
}
|
||||
.d-c {
|
||||
flex-direction: column;
|
||||
}
|
||||
.d-r {
|
||||
flex-direction: row;
|
||||
}
|
||||
.d-stretch {
|
||||
align-items: stretch;
|
||||
align-content: stretch;
|
||||
}
|
||||
.f-w {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
/*font*/
|
||||
.f20 {
|
||||
font-size: 20rpx !important;
|
||||
}
|
||||
.f22 {
|
||||
font-size: 22rpx !important;
|
||||
}
|
||||
.f24 {
|
||||
font-size: 24rpx !important;
|
||||
}
|
||||
.f26 {
|
||||
font-size: 26rpx !important;
|
||||
}
|
||||
.f28 {
|
||||
font-size: 28rpx !important;
|
||||
}
|
||||
.f30 {
|
||||
font-size: 30rpx !important;
|
||||
}
|
||||
.f32 {
|
||||
font-size: 32rpx !important;
|
||||
}
|
||||
.f34 {
|
||||
font-size: 34rpx !important;
|
||||
}
|
||||
.f36 {
|
||||
font-size: 36rpx !important;
|
||||
}
|
||||
.f40 {
|
||||
font-size: 40rpx !important;
|
||||
}
|
||||
.f50 {
|
||||
font-size: 50rpx !important;
|
||||
}
|
||||
.f60 {
|
||||
font-size: 60rpx !important;
|
||||
}
|
||||
.fb {
|
||||
font-weight: bold !important;
|
||||
}
|
||||
.fn{
|
||||
font-weight: normal !important;
|
||||
}
|
||||
/*text align*/
|
||||
.tc {
|
||||
text-align: center;
|
||||
}
|
||||
.tr {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
/*overflow*/
|
||||
.o-h {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/*word*/
|
||||
.w-b {
|
||||
word-wrap: break-word
|
||||
}
|
||||
|
||||
/*flex*/
|
||||
.flex-1 {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.w-s-n {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.text-l-t {
|
||||
text-decoration: line-through;
|
||||
}
|
||||
.color-white{
|
||||
color: #FFFFFF;
|
||||
}
|
||||
.pd-30-lr{
|
||||
padding-left: 30rpx;
|
||||
padding-right: 30rpx;
|
||||
}
|
||||
.mg-30-lr{
|
||||
margin-left: 30rpx;
|
||||
margin-right: 30rpx;
|
||||
}
|
||||
|
||||
.mg-100-l{
|
||||
margin-left: 100px;
|
||||
}
|
||||
.mg-t-30{
|
||||
margin-top: 30px;
|
||||
}
|
||||
.mg-b-30{
|
||||
margin-bottom: 30px !important;
|
||||
}
|
||||
|
||||
.border-none{
|
||||
border: none !important;
|
||||
}
|
||||
.border-b-none{
|
||||
border-bottom: none !important;
|
||||
}
|
||||
.border-t-none{
|
||||
border-top: none !important;
|
||||
}
|
||||
.border-l-none{
|
||||
border-left: none !important;
|
||||
}
|
||||
.border-r-none{
|
||||
border-right: none !important;
|
||||
}
|
||||
.radius-50{
|
||||
border-radius: 50%;
|
||||
}
|
||||
.color-999{
|
||||
color: #999 !important;
|
||||
}
|
||||
.color-666{
|
||||
color: #666 !important;
|
||||
}
|
||||
.color-red{
|
||||
color: #E03333 !important;
|
||||
}
|
||||
.color-green{
|
||||
color: #18B54E !important;
|
||||
}
|
||||
Reference in New Issue
Block a user