myEdit.wxss 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  1. /* page{
  2. width: 750rpx;
  3. height: 1206rpx;
  4. padding-top: 0;
  5. background: #F7F7F7;
  6. } */
  7. .setting-info{
  8. width: 100%;
  9. height: 100%;
  10. overflow: hidden;
  11. padding: 0 17rpx;
  12. font-size: 32rpx;
  13. color: #5E5E5E;
  14. background: #F7F7F7;
  15. overflow-x: hidden;
  16. margin-top: 20rpx;
  17. }
  18. .nickname-box{
  19. margin-top: 34rpx;
  20. width: 716rpx;
  21. height: 88rpx;
  22. position: relative;
  23. box-sizing: border-box;
  24. padding: 22rpx 0 22rpx 26rpx;
  25. display: flex;
  26. align-items: center;
  27. background: #FFFFFF;
  28. border-radius: 12rpx;
  29. }
  30. .nickname-box, .grade{
  31. margin-top: 20rpx;
  32. }
  33. .user-action{
  34. /* min-width: 100rpx; */
  35. /* max-width: 400rpx; */
  36. width: 74%;
  37. }
  38. .nickname{
  39. width: 74%;
  40. }
  41. .setting-title{
  42. display: inline-block;
  43. width: 145rpx;
  44. text-align: center;
  45. }
  46. .placeholderStyle{
  47. font-size: 32rpx;
  48. color: #737373;
  49. }
  50. .edit-img{
  51. position: absolute;
  52. right:50rpx;
  53. top: 24rpx;
  54. width: 22rpx;
  55. height: 32rpx;
  56. }
  57. .icon{
  58. width: 100%;
  59. height: 100%;
  60. }
  61. .sex-box{
  62. margin-top: 20rpx;
  63. width: 716rpx;
  64. height: 88rpx;
  65. box-sizing: border-box;
  66. display: flex;
  67. align-items: center;
  68. background: #FFFFFF;
  69. padding: 22rpx 0 22rpx 26rpx;
  70. border-radius: 12rpx;
  71. }
  72. .school-title,.radio-each,.birthday-title,.occupation-title{
  73. margin-right: 30rpx;
  74. }
  75. .radio-group{
  76. display: flex;
  77. height: 42rpx;
  78. overflow: hidden;
  79. /* margin-top: -8rpx; */
  80. }
  81. /* .sex-title{
  82. position: relative;
  83. top: 10rpx;
  84. } */
  85. .radio{
  86. margin-right: 50rpx;
  87. display: flex;
  88. }
  89. radio .wx-radio-input.wx-radio-input-checked::before{
  90. border-radius: 50%;
  91. width: 8rpx;
  92. height: 8rpx;
  93. text-align: center;
  94. font-size:0rpx; /* 对勾大小 去掉 */
  95. background-color: #FF5E00;
  96. transform:translate(-50%, -50%) scale(1);
  97. -webkit-transform:translate(-50%, -50%) scale(1);
  98. }
  99. radio{
  100. margin-left: 20rpx;
  101. border-radius: 50%;
  102. width: 28rpx;/* 最好是4的倍数,不然会不在中间 */
  103. height: 28rpx;
  104. border: 4rpx solid #FF8100;/* 设置边框(外圆) */
  105. font-size: 0;/* 让边框重合 */
  106. margin-top: 6rpx;
  107. }
  108. radio .wx-radio-input{
  109. border-radius: 50%;
  110. width: 28rpx;
  111. height: 28rpx;
  112. border: none;/* 替换边框(隐藏原有边框) */
  113. }
  114. radio .wx-radio-input.wx-radio-input-checked{
  115. border: none;
  116. background: #f00;
  117. }
  118. .birthday-box{
  119. margin-top: 20rpx;
  120. width: 716rpx;
  121. height: 88rpx;
  122. box-sizing: border-box;
  123. display: flex;
  124. align-items: center;
  125. background: #FFFFFF;
  126. padding: 22rpx 0 22rpx 26rpx;
  127. border-radius: 12rpx;
  128. position: relative;
  129. overflow:hidden;
  130. }
  131. .occupation-box{
  132. margin-top: 20rpx;
  133. width: 716rpx;
  134. height: 88rpx;
  135. box-sizing: border-box;
  136. display: flex;
  137. align-items: center;
  138. background: #FFFFFF;
  139. padding: 22rpx 0 22rpx 26rpx;
  140. border-radius: 12rpx;
  141. }
  142. .school-box{
  143. margin-top: 20rpx;
  144. width: 716rpx;
  145. height: 88rpx;
  146. box-sizing: border-box;
  147. display: flex;
  148. align-items: center;
  149. background: #FFFFFF;
  150. padding: 22rpx 0 22rpx 26rpx;
  151. border-radius: 12rpx;
  152. position: relative;
  153. }
  154. .address{
  155. /* width: 420rpx; */
  156. /* height: 88rpx; */
  157. width: 74%;
  158. }
  159. .edit-image{
  160. position: absolute;
  161. right: 50rpx;
  162. top: 24rpx;
  163. width: 22rpx;
  164. height: 32rpx;
  165. }
  166. .submit-btn{
  167. margin-top: 92rpx;
  168. width: 716rpx;
  169. height: 200rpx;
  170. display: flex;
  171. justify-content: center;
  172. align-items: center;
  173. }
  174. .btn{
  175. font-size: 40rpx;
  176. color: #FFFFFF;
  177. width: 464rpx;
  178. line-height: 80rpx;
  179. border-radius: 80rpx;
  180. background: #FF9209;
  181. }
  182. picker {
  183. width: 100%;
  184. }
  185. .avatarBox{
  186. width: 100%;
  187. height: 200rpx;
  188. margin: 0 auto;
  189. padding-top: 30rpx;
  190. }
  191. .avatarImage{
  192. width: 120rpx;
  193. height: 120rpx;
  194. border-radius: 50%;
  195. margin: 0 auto;
  196. display: block;
  197. margin-top: 30rpx;
  198. }
  199. .avatar-text{
  200. width: 100%;
  201. font-size: 34rpx;
  202. color: rgb(0, 162, 255);
  203. text-align: center;
  204. margin-top: 24rpx;
  205. }