common.scss 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489
  1. .text-flex {
  2. display: flex;
  3. justify-content: space-between;
  4. align-items: center;
  5. }
  6. .color-primary{
  7. color: $uv-primary;
  8. }
  9. .color-success{
  10. color: $uv-success;
  11. }
  12. .color-warning{
  13. color: $uv-warning;
  14. }
  15. .color-error {
  16. color: $uv-error;
  17. }
  18. //通用列表
  19. .status-tag {
  20. height: 52rpx;
  21. border-radius: 52rpx;
  22. line-height: 52rpx;
  23. padding: 0 30rpx;
  24. font-size: 24rpx;
  25. color: #fff;
  26. &.success {
  27. background-color: $uv-success;
  28. }
  29. &.primary {
  30. background-color: $uv-primary;
  31. }
  32. &.info {
  33. background-color: $uv-info;
  34. }
  35. &.warning {
  36. background-color: $uv-warning;
  37. }
  38. &.error {
  39. background-color: $uv-error;
  40. }
  41. }
  42. .common-list {
  43. padding: 30rpx;
  44. box-sizing: border-box;
  45. .common-item {
  46. background-color: #ffffff;
  47. border-radius: 16rpx;
  48. box-shadow: 0px 1px 12px rgba(3, 3, 3, 0.08);
  49. padding: 30rpx;
  50. position: relative;
  51. margin-bottom: 30rpx;
  52. .icon {
  53. position: absolute;
  54. top: 30rpx;
  55. right: 30rpx;
  56. }
  57. .title {
  58. font-size: 32rpx;
  59. font-weight: 600;
  60. }
  61. .date {
  62. font-size: 24rpx;
  63. color: $uv-content-color;
  64. margin: 10rpx 0;
  65. }
  66. .space {
  67. font-size: 24rpx;
  68. }
  69. .other {
  70. margin-top: 20rpx;
  71. .item {
  72. margin-top: 16rpx;
  73. }
  74. .label {
  75. color: $uv-content-color;
  76. font-size: 24rpx;
  77. }
  78. .value {
  79. margin-top: 6rpx;
  80. font-weight: 400;
  81. }
  82. }
  83. .state {
  84. margin-top: 20rpx;
  85. display: flex;
  86. justify-content: space-between;
  87. .create {
  88. height: 48rpx;
  89. border-radius: 48rpx;
  90. border: 1px solid $uv-primary;
  91. display: flex;
  92. align-items: center;
  93. color: $uv-primary;
  94. padding: 0 10rpx;
  95. .name {
  96. font-size: 24rpx;
  97. flex: 1;
  98. max-width: 150rpx;
  99. min-width: 70rpx;
  100. overflow: hidden;
  101. margin-left: 10rpx;
  102. line-height: 36rpx;
  103. padding-right: 10rpx;
  104. }
  105. }
  106. }
  107. }
  108. }
  109. //底部按钮
  110. .hui-button-box {
  111. background-color: #ffffff;
  112. box-shadow: 0px 2px 10px rgba(3, 3, 3, 0.1);
  113. position: fixed;
  114. bottom: 0;
  115. left: 0;
  116. right: 0;
  117. height: 100rpx;
  118. display: flex;
  119. align-items: center;
  120. justify-content: flex-end;
  121. padding-bottom: 0;
  122. padding-bottom: constant(safe-area-inset-bottom);
  123. padding-bottom: env(safe-area-inset-bottom);
  124. padding-right: 40rpx;
  125. padding-left: 40rpx;
  126. .hui-button-view{
  127. height: 100rpx;
  128. display: flex;
  129. align-items: center;
  130. }
  131. .hui-button {
  132. height: 68rpx;
  133. border-radius: 68rpx;
  134. color: #ffffff;
  135. background: $uv-primary;
  136. border: 1px solid $uv-primary;
  137. flex: 1;
  138. display: flex;
  139. align-items: center;
  140. justify-content: center;
  141. margin: 0 30rpx;
  142. &.hui-button-light{
  143. color: $uv-primary;
  144. background: #fff;
  145. }
  146. }
  147. .hui-button-icon{
  148. margin-right: 10rpx;
  149. }
  150. }
  151. //详情
  152. .hui-detail {
  153. padding: 30rpx;
  154. .detail-box {
  155. background-color: #ffffff;
  156. border-radius: 16rpx;
  157. box-shadow: 0px 1px 12px rgba(3, 3, 3, 0.08);
  158. padding: 30rpx;
  159. position: relative;
  160. margin-bottom: 30rpx;
  161. &.file-box {
  162. padding-bottom: 20rpx;
  163. }
  164. }
  165. .sub-title {
  166. display: flex;
  167. align-items: center;
  168. margin-left: -8rpx;
  169. .sub-label {
  170. font-size: 32rpx;
  171. font-weight: 600;
  172. margin-left: 14rpx;
  173. }
  174. }
  175. .title-box {
  176. padding-left: 90rpx;
  177. position: relative;
  178. min-height: 88rpx;
  179. .title-icon {
  180. width: 70rpx;
  181. height: 70rpx;
  182. text-align: center;
  183. line-height: 70rpx;
  184. background: $uv-primary;
  185. border-radius: 70rpx;
  186. position: absolute;
  187. left: 0;
  188. top: 50%;
  189. margin-top: -35rpx;
  190. }
  191. .title {
  192. font-size: 32rpx;
  193. font-weight: 600;
  194. margin-bottom: 8rpx;
  195. }
  196. .date {
  197. font-size: 24rpx;
  198. color: $uv-content-color;
  199. }
  200. }
  201. .other {
  202. margin-top: 20rpx;
  203. .item {
  204. margin-top: 16rpx;
  205. }
  206. .label {
  207. color: $uv-content-color;
  208. font-size: 24rpx;
  209. }
  210. .value {
  211. margin-top: 10rpx;
  212. font-weight: 400;
  213. }
  214. .file-item {
  215. background-color: #ededed;
  216. height: 80rpx;
  217. display: flex;
  218. align-items: center;
  219. border-radius: 12rpx;
  220. padding: 0 14rpx;
  221. }
  222. .file-name {
  223. flex: 1;
  224. width: 0;
  225. margin-left: 10rpx;
  226. }
  227. .contarct-item {
  228. background-color: #ededed;
  229. border-radius: 12rpx;
  230. padding: 20rpx;
  231. margin-bottom: 20rpx;
  232. }
  233. .contarct-content {
  234. display: flex;
  235. justify-content: space-between;
  236. align-items: center;
  237. margin-bottom: 16rpx;
  238. &.last {
  239. margin-bottom: 0rpx;
  240. .content-item {
  241. flex: 1;
  242. width: 0;
  243. }
  244. }
  245. .content-title {
  246. font-size: 32rpx;
  247. font-weight: 500;
  248. }
  249. .content-label {
  250. color: $uv-content-color;
  251. font-size: 24rpx;
  252. }
  253. .content-value {
  254. font-weight: 400;
  255. margin-left: 6rpx;
  256. flex: 1;
  257. width: 0;
  258. }
  259. .content-item {
  260. overflow: hidden;
  261. display: flex;
  262. align-items: center;
  263. &.content-title {
  264. flex: 1;
  265. width: 0;
  266. }
  267. }
  268. }
  269. }
  270. .state {
  271. margin-top: 20rpx;
  272. display: flex;
  273. justify-content: space-between;
  274. .create {
  275. height: 48rpx;
  276. border-radius: 48rpx;
  277. border: 1px solid $uv-primary;
  278. display: flex;
  279. align-items: center;
  280. color: $uv-primary;
  281. padding: 0 10rpx;
  282. .name {
  283. font-size: 24rpx;
  284. flex: 1;
  285. max-width: 150rpx;
  286. min-width: 70rpx;
  287. overflow: hidden;
  288. margin-left: 10rpx;
  289. line-height: 36rpx;
  290. padding-right: 10rpx;
  291. }
  292. }
  293. }
  294. }
  295. .process-box{
  296. .process-set-item {
  297. padding-left: 80rpx;
  298. position: relative;
  299. }
  300. .process-item-title {
  301. padding: 10rpx 0;
  302. display: flex;
  303. align-items: center;
  304. .label {
  305. font-weight: bold;
  306. }
  307. }
  308. .process-item-content {
  309. padding: 5px 0;
  310. }
  311. .process-set-state {
  312. width: 20px;
  313. height: 20px;
  314. border-radius: 50%;
  315. position: absolute;
  316. left: 7px;
  317. top: 6px;
  318. display: flex;
  319. align-items: center;
  320. justify-content: center;
  321. .el-icon-success {
  322. font-size: 20px;
  323. }
  324. &.info {
  325. background: rgba(144, 157, 143, 0.4);
  326. .process-set-state-1 {
  327. background: rgba(144, 157, 143, 1);
  328. }
  329. .process-set-state-2 {
  330. background: rgba(144, 157, 143, 0.6);
  331. }
  332. }
  333. &.waiting {
  334. background: rgba(255, 125, 0, 0.4);
  335. .process-set-state-1 {
  336. background: rgba(255, 125, 0, 1);
  337. }
  338. .process-set-state-2 {
  339. background: rgba(255, 125, 0, 0.6);
  340. }
  341. .el-icon-success {
  342. color: rgba(255, 125, 0, 1);
  343. }
  344. }
  345. &.success {
  346. background: rgba(0, 180, 42, 0.4);
  347. .process-set-state-1 {
  348. background: rgba(0, 180, 42, 1);
  349. }
  350. .process-set-state-2 {
  351. background: rgba(0, 180, 42, 0.6);
  352. }
  353. }
  354. &.error {
  355. background: rgba(245, 63, 63, 0.4);
  356. .process-set-state-1 {
  357. background: rgba(245, 63, 63, 1);
  358. }
  359. .process-set-state-2 {
  360. background: rgba(245, 63, 63, 0.6);
  361. }
  362. }
  363. &.state-last {
  364. background: #fff;
  365. }
  366. }
  367. .process-set-state-1 {
  368. width: 8px;
  369. height: 8px;
  370. border-radius: 50%;
  371. }
  372. .process-set-state-2 {
  373. width: 14px;
  374. height: 14px;
  375. border-radius: 50%;
  376. display: flex;
  377. align-items: center;
  378. justify-content: center;
  379. }
  380. .line {
  381. position: absolute;
  382. left: 16px;
  383. width: 2px;
  384. &.info {
  385. background: rgba(144, 157, 143, 0.4);
  386. }
  387. &.waiting {
  388. background: rgba(255, 125, 0, 0.4);
  389. }
  390. &.success {
  391. background: rgba(0, 180, 42, 0.4);
  392. }
  393. &.error {
  394. background: rgba(245, 63, 63, 0.4);
  395. }
  396. }
  397. .line-top {
  398. top: 0;
  399. height: 6px;
  400. }
  401. .line-bottom {
  402. top: 26px;
  403. bottom: 0;
  404. }
  405. }