/* pages/comment/comment.wxss */ page { background: #fff; } .comment_item { background: #fff; margin-bottom: 30rpx; position: relative; overflow: hidden; } .comment_item .a { position: relative; display: block; padding: 0 20rpx 24rpx 140rpx; background: #fafafa; overflow: hidden; text-align: justify; } .comment_item .a image { position: absolute; left: 20rpx; top: 30rpx; display: block; width: 100rpx; height: 100rpx; border: 2rpx solid #ddd; } .comment_item .a .name { font-size: 24rpx; height: 96rpx; line-height: 48rpx; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .comment_item .a .price { font-size: 24rpx; color: #e4393c; } .comment-goods .foot { position: relative; margin: 0 20rpx; padding: 20rpx 0; height: 60rpx; } .comment-goods .foot .action { position: absolute; top: 20rpx; right: 0; overflow: hidden; } .comment-goods .foot .action .btn { height: 60rpx; font-size: 24rpx; background: #8476f3; color: #fff; padding: 0; width: 160rpx; line-height: 60rpx; border-radius: 10rpx; text-align: center; float: right; padding-right: 20rpx; } .comment-goods .foot .action .btn_1 { background: #f15353; color: #fff; border: 2rpx solid transparent; } .comment-goods .inner.display { display: block; } .comment-goods .inner { position: relative; background: #f8f8f8; padding: 0 20rpx 2rpx; margin: 10rpx 20rpx 20rpx; font-size: 24rpx; color: #999; display: none; } .comment-goods .inner .arrow { z-index: 1; background: #f8f8f8; position: absolute; top: -0.5rem; right: 60rpx; border-top: 2rpx solid #ddd; border-left: 2rpx solid #ddd; width: 32rpx; height: 32rpx; -webkit-transform: rotate(45deg) scale(0.5); transform: rotate(45deg) scale(0.5); } .comment-goods .inner .comment_view { position: relative; overflow: hidden; height: 50rpx; line-height: 50rpx; } .comment-goods .inner .comment_view .label { font-size: 28rpx; color: #333; position: absolute; left: 0; } .comment-goods .inner .comment_view .stars { position: absolute; left: 90rpx; top: 0; font-size: 36rpx; } .comment-goods .inner .p { text-align: justify; margin-bottom: 20rpx; } .comment-goods .inner .comment_textarea { position: relative; overflow: hidden; } .comment-goods .inner .comment_textarea .textarea_wrap { padding: 20rpx; background: #fff; position: relative; } .comment-goods .inner .comment_textarea .textarea_wrap .option { text-align: left; } .comment-goods .inner .comment_textarea .textarea_wrap van-field { resize: none; width: 100%; height: 140rpx; border: none; background: none; font-size: 24rpx; -webkit-appearance: none; -webkit-border-radius: 0; } .comment-goods .inner .comment_textarea .textarea_wrap van-cell-group { border: 1px solid #bfcbd9; border-radius: 4px; } .comment-goods .inner .comment_textarea .textarea_wrap van-cell-group van-cell { border-radius: 4px; } .comment-goods .inner .mod_btns { overflow: hidden; margin: 20rpx 20rpx; } .comment-goods .inner .mod_btns .gray { background: #ccc; display: block; width: 100%; height: 80rpx; line-height: 80rpx; text-align: center; font-size: 28rpx; -webkit-border-radius: 4rpx; border-radius: 4rpx; position: relative; padding: 0; color: #fff; border: 2rpx solid #ccc; } .comment-goods .inner .mod_btns .mod_btn { display: block; width: 100%; height: 80rpx; line-height: 80rpx; text-align: center; font-size: 28rpx; -webkit-border-radius: 4rpx; border-radius: 4rpx; position: relative; padding: 0; background: #f15353; color: #fff; border: 2rpx solid #f15353; } .comment-goods .sure .btn-sure { display: block; height: 80rpx; line-height: 80rpx; text-align: center; font-size: 28rpx; -webkit-border-radius: 4rpx; border-radius: 4rpx; position: relative; padding: 0; background: #fff; color: #f15353; border: 2rpx solid #f15353; margin: 20rpx 20rpx 60rpx; font-weight: bold; }