myEdit.wxss 3.3 KB

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