style.less 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. @whiteColor: #fff;
  2. .wrapper-box-cardOrder {
  3. border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
  4. .left-complete-one-cardOrder {
  5. padding-top: 87px;
  6. padding-bottom: 21px;
  7. display: flex;
  8. border-radius: 15px 0px 0px 15px;
  9. align-items: center;
  10. .left-viewText-payOrder {
  11. background: url(../../assets/icons/ProCard/ProCard_hot.png) no-repeat;
  12. background-size: 100% 100%;
  13. padding: 0 24px 7px 2px;
  14. font-size: 24px;
  15. line-height: 48px;
  16. height: 44.3px;
  17. position: absolute;
  18. top: 20px;
  19. color: @whiteColor;
  20. font-weight: 600;
  21. }
  22. //图片
  23. .title-image-cardOrder {
  24. width: 100%;
  25. border-radius: 24px;
  26. display: flex;
  27. overflow: hidden;
  28. position: relative;
  29. .image-1-cardOrder {
  30. width: 145px;
  31. height: 145px;
  32. }
  33. .image-2-cardOrder {
  34. width: 89px;
  35. height: 34px;
  36. position: absolute;
  37. left: 0;
  38. top: 0;
  39. }
  40. }
  41. // 商品标题
  42. .title-content-cardOrder {
  43. // padding: 84px 0 56px 20px;
  44. padding-left: 18px;
  45. .title-text-cardOrder {
  46. width: 375px;
  47. overflow: hidden;
  48. text-overflow: ellipsis;
  49. display: -webkit-box; //必须要
  50. -webkit-line-clamp: 1;
  51. -webkit-box-orient: vertical;
  52. word-break: break-all; /* 多出文本省略号代替 */
  53. text-align: left;
  54. font-size: 24px;
  55. padding-bottom: 10px;
  56. }
  57. .title-money-cardOrder {
  58. padding-top: 34px;
  59. font-size: 24px;
  60. // color: red;
  61. position: relative;
  62. right: 136px;
  63. font-weight: 800;
  64. }
  65. .title-money-2-cardOrder {
  66. font-size: 18px;
  67. color: #666;
  68. padding-left: 10px;
  69. text-decoration: line-through;
  70. }
  71. .title-time-cardOrder {
  72. font-size: 24px;
  73. padding-top: 20px;
  74. color: #c0c8d3;
  75. }
  76. }
  77. }
  78. }
  79. .right-complete-two-cardOrder {
  80. background: @whiteColor;
  81. background: radial-gradient(circle at top left, transparent 15px, #fff 0) top
  82. left,
  83. radial-gradient(circle at bottom left, transparent 15px, #fff 0) bottom left;
  84. background-size: 100% 60%;
  85. background-repeat: no-repeat;
  86. width: 129px;
  87. border-radius: 0 15px 15px 0;
  88. position: relative;
  89. }
  90. //线条