news.scss 838 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. .wrapper {
  2. padding-top: 20rpx;
  3. }
  4. .leaving-a-message {
  5. position: relative;
  6. left: 0;
  7. top: 0;
  8. }
  9. .leaving-a-message image {
  10. display: block;
  11. width: 40rpx;
  12. height: 50rpx;
  13. background: pink;
  14. }
  15. .leaving-a-message view {
  16. position: absolute;
  17. top: -9rpx;
  18. right: -9rpx;
  19. z-index: 1;
  20. min-width: 36rpx;
  21. min-height: 36rpx;
  22. border-radius: 18rpx;
  23. background: #FA5151;
  24. font-size: 24rpx;
  25. font-weight: 500;
  26. color: #FFF;
  27. line-height: 36rpx;
  28. text-align: center;
  29. }
  30. .btn-send {
  31. position: fixed;
  32. right: 30rpx;
  33. bottom: 58rpx;
  34. z-index: 100;
  35. &:after {
  36. display: block;
  37. content: '';
  38. width: 100%;
  39. padding-bottom: constant(safe-area-inset-bottom);
  40. padding-bottom: env(safe-area-inset-bottom);
  41. }
  42. image {
  43. display: block;
  44. width: 134rpx;
  45. height: 134rpx;
  46. background: pink;
  47. }
  48. }