art-detail.page.scss 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. .art-detail {
  2. .main-image {
  3. width: 100%;
  4. height: 300px;
  5. object-fit: cover;
  6. }
  7. .content-section {
  8. padding: 20px;
  9. h1 {
  10. font-size: 24px;
  11. font-weight: 600;
  12. margin: 0 0 12px;
  13. color: #333;
  14. }
  15. .description {
  16. font-size: 16px;
  17. line-height: 1.6;
  18. color: #666;
  19. margin-bottom: 20px;
  20. }
  21. .interaction-bar {
  22. display: flex;
  23. align-items: center;
  24. gap: 16px;
  25. padding: 8px 0;
  26. border-bottom: 1px solid #eee;
  27. }
  28. }
  29. .comments-section {
  30. padding: 20px;
  31. h2 {
  32. font-size: 18px;
  33. font-weight: 600;
  34. margin: 0 0 16px;
  35. color: #333;
  36. }
  37. .comment-input {
  38. margin-bottom: 24px;
  39. ion-button {
  40. margin-top: 12px;
  41. }
  42. }
  43. .comments-list {
  44. .comment-item {
  45. margin-bottom: 20px;
  46. padding-bottom: 20px;
  47. border-bottom: 1px solid #eee;
  48. .comment-header {
  49. display: flex;
  50. align-items: center;
  51. gap: 8px;
  52. margin-bottom: 8px;
  53. img {
  54. width: 32px;
  55. height: 32px;
  56. border-radius: 50%;
  57. }
  58. .username {
  59. font-weight: 500;
  60. color: #333;
  61. }
  62. .time {
  63. font-size: 12px;
  64. color: #999;
  65. }
  66. }
  67. .comment-content {
  68. font-size: 14px;
  69. line-height: 1.5;
  70. color: #666;
  71. margin: 0;
  72. }
  73. }
  74. }
  75. }
  76. }