my.component.scss 8.4 KB

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