page{ background: #f2f1f6; } .tab-box{ position: fixed; top: 0; left: 0; right: 0; height: 100rpx; display: flex; background: #fff; overflow-x: auto; } .tab{ display: flex; flex: 1; flex-shrink: 0; justify-content: center; align-items: center; font-size: 30rpx; box-sizing: border-box; } .tab.active{ font-size: 36rpx; color: #226cd9; border-bottom: 3px solid #226cd9; } .list{ margin-top: 100rpx; padding: 20rpx 20rpx 0; } .list-box{ padding: 20rpx; background: #fff; border-radius: 10rpx; margin-bottom: 20rpx; display: flex; justify-content: space-between; } .avatar, .avatar image{ width: 150rpx; height: 150rpx; } .case{ width: 500rpx; } .case-info{ border-bottom: 1px dashed #EEE; } .case-title{ display: flex; justify-content: space-between; margin-bottom: 10rpx; } .title{ font-size: 36rpx; line-height: 60rpx; display: inline-block; max-width: 65%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .status{ line-height: 60rpx; display: inline-block; padding: 0 30rpx; background: #fff7ec; color: #fdc36e; border-radius: 30rpx; } .status.green{ color: #2dfe2e; background: rgba(45,254,46,0.1) } .status.red{ color: red; background: rgba(255,0,0,0.1) } .case-desc{ font-size: 28rpx; color: #888; margin-bottom: 10rpx; } .case-postion{ white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 28rpx; color: #108aff; margin-top: 10rpx; } .case-postion image{ width: 30rpx; height: 28rpx; } .new-case{ position: fixed; bottom: 40rpx; right: 40rpx; width: 120rpx; height: 120rpx; background: #108aff; color: #fff; border-radius: 50%; padding: 20rpx; box-sizing: border-box; text-align: center; }