.wrapper { padding-top: 20rpx; background: #FFF; } .leaving-a-message { position: relative; left: 0; top: 0; margin-left: 8rpx; } .leaving-a-message image { display: block; width: 40rpx; height: 50rpx; } .leaving-a-message view { position: absolute; top: -9rpx; right: -9rpx; z-index: 1; min-width: 36rpx; min-height: 36rpx; border-radius: 18rpx; background: #FA5151; font-size: 24rpx; font-weight: 500; color: #FFF; line-height: 36rpx; text-align: center; } .main { width: 100%; padding: 22rpx 0; } .list { width: 690rpx; //min-height: 328rpx; padding: 40rpx 20rpx 30rpx 34rpx; margin: 0 auto 20rpx; border-radius: 24rpx; background: rgba(255, 255, 255, 1); box-shadow: 0 4rpx 8rpx 4rpx rgba(0, 0, 0, 0.1); } .top { display: flex; } .photo-wrap { width: 100rpx; height: 100rpx; border-radius: 5rpx; overflow: hidden; image { display: block; width: 100%; height: 100%; } } .name-wrap { display: flex; flex-direction: column; justify-content: space-between; width: 400rpx; min-height: 100rpx; padding: 0 22rpx; } .name { display: -webkit-box; width: 100%; line-height: 40rpx; font-size: 30rpx; color: rgba(51, 51, 51, 1); -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; word-break: break-all; word-wrap: break-word; } .abstract { line-height: 34rpx; font-size: 24rpx; color: rgba(102, 102, 102, 1); } button.btn[type="default"] { width: 136rpx; height: 50rpx; border-radius: 16rpx; border: 2rpx solid rgba(107, 133, 89, 1); background-color: transparent; font-size: 24rpx; color: rgba(107, 133, 89, 1); } .phone { margin-top: 24rpx; } .wechat, .adress { margin-top: 10rpx; } .phone, .wechat, .adress { display: flex; .label, .value { line-height: 38rpx; font-size: 24rpx; color: rgba(153, 153, 153, 1); } } .label { white-space: nowrap; } .value { width: calc(100% - 72rpx); word-break: break-all; word-wrap: break-word; }