index.module.less 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392
  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: 19px;
  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;
  176. /* Chrome Safari */
  177. }
  178. .system-list {
  179. width: 100%;
  180. overflow-x: auto;
  181. overflow-y: hidden;
  182. display: flex;
  183. position: relative;
  184. user-select: none;
  185. box-sizing: content-box;
  186. padding-top: 16px;
  187. padding-bottom: 10px;
  188. }
  189. .system-item {
  190. display: flex;
  191. flex-direction: column;
  192. // align-items: center;
  193. // justify-content: center;
  194. flex: 1 0 auto;
  195. // width: 96px;
  196. min-height: 116px;
  197. box-sizing: border-box;
  198. background: #ffffff;
  199. border-radius: 12px;
  200. // border: 1px solid #e5e5e5;
  201. .title {
  202. font-weight: 500;
  203. font-size: 14px;
  204. color: #814014 !important;
  205. line-height: 20px;
  206. span {
  207. color: #814014 !important;
  208. }
  209. padding: 11px 0 9px;
  210. margin: 0 11px;
  211. // border-bottom: 1px solid #b1652e;
  212. &::after {
  213. border-color: rgba(177, 101, 46, 0.27);
  214. }
  215. }
  216. .priceGroup {
  217. display: flex;
  218. align-items: baseline;
  219. padding: 25px 12px 9px;
  220. }
  221. .price {
  222. font-size: 28px;
  223. font-weight: 500;
  224. color: #b1652e;
  225. span {
  226. font-size: 16px;
  227. }
  228. }
  229. .originalPrice {
  230. margin-left: 8px;
  231. font-size: 18px;
  232. color: #c59575 !important;
  233. line-height: 16px;
  234. font-weight: 300;
  235. }
  236. &.active {
  237. // background: linear-gradient(215deg, #ffe7c4 0%, rgba(250, 211, 156, 0.21) 100%);
  238. background: url('./images/vip_bg.png') no-repeat center center;
  239. background-size: cover;
  240. // border: 1px solid #b1652e;
  241. position: relative;
  242. .title {
  243. color: #814014;
  244. }
  245. .price {
  246. color: #b1652e;
  247. }
  248. .originalPrice {
  249. color: #937059;
  250. }
  251. &::before {
  252. content: '\e728';
  253. font: 14px/1 'vant-icon';
  254. color: #fff;
  255. background-color: #b1652e;
  256. width: 27px;
  257. height: 18px;
  258. display: flex;
  259. align-items: center;
  260. justify-content: center;
  261. position: absolute;
  262. top: 0;
  263. right: -1px;
  264. border-radius: 0 12px 0 12px;
  265. }
  266. }
  267. }
  268. .btnGroup {
  269. position: fixed;
  270. bottom: 0;
  271. left: 0;
  272. right: 0;
  273. z-index: 100;
  274. background-color: #fff;
  275. display: flex;
  276. align-items: center;
  277. padding: 12px 16px;
  278. justify-content: space-between;
  279. border-top: 1px solid #f0f0f0;
  280. .btn {
  281. line-height: 38px;
  282. height: 38px;
  283. color: #7a3104 !important;
  284. padding: 0 17px;
  285. }
  286. .priceSection {
  287. display: flex;
  288. align-items: center;
  289. font-size: 16px;
  290. color: #1a1a1a;
  291. .price {
  292. font-size: 18px;
  293. font-weight: bold;
  294. color: #ff3535;
  295. .priceUnit {
  296. font-size: 14px;
  297. }
  298. }
  299. }
  300. }
  301. }
  302. .memberDiscount {
  303. margin-top: 16px;
  304. position: relative;
  305. background: url('./images/discount_bg.png') no-repeat center;
  306. background-size: contain;
  307. display: flex;
  308. align-items: center;
  309. height: 44px;
  310. font-size: 16px;
  311. color: #ff7100;
  312. line-height: 18px;
  313. .discountAvatar {
  314. margin-left: 15px;
  315. width: 36px;
  316. height: 36px;
  317. border-radius: 50%;
  318. overflow: hidden;
  319. border: 1px solid #ffaf59;
  320. }
  321. .discountName {
  322. padding-left: 30px;
  323. max-width: 200px;
  324. white-space: nowrap;
  325. overflow: hidden;
  326. text-overflow: ellipsis;
  327. }
  328. .discountGift {
  329. position: absolute;
  330. right: 26px;
  331. top: 7px;
  332. width: 29px;
  333. height: 29px;
  334. }
  335. }