myEdit.wxss 3.0 KB

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