/* 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; } }