common.scss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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. .button-section {
  66. padding: 28rpx 40rpx;
  67. box-shadow: 0px -4px 16px 0px rgba(0, 0, 0, 0.04);
  68. }
  69. .submit-btn {
  70. flex-shrink: 0;
  71. border-radius: 999px;
  72. box-shadow: 0px -4px 16px 0px rgba(0, 0, 0, 0.04);
  73. background: linear-gradient(90deg, rgba(13, 39, 247, 1), rgba(19, 193, 234, 1) 100%);
  74. color: rgba(255, 255, 255, 1);
  75. font-family: DM Sans;
  76. font-size: 32rpx;
  77. font-weight: 400;
  78. line-height: 48rpx;
  79. display: flex;
  80. justify-content: center;
  81. align-items: center;
  82. padding: 16rpx 32rpx;
  83. box-sizing: border-box;
  84. }
  85. .link-btn {
  86. text-align: center;
  87. color: rgba(1, 107, 246, 1);
  88. font-size: 16px;
  89. font-weight: 400;
  90. line-height: 16px;
  91. margin-bottom: 32rpx;
  92. }
  93. // 底部提交按钮
  94. .fixed-section {
  95. position: fixed;
  96. left: 0;
  97. right: 0;
  98. bottom: 0;
  99. padding: 40rpx;
  100. box-shadow: 0px -4px 16px 0px rgba(0, 0, 0, 0.04);
  101. background-color: #fff;
  102. .submit-btn {
  103. height: 90rpx;
  104. font-size: 32rpx;
  105. border-radius: 90rpx;
  106. background: linear-gradient(90.00deg, rgba(13, 39, 247, 1),rgba(19, 193, 234, 1));
  107. }
  108. }