index.module.less 7.2 KB

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