work.wxss 1.22 KB
/* pages/work/work.wxss */
.tab{
  margin-bottom: 20rpx;
  width: 100%;
  background-color: #fff;
  border-bottom: 1rpx solid #e8e8e8;
}

.tab-item{
  display: inline-flex;
  align-items: center;
  flex-direction: column;
  width: calc(100% / 3);
  padding: 24rpx 0;
}

.active{
  border-bottom: 5rpx solid #35dab5;
}

.tabicon{
  margin-bottom: 20rpx;
  width: 100rpx;
  height: 100rpx;
}

.case{
  margin: 24rpx;
  padding: 24rpx;
  background-color: #fff;
  border-radius: 15rpx;
  position: relative;
}

.title{
  margin-bottom: 10rpx;
  width: 85%;
  line-height: 46rpx;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.level{
  position: absolute;
  top: 24rpx;
  right: 24rpx;
  display: flex;
  padding: 0 18rpx;
  color: #fff;
  font-size: 26rpx;
  line-height: 46rpx;
  align-content: center;
  border-radius: 25rpx;
}

.danger{
  background-color: #f56c6c;
}

.warning{
  background-color: #f0ad4e;
}

.subinfo{
  width: 75%;
}

.subinfo view{
  margin-top: 10rpx;
  color: #9498a4;
  font-size: 30rpx;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.time{
  width: 25%;
  color: #b4b4b4;
  font-size: 26rpx;
  text-align: right;
  position: absolute;
  right: 24rpx;
  bottom: 24rpx;
}