common.scss 7.5 KB

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