/* compontents/chat/chat.wxss */ .works, .share { width: 100%; margin: 20rpx 0; border-radius: 25rpx; padding: 20rpx 0; box-sizing: border-box; background: #fff; position: relative; } /* 分享评论 */ .works, .share { padding: 16rpx 25rpx; } .works .title, .share .title { position:relative; width: 100%; text-align: center; font-size: 36rpx; font-weight: 600; border-bottom: 2rpx #dcdcdc solid; padding-bottom: 16rpx; background: #fff; } .xing { width: 20rpx; height: 20rpx; margin: 0 10rpx; } .uploading { position: absolute; right: 0; top: 10rpx; font-size: 28rpx; color: #fff; background-color: #95D4E6; line-height: 40rpx; border-radius: 40rpx; display: block; height: 40rpx; padding: 0rpx 20rpx; } .share-con, .questions { position:relative; margin-top: 28rpx; padding-bottom: 10rpx; border-bottom: 2rpx #dcdcdc solid; } .share-con .head { padding:20rpx 0; } .head-img { width: 86rpx; height: 86rpx; float: left; margin-right: 18rpx; } .head-img image { width: 100%; height: 100%; border-radius: 50%; } .lesson-name { display: flex; flex-direction: column; margin: 8rpx 16rpx; } .lesson-name text:nth-child(1) { height: 38rpx; font-size: 36rpx; font-weight: 600; } .lesson-name text:nth-child(2) { height: 30rpx; margin-top: 10rpx; font-size: 28rpx; color: #C3C3C3; } .picture { display: flex; height:176rpx; margin: 24rpx 112rpx 17rpx 103rpx; } .picture image { width: 236rpx; height: 176rpx; border-radius: 5rpx; } .picture image:nth-child(2) { margin-left: 8rpx; } .share-up-box { position: absolute; right: -30rpx; top: -30rpx; height: 100rpx; width: 100rpx; } .share_up { position: absolute; right: 30rpx; top: 50rpx; height: 28rpx; width: 28rpx; } .message { position: absolute; right: 0; top: 10rpx; width: 20rpx; height: 20rpx; background: red; border-radius: 50%; } .icon { display: flex; align-items: center; margin: 0 112rpx 17rpx 103rpx; } .icon view { display: flex; align-items: center; margin-right: 60rpx; } .icon .zan { width: 26rpx; height: 23rpx; } .icon .weatch { width: 30rpx; height: 23rpx; } .icon .discuss { width: 32rpx; height: 29rpx; } .icon view text { font-size: 28rpx; color: #878787; margin-left: 14rpx; } .more { margin-top: 18rpx; font-size: 28rpx; text-align: center; color: #787878; } /* 没有分享和答疑内容时的样式 */ .no-con { margin: 50rpx 0 ; } .state { text-align: center; font-size: 28rpx; color: #bebebe; } .upload-works { position: relative; width: 240rpx; height: 210rpx; margin: 0 auto; } .work-box { position: absolute; left: 0; top: 0; width: 235rpx; height: 235rpx; } .uploading-works { position: absolute; left: 50%; top: 50%; z-index: 1; width: 67rpx; height: 51rpx; transform: translate(-50%, -50%); } .upload-works text { position: absolute; left: 50%; top: 70%; z-index: 1; font-size: 28rpx; color: #bebebe; transform: translate(-50%); } /*分享按钮*/ .transmit { position: absolute; right: -20rpx; top: -20rpx; height: 100rpx; width: 100rpx; background: #fff; margin:0; padding:0; line-height: normal; } .transmit:after { content: ''; border: none; } .transmit image { position: absolute; right: 20rpx; top: 20rpx; height: 30rpx; width: 30rpx; } .content-data{ display:block; word-break:break-all; color: #444444; }