common.scss 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. // 导航栏
  2. .nav-bar {
  3. display: flex;
  4. align-items: center;
  5. justify-content: space-between;
  6. margin-bottom: 30rpx;
  7. padding: 0 40rpx;
  8. .nav-left {
  9. display: flex;
  10. align-items: center;
  11. justify-content: center;
  12. }
  13. .nav-title {
  14. color: rgba(51, 51, 51, 1);
  15. font-family: DM Sans;
  16. font-size: 32rpx;
  17. font-weight: 700;
  18. line-height: 26px;
  19. text-align: center;
  20. }
  21. .nav-right {
  22. min-width: 38rpx;
  23. }
  24. }
  25. // 表单内容
  26. .form-container {
  27. padding: 0 40rpx;
  28. .form-item {
  29. margin-bottom: 32rpx;
  30. .form-label {
  31. color: rgba(31, 44, 55, 1);
  32. font-family: DM Sans;
  33. font-size: 32rpx;
  34. font-weight: 500;
  35. line-height: 22px;
  36. letter-spacing: 0%;
  37. text-align: left;
  38. margin-bottom: 20rpx;
  39. position: relative;
  40. .word-count {
  41. font-size: 24rpx;
  42. color: #aaa;
  43. position: absolute;
  44. bottom: 0;
  45. right: 0;
  46. }
  47. .required-mark {
  48. color: #FF3B30;
  49. font-size: 18px;
  50. font-weight: 500;
  51. margin-right: 4rpx;
  52. }
  53. .label-text {
  54. color: rgba(31, 44, 55, 1);
  55. font-family: DM Sans;
  56. font-size: 16px;
  57. font-weight: 500;
  58. line-height: 22px;
  59. letter-spacing: 0%;
  60. text-align: left;
  61. }
  62. }
  63. }
  64. }
  65. // 底部提交按钮
  66. .fixed-section {
  67. position: fixed;
  68. left: 0;
  69. right: 0;
  70. bottom: 0;
  71. padding: 40rpx;
  72. box-shadow: 0px -4px 16px 0px rgba(0, 0, 0, 0.04);
  73. background-color: #fff;
  74. .submit-btn {
  75. height: 90rpx;
  76. font-size: 32rpx;
  77. border-radius: 90rpx;
  78. background: linear-gradient(90.00deg, rgba(13, 39, 247, 1),rgba(19, 193, 234, 1));
  79. }
  80. }