mine.wxss 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364
  1. /* pages/mine/mine.wxss */
  2. page {
  3. background: linear-gradient(179deg, #cce1ff 0%, #ffffff 53%, #f9fbff 78%, #f8fbff 100%);
  4. }
  5. .custom-navigation {
  6. width: calc(100% - 40rpx);
  7. padding-left: 40rpx;
  8. display: flex;
  9. align-items: center;
  10. }
  11. .custom-navigation>text:nth-child(1) {
  12. margin-top: -5rpx;
  13. font-size: 40rpx;
  14. color: #3470E9;
  15. font-family: "自由行星体";
  16. font-weight: bold;
  17. }
  18. .custom-navigation>text:nth-child(2) {
  19. position: relative;
  20. padding-left: 30rpx;
  21. margin-left: 20rpx;
  22. font-family: "苹方R";
  23. font-size: 28rpx;
  24. color: #000000;
  25. }
  26. .custom-navigation>text:nth-child(2)::before {
  27. content: "";
  28. position: absolute;
  29. left: 0;
  30. top: calc(50% - 5rpx);
  31. width: 10rpx;
  32. height: 10rpx;
  33. background: #000;
  34. border-radius: 50%;
  35. }
  36. .mine-container {
  37. padding-top: 40rpx;
  38. width: 100%;
  39. height: calc(100vh - var(--navHeight));
  40. box-sizing: border-box;
  41. }
  42. .search {
  43. padding: 0 22rpx;
  44. margin: 0 40rpx;
  45. width: calc(100% - 80rpx);
  46. height: 70rpx;
  47. border-radius: 35rpx;
  48. border: 0.6px solid #336fe9;
  49. box-sizing: border-box;
  50. display: flex;
  51. align-items: center;
  52. }
  53. .search-icon {
  54. width: 35rpx;
  55. height: 100%;
  56. display: flex;
  57. align-items: center;
  58. }
  59. .search-icon>image {
  60. width: 100%;
  61. height: auto;
  62. }
  63. .search-input {
  64. margin-left: 20rpx;
  65. width: 0;
  66. flex: 1;
  67. height: 100%;
  68. }
  69. .search-input>input {
  70. width: 100%;
  71. height: 100%;
  72. font-size: 26rpx;
  73. font-family: "苹方R";
  74. color: #111111;
  75. }
  76. .input-placeholder {
  77. color: #5D5D5D;
  78. font-size: 26rpx;
  79. font-family: "苹方R";
  80. }
  81. .userInfo {
  82. margin-top: 80rpx;
  83. width: 100%;
  84. display: flex;
  85. align-items: flex-start;
  86. }
  87. .headimg {
  88. padding: 0 20rpx 0 40rpx;
  89. width: 120rpx;
  90. height: 120rpx;
  91. border-radius: 50%;
  92. overflow: hidden;
  93. }
  94. .headimg>image {
  95. width: 100%;
  96. height: auto;
  97. }
  98. .userInfo>.infos {
  99. width: 0;
  100. flex: 1;
  101. height: 100%;
  102. }
  103. .userInfo>.infos>.item {
  104. width: fit-content;
  105. display: flex;
  106. align-items: center;
  107. }
  108. .userInfo>.infos>.item>.label {
  109. max-width: 400rpx;
  110. font-family: "苹方M";
  111. font-size: 40rpx;
  112. color: #151D23;
  113. overflow: hidden;
  114. white-space: nowrap;
  115. text-overflow: ellipsis;
  116. }
  117. .userInfo>.infos>.shiming {
  118. padding-top: 6rpx;
  119. width: 180rpx;
  120. display: flex;
  121. align-items: center;
  122. }
  123. .userInfo>.infos>.shiming>image {
  124. margin-top: -10rpx;
  125. position: relative;
  126. left: -22rpx;
  127. width: 100%;
  128. height: auto;
  129. }
  130. .userInfo>.myInfo {
  131. margin-top: 30rpx;
  132. width: 180rpx;
  133. height: 50rpx;
  134. background: linear-gradient(90deg, #80afff, #4887f6);
  135. border-radius: 25rpx 0px 0px 25rpx;
  136. display: flex;
  137. align-items: center;
  138. justify-content: center;
  139. }
  140. .myInfoActive {
  141. background: linear-gradient(90deg, #6f97db, #4077d6) !important;
  142. }
  143. .userInfo>.myInfo>.name {
  144. margin-right: 10rpx;
  145. width: fit-content;
  146. height: 100%;
  147. font-family: "苹方R";
  148. color: #ffffff;
  149. font-size: 26rpx;
  150. display: flex;
  151. align-items: center;
  152. }
  153. .userInfo>.myInfo>.icon {
  154. width: 12rpx;
  155. height: 100%;
  156. display: flex;
  157. align-items: center;
  158. }
  159. .userInfo>.myInfo>.icon>image {
  160. width: 100%;
  161. height: auto;
  162. }
  163. .showDatas {
  164. margin-top: 60rpx;
  165. width: 100%;
  166. height: 120rpx;
  167. display: flex;
  168. justify-content: space-evenly
  169. }
  170. .showDatas-data {
  171. width: 100rpx;
  172. height: 100%;
  173. }
  174. .showDatas-data-hover {
  175. opacity: 0.6;
  176. }
  177. .showDatas-data-value {
  178. width: 100%;
  179. height: 70rpx;
  180. line-height: 70rpx;
  181. text-align: center;
  182. font-family: "苹方M";
  183. font-size: 40rpx;
  184. }
  185. .showDatas-data-label {
  186. margin-top: 16rpx;
  187. width: 100%;
  188. height: 34rpx;
  189. line-height: 34rpx;
  190. text-align: center;
  191. font-family: "苹方R";
  192. font-size: 26rpx;
  193. }
  194. .section {
  195. margin: 0 40rpx;
  196. width: calc(100% - 80rpx);
  197. }
  198. .section1 {
  199. margin-top: 50rpx;
  200. display: flex;
  201. justify-content: space-between;
  202. }
  203. .s1-block {
  204. width: 320rpx;
  205. height: 120rpx;
  206. background: #ffffff;
  207. border-radius: 10rpx;
  208. box-shadow: 0px 4rpx 16rpx 0px rgba(92, 92, 92, 0.03);
  209. display: flex;
  210. align-items: center;
  211. justify-content: center;
  212. }
  213. .s1-block-hover {
  214. background: #fafafa;
  215. }
  216. .s1-block-icon1,
  217. .s1-block-icon2 {
  218. height: 100%;
  219. display: flex;
  220. align-items: center;
  221. }
  222. .s1-block-icon1>image,
  223. .s1-block-icon2>image {
  224. width: 100%;
  225. height: auto;
  226. }
  227. .s1-block-icon1 {
  228. width: 55rpx;
  229. }
  230. .s1-block-icon2 {
  231. width: 70rpx;
  232. }
  233. .s1-block-icon {
  234. width: 12rpx;
  235. height: 100%;
  236. display: flex;
  237. align-items: center;
  238. }
  239. .s1-block-icon>image {
  240. width: 100%;
  241. height: auto;
  242. }
  243. .s1-block-name {
  244. margin: 0 32rpx 0 26rpx;
  245. width: fit-content;
  246. height: 100%;
  247. color: #3B3B3B;
  248. font-size: 32rpx;
  249. font-family: "苹方M";
  250. display: flex;
  251. align-items: center;
  252. }
  253. .section2 {
  254. margin-top: 50rpx;
  255. background: #ffffff;
  256. border-radius: 10rpx;
  257. box-shadow: 0px 0px 16rpx 0px rgba(92, 92, 92, 0.09);
  258. }
  259. .s2-title {
  260. padding: 30rpx 30rpx 12rpx 30rpx;
  261. width: 100%;
  262. height: 87rpx;
  263. line-height: 45rpx;
  264. font-size: 32rpx;
  265. font-family: "苹方M";
  266. color: #151D23;
  267. box-sizing: border-box;
  268. }
  269. .s2-block {
  270. padding: 36rpx 0;
  271. margin: 0 13rpx;
  272. width: calc(100% - 26rpx);
  273. display: flex;
  274. justify-content: space-between;
  275. border-bottom: 0.5px dashed #a6a6a6;
  276. }
  277. .s2-block-item-hover {
  278. opacity: 0.6;
  279. }
  280. .s2-noBorder {
  281. border-bottom: none;
  282. }
  283. .s2-block-item {
  284. width: 0;
  285. flex: 1;
  286. height: 100%;
  287. }
  288. .s2-block-item-icon {
  289. margin: auto;
  290. width: 70rpx;
  291. }
  292. .s2-block-item-icon>image {
  293. width: 100%;
  294. height: auto;
  295. }
  296. .s2-block-item-name {
  297. margin: auto;
  298. width: 110rpx;
  299. height: 78rpx;
  300. line-height: 39rpx;
  301. font-size: 26rpx;
  302. overflow: hidden;
  303. display: -webkit-box;
  304. -webkit-box-orient: vertical;
  305. -webkit-line-clamp: 2;
  306. text-overflow: ellipsis;
  307. font-family: "苹方R";
  308. text-align: center;
  309. color: #3B3B3B;
  310. }
  311. .fill {
  312. width: 100%;
  313. height: 20rpx;
  314. }