style.less 5.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  1. @whiteColor: #fff;
  2. .box-content {
  3. width: 100%;
  4. .View-box-Card {
  5. .wrapper {
  6. width: calc(100% -25px);
  7. margin-left: 25px;
  8. margin-top: 40px;
  9. display: flex;
  10. position: relative;
  11. // margin-top: 600px;
  12. // margin: 30px auto;
  13. // box-shadow: 0px 8px 38px 0px rgba(0, 0, 0, 0.12);
  14. // filter: drop-shadow(5px 8px 6px rgb(202, 202, 202));
  15. filter: drop-shadow(0 0 0.9rem rgba(0, 0, 0, 0.12));
  16. .card-box-star {
  17. position: absolute;
  18. width: auto;
  19. height: 44.3px;
  20. position: absolute;
  21. left: 200px;
  22. top: 28px;
  23. font-size: 20px;
  24. color: @whiteColor;
  25. .card-star-image {
  26. padding-left: 6px;
  27. width: 21px;
  28. height: 21px;
  29. }
  30. .card-star-text {
  31. padding-left: 10px;
  32. font-size: 20px;
  33. color: #333;
  34. font-weight: 700;
  35. }
  36. }
  37. .left-complete-one {
  38. padding-top: 87px;
  39. padding-bottom: 43px;
  40. position: relative;
  41. display: flex;
  42. background: @whiteColor;
  43. background: radial-gradient(
  44. circle at top right,
  45. transparent 15px,
  46. #fff 0
  47. )
  48. top right,
  49. radial-gradient(circle at bottom right, transparent 15px, #fff 0)
  50. bottom right;
  51. background-size: 100% 60%;
  52. background-repeat: no-repeat;
  53. width: 573px;
  54. border-radius: 15px 0px 0px 15px;
  55. // border-radius: 12px;
  56. align-items: center;
  57. .left-image-1 {
  58. width: 145px;
  59. height: 44px;
  60. position: absolute;
  61. top: 22px;
  62. }
  63. .left-viewText {
  64. // background-image: url(@Image-ProCard_hot);
  65. // width: 287px;
  66. width: auto;
  67. height: 44.3px;
  68. position: absolute;
  69. left: 1px;
  70. top: 28px;
  71. font-size: 20px;
  72. color: @whiteColor;
  73. }
  74. //图片
  75. .title-image {
  76. // width: 145px;
  77. // margin-left: 20px;
  78. // border-radius: 24px;
  79. // overflow: hidden;
  80. // position: relative;
  81. height: 144px;
  82. margin-left: 20px;
  83. border-radius: 24px;
  84. overflow: hidden;
  85. position: relative;
  86. .image-1 {
  87. // width: 100%;
  88. // height: 145px;
  89. width: 144px;
  90. height: 144px;
  91. margin: 0;
  92. }
  93. .image-2 {
  94. width: 89px;
  95. height: 34px;
  96. position: absolute;
  97. left: 0;
  98. top: 0;
  99. }
  100. }
  101. // 商品标题
  102. .title-content {
  103. // padding: 84px 0 56px 20px;
  104. padding-left: 18px;
  105. .Pro-title {
  106. .title-text {
  107. width: 375px;
  108. overflow: hidden;
  109. text-overflow: ellipsis;
  110. -webkit-line-clamp: 1;
  111. -webkit-box-orient: vertical;
  112. text-align: left;
  113. font-size: 24px;
  114. }
  115. }
  116. .title-money {
  117. // padding-top: 34px;
  118. font-size: 24px;
  119. // color: red;
  120. display: inline-block;
  121. font-weight: 800;
  122. margin: 10px auto;
  123. }
  124. .title-money-2 {
  125. height: 19px;
  126. font-size: 20px;
  127. font-weight: 400;
  128. color: #333333;
  129. padding-left: 50px;
  130. }
  131. .title-time {
  132. font-size: 24px;
  133. // padding-top: 20px;
  134. color: #c0c8d3;
  135. }
  136. .title-position-on {
  137. display: flex;
  138. font-size: 20px;
  139. .title-position {
  140. width: 18px;
  141. height: 24px;
  142. padding-right: 10px;
  143. padding-top: 5px;
  144. }
  145. .title-position-image {
  146. align-items: center;
  147. font-size: 20px;
  148. color: #333;
  149. }
  150. .title-on {
  151. // margin-bottom: 10px;
  152. padding-top: 5px;
  153. padding-left: 40px;
  154. width: 21px;
  155. height: 21px;
  156. padding-right: 10px;
  157. }
  158. .title-on-text {
  159. align-items: center;
  160. font-size: 20px;
  161. color: #333;
  162. }
  163. }
  164. }
  165. }
  166. }
  167. .right-complete-two {
  168. background: @whiteColor;
  169. background: radial-gradient(circle at top left, transparent 15px, #fff 0)
  170. top left,
  171. radial-gradient(circle at bottom left, transparent 15px, #fff 0) bottom
  172. left;
  173. background-size: 100% 60%;
  174. background-repeat: no-repeat;
  175. width: 129px;
  176. border-radius: 0 15px 15px 0;
  177. position: relative;
  178. //右面部分
  179. .right-content {
  180. height: 134px;
  181. position: absolute;
  182. top: calc(50% - 45px);
  183. left: calc(50% - 30px);
  184. .right-image {
  185. width: 35px;
  186. height: 34px;
  187. margin-left: calc(50% - 41.5px);
  188. // text-align: center;
  189. }
  190. .right-title {
  191. font-weight: 700;
  192. width: 110px;
  193. font-size: 24px;
  194. padding-top: 15px;
  195. text-align: center;
  196. position: relative;
  197. left: -22px;
  198. }
  199. }
  200. }
  201. //线条
  202. .right-complete-two::after {
  203. content: "";
  204. position: absolute;
  205. top: 15px;
  206. margin: 26px auto;
  207. height: 70%;
  208. border-left: 1px dashed #595959;
  209. opacity: 0.12;
  210. }
  211. //已过期logo
  212. .right-image-two {
  213. margin-top: 30px;
  214. width: 76px;
  215. height: 66px;
  216. }
  217. .foot {
  218. width: 100%;
  219. height: 26px;
  220. font-size: 28px;
  221. font-weight: 400;
  222. color: #c0c8d3;
  223. line-height: 34px;
  224. margin-top: 40px;
  225. text-align: center;
  226. }
  227. }
  228. }