.layout{ width: 100%; display: flex; /* flex-direction: column; justify-content: space-between; box-sizing: border-box; */ border-bottom: 6pt solid #f6f8f8; } .fl{ float: left; } .fr{ float: right; } .subject-item{ display: flex; flex-direction: column; width: 100%; margin: 10px; } .subject-title{ width: 100%; display: inline-table; font-size: 36rpx; color: #333333; } .tags{ float: left; font-size:24rpx; align-self: end; display: inline-table; border-radius: 4px; height: 20px; margin-right: 5px; line-height: 20px; padding: 0 12rpx 0 12rpx; } .tag1{ color: #ff9f00; background: #fff0cf; border: 1px solid #ffe1b8; } .tag2{ color: #3abfc5; background: #d6f6f7; border: 1px solid #a5ebee; } .tag3{ color: #a081f1; background: #efe9ff; border: 1px solid #ddd7f1; } .tag4{ color: #fa7f8a; background: #ffe9f1; border: 1px solid #f2d3de; } .subject-user{ width: 100%; display: table; padding: 20rpx 0; } .swiper-item-con{ height: 100%; } .user-avatar{ width: 46rpx; height: 46rpx; display: table; float: left; border-radius: 4px; background: #eeeeee; margin-right: 10px; } .user-avatar image{ display: table; width: 46rpx; height: 46rpx; } .user-name{ float: left; height: 46rpx; } .user-name .name{ font-size: 24rpx; color:#7A8C9A; height: 25rpx; line-height: 25rpx; } .user-name .time{ height: 25rpx; line-height: 30rpx; font-size: 20rpx; color: #A5B0B9; } .comment{ width: calc(100% - 20px); display: inline-table; font-size: 30rpx; color: #7A8C9A; padding: 10px; background: #F2F6F7; border-radius: 8px; } .addtime{ width: 100%; text-align: right; font-size: 20rpx; } .btmbar{ width: 100%; display: inline-table; height: 50rpx; line-height: 90rpx; font-size: 36rpx; color: #333333; } .halfwidth{ width: 46%; } .attitude{ font-size: 26rpx; } .handle{ margin-top: 20rpx; width: 75px; height: 30px; } .loadmore{ width: 100%; text-align: center; height: 50px; line-height: 50px; background: #f6f8f8; font-size:12px; color: #999; } /* 自定义按钮样式 */ .buttons { font-size: 32rpx; font-weight: bold; margin: auto; left: 0; right: 0; } .btn-size-small{ width: 150rpx; height: 60rpx; } .btn_label{ position: absolute; color: #fff; z-index: 99; text-align: center; } .btn_label-small{ line-height: 60rpx; font-size: 28rpx; font-weight: normal; } .ic_btn { /* position: fixed; */ } .btn { opacity: 0; } /*----end----*/ .ygb-color{ color: #909DA7 } .line-clamp{ display: -webkit-box; overflow: hidden; text-overflow: ellipsis; word-wrap: break-word; white-space: normal !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }