style.less 2.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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. border-radius: 24px;
  25. display: flex;
  26. overflow: hidden;
  27. position: relative;
  28. .image-1-cardOrder {
  29. width: 145px;
  30. height: 145px;
  31. }
  32. .image-2-cardOrder {
  33. width: 89px;
  34. height: 34px;
  35. position: absolute;
  36. left: 0;
  37. top: 0;
  38. }
  39. }
  40. // 商品标题
  41. .title-content-cardOrder {
  42. // padding: 84px 0 56px 20px;
  43. padding-left: 18px;
  44. .title-text-cardOrder {
  45. width: 375px;
  46. overflow: hidden;
  47. text-overflow: ellipsis;
  48. display: -webkit-box; //必须要
  49. -webkit-line-clamp: 1;
  50. -webkit-box-orient: vertical;
  51. word-break: break-all; /* 多出文本省略号代替 */
  52. text-align: left;
  53. font-size: 24px;
  54. padding-bottom: 10px;
  55. }
  56. .title-money-cardOrder {
  57. padding-top: 34px;
  58. font-size: 24px;
  59. // color: red;
  60. position: relative;
  61. right: 136px;
  62. font-weight: 800;
  63. }
  64. .title-money-2-cardOrder {
  65. font-size: 18px;
  66. color: #666;
  67. padding-left: 10px;
  68. text-decoration: line-through;
  69. }
  70. .title-time-cardOrder {
  71. font-size: 24px;
  72. padding-top: 20px;
  73. color: #c0c8d3;
  74. }
  75. }
  76. }
  77. }
  78. .right-complete-two-cardOrder {
  79. background: @whiteColor;
  80. background: radial-gradient(circle at top left, transparent 15px, #fff 0) top
  81. left,
  82. radial-gradient(circle at bottom left, transparent 15px, #fff 0) bottom left;
  83. background-size: 100% 60%;
  84. background-repeat: no-repeat;
  85. width: 129px;
  86. border-radius: 0 15px 15px 0;
  87. position: relative;
  88. }
  89. //线条