comment.wxss 2.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. /* pages/ActivityDetail/comment.wxss */
  2. @import '../../app.wxss';
  3. .textarea {
  4. padding: 36rpx 40rpx;
  5. position: relative;
  6. overflow: hidden;
  7. background: #fff;
  8. }
  9. textarea{
  10. width: 100%;
  11. display: block;
  12. line-height: 38rpx;
  13. font-size: 26rpx;
  14. color: #666;
  15. }
  16. .photos {
  17. padding: 30rpx 40rpx;
  18. position: relative;
  19. overflow: hidden;
  20. background: #fff;
  21. margin: 20rpx auto 0;
  22. }
  23. .photos .flex-h {
  24. position: relative;
  25. overflow: visible;
  26. align-items: center;
  27. }
  28. .photos .flex-h > text {
  29. font-size: 20rpx;
  30. color: #666;
  31. line-height: 1.1;
  32. display: inline-block;
  33. position: absolute;
  34. right: 0;
  35. bottom: 0;
  36. }
  37. .photos .flex-item {
  38. white-space: nowrap;
  39. }
  40. .photos .flex-item > view {
  41. width: 120rpx;
  42. height: 120rpx;
  43. position: relative;
  44. overflow: hidden;
  45. margin-right: 20rpx;
  46. background: #f8f8f8;
  47. text-align: center;
  48. display: inline-block;
  49. }
  50. .addBtn > view {
  51. width: 100%;
  52. }
  53. .addBtn image {
  54. width: 30%;
  55. display: inline-block;
  56. }
  57. .addBtn text {
  58. width: 100%;
  59. display: block;
  60. text-align: center;
  61. font-size: 18rpx;
  62. color: #999;
  63. line-height: 30rpx;
  64. }
  65. .photos .flex-item > view.item {
  66. overflow: visible;
  67. }
  68. .item image {
  69. display: inline-block;
  70. z-index: 1;
  71. }
  72. .item text {
  73. width: 30rpx;
  74. height: 30rpx;
  75. box-sizing: border-box;
  76. border: 2rpx solid red;
  77. display: inline-block;
  78. position: absolute;
  79. z-index: 2;
  80. right: -5rpx;
  81. top: -5rpx;
  82. border-radius: 100%;
  83. background: #fff;
  84. }
  85. .item text::after {
  86. content: '';
  87. width: 50%;
  88. height: 2rpx;
  89. background: red;
  90. display: block;
  91. position: absolute;
  92. left: 50%;
  93. top: 50%;
  94. transform: translate(-50%, -50%);
  95. -webkit-transform: translate(-50%, -50%);
  96. }
  97. .btn {
  98. padding: 0 40rpx;
  99. margin: 20rpx 0;
  100. position: relative;
  101. overflow: visible;
  102. }
  103. .btn text {
  104. width: 100%;
  105. display: block;
  106. text-align: center;
  107. color: #fff;
  108. background: #bb9c79;
  109. line-height: 88rpx;
  110. border-radius: 10rpx;
  111. box-shadow: 0 0 20rpx 10rpx rgba(0, 0, 0, .05);
  112. font-size: 26rpx;
  113. }