yuminge-app/yun-min-program-plugin-master/packageI/gratitude_reward/gratitudeRewardIndex/gratitudeRewardIndex.wxss

147 lines
2.6 KiB
Plaintext

/* packageI/gratitude_reward/gratitudeRewardIndex/gratitudeRewardIndex.wxss */
view,
text {
box-sizing: border-box;
}
.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;
}
.listItmes {
padding: 0 30rpx;
text-align: left;
background: #fff;
}
.listItmes .listItem {
display: flex;
flex-direction: column;
justify-content: space-between;
height: 204rpx;
padding-top: 25rpx;
padding-bottom: 20rpx;
border-bottom: 2rpx solid #ebebeb;
}
.listItmes .listItem .flex {
display: flex;
align-items: center;
}
.listItmes .listItem .order_sn {
font-size: 26rpx;
color: #333;
flex: 1;
}
.listItmes .listItem .price {
font-size: 32rpx;
color: #f15353;
}
.listItmes .listItem .face {
width: 54rpx;
height: 54rpx;
}
.listItmes .listItem .face image {
width: 54rpx;
height: 54rpx;
border-radius: 50%;
}
.listItmes .listItem .name {
flex: 1;
margin-left: 14rpx;
font-size: 28rpx;
color: #333;
}
.listItmes .listItem .status {
font-size: 24rpx;
color: #8c8c8c;
}
.listItmes .listItem .time {
font-size: 24rpx;
color: #8c8c8c;
}