style.less 8.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401
  1. @whiteColor: #fff;
  2. .title-on{
  3. width: 21px;
  4. height: 21px;
  5. padding-right: 10px;
  6. }
  7. .wrapper {
  8. margin-top: 40px;
  9. display: flex;
  10. position: relative;
  11. // margin-top: 600px;
  12. // margin: 30px auto;
  13. width: 700px;
  14. // box-shadow: 0px 8px 38px 0px rgba(0, 0, 0, 0.12);
  15. // filter: drop-shadow(5px 8px 6px rgb(202, 202, 202));
  16. filter: drop-shadow(0 0 0.9rem rgba(0, 0, 0, 0.12));
  17. .card-box-star {
  18. position: absolute;
  19. width: auto;
  20. height: 44.3px;
  21. position: absolute;
  22. left: 183px;
  23. top: 28px;
  24. font-size: 20px;
  25. color: @whiteColor;
  26. .card-star-image {
  27. padding-left: 6px;
  28. width: 21px;
  29. height: 21px;
  30. }
  31. .card-star-text {
  32. padding-left: 10px;
  33. font-size: 20px;
  34. color: #333;
  35. font-weight: 700;
  36. }
  37. }
  38. .left-complete-one {
  39. padding-top: 85px;
  40. padding-bottom: 43px;
  41. position: relative;
  42. display: flex;
  43. background: @whiteColor;
  44. background: radial-gradient(
  45. circle at top right,
  46. transparent 15px,
  47. @whiteColor 0
  48. )
  49. top right,
  50. radial-gradient(circle at bottom right, transparent 15px, @whiteColor 0)
  51. bottom right;
  52. background-size: 100% 60%;
  53. background-repeat: no-repeat;
  54. width: 80%;
  55. border-radius: 15px 0px 0px 15px;
  56. // border-radius: 12px;
  57. align-items: center;
  58. .left-image-1 {
  59. width: 145px;
  60. height: 44px;
  61. position: absolute;
  62. top: 22px;
  63. }
  64. .left-viewText {
  65. // background-image: url(@Image-ProCard_hot);
  66. // width: 287px;
  67. width: auto;
  68. height: 44.3px;
  69. position: absolute;
  70. left: 1px;
  71. top: 28px;
  72. font-size: 20px;
  73. color: @whiteColor;
  74. }
  75. //图片
  76. .title-image {
  77. height: 144px;
  78. margin-left: 20px;
  79. border-radius: 24px;
  80. overflow: hidden;
  81. position: relative;
  82. .image-1 {
  83. width: 144px;
  84. height: 144px;
  85. margin: 0 ;
  86. }
  87. .image-2 {
  88. width: 89px;
  89. height: 34px;
  90. position: absolute;
  91. left: 0;
  92. top: 0;
  93. }
  94. }
  95. // 商品标题
  96. .title-content {
  97. // padding: 84px 0 56px 20px;
  98. padding-left: 18px;
  99. .Pro-title {
  100. .title-text {
  101. width: 375px;
  102. overflow: hidden;
  103. text-overflow: ellipsis;
  104. // display: -webkit-box; //必须要
  105. -webkit-line-clamp: 1;
  106. -webkit-box-orient: vertical;
  107. // word-break: break-all; /* 多出文本省略号代替 */
  108. text-align: left;
  109. font-size: 24px;
  110. // padding-bottom: 10px;
  111. }
  112. }
  113. .title-money {
  114. // padding-top: 34px;
  115. font-size: 24px;
  116. // color: red;
  117. font-weight: 800;
  118. }
  119. .title-money-2 {
  120. font-size: 18px;
  121. color: rgba(102, 102, 102, 0.8);
  122. padding-left: 10px;
  123. text-decoration: line-through;
  124. }
  125. .title-time {
  126. font-size: 24px;
  127. // padding-top: 20px;
  128. color: #c0c8d3;
  129. }
  130. .title-position-on {
  131. display: flex;
  132. font-size: 20px;
  133. .title-position {
  134. width: 18px;
  135. height: 24px;
  136. padding-right: 10px;
  137. padding-top: 5px;
  138. }
  139. .title-position-image {
  140. align-items: center;
  141. font-size: 20px;
  142. color: #333;
  143. }
  144. // .title-on {
  145. // // margin-bottom: 10px;
  146. // padding-top: 5px;
  147. // padding-left: 40px;
  148. // width: 21px;
  149. // height: 21px;
  150. // padding-right: 10px;
  151. // }
  152. .title-on-text {
  153. align-items: center;
  154. font-size: 20px;
  155. color: #333;
  156. }
  157. }
  158. }
  159. }
  160. // .left-complete-one:nth-child(2) {
  161. // background: rgb(182, 0, 0);
  162. // padding-top: 10px;
  163. // }
  164. }
  165. .right-complete-two {
  166. background: @whiteColor;
  167. background: radial-gradient(
  168. circle at top left,
  169. transparent 15px,
  170. @whiteColor 0
  171. )
  172. top left,
  173. radial-gradient(circle at bottom left, transparent 15px, @whiteColor 0)
  174. bottom left;
  175. background-size: 100% 60%;
  176. background-repeat: no-repeat;
  177. width: 129px;
  178. border-radius: 0 15px 15px 0;
  179. position: relative;
  180. //右面部分
  181. .right-content {
  182. // width: 50%;
  183. height: 134px;
  184. position: absolute;
  185. top: calc(50% - 45px);
  186. left: calc(50% - 30px);
  187. .right-image {
  188. width: 35px;
  189. height: 34px;
  190. margin-left: calc(50% - 41.5px);
  191. }
  192. .right-title {
  193. font-weight: 700;
  194. width: 110px;
  195. font-size: 24px;
  196. padding-top: 15px;
  197. text-align: center;
  198. position: relative;
  199. left: -22px;
  200. }
  201. }
  202. }
  203. //线条
  204. .right-complete-two::after {
  205. content: "";
  206. position: absolute;
  207. top: 15px;
  208. margin: 26px auto;
  209. height: 70%;
  210. border-left: 1px dashed #595959;
  211. }
  212. .wrapper-tourist {
  213. margin-top: 40px;
  214. display: flex;
  215. position: relative;
  216. // margin-top: 600px;
  217. // margin: 30px auto;
  218. width: 700px;
  219. // box-shadow: 0px 8px 38px 0px rgba(0, 0, 0, 0.12);
  220. // filter: drop-shadow(5px 8px 6px rgb(202, 202, 202));
  221. filter: drop-shadow(0 0 0.9rem rgba(0, 0, 0, 0.12));
  222. .card-box-star {
  223. position: absolute;
  224. width: auto;
  225. height: 44.3px;
  226. position: absolute;
  227. left: 183px;
  228. top: 28px;
  229. font-size: 20px;
  230. color: @whiteColor;
  231. .card-star-image {
  232. padding-left: 6px;
  233. width: 21px;
  234. height: 21px;
  235. }
  236. .card-star-text {
  237. padding-left: 10px;
  238. font-size: 20px;
  239. color: #333;
  240. font-weight: 700;
  241. }
  242. }
  243. .left-complete-one {
  244. padding-top: 35px;
  245. padding-bottom: 43px;
  246. position: relative;
  247. display: flex;
  248. background: @whiteColor;
  249. background: radial-gradient(
  250. circle at top right,
  251. transparent 15px,
  252. @whiteColor 0
  253. )
  254. top right,
  255. radial-gradient(circle at bottom right, transparent 15px, @whiteColor 0)
  256. bottom right;
  257. background-size: 100% 60%;
  258. background-repeat: no-repeat;
  259. width: 80%;
  260. border-radius: 15px 0px 0px 15px;
  261. // border-radius: 12px;
  262. align-items: center;
  263. .left-image-1 {
  264. width: 145px;
  265. height: 44px;
  266. position: absolute;
  267. top: 22px;
  268. }
  269. .left-viewText {
  270. // background-image: url(@Image-ProCard_hot);
  271. // width: 287px;
  272. width: auto;
  273. height: 44.3px;
  274. position: absolute;
  275. left: 1px;
  276. top: 28px;
  277. font-size: 20px;
  278. color: @whiteColor;
  279. }
  280. //图片
  281. .title-image {
  282. // width: 145px;
  283. // margin-left: 20px;
  284. // overflow: hidden;
  285. // position: relative;
  286. height: 144px;
  287. margin-left: 20px;
  288. border-radius: 24px;
  289. overflow: hidden;
  290. position: relative;
  291. .image-1 {
  292. // width: 100%;
  293. // height: 145px;
  294. // border-radius: 10px;
  295. width: 144px;
  296. height: 144px;
  297. margin: 0;
  298. }
  299. .image-2 {
  300. width: 89px;
  301. height: 34px;
  302. position: absolute;
  303. left: 0;
  304. top: 0;
  305. }
  306. }
  307. // 商品标题
  308. .title-content {
  309. // padding: 84px 0 56px 20px;
  310. padding-left: 18px;
  311. .Pro-title {
  312. .title-text {
  313. width: 375px;
  314. overflow: hidden;
  315. text-overflow: ellipsis;
  316. // display: -webkit-box; //必须要
  317. -webkit-line-clamp: 1;
  318. -webkit-box-orient: vertical;
  319. // word-break: break-all; /* 多出文本省略号代替 */
  320. text-align: left;
  321. font-size: 24px;
  322. // padding-bottom: 10px;
  323. }
  324. }
  325. .title-money {
  326. // padding-top: 34px;
  327. font-size: 24px;
  328. // color: red;
  329. font-weight: 800;
  330. }
  331. .title-money-2 {
  332. font-size: 18px;
  333. color: rgba(102, 102, 102, 0.8);
  334. padding-left: 10px;
  335. text-decoration: line-through;
  336. }
  337. .title-time {
  338. font-size: 24px;
  339. // padding-top: 20px;
  340. color: #c0c8d3;
  341. }
  342. .title-position-on {
  343. display: flex;
  344. font-size: 20px;
  345. .title-position {
  346. width: 18px;
  347. height: 24px;
  348. padding-right: 10px;
  349. padding-top: 5px;
  350. }
  351. .title-position-image {
  352. align-items: center;
  353. font-size: 20px;
  354. color: #333;
  355. }
  356. .title-on {
  357. // margin-bottom: 10px;
  358. padding-top: 5px;
  359. padding-left: 40px;
  360. width: 21px;
  361. height: 21px;
  362. padding-right: 10px;
  363. }
  364. }
  365. .title-on-text {
  366. align-items: center;
  367. font-size: 20px;
  368. color: #333;
  369. }
  370. }
  371. }
  372. // .left-complete-one:nth-child(2) {
  373. // background: rgb(182, 0, 0);
  374. // padding-top: 10px;
  375. // }
  376. }