123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648 |
- @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 {
- background-color: #ffffff;
- box-shadow: 0px 2px 10px rgba(3, 3, 3, 0.1);
- position: fixed;
- bottom: 0;
- left: 0;
- right: 0;
-
- .hui-button-view{
- height: 100rpx;
- 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;
- position: relative;
- }
- .fans-avatar {
- width: 100rpx;
- height: 100rpx;
- border-radius: 16rpx;
- }
- .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: 10rpx;
- 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;
- }
- }
- }
- .device-list-index {
- padding-top: 82rpx;
- .device-list {
- display: flex;
- flex-wrap: wrap;
- padding: 16rpx;
- .device-item-box {
- width: 50%;
- padding: 14rpx;
- box-sizing: border-box;
- }
- .item-box {
- // height: 100px;
- background: #fff;
- border-radius: 16rpx;
- box-shadow: 0px 1px 12px rgba(3, 3, 3, 0.08);
- position: relative;
- padding: 20rpx;
- box-sizing: border-box;
- }
- .operation-icon {
- position: absolute;
- top: 20rpx;
- right: 20rpx;
- }
- .item-icon {
- width: 100rpx;
- height: 100rpx;
- text-align: center;
- line-height: 100rpx;
- }
- .item-label {
- font-weight: 500;
- margin-top: 20rpx;
- margin-bottom: 10rpx;
- }
- .item-sub-label {
- font-weight: 200;
- font-size: 24rpx;
- color: $uni-secondary-color;
- display: flex;
- align-items: center;
- .line {
- height: 20rpx;
- width: 2rpx;
- background: $uni-border-1;
- }
- .label {
- padding: 0 10rpx;
- &:first-child {
- padding-left: 0;
- }
- }
- }
- }
- }
- .common-charts {
- margin-top: 30rpx;
- background: #fff;
- padding: 30rpx;
- border-radius: 16rpx;
- box-shadow: 0px 1px 12px rgba(3, 3, 3, 0.08);
- .common-chart-title {
- padding-bottom: 30rpx;
- font-size: 32rpx;
- font-weight: 500;
- }
- .common-chart-box {
- width: 100%;
- height: 300rpx;
- }
- }
|