refund-processing.scss 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314
  1. page {
  2. background-color: #f7f8fa;
  3. height: 100vh;
  4. display: flex;
  5. flex-direction: column;
  6. }
  7. .page-container {
  8. flex: 1;
  9. padding-bottom: 120rpx;
  10. /* footer padding */
  11. }
  12. /* Header Section */
  13. .header-section {
  14. background-color: #fff;
  15. display: flex;
  16. flex-direction: column;
  17. &.header-processing,
  18. &.header-revoked,
  19. &.header-completed {
  20. padding: 80rpx 40rpx 60rpx;
  21. align-items: center;
  22. }
  23. &.header-approved,
  24. &.header-rejected {
  25. padding: 40rpx 40rpx 60rpx;
  26. align-items: flex-start;
  27. }
  28. }
  29. .status-title {
  30. font-size: 52rpx;
  31. font-weight: 600;
  32. color: #333;
  33. margin-bottom: 20rpx;
  34. &.completed-title {
  35. font-size: 64rpx;
  36. margin-bottom: 60rpx;
  37. }
  38. }
  39. /* Refund Success Card */
  40. .refund-card {
  41. width: 100%;
  42. padding: 30rpx 0;
  43. border-top: 1rpx solid #eee;
  44. display: flex;
  45. justify-content: space-between;
  46. align-items: flex-start;
  47. margin-top: 20rpx;
  48. }
  49. .refund-dest-name {
  50. font-size: 32rpx;
  51. color: #333;
  52. font-weight: 500;
  53. margin-bottom: 8rpx;
  54. text-align: left;
  55. }
  56. .refund-dest-account {
  57. font-size: 26rpx;
  58. color: #999;
  59. text-align: left;
  60. }
  61. .refund-amount-text {
  62. font-size: 36rpx;
  63. color: #333;
  64. font-weight: 600;
  65. }
  66. .status-sub {
  67. font-size: 28rpx;
  68. color: #666;
  69. margin-bottom: 40rpx;
  70. }
  71. .countdown-container {
  72. display: flex;
  73. align-items: center;
  74. justify-content: center;
  75. }
  76. .time-block {
  77. width: 90rpx;
  78. height: 90rpx;
  79. background-color: #1d6ff6;
  80. color: #fff;
  81. font-size: 40rpx;
  82. font-weight: 600;
  83. border-radius: 8rpx;
  84. display: flex;
  85. align-items: center;
  86. justify-content: center;
  87. }
  88. .time-colon {
  89. font-size: 40rpx;
  90. color: #666;
  91. margin: 0 16rpx;
  92. font-weight: 600;
  93. }
  94. /* Approved/Rejected Common Styles */
  95. .approved-title {
  96. font-size: 40rpx;
  97. font-weight: 600;
  98. color: #333;
  99. line-height: 1.4;
  100. margin-bottom: 16rpx;
  101. text-align: left;
  102. }
  103. .approved-time {
  104. font-size: 28rpx;
  105. color: #999;
  106. margin-bottom: 40rpx;
  107. }
  108. .approved-content {
  109. width: 100%;
  110. }
  111. .content-row {
  112. font-size: 28rpx;
  113. color: #333;
  114. line-height: 1.6;
  115. margin-bottom: 16rpx;
  116. }
  117. /* Detail Section */
  118. .detail-section {
  119. background-color: #fff;
  120. margin-top: 20rpx;
  121. padding: 32rpx;
  122. border-radius: 16rpx 16rpx 0 0;
  123. }
  124. .goods-info {
  125. display: flex;
  126. // align-items: center;
  127. margin-bottom: 32rpx;
  128. }
  129. .goods-img {
  130. width: 120rpx;
  131. height: 120rpx;
  132. border-radius: 8rpx;
  133. background-color: #f5f5f5;
  134. }
  135. .service-package-placeholder {
  136. width: 120rpx;
  137. height: 120rpx;
  138. border-radius: 8rpx;
  139. background-color: #e8e8e8;
  140. display: flex;
  141. align-items: center;
  142. justify-content: center;
  143. }
  144. .goods-desc {
  145. margin-left: 20rpx;
  146. flex: 1;
  147. }
  148. .goods-title {
  149. font-size: 30rpx;
  150. color: #333;
  151. margin-bottom: 12rpx;
  152. }
  153. .goods-meta {
  154. font-size: 24rpx;
  155. color: #999;
  156. }
  157. .divider {
  158. width: 100%;
  159. height: 1rpx;
  160. background-color: #eee;
  161. margin-bottom: 32rpx;
  162. }
  163. /* List Items */
  164. .info-list {
  165. display: flex;
  166. flex-direction: column;
  167. gap: 24rpx;
  168. }
  169. .info-item {
  170. display: flex;
  171. justify-content: space-between;
  172. align-items: center;
  173. font-size: 28rpx;
  174. }
  175. .info-label {
  176. color: #666;
  177. }
  178. .info-value {
  179. color: #333;
  180. }
  181. .info-value-group {
  182. display: flex;
  183. align-items: center;
  184. }
  185. .clickable-text {
  186. color: #333;
  187. font-weight: 600;
  188. }
  189. .copy-btn {
  190. color: #333;
  191. font-weight: 600;
  192. margin-left: 16rpx;
  193. }
  194. /* Service Action */
  195. .service-action {
  196. display: inline-flex;
  197. flex-direction: column;
  198. align-items: center;
  199. margin-top: 40rpx;
  200. }
  201. .service-text {
  202. font-size: 24rpx;
  203. color: #333;
  204. margin-top: 8rpx;
  205. }
  206. /* Bottom Bar */
  207. .bottom-bar {
  208. position: fixed;
  209. bottom: 0;
  210. left: 0;
  211. right: 0;
  212. background-color: #fff;
  213. padding: 20rpx 32rpx 32rpx;
  214. box-shadow: 0 -2rpx 10rpx rgba(0, 0, 0, 0.05);
  215. &.bottom-bar-rejected {
  216. padding: 20rpx 32rpx 32rpx;
  217. background-color: transparent;
  218. box-shadow: none;
  219. }
  220. }
  221. .revoke-btn {
  222. background-color: #1d6ff6;
  223. color: #fff;
  224. font-size: 32rpx;
  225. font-weight: 500;
  226. border-radius: 44rpx;
  227. display: flex;
  228. align-items: center;
  229. justify-content: center;
  230. height: 88rpx;
  231. width: 100%;
  232. }
  233. .revoke-btn::after {
  234. border: none;
  235. }
  236. /* Dual Button Group - Pill Shaped */
  237. .dual-btn-group {
  238. display: flex;
  239. align-items: center;
  240. width: 100%;
  241. height: 100rpx;
  242. background-color: #1d6ff6;
  243. border-radius: 50rpx;
  244. /* Makes it pill shaped */
  245. overflow: hidden;
  246. box-shadow: 0 4rpx 20rpx rgba(29, 111, 246, 0.2);
  247. }
  248. .dual-btn {
  249. flex: 1;
  250. height: 100%;
  251. background-color: transparent;
  252. color: #fff;
  253. font-size: 32rpx;
  254. font-weight: 600;
  255. display: flex;
  256. align-items: center;
  257. justify-content: center;
  258. border-radius: 0;
  259. padding: 0;
  260. margin: 0;
  261. line-height: normal;
  262. &::after {
  263. border: none;
  264. }
  265. }
  266. .btn-divider {
  267. width: 1rpx;
  268. height: 40rpx;
  269. background-color: rgba(255, 255, 255, 0.5);
  270. }