/* flex */ .center { display: flex; justify-content: center; align-items: center; } .flex1 { display: flex; justify-content: space-between; align-items: center; } .flex_l { display: flex; justify-content: flex-start; align-items: center; } .flex_r { display: flex; justify-content: flex-end; align-items: center; } .flex { display: flex; } .flex-center { justify-content: center; } .flex-around { justify-content: space-around; } .flex-between { justify-content: space-between; } .flex-top { align-items: flex-start; } .flex-middle { align-items: center; } .flex-bottom { align-items: flex-end; } .flex-column { flex-direction: column; } .flex-wrap { flex-wrap: wrap; } .flex_1 { flex: 1; } /* 其他 */ .relative { position: relative; } .absolute { position: absolute; } .fixed { position: fixed; } .fixed-bottom { position: fixed; bottom: 0; left: 0; right: 0; } .block { display: block; } .hide { display: none; } .show { display: block; } .autowrap { word-wrap: break-word; word-break: normal; } .text-left { text-align: left; } .text-center { text-align: center; } .text-right { text-align: right; } .bold { font-weight: 600; } .over-hidden { overflow: hidden; } .bold { font-weight: 700; } .right { float: right; } .left { float: left; } view { box-sizing: border-box; } .text-ellipsis { white-space: nowrap; /*把文本强制显示在一行*/ overflow: hidden; /*隐藏超出部分的文字*/ text-overflow: ellipsis; /*超出显示省略号*/ } .fixed-btn { position: fixed; width: 90rpx; height: 90rpx; bottom: 50rpx; right: 50rpx; background: #3e7ef8; border-radius: 50%; box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1); } .mr20 { margin-right: 20rpx; } // 选择组件 .select-header { line-height: 50rpx; display: flex; align-items: center; justify-content: space-between; padding: 0px 30rpx; .tit { font-size: 26rpx; font-weight: bold; padding: 30rpx 0 0 30rpx; } .save-btn { text-align: center; line-height: 60rpx; border-radius: 12rpx; width: 100rpx; height: 60rpx; font-size: 26rpx; margin: 0 0 0 12rpx; background: $u-primary; color: #ffffff; } } .form-item { padding-bottom: 30rpx; .form-label { font-size: 30rpx; font-weight: bold; color: #323232; padding-bottom: 18rpx; .label-tag { width: 15rpx; height: 15rpx; background: #ff4d4f; border-radius: 50%; margin-right: 10rpx; } } } .data-list { .info-item { .label { min-width: 130rpx; } } } .form-label { font-size: 30rpx; font-weight: bold; color: #323232; padding-bottom: 18rpx; .label-tag { width: 15rpx; height: 15rpx; background: #ff4d4f; border-radius: 50%; margin-right: 10rpx; } } .disabledBtn { background: #ccc !important; } .mb5 { margin-bottom: 5px; } .filter-popup { background: rgba(0, 0, 0, 0.8); position: fixed; width: 100%; height: 100%; left: 0; z-index: 1; .filter-wrap { width: 100%; padding: 20rpx; background: #ffffff; .filter-item { padding-bottom: 30rpx; .tit { font-size: 26rpx; color: #323232; font-weight: bold; padding-bottom: 20rpx; } .menu-list { display: flex; flex-wrap: wrap; .menu-item { margin-right: 40rpx; margin-bottom: 20rpx; } } } } .btn-box { width: 698rpx; height: 75px; display: flex; align-items: center; justify-content: space-between; >view { width: 320rpx; height: 40px; border-radius: 40px; border: solid 1rpx #ec652b; align-items: center; justify-content: center; text-align: center; line-height: 40px; } .reset { color: #ec652b; } .submit { color: #fff; background-color: #ec652b; } } }