baoxiudj.wxss 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  1. .container4 {
  2. padding: 20rpx;
  3. background-color: #f5f5f5;
  4. min-height: 100vh;
  5. padding-top: calc(90rpx + 44px + 20rpx); /* 增加了额外的顶部间距 */
  6. }
  7. .custom-nav {
  8. display: flex;
  9. align-items: center;
  10. height: 90rpx;
  11. margin-bottom: 20rpx;
  12. background-color: #2E82FF;
  13. position: fixed;
  14. top: 0;
  15. left: 0;
  16. right: 0;
  17. z-index: 1000;
  18. padding: 0 20rpx;
  19. padding-top: 44px; /* 适配iPhone状态栏 */
  20. }
  21. .fixed-back {
  22. font-size: 40rpx;
  23. text-align: center;
  24. color: #fff;
  25. }
  26. .nav-title {
  27. flex: 1;
  28. text-align: center;
  29. font-size: 34rpx;
  30. color: #fff;
  31. }
  32. .nav-placeholder {
  33. width: 60rpx;
  34. }
  35. .bill-card {
  36. background-color: #fff;
  37. border-radius: 16rpx;
  38. padding: 30rpx;
  39. margin-bottom: 20rpx;
  40. box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
  41. position: relative;
  42. }
  43. /* 第一个卡片额外的顶部间距 */
  44. .first-card {
  45. margin-top: 20rpx;
  46. }
  47. .bill-row {
  48. display: flex;
  49. justify-content: space-between;
  50. align-items: center;
  51. padding: 20rpx 0;
  52. }
  53. .bill-row-address {
  54. color: rgba(104, 108, 128, 1);
  55. }
  56. .divider {
  57. height: 1rpx;
  58. background-color: #eee;
  59. margin: 10rpx 0; /* 增加了分隔线上下间距 */
  60. }
  61. .solid-divider {
  62. height: 1rpx;
  63. background-color: #ddd;
  64. margin: 15rpx 0 20rpx 0;
  65. }
  66. .card-title {
  67. font-size: 32rpx;
  68. color: #333;
  69. font-weight: 500;
  70. margin-bottom: 10rpx;
  71. }
  72. .input-right {
  73. text-align: right;
  74. width: 60%;
  75. }
  76. .input-text {
  77. color: rgba(104, 108, 128, 1);
  78. }
  79. .placeholder-style {
  80. color: #999;
  81. text-align: right;
  82. }
  83. .selector-value {
  84. display: flex;
  85. align-items: center;
  86. }
  87. .arrow {
  88. margin-left: 10rpx;
  89. color: #999;
  90. }
  91. .fault-description {
  92. margin-bottom: 20rpx;
  93. }
  94. .fault-description textarea {
  95. width: 100%;
  96. height: 150rpx;
  97. padding: 10rpx;
  98. box-sizing: border-box;
  99. font-size: 28rpx;
  100. }
  101. .upload-section {
  102. display: flex;
  103. flex-wrap: wrap;
  104. }
  105. .upload-btn-container {
  106. width: 150rpx;
  107. height: 150rpx;
  108. margin-right: 20rpx;
  109. margin-bottom: 20rpx;
  110. border-radius: 8rpx;
  111. display: flex;
  112. justify-content: center;
  113. align-items: center;
  114. }
  115. .solid-border {
  116. border: 2rpx solid #ccc;
  117. }
  118. .upload-btn {
  119. width: 120rpx;
  120. height: 120rpx;
  121. display: flex;
  122. justify-content: center;
  123. align-items: center;
  124. }
  125. .plus-icon {
  126. font-size: 60rpx;
  127. color: #999;
  128. }
  129. .upload-tip {
  130. font-size: 24rpx;
  131. color: #999;
  132. margin-top: 10rpx;
  133. }
  134. .image-preview {
  135. display: flex;
  136. flex-wrap: wrap;
  137. }
  138. .image-item {
  139. width: 150rpx;
  140. height: 150rpx;
  141. margin-right: 20rpx;
  142. margin-bottom: 20rpx;
  143. position: relative;
  144. }
  145. .image-item image {
  146. width: 100%;
  147. height: 100%;
  148. border-radius: 8rpx;
  149. }
  150. .delete-icon {
  151. position: absolute;
  152. top: -15rpx;
  153. right: -15rpx;
  154. width: 40rpx;
  155. height: 40rpx;
  156. background-color: rgba(0, 0, 0, 0.5);
  157. color: #fff;
  158. border-radius: 50%;
  159. display: flex;
  160. justify-content: center;
  161. align-items: center;
  162. font-size: 24rpx;
  163. }
  164. .submit-btn {
  165. width: 90%;
  166. height: 45px;
  167. background-color: #0080ff;
  168. color: white;
  169. border-radius: 22.5px;
  170. font-size: 16px;
  171. display: flex;
  172. align-items: center;
  173. justify-content: center;
  174. margin: 30px auto;
  175. }
  176. .submit-btn.disabled {
  177. opacity: 0.7;
  178. }
  179. /* 报修须知弹窗样式 */
  180. .notification-modal {
  181. position: fixed;
  182. bottom: 0;
  183. left: 0;
  184. right: 0;
  185. background-color: rgba(0, 0, 0, 0.5);
  186. z-index: 999;
  187. display: flex;
  188. justify-content: center;
  189. align-items: flex-end;
  190. height: 100%;
  191. }
  192. .notification-content {
  193. background-color: #fff;
  194. width: 100%;
  195. border-radius: 20rpx 20rpx 0 0;
  196. padding: 40rpx 30rpx;
  197. }
  198. .notification-title {
  199. text-align: center;
  200. font-size: 36rpx;
  201. font-weight: bold;
  202. margin-bottom: 20rpx;
  203. }
  204. .notification-divider {
  205. height: 1rpx;
  206. background-color: #ddd;
  207. margin-bottom: 30rpx;
  208. }
  209. .notification-list {
  210. margin-bottom: 40rpx;
  211. }
  212. .notification-item {
  213. margin-bottom: 20rpx;
  214. font-size: 28rpx;
  215. line-height: 1.5;
  216. }
  217. .notification-btn {
  218. background-color: #007aff;
  219. color: #fff;
  220. text-align: center;
  221. padding: 25rpx 0;
  222. border-radius: 50rpx;
  223. font-size: 32rpx;
  224. }
  225. .disabled-btn {
  226. background-color: #999;
  227. pointer-events: none;
  228. }
  229. /* 必填项标记 */
  230. .required {
  231. color: #ff4d4f;
  232. margin-left: 4rpx;
  233. }