offline-evaluateDetail.scss 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412
  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. .evaluate-container--readonly {
  15. user-select: none;
  16. -webkit-user-select: none;
  17. }
  18. .service-card {
  19. position: relative;
  20. display: flex;
  21. align-items: flex-start;
  22. padding-bottom: 32rpx;
  23. margin-bottom: 24rpx;
  24. border-bottom: 1rpx solid #eee;
  25. }
  26. .service-img {
  27. width: 120rpx;
  28. height: 120rpx;
  29. border-radius: 12rpx;
  30. background: #f5f5f5;
  31. flex-shrink: 0;
  32. }
  33. .service-info {
  34. flex: 1;
  35. margin-left: 24rpx;
  36. min-width: 0;
  37. display: flex;
  38. flex-direction: column;
  39. gap: 12rpx;
  40. }
  41. .service-name-row {
  42. display: flex;
  43. align-items: center;
  44. flex-wrap: wrap;
  45. margin-bottom: 10px;
  46. }
  47. .service-name {
  48. font-size: 30rpx;
  49. color: #333;
  50. font-weight: 500;
  51. }
  52. .service-divider {
  53. font-size: 28rpx;
  54. color: #dcdcdc;
  55. margin: 0 10rpx;
  56. }
  57. .service-date,
  58. .service-time {
  59. font-size: 26rpx;
  60. color: #666;
  61. margin-right: 10px;
  62. }
  63. .service-row {
  64. font-size: 26rpx;
  65. color: #666;
  66. margin-bottom: 10px;
  67. }
  68. .product-card {
  69. position: relative;
  70. display: flex;
  71. align-items: center;
  72. padding-bottom: 32rpx;
  73. margin-bottom: 24rpx;
  74. border-bottom: 1rpx solid #eee;
  75. }
  76. .product-img {
  77. width: 120rpx;
  78. height: 120rpx;
  79. border-radius: 12rpx;
  80. background: #f5f5f5;
  81. flex-shrink: 0;
  82. }
  83. .product-info {
  84. flex: 1;
  85. margin-left: 24rpx;
  86. min-width: 0;
  87. display: flex;
  88. flex-direction: column;
  89. justify-content: center;
  90. }
  91. .product-name-row {
  92. display: flex;
  93. align-items: center;
  94. flex-wrap: wrap;
  95. gap: 8rpx;
  96. }
  97. .product-name {
  98. font-size: 30rpx;
  99. color: #333;
  100. font-weight: 500;
  101. }
  102. .product-divider {
  103. font-size: 28rpx;
  104. color: #dcdcdc;
  105. margin: 0 30rpx;
  106. }
  107. .product-spec {
  108. font-size: 26rpx;
  109. color: #999;
  110. }
  111. .product-close {
  112. position: absolute;
  113. top: 0;
  114. right: 0;
  115. padding: 16rpx;
  116. z-index: 1;
  117. }
  118. .rate-row {
  119. display: flex;
  120. align-items: center;
  121. // justify-content: space-between;
  122. margin-bottom: 32rpx;
  123. }
  124. .rate-label {
  125. font-size: 30rpx;
  126. color: #333;
  127. margin-right: 20px;
  128. min-width: 60px;
  129. }
  130. .rate-wrap {
  131. display: flex;
  132. align-items: center;
  133. gap: 16rpx;
  134. }
  135. .rate-score {
  136. font-size: 28rpx;
  137. color: #333;
  138. min-width: 56rpx;
  139. margin-left: 20px;
  140. }
  141. .comment-section {
  142. position: relative;
  143. margin-bottom: 32rpx;
  144. }
  145. .comment-display {
  146. width: 100%;
  147. min-height: 120rpx;
  148. padding: 24rpx;
  149. font-size: 28rpx;
  150. color: #333;
  151. background: #f7f8fa;
  152. border-radius: 12rpx;
  153. box-sizing: border-box;
  154. line-height: 1.5;
  155. white-space: pre-wrap;
  156. word-break: break-all;
  157. }
  158. .comment-input {
  159. width: 100%;
  160. min-height: 200rpx;
  161. padding: 24rpx;
  162. font-size: 28rpx;
  163. color: #333;
  164. background: #f7f8fa;
  165. border-radius: 12rpx;
  166. box-sizing: border-box;
  167. }
  168. .comment-placeholder {
  169. color: #999;
  170. }
  171. .comment-count {
  172. position: absolute;
  173. top: 24rpx;
  174. right: 24rpx;
  175. font-size: 24rpx;
  176. color: #999;
  177. }
  178. .upload-section {
  179. margin-bottom: 24rpx;
  180. }
  181. .upload-section .empty-media {
  182. font-size: 26rpx;
  183. color: #999;
  184. margin-top: 8rpx;
  185. display: block;
  186. }
  187. .section-label {
  188. font-size: 28rpx;
  189. color: #666;
  190. margin-bottom: 16rpx;
  191. }
  192. .upload-row {
  193. display: flex;
  194. gap: 20rpx;
  195. flex-wrap: wrap;
  196. }
  197. .upload-trigger {
  198. display: inline-flex;
  199. flex-direction: column;
  200. align-items: center;
  201. justify-content: center;
  202. width: 160rpx;
  203. height: 160rpx;
  204. border-radius: 12rpx;
  205. border: 2rpx dashed #ddd;
  206. }
  207. .upload-trigger--image {
  208. background: #f2f2f2;
  209. }
  210. .upload-trigger--video {
  211. background: #4a4a4a;
  212. border-color: #333;
  213. }
  214. .upload-label {
  215. font-size: 26rpx;
  216. color: #999;
  217. margin-top: 12rpx;
  218. }
  219. .upload-label--light {
  220. color: rgba(255, 255, 255, 0.9);
  221. }
  222. .upload-trigger .t-icon {
  223. display: block;
  224. }
  225. /* 一行 4 个,与 goods-evaluateDetail 一致 */
  226. .media-grid {
  227. display: flex;
  228. flex-wrap: wrap;
  229. gap: 24rpx;
  230. }
  231. .media-list--readonly .media-item {
  232. .media-delete {
  233. display: none;
  234. }
  235. }
  236. .media-item {
  237. position: relative;
  238. width: 140rpx;
  239. height: 140rpx;
  240. flex-shrink: 0;
  241. border-radius: 12rpx;
  242. overflow: hidden;
  243. background: #f5f5f5;
  244. margin-bottom: 10px;
  245. }
  246. .media-thumb {
  247. width: 100%;
  248. height: 100%;
  249. display: block;
  250. }
  251. .media-item-video {
  252. position: relative;
  253. width: 100%;
  254. height: 100%;
  255. .media-thumb {
  256. display: block;
  257. }
  258. }
  259. .media-item-play {
  260. position: absolute;
  261. left: 50%;
  262. top: 50%;
  263. transform: translate(-50%, -50%);
  264. pointer-events: none;
  265. }
  266. .media-delete {
  267. position: absolute;
  268. top: 0;
  269. right: 0;
  270. width: 48rpx;
  271. height: 48rpx;
  272. background: rgba(0, 0, 0, 0.5);
  273. display: flex;
  274. align-items: center;
  275. justify-content: center;
  276. border-radius: 0 12rpx 0 12rpx;
  277. }
  278. .publish-footer {
  279. position: fixed;
  280. bottom: 0;
  281. left: 0;
  282. right: 0;
  283. background: #fff;
  284. padding: 20rpx 32rpx;
  285. box-shadow: 0 -4rpx 20rpx rgba(0, 0, 0, 0.06);
  286. z-index: 100;
  287. }
  288. .publish-btn {
  289. height: 88rpx;
  290. line-height: 88rpx;
  291. text-align: center;
  292. font-size: 32rpx;
  293. font-weight: 500;
  294. color: #fff;
  295. background: #1976d2;
  296. border-radius: 44rpx;
  297. }
  298. .publish-btn.disabled {
  299. background: #e8e8e8;
  300. color: #999;
  301. }
  302. /* 全屏轮播层:图片+视频一起,轮播到视频自动播放 */
  303. .media-carousel-overlay {
  304. position: fixed;
  305. left: 0;
  306. top: 0;
  307. right: 0;
  308. bottom: 0;
  309. z-index: 1000;
  310. background: #000;
  311. }
  312. .media-carousel-swiper {
  313. width: 100%;
  314. height: 100%;
  315. }
  316. .media-carousel-item {
  317. width: 100%;
  318. height: 100%;
  319. display: flex;
  320. align-items: center;
  321. justify-content: center;
  322. }
  323. .media-carousel-image-wrap {
  324. width: 100%;
  325. height: 100%;
  326. display: flex;
  327. align-items: center;
  328. justify-content: center;
  329. }
  330. .media-carousel-image {
  331. width: 100%;
  332. height: 100%;
  333. display: block;
  334. object-position: center;
  335. }
  336. .media-carousel-video-wrap {
  337. width: 100%;
  338. height: 100%;
  339. }
  340. .media-carousel-video {
  341. width: 100%;
  342. height: 100%;
  343. display: block;
  344. }
  345. .media-carousel-close {
  346. position: absolute;
  347. top: calc(var(--status-bar-height, 0px) + 24rpx);
  348. right: 24rpx;
  349. width: 80rpx;
  350. height: 80rpx;
  351. border-radius: 50%;
  352. background: rgba(0, 0, 0, 0.5);
  353. display: flex;
  354. align-items: center;
  355. justify-content: center;
  356. z-index: 1001;
  357. }