offline-evaluate.scss 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  1. @import "../../../../themes/page.scss";
  2. .page-scroll__container {
  3. flex: 0 1 auto;
  4. height: var(--page-container-safeHeight, 100vh);
  5. background: #f7f8fa;
  6. padding-bottom: 140rpx;
  7. }
  8. .evaluate-container {
  9. background: #fff;
  10. margin: 24rpx;
  11. border-radius: 16rpx;
  12. padding: 32rpx;
  13. }
  14. .service-card {
  15. position: relative;
  16. display: flex;
  17. align-items: flex-start;
  18. padding-bottom: 32rpx;
  19. margin-bottom: 24rpx;
  20. border-bottom: 1rpx solid #eee;
  21. }
  22. .service-img {
  23. width: 120rpx;
  24. height: 120rpx;
  25. border-radius: 12rpx;
  26. background: #f5f5f5;
  27. flex-shrink: 0;
  28. }
  29. .service-info {
  30. flex: 1;
  31. margin-left: 24rpx;
  32. min-width: 0;
  33. display: flex;
  34. flex-direction: column;
  35. gap: 12rpx;
  36. }
  37. .service-name-row {
  38. display: flex;
  39. align-items: center;
  40. flex-wrap: wrap;
  41. }
  42. .service-name {
  43. font-size: 30rpx;
  44. color: #333;
  45. font-weight: 500;
  46. }
  47. .service-divider {
  48. font-size: 28rpx;
  49. color: #dcdcdc;
  50. margin: 0 10rpx;
  51. }
  52. .service-date,
  53. .service-time {
  54. font-size: 26rpx;
  55. color: #666;
  56. }
  57. .service-row {
  58. font-size: 26rpx;
  59. color: #666;
  60. }
  61. .service-close {
  62. position: absolute;
  63. top: 0;
  64. right: 0;
  65. padding: 16rpx;
  66. z-index: 1;
  67. }
  68. .rate-row {
  69. display: flex;
  70. align-items: center;
  71. // justify-content: space-between;
  72. margin-bottom: 28rpx;
  73. }
  74. .rate-label {
  75. font-size: 30rpx;
  76. color: #333;
  77. min-width: 140rpx;
  78. margin-right: 10px;
  79. }
  80. .rate-wrap {
  81. display: flex;
  82. align-items: center;
  83. gap: 16rpx;
  84. }
  85. .rate-score {
  86. font-size: 28rpx;
  87. color: #333;
  88. min-width: 56rpx;
  89. margin-left: 20px;
  90. }
  91. .comment-section {
  92. position: relative;
  93. margin-bottom: 32rpx;
  94. }
  95. .comment-input {
  96. width: 100%;
  97. min-height: 200rpx;
  98. padding: 24rpx;
  99. font-size: 28rpx;
  100. color: #333;
  101. background: #f7f8fa;
  102. border-radius: 12rpx;
  103. box-sizing: border-box;
  104. }
  105. .comment-placeholder {
  106. color: #999;
  107. }
  108. .comment-count {
  109. position: absolute;
  110. top: 24rpx;
  111. right: 24rpx;
  112. font-size: 24rpx;
  113. color: #999;
  114. }
  115. .upload-section {
  116. margin-bottom: 24rpx;
  117. }
  118. /* 一行 4 个,文件之间 24rpx 缝隙,与 goods-evaluate 一致 */
  119. .media-grid {
  120. display: flex;
  121. flex-wrap: wrap;
  122. gap: 24rpx;
  123. }
  124. .media-item {
  125. position: relative;
  126. width: 142rpx;
  127. height: 142rpx;
  128. flex-shrink: 0;
  129. border-radius: 12rpx;
  130. overflow: hidden;
  131. background: #f5f5f5;
  132. margin-right: 5px;
  133. margin-bottom: 10px;
  134. }
  135. .upload-trigger {
  136. display: flex;
  137. flex-direction: column;
  138. align-items: center;
  139. justify-content: center;
  140. width: 142rpx;
  141. height: 142rpx;
  142. flex-shrink: 0;
  143. background: #f7f8fa;
  144. border-radius: 12rpx;
  145. border: 2rpx dashed #ddd;
  146. }
  147. .upload-label {
  148. font-size: 24rpx;
  149. color: #999;
  150. margin-top: 12rpx;
  151. }
  152. .media-thumb {
  153. width: 100%;
  154. height: 100%;
  155. display: block;
  156. }
  157. .media-item-video {
  158. position: relative;
  159. width: 100%;
  160. height: 100%;
  161. .media-thumb {
  162. display: block;
  163. }
  164. }
  165. .media-item-play {
  166. position: absolute;
  167. left: 50%;
  168. top: 50%;
  169. transform: translate(-50%, -50%);
  170. pointer-events: none;
  171. }
  172. .media-delete {
  173. position: absolute;
  174. top: 0;
  175. right: 0;
  176. width: 48rpx;
  177. height: 48rpx;
  178. background: rgba(0, 0, 0, 0.5);
  179. display: flex;
  180. align-items: center;
  181. justify-content: center;
  182. border-radius: 0 12rpx 0 12rpx;
  183. }
  184. .publish-footer {
  185. position: fixed;
  186. bottom: 0;
  187. left: 0;
  188. right: 0;
  189. background: #fff;
  190. padding: 20rpx 32rpx;
  191. box-shadow: 0 -4rpx 20rpx rgba(0, 0, 0, 0.06);
  192. z-index: 100;
  193. }
  194. .publish-btn {
  195. height: 88rpx;
  196. line-height: 88rpx;
  197. text-align: center;
  198. font-size: 32rpx;
  199. font-weight: 500;
  200. color: #fff;
  201. background: #1976d2;
  202. border-radius: 44rpx;
  203. }
  204. .publish-btn.disabled {
  205. background: #e8e8e8;
  206. color: #999;
  207. }