articleDetails.wxss 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. page {
  2. background: #fff;
  3. padding-bottom: calc(49rpx + .4em + 1.4rem);
  4. padding-bottom: calc(constant(safe-area-inset-bottom) + 49rpx + .4em + 1.4rem);
  5. padding-bottom: calc(env(safe-area-inset-bottom) + 49rpx + .4em + 1.4rem);
  6. }
  7. .header {
  8. /* background-color: rgba(229,27,53, .1) */
  9. }
  10. .avatar, .comments image {
  11. width: 70rpx;
  12. height: 70rpx;
  13. }
  14. .circle {
  15. margin-right: .5em
  16. }
  17. .commentsContatiner {
  18. position: fixed;
  19. left: 0;
  20. right: 0;
  21. bottom: 0;
  22. padding-bottom: constant(safe-area-inset-bottom);
  23. padding-bottom: env(safe-area-inset-bottom);
  24. }
  25. .comment .input {
  26. background: #efefef;
  27. padding: .2em .5em;
  28. border-radius: 1em
  29. }
  30. .comment image {
  31. height: 1em;
  32. width: 1em;
  33. margin-right: .3em;
  34. }
  35. .comment > view {
  36. margin-right: 1em
  37. }
  38. .comment > view:last-child {
  39. margin-right: 0
  40. }
  41. .comments .nickname {
  42. color: #002063;
  43. }
  44. .comments .content {
  45. padding-bottom: 1.2em
  46. }
  47. .comments {
  48. height: 0;
  49. transition: all .3s ease-in-out 0s
  50. }
  51. .comments.show {
  52. height: 400rpx
  53. }
  54. .fullx {
  55. background: #fff;
  56. }