myEdit.wxss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  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: 40rpx;/* 最好是4的倍数,不然会不在中间 */
  89. height: 40rpx;
  90. border: 4rpx solid #FF8100;/* 设置边框(外圆) */
  91. font-size: 0;/* 让边框重合 */
  92. }
  93. radio .wx-radio-input{
  94. border-radius: 50%;
  95. width: 40rpx;
  96. height: 40rpx;
  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. }
  114. .occupation-box{
  115. margin-top: 20rpx;
  116. width: 716rpx;
  117. height: 88rpx;
  118. box-sizing: border-box;
  119. display: flex;
  120. align-items: center;
  121. background: #FFFFFF;
  122. padding: 22rpx 0 22rpx 26rpx;
  123. border-radius: 12rpx;
  124. }
  125. .school-box{
  126. margin-top: 20rpx;
  127. width: 716rpx;
  128. height: 88rpx;
  129. box-sizing: border-box;
  130. display: flex;
  131. align-items: center;
  132. background: #FFFFFF;
  133. padding: 22rpx 0 22rpx 26rpx;
  134. border-radius: 12rpx;
  135. position: relative;
  136. }
  137. .address{
  138. width: 420rpx;
  139. height: 88rpx;
  140. }
  141. .edit-image{
  142. position: absolute;
  143. right: 130rpx;
  144. top: 24rpx;
  145. width: 22rpx;
  146. height: 32rpx;
  147. }
  148. .submit-btn{
  149. margin-top: 392rpx;
  150. width: 716rpx;
  151. height: 200rpx;
  152. display: flex;
  153. justify-content: center;
  154. align-items: center;
  155. }
  156. .btn{
  157. font-size: 40rpx;
  158. color: #FFFFFF;
  159. width: 436rpx;
  160. line-height: 100rpx;
  161. border-radius: 80rpx;
  162. background: #539BF0;
  163. }