myEdit.wxss 2.9 KB

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