common.scss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. //底部按钮
  2. .hui-button-box {
  3. background-color: #ffffff;
  4. box-shadow: 0px 2px 10px rgba(3, 3, 3, 0.1);
  5. position: fixed;
  6. bottom: 0;
  7. left: 0;
  8. right: 0;
  9. height: 100rpx;
  10. display: flex;
  11. align-items: center;
  12. justify-content: flex-end;
  13. padding-bottom: 0;
  14. padding-bottom: constant(safe-area-inset-bottom);
  15. padding-bottom: env(safe-area-inset-bottom);
  16. padding-right: 40rpx;
  17. padding-left: 40rpx;
  18. }
  19. .text-flex {
  20. display: flex;
  21. justify-content: space-between;
  22. align-items: center;
  23. }
  24. .color-primary{
  25. color: $uv-primary;
  26. }
  27. .color-success{
  28. color: $uv-success;
  29. }
  30. .color-warning{
  31. color: $uv-warning;
  32. }
  33. .color-error {
  34. color: $uv-error;
  35. }
  36. //通用列表
  37. .status-tag {
  38. height: 52rpx;
  39. border-radius: 52rpx;
  40. line-height: 52rpx;
  41. padding: 0 30rpx;
  42. font-size: 24rpx;
  43. color: #fff;
  44. &.success {
  45. background-color: $uv-success;
  46. }
  47. &.primary {
  48. background-color: $uv-primary;
  49. }
  50. &.info {
  51. background-color: $uv-info;
  52. }
  53. &.warning {
  54. background-color: $uv-warning;
  55. }
  56. &.error {
  57. background-color: $uv-error;
  58. }
  59. }
  60. .process-box{
  61. .process-set-item {
  62. padding-left: 80rpx;
  63. position: relative;
  64. }
  65. .process-item-title {
  66. padding: 10rpx 0;
  67. display: flex;
  68. align-items: center;
  69. .label {
  70. font-weight: bold;
  71. }
  72. }
  73. .process-item-content {
  74. padding: 5px 0;
  75. }
  76. .process-set-state {
  77. width: 20px;
  78. height: 20px;
  79. border-radius: 50%;
  80. position: absolute;
  81. left: 7px;
  82. top: 6px;
  83. display: flex;
  84. align-items: center;
  85. justify-content: center;
  86. .el-icon-success {
  87. font-size: 20px;
  88. }
  89. &.info {
  90. background: rgba(144, 157, 143, 0.4);
  91. .process-set-state-1 {
  92. background: rgba(144, 157, 143, 1);
  93. }
  94. .process-set-state-2 {
  95. background: rgba(144, 157, 143, 0.6);
  96. }
  97. }
  98. &.waiting {
  99. background: rgba(255, 125, 0, 0.4);
  100. .process-set-state-1 {
  101. background: rgba(255, 125, 0, 1);
  102. }
  103. .process-set-state-2 {
  104. background: rgba(255, 125, 0, 0.6);
  105. }
  106. .el-icon-success {
  107. color: rgba(255, 125, 0, 1);
  108. }
  109. }
  110. &.success {
  111. background: rgba(0, 180, 42, 0.4);
  112. .process-set-state-1 {
  113. background: rgba(0, 180, 42, 1);
  114. }
  115. .process-set-state-2 {
  116. background: rgba(0, 180, 42, 0.6);
  117. }
  118. }
  119. &.error {
  120. background: rgba(245, 63, 63, 0.4);
  121. .process-set-state-1 {
  122. background: rgba(245, 63, 63, 1);
  123. }
  124. .process-set-state-2 {
  125. background: rgba(245, 63, 63, 0.6);
  126. }
  127. }
  128. &.state-last {
  129. background: #fff;
  130. }
  131. }
  132. .process-set-state-1 {
  133. width: 8px;
  134. height: 8px;
  135. border-radius: 50%;
  136. }
  137. .process-set-state-2 {
  138. width: 14px;
  139. height: 14px;
  140. border-radius: 50%;
  141. display: flex;
  142. align-items: center;
  143. justify-content: center;
  144. }
  145. .line {
  146. position: absolute;
  147. left: 16px;
  148. width: 2px;
  149. &.info {
  150. background: rgba(144, 157, 143, 0.4);
  151. }
  152. &.waiting {
  153. background: rgba(255, 125, 0, 0.4);
  154. }
  155. &.success {
  156. background: rgba(0, 180, 42, 0.4);
  157. }
  158. &.error {
  159. background: rgba(245, 63, 63, 0.4);
  160. }
  161. }
  162. .line-top {
  163. top: 0;
  164. height: 6px;
  165. }
  166. .line-bottom {
  167. top: 26px;
  168. bottom: 0;
  169. }
  170. }