yuminge-app/yun-min-program-plugin-master/packageE/ConsumePacket/index/index.wxss

126 lines
2.3 KiB
Plaintext

/* packageE/ConsumePacket/index/index.wxss */
.content .background {
width: 100%;
height: 320rpx;
background: #f15353;
display: flex;
padding-top: 32rpx;
justify-content: center;
}
.content .background .user {
display: flex;
flex-direction: column;
align-items: center;
}
.content .background .user .user-head {
height: 128rpx;
width: 128rpx;
background: #fff;
border-radius: 50%;
border: 4rpx solid #fff;
box-sizing: border-box;
overflow: hidden;
margin-bottom: 16rpx;
}
.content .background .user .user-head image {
width: 100%;
height: 100%;
border-radius: 50%;
}
.content .background .user .user-name {
text-align: center;
font-size: 16px;
color: #fff;
width: 320rpx;
overflow: hidden; /* 超出部分隐藏 */
text-overflow: ellipsis; /* 超出部分显示省略号 */
white-space: nowrap; /* 规定段落中的文本不进行换行 */
}
.content .absolute-block {
text-align: center;
width: 640rpx;
height: 192rpx;
background-color: #fff;
border-radius: 16rpx;
margin: 0 auto;
transform: translateY(-40%);
display: flex;
align-items: center;
padding: 25.6rpx 32rpx;
}
.content .absolute-block .left {
width: 100%;
display: flex;
flex-direction: column;
}
.content .absolute-block .left .first {
color: #000;
font-size: 18px;
}
.content .absolute-block .left .first .b {
font-weight: bold;
width: 288rpx;
display: inline-block;
overflow: hidden; /* 超出部分隐藏 */
text-overflow: ellipsis; /* 超出部分显示省略号 */
white-space: nowrap;
}
.content .absolute-block .left .second {
font-size: 12px;
color: #999;
}
.content .rationList1 {
padding: 0;
margin: 0;
background: #fff;
}
.content .rationList1 .li .info {
border-bottom: 2rpx solid #e2e2e2;
overflow: hidden;
padding: 20rpx 24rpx;
line-height: 40rpx;
font-size: 14px;
}
.content .rationList1 .li .li {
line-height: 48rpx;
}
.content .rationList1 .li .time,
.content .rationList1 .li .state {
color: #8c8c8c;
font-size: 12px;
}
.content .rationList1 .li .left {
width: 70%;
float: left;
text-align: left;
box-sizing: border-box;
}
.content .rationList1 .li .left .span {
font-size: 14px;
font-weight: 400;
color: #333;
}
.content .rationList1 .li .right {
float: left;
width: 30%;
color: #f14e4e;
text-align: right;
}