myEdit.wxss 3.0 KB

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