my.component.scss 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326
  1. .content {
  2. --padding-bottom: 100px;
  3. --background: #f8f8f8;
  4. .header {
  5. padding: 20px 10px 10px;
  6. background-size: 100% 100%;
  7. height: 140px;
  8. // border-radius: 0 0 50px 50px;
  9. .user-dateil {
  10. display: flex;
  11. align-items: center;
  12. color: white;
  13. font-size: 14px;
  14. padding: 10px;
  15. .pendant {
  16. width: 80px;
  17. height: 80px;
  18. display: flex;
  19. justify-content: center;
  20. align-items: center;
  21. background-size: 100% 100%;
  22. .avatar {
  23. width: 60px;
  24. height: 60px;
  25. // margin-right: 10px;
  26. }
  27. }
  28. .user-right {
  29. flex: 1;
  30. .user-name {
  31. font-weight: 400;
  32. font-size: 16px;
  33. }
  34. .user-block {
  35. display: flex;
  36. // padding: 0 20px 0 0;
  37. justify-content: space-between;
  38. margin: 6px 0;
  39. font-size: 12px;
  40. .tags {
  41. display: flex;
  42. .sex {
  43. border-radius: 50%;
  44. width: 20px;
  45. height: 20px;
  46. display: flex;
  47. align-items: center;
  48. justify-content: center;
  49. box-shadow: rgba(0, 0, 0, 0.15) 0px 15px 25px,
  50. rgba(0, 0, 0, 0.05) 0px 5px 10px;
  51. background: linear-gradient(to right, #156bfd, #91baff);
  52. }
  53. .girl {
  54. background: linear-gradient(to right, #fe454e, #f5a7ab);
  55. }
  56. .age {
  57. background: linear-gradient(to right, #156bfd, #d3e4ff);
  58. display: flex;
  59. align-items: center;
  60. height: 20px;
  61. padding: 0 8px;
  62. border-radius: 20px;
  63. margin: 0 2px;
  64. img {
  65. width: 14px;
  66. height: 14px;
  67. margin-right: 4px;
  68. }
  69. }
  70. .id {
  71. background: linear-gradient(to right, #d76f12, #ffffff9c);
  72. padding: 0 8px;
  73. border-radius: 20px;
  74. height: 20px;
  75. }
  76. }
  77. .btn {
  78. padding: 2px 10px;
  79. background: white;
  80. color: #fd7f76;
  81. border-radius: 20px;
  82. font-size: 14px;
  83. }
  84. }
  85. .user-footer {
  86. padding: 0 20px 0 0;
  87. display: flex;
  88. justify-content: space-between;
  89. font-size: 12px;
  90. }
  91. }
  92. }
  93. }
  94. .ad {
  95. display: flex;
  96. align-items: center;
  97. padding: 6px 10px;
  98. font-size: 12px;
  99. border-radius: 2px;
  100. margin: -4px auto 0;
  101. background-size: 100% 100%;
  102. width: 360px;
  103. .ad-left {
  104. display: flex;
  105. align-items: center;
  106. justify-content: space-around;
  107. .text {
  108. display: flex;
  109. font-size: 14px;
  110. font-weight: 600;
  111. span {
  112. background: linear-gradient(to left, #ff848a, rgb(255 199 202 / 71%));
  113. color: white;
  114. padding: 0px 4px;
  115. font-size: 12px;
  116. border-radius: 4px;
  117. height: 18px;
  118. line-height: 18px;
  119. margin: 0 4px;
  120. }
  121. }
  122. p {
  123. color: #666666;
  124. }
  125. }
  126. .btn {
  127. background: white;
  128. color: #ed3f38;
  129. padding: 2px 4px;
  130. border-radius: 4px;
  131. }
  132. }
  133. .tool {
  134. display: grid;
  135. grid-template-columns: repeat(5, 70px);
  136. align-items: center;
  137. padding: 6px 10px;
  138. font-size: 12px;
  139. justify-content: space-evenly;
  140. border-radius: 2px;
  141. background: #fff;
  142. width: 360px;
  143. margin: 10px auto;
  144. border-radius: 10px;
  145. color: #808080;
  146. .tool-li {
  147. display: flex;
  148. flex-direction: column;
  149. align-items: center;
  150. img {
  151. width: 30px;
  152. height: 30px;
  153. }
  154. }
  155. }
  156. .order {
  157. width: 360px;
  158. margin: 10px auto;
  159. background-size: 100% 100%;
  160. height: 220px;
  161. padding: 6px 30px;
  162. border-radius: 20px;
  163. .ladder {
  164. position: relative;
  165. height: 120px;
  166. width: 200px;
  167. margin: 10px auto;
  168. .top-block {
  169. display: flex;
  170. justify-content: space-evenly;
  171. width: 100%;
  172. position: absolute;
  173. bottom: 0;
  174. left: 0;
  175. z-index: 9;
  176. align-items: self-end;
  177. .top1,
  178. .top2,
  179. .top3 {
  180. width: 60px;
  181. display: flex;
  182. align-items: center;
  183. justify-content: center;
  184. flex-direction: column;
  185. .user-detail {
  186. font-size: 12px;
  187. display: flex;
  188. flex-direction: column;
  189. justify-content: center;
  190. align-items: center;
  191. }
  192. .pm {
  193. font-weight: 600;
  194. color: white;
  195. }
  196. .num {
  197. color: #ffb63f;
  198. }
  199. .user-block {
  200. font-size: 10px;
  201. margin-bottom: 10px;
  202. .user-avatar {
  203. width: 40px;
  204. height: 40px;
  205. position: relative;
  206. .tag {
  207. position: absolute;
  208. right: -7px;
  209. top: -6px;
  210. width: 20px;
  211. }
  212. .avatar {
  213. width: 100%;
  214. height: 100%;
  215. }
  216. }
  217. }
  218. }
  219. .top1 {
  220. margin-bottom: 20px;
  221. .num {
  222. color: #ffffb9;
  223. }
  224. }
  225. }
  226. }
  227. .ladder::after {
  228. content: "";
  229. position: absolute;
  230. bottom: 0;
  231. left: 0;
  232. width: 100%;
  233. height: 70px;
  234. background-size: 100% 100%;
  235. }
  236. .row {
  237. font-size: 12px;
  238. display: flex;
  239. align-items: center;
  240. justify-content: space-between;
  241. margin-top: 6px;
  242. color: #999999;
  243. .row-left {
  244. display: flex;
  245. align-items: center;
  246. .row-avatar {
  247. width: 30px;
  248. height: 30px;
  249. margin: 0 4px;
  250. }
  251. }
  252. .row-right {
  253. display: flex;
  254. .row-tpis-num {
  255. color: #f7931e;
  256. display: flex;
  257. align-items: center;
  258. span {
  259. width: 6px;
  260. height: 6px;
  261. border-radius: 50%;
  262. background-color: #f7931e;
  263. margin-left: 4px;
  264. }
  265. }
  266. }
  267. }
  268. }
  269. .setting {
  270. width: 360px;
  271. margin: 0 auto;
  272. font-size: 14px;
  273. .setting-tabs {
  274. background: white;
  275. border-radius: 10px;
  276. .row {
  277. display: flex;
  278. align-items: center;
  279. justify-content: space-between;
  280. padding: 4px 10px;
  281. .tabs-left {
  282. display: flex;
  283. align-items: center;
  284. ion-icon {
  285. font-size: 22px;
  286. color: #e7435c;
  287. }
  288. }
  289. }
  290. ion-toggle {
  291. --handle-height: 14px;
  292. --handle-width: 14px;
  293. }
  294. }
  295. .list {
  296. background: white;
  297. border-radius: 10px;
  298. padding: 4px 10px 10px;
  299. margin: 10px auto;
  300. .li {
  301. display: flex;
  302. justify-content: space-between;
  303. margin-top: 10px;
  304. .li-lable {
  305. display: flex;
  306. align-items: center;
  307. .icon {
  308. width: 18px;
  309. height: 16px;
  310. margin-right: 10px;
  311. }
  312. }
  313. ion-icon {
  314. color: #666666;
  315. }
  316. }
  317. }
  318. }
  319. }
  320. ion-toggle::part(track),
  321. ion-toggle.toggle-checked::part(track) {
  322. height: 20px;
  323. width: 40px;
  324. overflow: visible;
  325. }