Files
hht-ndxy-uni/common/style/layout.styl
2025-02-15 12:51:56 +08:00

565 lines
10 KiB
Stylus

@import './mixin.styl';
page {
background-color: #f2f5fa !important;
min-height: 100% !important;
height: 100% !important;
}
uni-page-body {
min-height: 100% !important;
height: 100% !important;
}
uni-button:after {
border: none;
}
/** */
.zd_container {
width: 100%;
height: 100%;
}
.zd_content {
position: relative;
top: calc(var(--status-bar-height) + 72rpx);
width: 100%;
height: auto;
padding: 20rpx 14rpx 140rpx 14rpx;
}
.zd_wrapper {
width: 100%;
height: auto;
background-color: #fff;
border-radius: 24rpx;
padding: 22rpx;
margin-bottom: 20rpx;
box-shadow: 0 4rpx 10rpx 2rpx rgba(0,0,0,.1);
}
.pop_content {
width: 100%;
height: 100%;
overflow-y: auto;
padding: 20rpx 14rpx 140rpx 14rpx;
}
.filter_wrapper {
position relative
left -14rpx
width: calc(100% + 28rpx);
height: auto;
background-color: #fff;
padding: 22rpx 22rpx 0 22rpx;
margin-bottom: 20rpx;
}
.filter_label {
display: block;
line-height: 80rpx;
font-size: 28rpx;
color: #3e3e3e;
/* text-align:justify;
text-align-last: justify;
text-justify: inter-ideograph; */
}
/** */
.filter_picker .uni-input {
width: 100%;
line-height: 80rpx;
height: 80rpx;
font-size: 28rpx;
color: #606266;
}
/** */
.filter_select .uni-select {
line-height: 80rpx !important;
height: 80rpx !important;
font-size: 28rpx !important;
color: #606266;
padding: 0 !important;
border: 0 !important;
}
.filter_input {
width: 100%;
height: 80rpx;
line-height: 80rpx;
border: 0;
background-color: transparent;
font-size: 28rpx;
color: #606266;
}
.filter_input_disabled {
background-color: #eee;
}
.filter_input_wraper {
/* flex: 1; */
width: calc(100% - 170rpx);
height: 80rpx;
padding: 5rpx 0;
margin-left: 30rpx;
display: flex;
justify-content: flex-start;
align-items: center;
}
.tab-line {
_wh(32rpx, 10rpx)
background-color #fff
border-radius 10rpx
margin 20rpx auto 0
}
.tab-line_active {
background-color #4e6ef2
}
.font-style-1 {
_font(32rpx, 32rpx, #c1c1c3,,center)
}
.font-style-2 {
_font(32rpx, 32rpx, #000,bold,center)
}
.grid-wraper {
width: 100%;
}
.slide_new {
width: 100%;
height: 100%;
overflow-y: auto;
}
.slide_h {
overflow-y: hidden;
}
.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;
text-overflow: ellipsis;
white-space: nowrap;
padding: 0 20rpx;
border-bottom: 10rpx solid #f5f5f5;
text-align: center;
}
.slide_h table td, .slide_h table th {
white-space: wrap;
padding: 0 20rpx;
border-bottom: 10rpx solid #f5f5f5;
text-align: center;
}
.slide_new table td:first-child{
position: sticky;
left: 0;
z-index: 31;
}
.slide_new table th:first-child{
position: sticky;
left: 0;
z-index: 32;
}
.slide_new table thead tr th {
position: sticky;
top: 0;
background: #d7d7d7;
font-size: 26rpx;
line-height: 58rpx;
padding: 14rpx 20rpx;
color: #7d7d7d;
background-color: #dcdfea;
font-weight: bold;
z-index: 30;
}
.slide_new table tbody tr td {
font-size: 28rpx;
line-height: 58rpx;
padding: 14rpx 20rpx;
color: #7d7d7d;
background: #fff;
}
.slide_h table tbody tr td {
font-size: 28rpx;
line-height: 28rpx;
padding: 14rpx 20rpx;
color: #7d7d7d;
background: #fff;
}
.slide_new table tbody tr td .td_input {
width: 230rpx;
font-size: 28rpx;
color: #305fbf;
line-height: 58rpx;
height: 58rpx;
padding: 0 10rpx;
border: 1px solid #889dc7;
box-shadow: 0 0 0 2px rgba(136, 157, 199,.2);
border-radius: 10rpx;
margin: 0 auto;
}
.slide_new table tbody tr td .td_select {
width: 230rpx;
font-size: 28rpx;
color: #305fbf;
line-height: 58rpx;
margin: 0 auto;
}
.slide_new table thead tr th.fontcol1,.slide_new table tbody tr td.fontcol1 {
color: #4e6ef2;
font-weight: bold;
}
.slide_new table tbody tr td.fontcol2 {
color: #000;
}
.slide_new table tbody tr td .fontbg{
font-size: 26rpx;
line-height: 30rpx;
padding: 8rpx 20rpx;
border-radius: 8rpx;
background-color: #F60;
color: #fff;
}
.slide_new table tbody tr td .fontbg1 {
background-color: #cfd2d4;
color: #5e5d5d;
}
.slide_new table tbody tr td .fontbg2 {
background-color: #96f3b8;
color: #36744c;
}
.slide_new table tbody tr td .fontbg3 {
background-color: #f3ccb5;
color: #ff5e00;
}
.slide_new table tbody tr.checked
td
background-color: #4e6ef2
color #fff
td.fontcol1, td.fontcol2
color #fff
.item-wrapper {
width: 100%;
height: auto;
}
.item-wrap {
background-color: #fff;
border-radius: 24rpx;
padding: 22rpx 14rpx;
margin-bottom: 20rpx;
box-shadow: 0 4rpx 10rpx 2rpx rgba(0,0,0,.1);
}
.item-font-1
_font(30rpx,28rpx,#000,,)
.item-font-2
_font(24rpx,40rpx,$red,,)
.item-font-3
width 110rpx
_font(24rpx,26rpx,#333,,)
text-align:justify;
text-align-last: justify;
text-justify: inter-ideograph;
.item-font-4
width calc(100% - 110rpx)
_font(26rpx,26rpx,#999,,)
.item-font-5
_font(44rpx,60rpx,$green,,center)
background-color #f6f6f6
.item-font-6
width calc(50% - 110rpx)
_font(24rpx,52rpx,#666,,center)
background-color #e5e5e5
border-radius 26rpx
.item-font-7
width 110rpx
_font(24rpx,52rpx,#666,,center)
.item-font-8
_font(24rpx,52rpx,#666,,center)
.isChecked
box-shadow inset 2px 2px 4px 0px rgba(120, 141, 250, 0.7), inset -2px -2px 4px 0px rgba(120, 141, 250, 0.7)
/** **/
.submit-bar {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
z-index: 40;
background-color: #fff;
padding: 14rpx;
box-shadow: 0 0 20rpx 0 rgba(160,160,160,0.7);
}
.button-default {
font-size: 34rpx;
line-height: 88rpx;
color: #ff6a00;
text-align: center;
letter-spacing: 4rpx;
padding: 0;
background-color: #fff;
border: 2rpx solid #ff6a00;
border-radius: 10rpx;
}
.button-primary {
font-size: 34rpx;
line-height: 88rpx;
color: #fff;
text-align: center;
letter-spacing: 4rpx;
padding: 0;
background-color: #ff6a00;
border: 2rpx solid #ff6a00;
border-radius: 10rpx;
}
.button-primary_s {
font-size: 28rpx;
}
.button-info, .submit-button[disabled] {
background-color: #c9c9c9;
border: 2rpx solid #c9c9c9;
color: #fff;
}
uni-button[disabled]:not([type]), uni-button[disabled][type=default] {
border: 2rpx solid #c9c9c9;
}
.submit-more {
width: 20%;
font-size: 34rpx;
line-height: 34rpx;
padding: 27rpx 10rpx;
color: #000;
text-align: center;
background-color: #fff
}
.more_btns_wraper {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
z-index: 201;
padding: 0 20rpx 20rpx;
transition: all .3s;
}
.more-button {
font-size: 34rpx;
line-height: 88rpx;
color: #ff6a00;
text-align: center;
border-radius: 0;
background-color: transparent;
}
.more_btns_items .btn-disabled, .more_btns_items .submit-button_new[disabled] {
color: #c9c9c9;
border: none;
}
.more-button:last-child {
border-bottom: none;
}
.more_btns_cancle {
margin-top: 20rpx;
width: 100%;
font-size: 34rpx;
line-height: 88rpx;
color: #000;
text-align: center;
background-color: #fff;
border-radius: 20rpx;
}
.more_btns_items{
width: 100%;
border-radius: 20rpx;
background-color: #fff;
}
/** */
.uni-select__selector {
z-index: 300 !important;
}
/** */
.popshow {
transform: translateY(0);
}
.pophide {
transform: translateY(300%);
}
.msg_wrapper {
position: fixed;
top: 30%;
left: 5%;
width: 90%;
padding: 40rpx 30rpx;
background-color: #f6f6f6;
box-shadow: 0 -8px 16px 0 rgba(28,31,33,.1);
border-top-left-radius: 20rpx;
border-top-right-radius: 20rpx;
z-index: 301;
transition: all .5s;
}
.msg_tip {
font-size: 28rpx;
line-height: 58rpx;
color: #6798ef;
font-weight: bold;
}
.msg_content {
margin: 10rpx 0;
}
.msg_mask {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: .7;
background: #000;
z-index: 300;
}
.msg_btns {
margin: 40rpx auto 0;
}
.msg_btn {
font-size: 30rpx;
line-height: 68rpx;
color: #fff;
background-color: #ff6a00;
border: 1rpx solid #ff6a00;
border-radius: 34rpx;
box-shadow: 0 4rpx 9rpx 0 rgba(0,0,0,.2);
margin-top: 20rpx;
}
.msg_btn_cancle {
background-color: #fff;
border-color: #fff;
color: #666;
box-shadow: 0 4rpx 9rpx 0 rgba(0,0,0,.2);
}
.msg_btn:disabled {
background-color: #c9c9c9;
}
.uni-select__input-placeholder,.uni-select__selector-empty, .uni-select__selector-item {
font-size: 28rpx !important
}
.sin_input {
width: 150rpx;
font-size: 28rpx;
line-height: 150rpx;
height: 68rpx;
color: #323232;
padding: 0 .1rem;
border: 1px solid #a1a1a1;
border-radius: 3px;
}
.layout-t tr.checked td .sin_input {
color: #8a8a8a;
border: 1px solid #ffffff;
}
.flow_wrapper {
width: 100%;
background-color: #fff;
border-radius: 24rpx;
padding: 22rpx 20rpx;
margin-bottom: 20rpx;
box-shadow: 0 4rpx 10rpx 2rpx rgba(0,0,0,.1);
}
.font-size-1 {
font-size: 30rpx;
line-height: 54rpx;
color: #ff6a00;
}
.font-size-2 {
font-size: 30rpx;
line-height: 54rpx;
color: #000;
}
.flow_start_item {
position: relative;
background-color: #f3f3f3;
border: 1rpx solid #f3f3f3;
border-radius: 10rpx;
}
.flow_start_item_checked {
position: relative;
background-color: #fff;
border: 1rpx solid #ff6a00;
}
.flow_icon_item_1 {
width: 46rpx;
height: 56rpx;
}
.flow_icon_item_2 {
width: 46rpx;
height: 26rpx;
}
.checkbox-text {
font-size: 28rpx;
line-height: 28rpx;
color: #303133;
}
.point-wraper {
flex-wrap: wrap;
justify-content: flex-start;
}
.point-item {
position: relative;
width: 32.5%;
font-size: 28rpx;
line-height: 28rpx;
height: 96rpx;
padding: 20rpx 4rpx;
color: #303133;
text-align: center;
background: #fff;
border: 2rpx solid #DCDFE6;
border-radius: 10rpx;
}
.point-item.cgreen {
background: #67C23A;
border-color: #67C23A;
color: #fff;
}
.point-item.cyellow {
background: #E6A23C;
border-color: #E6A23C;
color: #fff;
}
.item-checked-wrap {
}
.item-checked {
position: absolute;
right: -6px;
top: -8px;
}
.point-item.checked {
background: #ff6a00;
border-color: #ff6a00;
color: #fff;
}
.point-item:nth-child(3n+2) {
margin-left: 1.25%
margin-right: 1.25%
}
.point-item:nth-child(n+4) {
margin-top: 20rpx
}
.point-item_n5 {
width: 19%;
height: 142rpx;
}
.point-item_n5:nth-child(5n+1), .point-item_n5:nth-child(5n+2), .point-item_n5:nth-child(5n+3), .point-item_n5:nth-child(5n+4) {
margin-left: 0;
margin-right: 1.25%
}
.point-item_n5:nth-child(5n+5) {
margin-left: 0;
margin-right: 0
}
.point-item_n5:nth-child(4), .point-item_n5:nth-child(5) {
margin-top: 0
}
.point-item_n5:nth-child(n+6) {
margin-top: 20rpx
}
.checkbox {
width: 40rpx;
height: 40rpx;
line-height: 40rpx;
border: 1rpx solid #6798ef;
text-align: center;
margin: 0 auto;
}