@whiteColor: #fff; .title-on{ width: 21px; height: 21px; padding-right: 10px; } .wrapper { margin-top: 40px; display: flex; position: relative; // margin-top: 600px; // margin: 30px auto; width: 700px; // box-shadow: 0px 8px 38px 0px rgba(0, 0, 0, 0.12); // filter: drop-shadow(5px 8px 6px rgb(202, 202, 202)); filter: drop-shadow(0 0 0.9rem rgba(0, 0, 0, 0.12)); .card-box-star { position: absolute; width: auto; height: 44.3px; position: absolute; left: 183px; top: 28px; font-size: 20px; color: @whiteColor; .card-star-image { padding-left: 6px; width: 21px; height: 21px; } .card-star-text { padding-left: 10px; font-size: 20px; color: #333; font-weight: 700; } } .left-complete-one { padding-top: 85px; padding-bottom: 43px; position: relative; display: flex; background: @whiteColor; background: radial-gradient( circle at top right, transparent 15px, @whiteColor 0 ) top right, radial-gradient(circle at bottom right, transparent 15px, @whiteColor 0) bottom right; background-size: 100% 60%; background-repeat: no-repeat; width: 80%; border-radius: 15px 0px 0px 15px; // border-radius: 12px; align-items: center; .left-image-1 { width: 145px; height: 44px; position: absolute; top: 22px; } .left-viewText { // background-image: url(@Image-ProCard_hot); // width: 287px; width: auto; height: 44.3px; position: absolute; left: 1px; top: 28px; font-size: 20px; color: @whiteColor; } //图片 .title-image { height: 144px; margin-left: 20px; border-radius: 24px; overflow: hidden; position: relative; .image-1 { width: 144px; height: 144px; margin: 0 ; } .image-2 { width: 89px; height: 34px; position: absolute; left: 0; top: 0; } } // 商品标题 .title-content { // padding: 84px 0 56px 20px; padding-left: 18px; .Pro-title { .title-text { width: 375px; overflow: hidden; text-overflow: ellipsis; // display: -webkit-box; //必须要 -webkit-line-clamp: 1; -webkit-box-orient: vertical; // word-break: break-all; /* 多出文本省略号代替 */ text-align: left; font-size: 24px; // padding-bottom: 10px; } } .title-money { // padding-top: 34px; font-size: 24px; // color: red; font-weight: 800; } .title-money-2 { font-size: 18px; color: rgba(102, 102, 102, 0.8); padding-left: 10px; text-decoration: line-through; } .title-time { font-size: 24px; // padding-top: 20px; color: #c0c8d3; } .title-position-on { display: flex; font-size: 20px; .title-position { width: 18px; height: 24px; padding-right: 10px; padding-top: 5px; } .title-position-image { align-items: center; font-size: 20px; color: #333; } // .title-on { // // margin-bottom: 10px; // padding-top: 5px; // padding-left: 40px; // width: 21px; // height: 21px; // padding-right: 10px; // } .title-on-text { align-items: center; font-size: 20px; color: #333; } } } } // .left-complete-one:nth-child(2) { // background: rgb(182, 0, 0); // padding-top: 10px; // } } .right-complete-two { background: @whiteColor; background: radial-gradient( circle at top left, transparent 15px, @whiteColor 0 ) top left, radial-gradient(circle at bottom left, transparent 15px, @whiteColor 0) bottom left; background-size: 100% 60%; background-repeat: no-repeat; width: 129px; border-radius: 0 15px 15px 0; position: relative; //右面部分 .right-content { // width: 50%; height: 134px; position: absolute; top: calc(50% - 45px); left: calc(50% - 30px); .right-image { width: 35px; height: 34px; margin-left: calc(50% - 41.5px); } .right-title { font-weight: 700; width: 110px; font-size: 24px; padding-top: 15px; text-align: center; position: relative; left: -22px; } } } //线条 .right-complete-two::after { content: ""; position: absolute; top: 15px; margin: 26px auto; height: 70%; border-left: 1px dashed #595959; } .wrapper-tourist { margin-top: 40px; display: flex; position: relative; // margin-top: 600px; // margin: 30px auto; width: 700px; // box-shadow: 0px 8px 38px 0px rgba(0, 0, 0, 0.12); // filter: drop-shadow(5px 8px 6px rgb(202, 202, 202)); filter: drop-shadow(0 0 0.9rem rgba(0, 0, 0, 0.12)); .card-box-star { position: absolute; width: auto; height: 44.3px; position: absolute; left: 183px; top: 28px; font-size: 20px; color: @whiteColor; .card-star-image { padding-left: 6px; width: 21px; height: 21px; } .card-star-text { padding-left: 10px; font-size: 20px; color: #333; font-weight: 700; } } .left-complete-one { padding-top: 35px; padding-bottom: 43px; position: relative; display: flex; background: @whiteColor; background: radial-gradient( circle at top right, transparent 15px, @whiteColor 0 ) top right, radial-gradient(circle at bottom right, transparent 15px, @whiteColor 0) bottom right; background-size: 100% 60%; background-repeat: no-repeat; width: 80%; border-radius: 15px 0px 0px 15px; // border-radius: 12px; align-items: center; .left-image-1 { width: 145px; height: 44px; position: absolute; top: 22px; } .left-viewText { // background-image: url(@Image-ProCard_hot); // width: 287px; width: auto; height: 44.3px; position: absolute; left: 1px; top: 28px; font-size: 20px; color: @whiteColor; } //图片 .title-image { // width: 145px; // margin-left: 20px; // overflow: hidden; // position: relative; height: 144px; margin-left: 20px; border-radius: 24px; overflow: hidden; position: relative; .image-1 { // width: 100%; // height: 145px; // border-radius: 10px; width: 144px; height: 144px; margin: 0; } .image-2 { width: 89px; height: 34px; position: absolute; left: 0; top: 0; } } // 商品标题 .title-content { // padding: 84px 0 56px 20px; padding-left: 18px; .Pro-title { .title-text { width: 375px; overflow: hidden; text-overflow: ellipsis; // display: -webkit-box; //必须要 -webkit-line-clamp: 1; -webkit-box-orient: vertical; // word-break: break-all; /* 多出文本省略号代替 */ text-align: left; font-size: 24px; // padding-bottom: 10px; } } .title-money { // padding-top: 34px; font-size: 24px; // color: red; font-weight: 800; } .title-money-2 { font-size: 18px; color: rgba(102, 102, 102, 0.8); padding-left: 10px; text-decoration: line-through; } .title-time { font-size: 24px; // padding-top: 20px; color: #c0c8d3; } .title-position-on { display: flex; font-size: 20px; .title-position { width: 18px; height: 24px; padding-right: 10px; padding-top: 5px; } .title-position-image { align-items: center; font-size: 20px; color: #333; } .title-on { // margin-bottom: 10px; padding-top: 5px; padding-left: 40px; width: 21px; height: 21px; padding-right: 10px; } } .title-on-text { align-items: center; font-size: 20px; color: #333; } } } // .left-complete-one:nth-child(2) { // background: rgb(182, 0, 0); // padding-top: 10px; // } }