style.less 6.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299
  1. @whiteColor: #fff;
  2. @Image-ProCard_hot: "../../assets/icons/ProCard/ProCard_hot.png";
  3. .container {
  4. width: 100%;
  5. .item-center-Number {
  6. width: 100%;
  7. margin-top: 30px;
  8. .buy-num-minus {
  9. display: inline-block;
  10. width: 60px;
  11. height: 60px;
  12. background: #ffffff;
  13. border: 1px solid #999999;
  14. border-radius: 8px 0px 0px 8px;
  15. }
  16. .buy-num-input {
  17. display: inline-block;
  18. width: 90px;
  19. height: 60px;
  20. font-size: 28px;
  21. font-weight: 400;
  22. color: #202020;
  23. background: #ffffff;
  24. border: 1px solid #999999;
  25. position: relative;
  26. top: 26px;
  27. }
  28. .buy-num-add {
  29. display: inline-block;
  30. width: 60px;
  31. height: 60px;
  32. background: #ffffff;
  33. border: 1px solid #999999;
  34. border-radius: 0px 8px 8px 0px;
  35. }
  36. }
  37. .buy-button-box {
  38. width: 100%;
  39. margin: 40px 0 0 0;
  40. .button-Cancel {
  41. display: inline-block;
  42. width: 236px;
  43. height: 78px;
  44. border: 2px solid #274291;
  45. font-size: 30px;
  46. font-weight: bold;
  47. color: #274291;
  48. border-radius: 12px;
  49. margin-right: 80px;
  50. }
  51. .button-OK {
  52. display: inline-block;
  53. width: 236px;
  54. height: 78px;
  55. background: #274291;
  56. border-radius: 12px;
  57. font-size: 30px;
  58. font-weight: bold;
  59. color: #ffffff;
  60. }
  61. }
  62. .wrapper {
  63. display: flex;
  64. position: relative;
  65. // margin-top: 600px;
  66. margin: 30px auto;
  67. width: 700px;
  68. // box-shadow: 0px 8px 38px 0px rgba(0, 0, 0, 0.12);
  69. // filter: drop-shadow(5px 8px 6px rgb(202, 202, 202));
  70. filter: drop-shadow(0 0 0.9rem rgba(0, 0, 0, 0.12));
  71. .left-complete-one {
  72. padding-top: 87px;
  73. padding-bottom: 43px;
  74. position: relative;
  75. display: flex;
  76. background: @whiteColor;
  77. background: radial-gradient(
  78. circle at top right,
  79. transparent 15px,
  80. @whiteColor 0
  81. )
  82. top right,
  83. radial-gradient(circle at bottom right, transparent 15px, @whiteColor 0)
  84. bottom right;
  85. background-size: 100% 60%;
  86. background-repeat: no-repeat;
  87. width: 573px;
  88. border-radius: 15px 0px 0px 15px;
  89. // border-radius: 12px;
  90. align-items: center;
  91. .left-image-1 {
  92. width: 145px;
  93. height: 44px;
  94. position: absolute;
  95. top: 22px;
  96. }
  97. .left-viewText {
  98. // background-image: url(@Image-ProCard_hot);
  99. // width: 287px;
  100. width: auto;
  101. height: 44.3px;
  102. position: absolute;
  103. left: 1px;
  104. top: 28px;
  105. font-size: 24px;
  106. color: @whiteColor;
  107. font-weight: 600;
  108. }
  109. //图片
  110. .title-image {
  111. width: 145px;
  112. margin-left: 20px;
  113. border-radius: 24px;
  114. overflow: hidden;
  115. position: relative;
  116. .image-1 {
  117. width: 100%;
  118. height: 145px;
  119. }
  120. .image-2 {
  121. width: 89px;
  122. height: 34px;
  123. position: absolute;
  124. left: 0;
  125. top: 0;
  126. }
  127. }
  128. // 商品标题
  129. .title-content {
  130. // padding: 84px 0 56px 20px;
  131. padding-left: 18px;
  132. .Pro-title {
  133. .title-text {
  134. width: 375px;
  135. overflow: hidden;
  136. text-overflow: ellipsis;
  137. display: -webkit-box; //必须要
  138. -webkit-line-clamp: 1;
  139. -webkit-box-orient: vertical;
  140. word-break: break-all; /* 多出文本省略号代替 */
  141. text-align: left;
  142. font-size: 24px;
  143. padding-bottom: 10px;
  144. }
  145. }
  146. .title-money {
  147. padding-top: 34px;
  148. font-size: 24px;
  149. // color: red;
  150. font-weight: 800;
  151. }
  152. .title-money-2 {
  153. font-size: 18px;
  154. color: #666;
  155. padding-left: 10px;
  156. text-decoration: line-through;
  157. }
  158. .title-time {
  159. font-size: 24px;
  160. padding-top: 20px;
  161. color: #c0c8d3;
  162. }
  163. }
  164. }
  165. }
  166. .right-complete-two {
  167. background: @whiteColor;
  168. background: radial-gradient(
  169. circle at top left,
  170. transparent 15px,
  171. @whiteColor 0
  172. )
  173. top left,
  174. radial-gradient(circle at bottom left, transparent 15px, @whiteColor 0)
  175. bottom left;
  176. background-size: 100% 60%;
  177. background-repeat: no-repeat;
  178. width: 129px;
  179. border-radius: 0 15px 15px 0;
  180. position: relative;
  181. //右面部分
  182. .right-content {
  183. // width: 100px;
  184. // height: 80px;
  185. position: absolute;
  186. top: 50%;
  187. left: 50%;
  188. transform: translate(-50%, -50%);
  189. // border: 1px solid red;
  190. .right-number {
  191. width: 40px;
  192. font-size: 20px;
  193. border-radius: 4px;
  194. border: 2px solid #999;
  195. margin: auto;
  196. text-align: center;
  197. }
  198. .right-title {
  199. font-weight: 700;
  200. font-size: 24px;
  201. padding-top: 20px;
  202. text-align: center;
  203. }
  204. }
  205. }
  206. //线条
  207. .right-complete-two::after {
  208. content: "";
  209. position: absolute;
  210. top: 15px;
  211. margin: 26px auto;
  212. height: 70%;
  213. border-left: 1px dashed #595959;
  214. }
  215. .view-button {
  216. position: fixed;
  217. bottom: 0px;
  218. .Card-number-box {
  219. .Card-number {
  220. width: 100%;
  221. height: 96px;
  222. background-color: @whiteColor;
  223. }
  224. .Card-user {
  225. width: 100%;
  226. height: 96px;
  227. background-color: @whiteColor;
  228. }
  229. }
  230. .button-box-button-box {
  231. position: relative;
  232. .button-text-image {
  233. width: 144;
  234. height: 45px;
  235. position: absolute;
  236. top: -35px;
  237. left: 267px;
  238. right: 305px;
  239. z-index: 1;
  240. .button-text-money-hot {
  241. position: absolute;
  242. width: 144px;
  243. height: 43px;
  244. line-height: 43px;
  245. font-size: 24px;
  246. font-weight: bold;
  247. color: @whiteColor;
  248. }
  249. .button-image {
  250. width: 143px;
  251. height: 43px;
  252. }
  253. .button-text-money {
  254. position: absolute;
  255. margin-top: -8;
  256. width: 157px;
  257. font-size: 18px;
  258. font-weight: 400;
  259. text-decoration: line-through;
  260. color: @whiteColor;
  261. }
  262. }
  263. .button-box-one {
  264. font-size: 30px;
  265. line-height: 92px;
  266. margin-top: 3em;
  267. background-color: #274190;
  268. border-radius: 12px;
  269. width: 690px;
  270. height: 92px;
  271. color: @whiteColor;
  272. // position: absolute;
  273. bottom: 40px;
  274. right: 0;
  275. left: 0;
  276. .button-text-one {
  277. right: 133px;
  278. font-size: 30px;
  279. padding-left: 220px;
  280. }
  281. }
  282. }
  283. }
  284. }