/* subpages/consult/components/questionList.wxss */ .home{ width: 100%; } .list-item{ background-color: #fff; margin-top: 20rpx; padding: 0 20rpx; } .list-item .item-header{ display: inline-block; width: 100%; } .list-item .item-header .index{ display: inline-block; width: 4%; height: 100rpx; line-height: 100rpx; font-size: 30rpx; } .list-item .item-header .question{ display: inline-block; line-height: 50rpx; font-size: 35rpx; letter-spacing: 2rpx; } .list-item .item-button .time{ display: inline-block; width: 40%; font-size: 25rpx; color: #AAA; } .list-item .item-button{ height: 60rpx; width: 100%; padding-top: 20rpx; } .list-item .item-button .reply{ height: 50rpx; width: 20%; font-size: 30rpx; line-height: 50rpx; text-align: center; float: right; } .list-item .item-button .reply .button-img{ height: 25rpx; width: 25rpx; margin-left: -5rpx; } .list-item .item-button .reply .button-text{ color: #F71A1A; font-size: 30rpx; display: inline-block; margin-left: 10rpx; } .item-reply{ width: 100%; min-height: 300rpx; } .item-reply .textarea{ width: 100%; min-height: 300rpx; background-color: #f2f2f2; } .answer-content{ width: 100%; font-size: 30rpx; color: #777; } .reply-button{ border-radius: 35rpx; background-color: #e02d22; height: 55rpx; width: 120rpx; color: #fff; line-height: 50rpx; text-align: center; margin-right: 20rpx; float: right; font-size: 30rpx; } .answer-footer{ padding: 20rpx 0; font-size: 30rpx; color: #c3c3c3; } .answer-content text{ line-height: 50rpx; display: block; word-break: break-all; } .question text{ line-height: 50rpx; word-break: break-all; } .answer-content text.text-collapse{ display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow: hidden; text-overflow: ellipsis; } .text-collapse{ display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow: hidden; text-overflow: ellipsis; } .coll-p{ font-size: 30rpx; color: #5064A3; margin-top: 10rpx; margin-right: 20rpx; }