.wrapper { padding-top: 20rpx; } .leaving-a-message { position: relative; left: 0; top: 0; } .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; } .btn-add { position: fixed; right: 30rpx; bottom: 156rpx; z-index: 100; &:after { display: block; content: ''; width: 100%; padding-bottom: constant(safe-area-inset-bottom); padding-bottom: env(safe-area-inset-bottom); } image { display: block; width: 134rpx; height: 134rpx; } } .main { padding: 42rpx 0 134rpx; } .list { width: 690rpx; margin: 20rpx auto 0; } .top { display: flex; align-items: center; padding-left: 12rpx; } .portrait { width: 88rpx; height: 88rpx; border-radius: 50%; overflow: hidden; image { display: block; width: 100%; height: 100%; } } .blogger-name-wrap { width: 450rpx; padding: 0 16rpx; view { width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .user-name { line-height: 36rpx; font-size: 30rpx; font-weight: 500; color: rgba(29, 29, 31, 1); } .business-name { margin-top: 2rpx; line-height: 32rpx; font-size: 24rpx; color: rgba(0, 0, 0, 0.4); } } .follow { width: 140rpx; height: 56rpx; border-radius: 8rpx; background: rgba(145, 179, 121, 1); font-size: 24rpx; font-weight: 600; color: rgba(255, 255, 255, 1); } .news { margin-top: 20rpx; .text { line-height: 44rpx; font-size: 28rpx; color: rgba(102, 102, 102, 1); word-break: break-all; word-wrap: break-word; } .photo-wrap { display: flex; flex-flow: row wrap; } .box { width: 222rpx; height: 218rpx; margin-top: 24rpx; margin-left: 12rpx; border-radius: 8rpx; overflow: hidden; &:nth-of-type(1), &:nth-of-type(2), &:nth-of-type(3) { margin-top: 20rpx; } &:nth-of-type(3n + 1) { margin-left: 0; } } image { display: block; width: 100%; height: 100%; } } .tools-wrap { display: flex; align-items: center; justify-content: space-between; margin-top: 12rpx; image { display: block; width: 48rpx; height: 48rpx; } .collection-favorite { display: flex; justify-content: flex-end; } .favorite { display: flex; align-items: center; } .good-count { margin-left: 10rpx; } } .message-list { margin-bottom: 74rpx; .list { display: flex; margin-top: 20rpx; } .message { width: 100%; line-height: 44rpx; font-size: 28rpx; color: rgba(153, 153, 153, 1); word-break: break-all; word-wrap: break-word; } .btn-reply { width: 76rpx; line-height: 44rpx; font-size: 24rpx; color: rgba(153, 153, 153, 1); text-align: center; } } .popup-body { padding-top: 24rpx; padding-bottom: 100rpx; } .form-item { position: relative; left: 0; top: 0; width: 688rpx; height: 76rpx; margin: 0 auto; border-radius: 38rpx; background: rgba(240, 240, 240, 1); .smile { position: absolute; left: 27rpx; top: 18rpx; width: 40rpx; height: 40rpx; } input { width: 383rpx; height: 100%; padding: 0 13rpx; margin-left: 67rpx; font-size: 32rpx; color: rgba(51, 51, 51, 1); } .placeholder { color: rgba(166, 166, 166, 1); } .btn-send { position: absolute; right: 14rpx; top: 10rpx; z-index: 99; width: 108rpx; height: 56rpx; border-radius: 38rpx; background: rgba(96, 169, 252, 1); font-size: 24rpx; color: #FFF; } }