Initial import: H5 front-end and houtai backend (exclude secrets and uploads).
Made-with: Cursor
This commit is contained in:
113
h5/static/style/mixin/u-rest.scss
Executable file
113
h5/static/style/mixin/u-rest.scss
Executable file
@@ -0,0 +1,113 @@
|
||||
// :fixed="false"下自动填充高度
|
||||
.z-auto-height {
|
||||
.zp-paging-container-content {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
.z-paging-content {
|
||||
flex: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
.u-numberbox {
|
||||
border: 1rpx solid #EEEEEE;
|
||||
border-radius: 4rpx;
|
||||
.u-number-input {
|
||||
margin: 0 !important;
|
||||
background: #FFFFFF !important;
|
||||
}
|
||||
}
|
||||
|
||||
.uni-input-input:disabled {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.u-search .u-input {
|
||||
background: transparent !important;
|
||||
}
|
||||
|
||||
.u-collapse-head {
|
||||
font-size: 28rpx !important;
|
||||
}
|
||||
|
||||
.u-rate {
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.b-btn {
|
||||
// height: 64rpx;
|
||||
// font-size: 24rpx;
|
||||
}
|
||||
.b-btn.b-btn-md {
|
||||
height: 64rpx;
|
||||
}
|
||||
.b-btn.b-btn-sm {
|
||||
height: 44rpx;
|
||||
font-size: 22rpx;
|
||||
padding: 0;
|
||||
}
|
||||
.b-btn.b-btn-md {
|
||||
min-width: 190rpx;
|
||||
height: 70rpx;
|
||||
}
|
||||
.b-btn.b-btn-sm-d {
|
||||
height: 44rpx;
|
||||
font-size: 22rpx;
|
||||
padding: 0 10rpx;
|
||||
}
|
||||
|
||||
.b-popup-content .icon-close {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.u-form {
|
||||
.u-form-item {
|
||||
padding: 10rpx 0 !important;
|
||||
.b-flex-shrink {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
}
|
||||
.u-form-item--left {
|
||||
width: auto !important;
|
||||
flex: unset !important;
|
||||
}
|
||||
// .u-form-item--left,
|
||||
.u-form-item--left__content__label{
|
||||
min-width: 4em;
|
||||
flex-shrink: 0;
|
||||
margin-right: 10rpx;
|
||||
display: inline-block;
|
||||
}
|
||||
.form-right .u-form-item--right__content__slot {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
&.u-required-r {
|
||||
// 必填 *的样式
|
||||
.u-form-item--left__content--required {
|
||||
position: absolute;
|
||||
left: auto;
|
||||
right: -4rpx;
|
||||
}
|
||||
.u-form-item--left__content {
|
||||
flex: unset;
|
||||
}
|
||||
.u-form-item--left__content__label {
|
||||
min-width: auto;
|
||||
}
|
||||
}
|
||||
.flex-column .u-form-item__body {
|
||||
flex-direction: column !important;
|
||||
}
|
||||
.flex-column .u-form-item--right__content__slot {
|
||||
flex-direction: column !important;
|
||||
align-items: flex-start !important;
|
||||
}
|
||||
.form-textarea .u-form-item__body {
|
||||
align-items: flex-start;
|
||||
textarea {
|
||||
margin-top: 8rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user