@import '@/uni_modules/uni-scss/theme.scss'; @import '@/uni.scss'; .inherit-icons{ display: inherit; } .hui-ellipsis { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } //修改uni-ui样式 .form-box { &.file-form-box{ .uni-forms{ padding-bottom: 10rpx; } } .uni-forms { background: #fff; border-radius: 16rpx; padding: 30rpx; box-shadow: 0px 1px 12px rgba(3,3,3,0.08); .uni-forms-item__label { color: $uni-main-color; padding-bottom: 0 !important; } .uni-easyinput__content { border-radius: 84rpx; &.is-textarea{ border-radius: 16rpx; } } .uni-easyinput__content-input { height: 80rpx; } .uni-easyinput__placeholder-class { color: $uni-secondary-color !important; font-size: 28rpx !important; font-weight: 300 !important; } .uni-forms-item{ margin-bottom: 20rpx; } } //选择框样式 .select-box { height: 84rpx; border-radius: 84rpx; border: 1px solid $uni-border-1; position: relative; line-height: 82rpx; box-sizing: border-box; padding-left: 10px; .select-label { color: $uni-secondary-color; font-weight: 300; } .form-icon { position: absolute; right: 30rpx; top: 0rpx; } } } //底部按钮 .hui-button-box { height: 100rpx; background-color: #ffffff; box-shadow: 0px 2px 10px rgba(3, 3, 3, 0.1); position: fixed; bottom: 0; left: 0; right: 0; display: flex; align-items: center; .hui-button { height: 68rpx; border-radius: 68rpx; color: #ffffff; background: $uni-primary; border: 1px solid $uni-primary; flex: 1; display: flex; align-items: center; justify-content: center; margin: 0 30rpx; &.hui-button-light{ color: $uni-primary; background: #fff; } } .hui-button-icon{ margin-right: 10rpx; } } button[type=primary]{ background: $uni-primary; } //用户列表 .fans-list { padding: 0 30rpx; box-sizing: border-box; .fans-item { height: 140rpx; background-color: #ffffff; border-radius: 16rpx; box-shadow: 0px 1px 12px rgba(3, 3, 3, 0.08); display: flex; align-items: center; padding: 0 30rpx; margin-bottom: 20rpx; } .fans-avatar { width: 100rpx; height: 100rpx; border-radius: 100rpx; } .fans-content { flex: 1; width: 0; margin-left: 20rpx; } .fans-name { font-size: 32rpx; } .fans-organization { color: $uni-secondary-color; font-weight: 300; margin-top: 4rpx; font-size: 24rpx; } .fans-icon { width: 80rpx; height: 80rpx; border-radius: 50%; background: $uni-primary; text-align: center; line-height: 80rpx; } } //通用列表 .status-tag { height: 52rpx; border-radius: 52rpx; line-height: 52rpx; padding: 0 30rpx; font-size: 24rpx; color: #fff; &.success { background-color: $uni-success; } &.primary { background-color: $uni-primary; } &.info { background-color: $uni-info; } &.warning { background-color: $uni-warning; } &.error { background-color: $uni-error; } } .common-list { padding: 0 30rpx; box-sizing: border-box; .common-item { background-color: #ffffff; border-radius: 16rpx; box-shadow: 0px 1px 12px rgba(3, 3, 3, 0.08); padding: 30rpx; position: relative; margin-bottom: 20rpx; .icon { position: absolute; top: 30rpx; right: 30rpx; } .title { font-size: 32rpx; font-weight: 600; } .date { font-size: 24rpx; color: $uni-secondary-color; margin: 10rpx 0; } .space { font-size: 24rpx; } .other { margin-top: 20rpx; .item { margin-top: 16rpx; } .label { color: $uni-secondary-color; font-size: 24rpx; } .value { margin-top: 6rpx; font-weight: 400; } } .state { margin-top: 20rpx; display: flex; justify-content: space-between; .create { height: 48rpx; border-radius: 48rpx; border: 1px solid $uni-primary; display: flex; align-items: center; color: $uni-primary; padding: 0 10rpx; .name { font-size: 24rpx; flex: 1; max-width: 150rpx; min-width: 70rpx; overflow: hidden; margin-left: 10rpx; line-height: 36rpx; padding-right: 10rpx; } } } } } //通用列表 .hui-tag { height: 44rpx; border-radius: 44rpx; line-height: 44rpx; padding: 0 20rpx; font-size: 20rpx; color: #fff; &.success { background-color: $uni-success; } &.primary { background-color: $uni-primary; } &.info { background-color: $uni-info; } &.warning { background-color: $uni-warning; } &.error { background-color: $uni-error; } } //详情 .detail { padding: 30rpx; .detail-box { background-color: #ffffff; border-radius: 16rpx; box-shadow: 0px 1px 12px rgba(3, 3, 3, 0.08); padding: 30rpx; position: relative; margin-bottom: 30rpx; &.file-box{ padding-bottom: 20rpx; } } .sub-title { display: flex; align-items: center; margin-left: -8rpx; .sub-label { font-size: 32rpx; font-weight: 600; margin-left: 14rpx; } } .title-box { padding-left: 90rpx; position: relative; .title-icon { width: 70rpx; height: 70rpx; text-align: center; line-height: 70rpx; background: $uni-primary; border-radius: 70rpx; position: absolute; left: 0; top: 50%; margin-top: -35rpx; } .title { font-size: 32rpx; font-weight: 600; margin-bottom: 8rpx; } .date { font-size: 24rpx; color: $uni-secondary-color; } } .other { margin-top: 20rpx; .item { margin-top: 16rpx; } .label { color: $uni-secondary-color; font-size: 24rpx; } .value { margin-top: 10rpx; font-weight: 400; } .file-item{ background-color: #ededed; height: 80rpx; display: flex; align-items: center; border-radius: 12rpx; padding: 0 14rpx; } .file-name{ flex: 1; width: 0; margin-left: 10rpx; } .contarct-item{ background-color: #ededed; border-radius: 12rpx; padding: 20rpx; margin-bottom: 20rpx; } .contarct-content{ display: flex; justify-content: space-between; align-items: center; margin-bottom: 16rpx; &.last{ margin-bottom: 0rpx; .content-item{ flex: 1; width: 0; } } .content-title{ font-size: 32rpx; font-weight: 500; } .content-label{ color: $uni-secondary-color; font-size: 24rpx; } .content-value { font-weight: 400; margin-left: 6rpx; flex: 1; width: 0; } .content-item{ overflow: hidden; display: flex; align-items: center; &.content-title{ flex: 1; width: 0; } } } } .state { margin-top: 20rpx; display: flex; justify-content: space-between; .create { height: 48rpx; border-radius: 48rpx; border: 1px solid $uni-primary; display: flex; align-items: center; color: $uni-primary; padding: 0 10rpx; .name { font-size: 24rpx; flex: 1; max-width: 150rpx; min-width: 70rpx; overflow: hidden; margin-left: 10rpx; line-height: 36rpx; padding-right: 10rpx; } } } } .process-list { padding-top: 20rpx; .process-item { position: relative; display: flex; .user-avatar-box { position: relative; .user-avatar { width: 64rpx; height: 64rpx; background: $uni-primary; border-radius: 50%; margin-right: 20rpx; margin-top: 16rpx; display: flex; align-items: center; justify-content: center; overprocess: hidden; color: #fff; } .user-avatar-status { width: 28rpx; height: 28rpx; border-radius: 50%; border: 2rpx solid #fff; position: absolute; top: 60rpx; right: 20rpx; display: flex; align-items: center; justify-content: center; } .user-avatar-status.success { background: $uni-success; } .user-avatar-status.failed { background: $uni-error; } .user-avatar-status.waiting { background: $uni-warning; } .user-avatar-status.info { background: $uni-info; } } .process-content { flex: 1; width: 0; .user-name { height: 96rpx; display: flex; flex-direction: column; justify-content: center; .name { font-size: 32rpx; font-weight: 600; } .date { font-size: 24rpx; color: $uni-secondary-color; display: flex; align-items: center; justify-content: space-between; } } .user-content { background-color: #f5f5f5; border-radius: 16rpx; padding: 20rpx 20rpx 10rpx 20rpx; .remark { line-height: 17px; font-weight: 400; padding-bottom: 10rpx; } } } .user-line { width: 1px; border-left: 1px solid $uni-border-4; position: absolute; top: 80rpx; bottom: -16rpx; left: 30rpx; } } }