offline-evaluate.scss 3.6 KB

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