index.module.less 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371
  1. .member-center {
  2. background-color: #ffe5cc;
  3. min-height: 100vh;
  4. position: relative;
  5. :global {
  6. .van-nav-bar {
  7. background-color: transparent;
  8. }
  9. }
  10. .member_container {
  11. padding: 10px 14px 0;
  12. .title {
  13. display: flex;
  14. align-items: center;
  15. font-size: 16px;
  16. line-height: 28px;
  17. font-weight: 500;
  18. color: #333333;
  19. &::before {
  20. content: ' ';
  21. width: 4px;
  22. height: 17px;
  23. background: #01c1b5;
  24. display: inline-block;
  25. margin-right: 7px;
  26. border-radius: 8px;
  27. }
  28. }
  29. }
  30. .level {
  31. width: 18px;
  32. height: 16px;
  33. }
  34. .userMember {
  35. background: url('./images/member_bg.png') no-repeat center #534754;
  36. background-size: cover;
  37. width: auto;
  38. border-radius: 10px;
  39. padding: 20px 12px 30px;
  40. .userImgSection {
  41. padding: 2px;
  42. border: 1px solid #feecd2;
  43. background-color: transparent;
  44. margin-right: 12px;
  45. border-radius: 50%;
  46. }
  47. .userImg {
  48. width: 46px;
  49. height: 46px;
  50. border-radius: 50%;
  51. vertical-align: middle;
  52. overflow: hidden;
  53. }
  54. .userInfo {
  55. display: flex;
  56. align-items: center;
  57. color: #fff;
  58. padding-bottom: 5px;
  59. .name {
  60. font-size: 18px;
  61. padding-right: 5px;
  62. max-width: 100px;
  63. overflow: hidden;
  64. text-overflow: ellipsis;
  65. white-space: nowrap;
  66. }
  67. .phone {
  68. font-size: 14px;
  69. }
  70. }
  71. .timeRemaining {
  72. margin-top: 0;
  73. font-size: 14px;
  74. color: #c0c0c0;
  75. .remaining {
  76. color: #f7b500;
  77. padding: 0 5px;
  78. }
  79. }
  80. .member_time {
  81. display: flex;
  82. align-items: center;
  83. justify-content: space-between;
  84. }
  85. }
  86. .intro {
  87. background: url('./images/tip_bg.png') no-repeat center;
  88. background-size: contain;
  89. height: 142px;
  90. font-size: 14px;
  91. color: #bb6e3a;
  92. p {
  93. padding: 45px 25px 0;
  94. text-align: justify;
  95. line-height: 22px;
  96. }
  97. }
  98. .memberContainer {
  99. // height: calc(100vh - 196px);
  100. // overflow-y: auto;
  101. background-color: #fff;
  102. border-radius: 18px 18px 0px 0px;
  103. position: relative;
  104. margin-top: -15px;
  105. padding: 0 14px 75px;
  106. z-index: 99;
  107. }
  108. .memberItem {
  109. padding-top: 20px;
  110. .title {
  111. font-size: 16px;
  112. color: #333333;
  113. font-weight: 500;
  114. span {
  115. color: #f7b500;
  116. }
  117. }
  118. }
  119. .member_function {
  120. display: flex;
  121. justify-content: space-between;
  122. flex-wrap: wrap;
  123. .function_item__content {
  124. height: 100%;
  125. }
  126. .function_item {
  127. width: 80px;
  128. padding: 12px 0;
  129. margin-top: 8px;
  130. border-radius: 8px;
  131. overflow: hidden;
  132. background-color: #faefe3;
  133. text-align: center;
  134. }
  135. .function_text {
  136. font-size: 12px;
  137. color: #814014;
  138. line-height: 16px;
  139. }
  140. }
  141. .system-list::-webkit-scrollbar {
  142. display: none; /* Chrome Safari */
  143. }
  144. .system-list {
  145. width: 100%;
  146. overflow-x: auto;
  147. overflow-y: hidden;
  148. display: flex;
  149. position: relative;
  150. user-select: none;
  151. box-sizing: content-box;
  152. padding-top: 16px;
  153. padding-bottom: 10px;
  154. margin-bottom: 10px;
  155. }
  156. .system-item {
  157. display: flex;
  158. flex-direction: column;
  159. align-items: center;
  160. justify-content: center;
  161. flex: 1 0 auto;
  162. width: 96px;
  163. min-height: 120px;
  164. box-sizing: border-box;
  165. background: #ffffff;
  166. border-radius: 12px;
  167. border: 1px solid #e5e5e5;
  168. margin-right: 10px;
  169. .title {
  170. font-size: 14px;
  171. font-weight: 500;
  172. color: #333333;
  173. line-height: 20px;
  174. }
  175. .price {
  176. color: #dc9362;
  177. font-size: 25px;
  178. line-height: 1.5;
  179. span {
  180. font-size: 16px;
  181. }
  182. }
  183. .originalPrice {
  184. color: #937059;
  185. font-size: 13px;
  186. }
  187. &.active {
  188. background: linear-gradient(
  189. 215deg,
  190. #ffe7c4 0%,
  191. rgba(250, 211, 156, 0.21) 100%
  192. );
  193. border: 1px solid #b1652e;
  194. position: relative;
  195. .title {
  196. color: #814014;
  197. }
  198. .price {
  199. color: #b1652e;
  200. }
  201. .originalPrice {
  202. color: #937059;
  203. }
  204. &::before {
  205. content: '\e728';
  206. font: 14px/1 'vant-icon';
  207. color: #fff;
  208. background-color: #b1652e;
  209. width: 27px;
  210. height: 18px;
  211. display: flex;
  212. align-items: center;
  213. justify-content: center;
  214. position: absolute;
  215. top: 0;
  216. right: 0;
  217. border-radius: 0 12px 0 12px;
  218. }
  219. }
  220. }
  221. .btnGroup {
  222. position: fixed;
  223. bottom: 0;
  224. left: 0;
  225. right: 0;
  226. z-index: 100;
  227. background-color: #fff;
  228. display: flex;
  229. align-items: center;
  230. padding: 12px 16px;
  231. justify-content: space-between;
  232. border-top: 1px solid #f0f0f0;
  233. .btn {
  234. padding: 0 22px;
  235. color: #7a3104 !important;
  236. }
  237. .priceSection {
  238. display: flex;
  239. align-items: center;
  240. font-size: 16px;
  241. color: #1a1a1a;
  242. .price {
  243. font-size: 18px;
  244. font-weight: bold;
  245. color: #ff3535;
  246. .priceUnit {
  247. font-size: 14px;
  248. }
  249. }
  250. }
  251. }
  252. }
  253. .memberDiscount {
  254. margin-top: 16px;
  255. position: relative;
  256. background: url('./images/discount_bg.png') no-repeat center;
  257. background-size: contain;
  258. display: flex;
  259. align-items: center;
  260. height: 44px;
  261. font-size: 16px;
  262. color: #ff7100;
  263. line-height: 18px;
  264. .discountAvatar {
  265. margin-left: 15px;
  266. width: 36px;
  267. height: 36px;
  268. border-radius: 50%;
  269. overflow: hidden;
  270. border: 1px solid #ffaf59;
  271. }
  272. .discountName {
  273. padding-left: 30px;
  274. max-width: 200px;
  275. white-space: nowrap;
  276. overflow: hidden;
  277. text-overflow: ellipsis;
  278. }
  279. .discountGift {
  280. position: absolute;
  281. right: 26px;
  282. top: 7px;
  283. width: 29px;
  284. height: 29px;
  285. }
  286. }
  287. .discountItem {
  288. height: 14px;
  289. padding-bottom: 2px;
  290. img {
  291. height: 100%;
  292. }
  293. }
  294. .discountBuy {
  295. height: 18px;
  296. padding-bottom: 0;
  297. margin-left: 8px;
  298. }
  299. .shareBtn {
  300. display: flex;
  301. align-items: flex-start;
  302. color: #666;
  303. font-size: 14px;
  304. line-height: 20px !important;
  305. :global(.van-image) {
  306. width: 18px;
  307. height: 18px;
  308. margin-right: 6px;
  309. }
  310. }
  311. .shareVip {
  312. position: relative;
  313. margin-top: 50px;
  314. display: flex;
  315. flex: 1;
  316. align-items: center;
  317. padding: 11px 6px 11px;
  318. background: #ffffff;
  319. border-radius: 10px;
  320. .icon {
  321. width: 36px;
  322. height: 36px;
  323. border-radius: 10px;
  324. }
  325. .info {
  326. margin-left: 6px;
  327. flex: 1;
  328. word-break: break-all;
  329. > h4 {
  330. color: var(--music-list-item-title-color);
  331. font-size: 14px;
  332. font-weight: 600;
  333. }
  334. > p {
  335. color: var(--music-list-item-mate-color);
  336. line-height: 17px;
  337. }
  338. }
  339. }
  340. .tagDiscount {
  341. position: absolute;
  342. top: -23px;
  343. left: 15px;
  344. padding: 0 10px;
  345. height: 23px;
  346. background: linear-gradient(180deg, #ffb635 0%, #ff4e18 100%);
  347. border-radius: 8px 8px 0px 0px;
  348. font-size: 14px;
  349. font-weight: 600;
  350. color: #ffffff;
  351. line-height: 24px;
  352. }