memberCenter.wxss 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384
  1. /* pages/memberCenter/memberCenter.wxss */
  2. page {
  3. height: 100%;
  4. width: 100%;
  5. }
  6. .member-index {
  7. position: relative;
  8. }
  9. /* 会员信息 */
  10. .member-index .member-container {
  11. position: relative;
  12. width: 750rpx;
  13. height: 450rpx;
  14. }
  15. .member-container .m-bg {
  16. width: 100%;
  17. position: absolute;
  18. left: 0;
  19. top: 0;
  20. z-index: -1;
  21. }
  22. .small-screen{
  23. height: 480rpx;
  24. }
  25. .member-info {
  26. display: flex;
  27. flex-direction: column;
  28. justify-content: space-between;
  29. padding: 15% 8% 5% 8%;
  30. height: 100%;
  31. box-sizing: border-box;
  32. color: #fff;
  33. }
  34. .member-info-top {
  35. width: 100%;
  36. display: flex;
  37. justify-content: space-between;
  38. align-items: flex-end;
  39. margin-top: 40rpx;
  40. }
  41. .member-info-bottom{
  42. padding-bottom: 20rpx;
  43. }
  44. .user-info {
  45. display: flex;
  46. }
  47. .user-avatar {
  48. border-radius: 50%;
  49. margin-right: 20rpx;
  50. width: 80rpx;
  51. height: 80rpx;
  52. }
  53. .user-nickname{
  54. display: flex;
  55. align-items: center;
  56. }
  57. .user-nickname .nickname {
  58. font-size: 28rpx;
  59. font-weight: 600;
  60. }
  61. .user-score {
  62. margin-top: 10rpx;
  63. font-size: 26rpx;
  64. }
  65. .user-score .score-img {
  66. width: 30rpx;
  67. height: 30rpx;
  68. display: inline-block;
  69. }
  70. .user-level {
  71. font-size: 40rpx;
  72. font-family: FZXiaoBiaoSong-B05S;
  73. font-weight: 800;
  74. }
  75. .right-arr {
  76. width: 13rpx;
  77. height: 20rpx;
  78. margin-left: 8rpx;
  79. }
  80. .level-img{
  81. width: 40rpx;
  82. height: 34rpx;
  83. margin-left: 10rpx;
  84. display: inkine-block;
  85. vertical-align: middle;
  86. }
  87. .vip-level-progress {
  88. display: flex;
  89. justify-content: space-between;
  90. align-items: center;
  91. font-size: 26rpx;
  92. }
  93. .vip-level-progress .level-tips {
  94. flex: 6;
  95. margin-right: 30rpx;
  96. align-self: center;
  97. font-size: 24rpx;
  98. }
  99. .vip-level-progress .level-progress {
  100. margin: 6rpx 0;
  101. }
  102. .vip-level-progress .level-span {
  103. display: flex;
  104. justify-content: space-between;
  105. font-weight: bold;
  106. }
  107. /* 会员信息 end */
  108. .member-growth {
  109. padding: 30rpx;
  110. padding-bottom: 0;
  111. box-sizing: border-box;
  112. margin-top: 20rpx;
  113. }
  114. .member-tit {
  115. display: flex;
  116. align-items: center;
  117. margin: 20rpx 0;
  118. }
  119. .member-tit .text {
  120. flex: 1;
  121. font-size: 32rpx;
  122. font-weight: 600;
  123. position: relative;
  124. padding-left: 16rpx;
  125. }
  126. .member-tit .text::before {
  127. position: absolute;
  128. left: 0;
  129. top: 15%;
  130. display: block;
  131. width: 6rpx;
  132. height: 70%;
  133. content: " ";
  134. background: #e43130;
  135. border-radius: 6rpx;
  136. }
  137. /* 等级表格 */
  138. .growth-value {
  139. padding: 20rpx 40rpx;
  140. margin-bottom: 20rpx;
  141. }
  142. .td-left, .td-right {
  143. display: inline-block;
  144. line-height: 2.5em;
  145. font-size: 28rpx;
  146. text-align: left;
  147. background: #fcf8f7;
  148. text-indent: 1.5em;
  149. }
  150. .th {
  151. background: #ffefe5;
  152. font-weight: bold;
  153. }
  154. .td-left {
  155. width: 30%;
  156. margin-right: 0.8%;
  157. }
  158. .td-right {
  159. width: 69%;
  160. }
  161. .member-rights {
  162. justify-content: space-between;
  163. padding-top: 0;
  164. margin: 60rpx 0 40rpx 0;
  165. }
  166. .more-rights {
  167. font-size: 24rpx;
  168. color: #999;
  169. }
  170. .rights-container {
  171. display: flex;
  172. flex-wrap: wrap;
  173. justify-content: space-between;
  174. }
  175. .right-item {
  176. display: flex;
  177. width: 340rpx;
  178. height: 160rpx;
  179. justify-content: center;
  180. align-items: center;
  181. background: #f8f8f8;
  182. margin-bottom: 10rpx;
  183. padding: 20rpx;
  184. box-sizing: border-box;
  185. }
  186. .right-lf {
  187. display: flex;
  188. align-items: center;
  189. width: 90rpx;
  190. height: 90rpx;
  191. border-radius: 50%;
  192. overflow: hidden;
  193. }
  194. .right-rt {
  195. margin-left: 20rpx;
  196. flex: 1;
  197. }
  198. .right-rt .right-tit {
  199. font-size: 28rpx;
  200. margin-bottom: 10rpx;
  201. }
  202. .right-rt .right-desc {
  203. font-size: 22rpx;
  204. color: #999;
  205. }
  206. /* swiper弹窗 */
  207. .swiperPop {
  208. position: relative;
  209. width: 100%;
  210. height: 100%;
  211. background: #eee;
  212. }
  213. .swiperPop .mask {
  214. position: fixed;
  215. top: 0;
  216. left: 0;
  217. background: rgba(0, 0, 0, 0.5);
  218. z-index: 999;
  219. width: 100%;
  220. height: 100%;
  221. }
  222. .swiperPop swiper {
  223. position: fixed;
  224. top: 20%;
  225. width: 100%;
  226. height: 78%;
  227. z-index: 1000;
  228. }
  229. .swiperPop .close {
  230. width: 40rpx;
  231. height: 40rpx;
  232. position: absolute;
  233. top: 16%;
  234. right: 8%;
  235. }
  236. .close >image {
  237. width: 100%;
  238. height: 100%;
  239. display: block;
  240. }
  241. .swiperPop .swiper-box {
  242. width: 95%;
  243. display: flex;
  244. }
  245. .top-bg {
  246. width: 100%;
  247. height: 180rpx;
  248. }
  249. .top-bg .member-bg {
  250. width: 100%;
  251. height: 100%;
  252. position: relative;
  253. border-radius: 14rpx;
  254. display: block;
  255. }
  256. .top-con {
  257. position: absolute;
  258. left: 0;
  259. top: 0;
  260. color: #fff;
  261. padding: 40rpx;
  262. box-sizing: border-box;
  263. font-size: 26rpx;
  264. }
  265. .top-con .member-title {
  266. margin-bottom: 10rpx;
  267. font-size: 32rpx;
  268. font-weight: 600;
  269. }
  270. .top-bg .member-level {
  271. position: absolute;
  272. top: 10rpx;
  273. right: -20rpx;
  274. width: 50%;
  275. opacity: 0.2;
  276. }
  277. .rights-item-con {
  278. width: 95%;
  279. height: 75%;
  280. max-height: 75%;
  281. overflow: scroll;
  282. background-color: #fff;
  283. position: absolute;
  284. top: 160rpx;
  285. left: 0;
  286. border-radius: 14rpx;
  287. display: flex;
  288. justify-content: space-between;
  289. align-items: flex-start;
  290. flex-wrap: wrap;
  291. padding: 40rpx;
  292. box-sizing: border-box;
  293. }
  294. .rights-item-con::after {
  295. content: '';
  296. width: 30%;
  297. padding: 0 15rpx;
  298. box-sizing: border-box;
  299. }
  300. .rights-item {
  301. width: 30% !important;
  302. display: flex;
  303. flex-direction: column;
  304. align-items: center;
  305. margin-bottom: 40rpx;
  306. }
  307. .rights-img {
  308. width: 100rpx;
  309. height: 100rpx;
  310. border-radius: 50%;
  311. overflow: hidden;
  312. }
  313. .rights-img image {
  314. width: 100%;
  315. height: 100%;
  316. display: block;
  317. }
  318. .rights-tit {
  319. font-size: 28rpx;
  320. margin: 25rpx 0 15rpx 0;
  321. }
  322. .rights-desc {
  323. font-size: 22rpx;
  324. color: #999;
  325. text-align: center;
  326. }