爱简收旧衣按件回收前端代码仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

237 lines
5.4 KiB

  1. /**
  2. * 这里是uni-app内置的常用样式变量
  3. *
  4. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  5. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  6. *
  7. */
  8. /**
  9. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  10. *
  11. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  12. */
  13. /* 颜色变量 */
  14. /* 行为相关颜色 */
  15. /* 文字基本颜色 */
  16. /* 背景颜色 */
  17. /* 边框颜色 */
  18. /* 尺寸变量 */
  19. /* 文字尺寸 */
  20. /* 图片尺寸 */
  21. /* Border Radius */
  22. /* 水平间距 */
  23. /* 垂直间距 */
  24. /* 透明度 */
  25. /* 文章场景相关 */
  26. .edit-profile.data-v-c93de0a0 {
  27. min-height: 100vh;
  28. background-color: #f5f5f5;
  29. position: fixed;
  30. top: 0;
  31. left: 0;
  32. right: 0;
  33. bottom: 0;
  34. display: flex;
  35. flex-direction: column;
  36. padding-bottom: 140rpx;
  37. box-sizing: border-box;
  38. }
  39. .nav-bar.data-v-c93de0a0 {
  40. display: flex;
  41. align-items: center;
  42. height: 88rpx;
  43. background: #fff;
  44. padding: 0 30rpx;
  45. position: fixed;
  46. top: 0;
  47. left: 0;
  48. right: 0;
  49. z-index: 100;
  50. width: 100vw;
  51. box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.03);
  52. }
  53. .nav-bar .back.data-v-c93de0a0 {
  54. padding: 20rpx;
  55. margin-left: -20rpx;
  56. display: flex;
  57. align-items: center;
  58. height: 88rpx;
  59. }
  60. .nav-bar .title.data-v-c93de0a0 {
  61. flex: 1;
  62. text-align: center;
  63. font-size: 34rpx;
  64. font-weight: 500;
  65. color: #222;
  66. letter-spacing: 0.5px;
  67. line-height: 88rpx;
  68. }
  69. .nav-bar .nav-bar-right.data-v-c93de0a0 {
  70. width: 44px;
  71. height: 88rpx;
  72. display: flex;
  73. align-items: center;
  74. justify-content: flex-end;
  75. }
  76. .info-container.data-v-c93de0a0 {
  77. flex: 1;
  78. overflow-y: auto;
  79. padding: 0 40rpx 0;
  80. box-sizing: border-box;
  81. }
  82. .info-card.data-v-c93de0a0 {
  83. background: linear-gradient(180deg, #fff7e6 0%, #fff 100%);
  84. border-radius: 24rpx;
  85. box-shadow: 0 8rpx 32rpx rgba(60, 167, 250, 0.08);
  86. padding: 48rpx 40rpx 32rpx 40rpx;
  87. width: 100%;
  88. max-width: 700rpx;
  89. margin: 0 auto;
  90. position: relative;
  91. box-sizing: border-box;
  92. }
  93. .section-title.data-v-c93de0a0 {
  94. font-size: 36rpx;
  95. font-weight: bold;
  96. color: #222;
  97. margin-bottom: 24rpx;
  98. }
  99. .divider.data-v-c93de0a0 {
  100. border-bottom: 2rpx solid #f2f2f2;
  101. margin-bottom: 24rpx;
  102. }
  103. .info-item.data-v-c93de0a0 {
  104. margin-bottom: 24rpx;
  105. width: 100%;
  106. box-sizing: border-box;
  107. min-height: 60rpx;
  108. display: flex;
  109. flex-direction: column;
  110. justify-content: center;
  111. }
  112. .info-item .label.data-v-c93de0a0 {
  113. font-size: 28rpx;
  114. color: #333;
  115. margin-bottom: 12rpx;
  116. display: block;
  117. }
  118. .info-item input.data-v-c93de0a0 {
  119. font-size: 32rpx;
  120. color: #222;
  121. width: 100%;
  122. padding: 16rpx 0;
  123. border: none;
  124. background: none;
  125. outline: none;
  126. box-sizing: border-box;
  127. height: 80rpx;
  128. line-height: 48rpx;
  129. vertical-align: middle;
  130. }
  131. .info-item .phone-input.data-v-c93de0a0 {
  132. display: flex;
  133. align-items: center;
  134. width: 100%;
  135. box-sizing: border-box;
  136. }
  137. .info-item .phone-input input.data-v-c93de0a0 {
  138. flex: 1;
  139. width: 100%;
  140. box-sizing: border-box;
  141. height: 80rpx;
  142. line-height: 48rpx;
  143. vertical-align: middle;
  144. }
  145. .avatar-section .avatar-container.data-v-c93de0a0 {
  146. display: flex;
  147. gap: 20rpx;
  148. width: 100%;
  149. box-sizing: border-box;
  150. }
  151. .avatar-section .avatar-box.data-v-c93de0a0, .avatar-section .new-avatar.data-v-c93de0a0 {
  152. padding: 0;
  153. margin: 0;
  154. width: 150rpx;
  155. height: 120rpx;
  156. border-radius: 18rpx;
  157. background: #f5f5f5;
  158. display: flex;
  159. align-items: center;
  160. justify-content: center;
  161. }
  162. .avatar-section .avatar-box image.data-v-c93de0a0, .avatar-section .new-avatar.data-v-c93de0a0 {
  163. width: 100%;
  164. height: 100%;
  165. }
  166. .save-button.data-v-c93de0a0 {
  167. position: fixed;
  168. left: 30rpx;
  169. right: 30rpx;
  170. bottom: calc(env(safe-area-inset-bottom) + 30rpx);
  171. height: 90rpx;
  172. background: linear-gradient(90deg, #ffd01e 0%, #ffb400 100%);
  173. border-radius: 45rpx;
  174. display: flex;
  175. align-items: center;
  176. justify-content: center;
  177. box-shadow: 0 4rpx 16rpx rgba(255, 149, 0, 0.08);
  178. z-index: 10;
  179. }
  180. .save-button text.data-v-c93de0a0 {
  181. color: #fff;
  182. font-size: 32rpx;
  183. font-weight: 500;
  184. }
  185. .upload-status.data-v-c93de0a0 {
  186. position: fixed;
  187. top: 0;
  188. left: 0;
  189. right: 0;
  190. bottom: 0;
  191. z-index: 999;
  192. display: flex;
  193. align-items: center;
  194. justify-content: center;
  195. }
  196. .upload-status .status-mask.data-v-c93de0a0 {
  197. position: absolute;
  198. top: 0;
  199. left: 0;
  200. right: 0;
  201. bottom: 0;
  202. background: rgba(0, 0, 0, 0.6);
  203. }
  204. .upload-status .status-content.data-v-c93de0a0 {
  205. position: relative;
  206. width: 240rpx;
  207. height: 240rpx;
  208. background: rgba(0, 0, 0, 0.8);
  209. border-radius: 20rpx;
  210. display: flex;
  211. flex-direction: column;
  212. align-items: center;
  213. justify-content: center;
  214. gap: 20rpx;
  215. }
  216. .upload-status .status-content text.data-v-c93de0a0 {
  217. color: #fff;
  218. font-size: 28rpx;
  219. }
  220. .upload-status .status-content .loading-icon.data-v-c93de0a0 {
  221. width: 60rpx;
  222. height: 60rpx;
  223. border: 4rpx solid #fff;
  224. border-top-color: transparent;
  225. border-radius: 50%;
  226. animation: spin-c93de0a0 1s linear infinite;
  227. }
  228. @keyframes spin-c93de0a0 {
  229. from {
  230. transform: rotate(0deg);
  231. }
  232. to {
  233. transform: rotate(360deg);
  234. }
  235. }
  236. .safe-area.data-v-c93de0a0 {
  237. padding-bottom: env(safe-area-inset-bottom);
  238. }