@whiteColor: #fff; @Image-ProCard_hot: "../../assets/icons/ProCard/ProCard_hot.png"; .container { width: 100%; .item-center-Number { width: 100%; margin-top: 30px; .buy-num-minus { display: inline-block; width: 60px; height: 60px; background: #ffffff; border: 1px solid #999999; border-radius: 8px 0px 0px 8px; } .buy-num-input { display: inline-block; width: 90px; height: 60px; font-size: 28px; font-weight: 400; color: #202020; background: #ffffff; border: 1px solid #999999; position: relative; top: 26px; } .buy-num-add { display: inline-block; width: 60px; height: 60px; background: #ffffff; border: 1px solid #999999; border-radius: 0px 8px 8px 0px; } } .buy-button-box { width: 100%; margin: 40px 0 0 0; .button-Cancel { display: inline-block; width: 236px; height: 78px; border: 2px solid #274291; font-size: 30px; font-weight: bold; color: #274291; border-radius: 12px; margin-right: 80px; } .button-OK { display: inline-block; width: 236px; height: 78px; background: #274291; border-radius: 12px; font-size: 30px; font-weight: bold; color: #ffffff; } } .wrapper { 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)); .left-complete-one { padding-top: 87px; 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: 573px; 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: 24px; color: @whiteColor; font-weight: 600; } //图片 .title-image { width: 145px; margin-left: 20px; border-radius: 24px; overflow: hidden; position: relative; .image-1 { width: 100%; height: 145px; } .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: #666; padding-left: 10px; text-decoration: line-through; } .title-time { font-size: 24px; padding-top: 20px; color: #c0c8d3; } } } } .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: 100px; // height: 80px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); // border: 1px solid red; .right-number { width: 40px; font-size: 20px; border-radius: 4px; border: 2px solid #999; margin: auto; text-align: center; } .right-title { font-weight: 700; font-size: 24px; padding-top: 20px; text-align: center; } } } //线条 .right-complete-two::after { content: ""; position: absolute; top: 15px; margin: 26px auto; height: 70%; border-left: 1px dashed #595959; } .view-button { position: fixed; bottom: 0px; .Card-number-box { .Card-number { width: 100%; height: 96px; background-color: @whiteColor; } .Card-user { width: 100%; height: 96px; background-color: @whiteColor; } } .button-box-button-box { position: relative; .button-text-image { width: 144; height: 45px; position: absolute; top: -35px; left: 267px; right: 305px; z-index: 1; .button-text-money-hot { position: absolute; width: 144px; height: 43px; line-height: 43px; font-size: 24px; font-weight: bold; color: @whiteColor; } .button-image { width: 143px; height: 43px; } .button-text-money { position: absolute; margin-top: -8; width: 157px; font-size: 18px; font-weight: 400; text-decoration: line-through; color: @whiteColor; } } .button-box-one { font-size: 30px; line-height: 92px; margin-top: 3em; background-color: #274190; border-radius: 12px; width: 690px; height: 92px; color: @whiteColor; // position: absolute; bottom: 40px; right: 0; left: 0; .button-text-one { right: 133px; font-size: 30px; padding-left: 220px; } } } } }