Files
hht-tongbo/common/style/layout.css
2022-10-13 16:56:47 +08:00

315 lines
5.5 KiB
CSS

page {
background-color: #f6f6f6 !important;
min-height: 100% !important;
height: 100% !important;
}
uni-page-body {
background-color: #f6f6f6 !important;
min-height: 100% !important;
height: 100% !important;
}
uni-button:after {
border: none;
}
/** iconfont */
@font-face {
font-family: 'iconfont';
src: url('@/static/iconfont/iconfont.woff2?t=1665454521636') format('woff2'),
url('@/static/iconfont/iconfont.woff?t=1665454521636') format('woff'),
url('@/static/iconfont/iconfont.ttf?t=1665454521636') format('truetype');
}
.iconfont {
font-family: "iconfont" !important;
font-size: 50rpx;
color: #000;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon_eye_close {
color: #bbb;
}
.icon_eye_active {
color: #ff6a00;
}
.icon_unchecked {
color: #fff;
width: 32rpx;
height: 32rpx;
background-color: #fff;
font-size: 24rpx;
border: 1rpx solid #bbb;
}
.icon_checked {
color: #ff6a00;
border: 1rpx solid #ff6a00;
}
.icon_back {
font-size: 52rpx;
line-height: 52rpx;
color: #fff;
}
.icon_home {
font-size: 52rpx;
line-height: 52rpx;
color: #fff;
}
.icon_scan {
font-size: 48rpx;
line-height: 70rpx;
color: #323232;
}
.icon_search {
color: #323232;
line-height: 70rpx;
}
/** 内容 */
.container {
width: 100%;
height: 100%;
}
.content {
width: 100%;
height: auto;
padding: 92rpx 15rpx 82rpx 14rpx;
}
.wrapper {
width: 100%;
height: auto;
background-color: #fff;
border-radius: 24rpx;
padding: 14rpx;
margin-bottom: 20rpx;
}
.filter_item {
display: flex;
width: 100%;
margin-bottom: 10rpx;
}
.filter_item:last-child {
margin-bottom: 0;
}
.filter_label_wraper {
flex: none;
width: 140rpx;
text-align:justify;
text-align-last: justify;
text-justify: inter-ideograph;/*兼容ie*/
}
.filter_label {
display: block;
width: 140rpx;
line-height: 80rpx;
font-size: 28rpx;
color: #323232;
text-align:justify;
text-align-last: justify;
text-justify: inter-ideograph;/*兼容ie*/
}
.filter_input_wraper {
flex: 1;
height: 80rpx;
padding: 5rpx 0;
margin-left: 30rpx;
}
.filter_input {
width: 100%;
height: 70rpx;
line-height: 70rpx;
border-bottom: 1px solid #dcdfe6;
padding: 0 15rpx;
font-size: 28rpx;
color: #606266;
border-radius: 4rpx;
}
.grid-wraper {
width: 100%;
}
.slide_new {
width: 100%;
height: 100%;
overflow-y: auto;
}
.slide_new table {
table-layout: fixed;
min-width: 100%;
border-collapse: separate;
border-spacing: 0;
border: 0;
}
.slide_new table td, .slide_new table th {
box-sizing: border-box;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
white-space: nowrap;
padding: 0 20rpx;
border-bottom: 10rpx solid #f5f5f5;
text-align: center;
}
.slide_new table td:first-child, .slide_new table th:first-child{
position: sticky;
left: 0;
z-index: 101;
}
.slide_new table thead tr th {
position: sticky;
top: 0;
background: #d7d7d7;
font-size: 26rpx;
line-height: 98rpx;
color: #696969;
font-weight: bold;
z-index: 100;
}
.slide_new table thead tr th:first-child {
background: #d7d7d7;
}
.slide_new table tbody tr td {
font-size: 28rpx;
line-height: 98rpx;
color: #323232;
background: #fff;
}
/** 提交栏 **/
.submit-bar {
display: flex;
flex-wrap: wrap;
justify-content: flex-end;
align-items: center;
position: fixed;
bottom: 0;
left: 0;
width: 100%;
z-index: 200;
background-color: #fff;
padding-top: 10rpx;
box-shadow: 0 0 20rpx 0 rgba(160,160,160,0.7);
}
.submit-button {
font-size: 30rpx;
line-height: 62rpx;
color: #ff6a00;
text-align: center;
letter-spacing: 1rpx;
padding: 0 22rpx;
background-color: #fff;
border: 1px solid #ff6a00;
margin: 0 20rpx 10rpx 0;
border-radius: 30rpx;
}
.btn-disabled, .submit-button:disabled {
background-color: #c9c9c9;
border: 1px solid #c9c9c9;
color: #fff;
}
/** 下拉框 */
.uni-select__selector {
z-index: 300 !important;
}
/** 弹窗 */
.msg_wrapper {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
text-align: center;
z-index: 100;
}
.msg_wrapper::after {
content: "";
display: inline-block;
height: 100%;
width: 0;
vertical-align: middle;
}
.msg_box {
display: inline-block;
width: 90%;
max-width: 420px;
padding: 20rpx;
vertical-align: middle;
background-color: #fff;
border-radius: 4px;
border: 1px solid #ebeef5;
box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%);
overflow: hidden;
backface-visibility: hidden;
}
.input_item {
width: 100%;
height: 70rpx;
border-radius: 4px;
border: 1px solid #DCDFE6;
font-size: 28rpx;
line-height: 70rpx;
color: #606266;
padding: 0 10px;
}
.mask {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: .2;
background: #000;
z-index: 99;
}
.msg_item {
display: flex;
justify-content: space-between;
align-items: center;
height: 70rpx;
line-height: 70rpx;
margin-bottom: 30rpx;
}
.msg_txt {
font-size: 32rpx;
line-height: 70rpx;
color: #333;
}
.label_item {
width: 150rpx;
font-size: 32rpx;
line-height: 70rpx;
color: #333;
}
.from_item {
width: calc(100% - 160rpx);
font-size: 28rpx;
line-height: 70rpx;
color: #606266;
}
.msg_btns {
height: 70rpx;
line-height: 70rpx;
width: 100%;
max-width: 300px;
margin: 40rpx auto 0;
display: flex;
justify-content: space-between;
align-items: center;
}
.msg_btn {
width: 160rpx;
height: 70rpx;
line-height: 70rpx;
font-size: 28rpx;
color: #fff;
background-color: #d7592f;
border-radius: 5px;
text-align: center;
}
.msg_btn:disabled {
background-color: #c9c9c9;
}
.uni-select__input-placeholder,.uni-select__selector-empty, .uni-select__selector-item {
font-size: 28rpx !important
}