index.module.less 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311
  1. .discountCardContainer {
  2. min-height: 100vh;
  3. background: url('./images/bg.png') no-repeat top center #cbf3ff;
  4. background-size: contain;
  5. img {
  6. -moz-user-select: none;
  7. /* 火狐浏览器 */
  8. -webkit-user-drag: none;
  9. /* 谷歌、Safari和Opera浏览器 */
  10. -webkit-user-select: none;
  11. /* 谷歌、Safari和Opera浏览器 */
  12. -ms-user-select: none;
  13. /* IE10+浏览器 */
  14. user-select: none;
  15. /* 通用 */
  16. -webkit-touch-callout: none;
  17. /* iOS Safari */
  18. }
  19. }
  20. .cardContainer {
  21. position: relative;
  22. padding: 20px 14px 0;
  23. .imgSection {
  24. font-size: 0;
  25. padding-bottom: 20px;
  26. img {
  27. width: 100%;
  28. margin-top: 16px;
  29. }
  30. }
  31. }
  32. .userSection {
  33. display: flex;
  34. align-items: flex-start;
  35. .userImgSection {
  36. position: relative;
  37. width: 48px;
  38. height: 48px;
  39. margin-right: 13px;
  40. flex-shrink: 0;
  41. .userImg {
  42. width: 48px;
  43. height: 48px;
  44. border-radius: 50%;
  45. overflow: hidden;
  46. border: 2px solid #ffffff;
  47. }
  48. .showMemeber {
  49. position: absolute;
  50. bottom: -1px;
  51. right: -7px;
  52. width: 18px;
  53. height: 18px;
  54. }
  55. &.userVip {
  56. .showMemeber {
  57. background: url('./images/icon-vip-disabled.png') no-repeat center;
  58. background-size: contain;
  59. }
  60. &.isVip {
  61. .userImg {
  62. border: 2px solid #FFE0B9;
  63. }
  64. .showMemeber {
  65. background: url('./images/icon-vip.png') no-repeat center;
  66. background-size: contain;
  67. }
  68. }
  69. }
  70. &.userSVip {
  71. .showMemeber {
  72. background: url('./images/icon-svip-disabled.png') no-repeat center;
  73. background-size: contain;
  74. }
  75. &.isVip {
  76. .userImg {
  77. border: 2px solid #f0af88;
  78. }
  79. .showMemeber {
  80. background: url('./images/icon-svip.png') no-repeat center;
  81. background-size: contain;
  82. }
  83. }
  84. }
  85. }
  86. .userInfo {
  87. padding-top: 5px;
  88. max-width: 185px;
  89. .userName {
  90. display: flex;
  91. align-items: center;
  92. padding-bottom: 4px;
  93. }
  94. .name {
  95. font-weight: 500;
  96. font-size: 18px;
  97. color: #000000;
  98. line-height: 25px;
  99. letter-spacing: 1px;
  100. max-width: 90px;
  101. overflow: hidden;
  102. text-overflow: ellipsis;
  103. white-space: nowrap;
  104. }
  105. .phone {
  106. font-size: 13px;
  107. color: rgba(0, 0, 0, 0.6);
  108. }
  109. .member_time {
  110. font-size: 12px;
  111. color: rgba(0, 0, 0, 0.6);
  112. line-height: 17px;
  113. span {
  114. padding-left: 2px;
  115. color: #1d88ff;
  116. font-weight: 500;
  117. }
  118. }
  119. }
  120. }
  121. .cardSection {
  122. position: relative;
  123. background: url('./images/card-bg.png') no-repeat center;
  124. background-size: contain;
  125. height: 203px;
  126. max-width: 347px;
  127. margin-top: 27px;
  128. .top {
  129. display: flex;
  130. align-items: center;
  131. padding-top: 19px;
  132. padding-left: 26px;
  133. .iconTitle1 {
  134. // width: 63px;
  135. height: 23px;
  136. margin-right: 6px;
  137. }
  138. .priceSection {
  139. flex-shrink: 0;
  140. display: flex;
  141. align-items: center;
  142. margin-top: -1px;
  143. .currentPrice {
  144. display: flex;
  145. align-items: flex-end;
  146. background: linear-gradient(270deg, #ff7b57 0%, #ff3460 100%);
  147. border-radius: 100px 100px 100px 2px;
  148. padding: 0 8px;
  149. font-weight: 600;
  150. color: #ffffff;
  151. height: 23px;
  152. .l {
  153. font-size: 12px;
  154. line-height: 17px;
  155. padding-right: 2px;
  156. }
  157. .c {
  158. font-size: 20px;
  159. line-height: 1;
  160. }
  161. .r {
  162. font-size: 12px;
  163. line-height: 17px;
  164. }
  165. }
  166. .originPrice {
  167. padding-top: 2px;
  168. padding-left: 6px;
  169. font-size: 12px;
  170. color: rgba(19, 20, 21, 0.4)
  171. }
  172. }
  173. }
  174. .chapter {
  175. position: absolute;
  176. right: 19px;
  177. top: -14px;
  178. background: url('./images/ring.png') no-repeat center;
  179. background-size: contain;
  180. width: 60px;
  181. height: 60px;
  182. display: flex;
  183. align-items: center;
  184. justify-content: center;
  185. flex-direction: column;
  186. transform: rotate(-15deg);
  187. .chapterTop {
  188. padding-top: 6px;
  189. font-weight: 500;
  190. font-size: 11px;
  191. color: #ffffff;
  192. line-height: 15px;
  193. }
  194. .chapterBottom {
  195. font-family: DIN;
  196. font-weight: bold;
  197. font-size: 22px;
  198. color: #ffffff;
  199. line-height: 1;
  200. // display: flex;
  201. // align-items: center;
  202. i {
  203. vertical-align: middle;
  204. padding-left: 1px;
  205. font-style: normal;
  206. font-weight: 500;
  207. font-size: 12px;
  208. color: #ffffff;
  209. line-height: 1;
  210. }
  211. }
  212. }
  213. }
  214. .btnGroup {
  215. background-color: #fff;
  216. padding: 10px 30px 23px;
  217. .submitBtn {
  218. background: url('./images/btn-bg.png') no-repeat center;
  219. background-size: contain;
  220. width: 315px;
  221. height: 46px;
  222. display: flex;
  223. align-items: center;
  224. justify-content: center;
  225. font-weight: 600;
  226. font-size: 18px;
  227. color: #ffffff;
  228. line-height: 26px;
  229. i {
  230. padding-top: 2px;
  231. padding-right: 2px;
  232. font-size: 14px;
  233. font-style: normal;
  234. line-height: 20px;
  235. }
  236. }
  237. }
  238. // 弹窗样式
  239. .dialogContainer {
  240. width: 287px;
  241. box-sizing: border-box;
  242. background: #FFFFFF;
  243. border-radius: 12px;
  244. padding: 16px 24px 22px;
  245. text-align: center;
  246. .dialogTitle {
  247. font-weight: 500;
  248. font-size: 18px;
  249. color: #333333;
  250. line-height: 25px;
  251. }
  252. .dialogContent {
  253. padding: 16px 0 21px;
  254. font-size: 15px;
  255. color: #777777;
  256. line-height: 26px;
  257. }
  258. .dialogBtnGroup {
  259. padding: 0 16px;
  260. &.orderGroup {
  261. display: flex;
  262. align-items: center;
  263. padding: 0;
  264. }
  265. :global {
  266. .van-button {
  267. font-weight: 500;
  268. font-size: 16px;
  269. }
  270. }
  271. }
  272. .dialogBtn {
  273. margin-left: 12px;
  274. color: #FFFFFF;
  275. line-height: 22px;
  276. }
  277. }