offline-evaluateDetail.scss 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413
  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: 142rpx;
  239. height: 142rpx;
  240. flex-shrink: 0;
  241. border-radius: 12rpx;
  242. overflow: hidden;
  243. background: #f5f5f5;
  244. margin-right: 5px;
  245. margin-bottom: 10px;
  246. }
  247. .media-thumb {
  248. width: 100%;
  249. height: 100%;
  250. display: block;
  251. }
  252. .media-item-video {
  253. position: relative;
  254. width: 100%;
  255. height: 100%;
  256. .media-thumb {
  257. display: block;
  258. }
  259. }
  260. .media-item-play {
  261. position: absolute;
  262. left: 50%;
  263. top: 50%;
  264. transform: translate(-50%, -50%);
  265. pointer-events: none;
  266. }
  267. .media-delete {
  268. position: absolute;
  269. top: 0;
  270. right: 0;
  271. width: 48rpx;
  272. height: 48rpx;
  273. background: rgba(0, 0, 0, 0.5);
  274. display: flex;
  275. align-items: center;
  276. justify-content: center;
  277. border-radius: 0 12rpx 0 12rpx;
  278. }
  279. .publish-footer {
  280. position: fixed;
  281. bottom: 0;
  282. left: 0;
  283. right: 0;
  284. background: #fff;
  285. padding: 20rpx 32rpx;
  286. box-shadow: 0 -4rpx 20rpx rgba(0, 0, 0, 0.06);
  287. z-index: 100;
  288. }
  289. .publish-btn {
  290. height: 88rpx;
  291. line-height: 88rpx;
  292. text-align: center;
  293. font-size: 32rpx;
  294. font-weight: 500;
  295. color: #fff;
  296. background: #1976d2;
  297. border-radius: 44rpx;
  298. }
  299. .publish-btn.disabled {
  300. background: #e8e8e8;
  301. color: #999;
  302. }
  303. /* 全屏轮播层:图片+视频一起,轮播到视频自动播放 */
  304. .media-carousel-overlay {
  305. position: fixed;
  306. left: 0;
  307. top: 0;
  308. right: 0;
  309. bottom: 0;
  310. z-index: 1000;
  311. background: #000;
  312. }
  313. .media-carousel-swiper {
  314. width: 100%;
  315. height: 100%;
  316. }
  317. .media-carousel-item {
  318. width: 100%;
  319. height: 100%;
  320. display: flex;
  321. align-items: center;
  322. justify-content: center;
  323. }
  324. .media-carousel-image-wrap {
  325. width: 100%;
  326. height: 100%;
  327. display: flex;
  328. align-items: center;
  329. justify-content: center;
  330. }
  331. .media-carousel-image {
  332. width: 100%;
  333. height: 100%;
  334. display: block;
  335. object-position: center;
  336. }
  337. .media-carousel-video-wrap {
  338. width: 100%;
  339. height: 100%;
  340. }
  341. .media-carousel-video {
  342. width: 100%;
  343. height: 100%;
  344. display: block;
  345. }
  346. .media-carousel-close {
  347. position: absolute;
  348. top: calc(var(--status-bar-height, 0px) + 24rpx);
  349. right: 24rpx;
  350. width: 80rpx;
  351. height: 80rpx;
  352. border-radius: 50%;
  353. background: rgba(0, 0, 0, 0.5);
  354. display: flex;
  355. align-items: center;
  356. justify-content: center;
  357. z-index: 1001;
  358. }