.order-box { top: 50%; position: relative; transform: translateY(-50%); $color-opt: $wechat-color-colorMap; .order-ins { position: absolute; right: 15px; top: 15px; font-size: 12px; text-align: center; line-height: 1.2; display: none; } .icon-ins { background: url('/app/img/insurance.svg') no-repeat center; background-size: 100%; width: 64px; height: 64px; display: inline-block; } .order-info { border: 2px map-get($color-opt, 'primary') solid; border-bottom: none; border-radius: 10px 10px 0 0; padding: 5px 10px; } .order-row { padding: 2px 5px; } .order-lab { display: inline-block; width: 5em; font-size: 13px; } .order-value { display: inline-block; font-size: 13px; } .order-split { position: relative; border-top: 2px map-get($color-opt, 'primary') dashed; &:before { content: ""; position: absolute; width: 8px; height: 8px; top: -5px; left: 0; border-radius: 50%; background: map-get($color-opt, 'primary') } &:after { content: ""; position: absolute; width: 8px; height: 8px; top: -5px; right: 0; border-radius: 50%; background: map-get($color-opt, 'primary') } } .order-p-b { background: #fff; border: 2px map-get($color-opt, 'primary') solid; border-top: none; border-radius: 0 0 10px 10px; } .order-status { //不能占太多的空间,否则小票在微信点击页面显示不下 padding: 10px 0; } .order-icon { font-size: 60px; width: 100px; height: 60px; line-height: 60px; margin: 0 auto; text-align: center; &.loading { width: 50px; height: 50px; color: map-get($color-opt, 'blue'); border-radius: 50%; position: relative; border: 3px solid map-get($color-opt, 'blue'); border-left: 3px solid #ffffff; transform: translateZ(0); animation: rotate 1.1s infinite linear; } &.icon-close-dark { color: map-get($color-opt, 'red'); } &.icon-success { color: map-get($color-opt, 'green'); } } .order-tips { text-align: center; margin-top: 5px; } .order-sub-tips { text-align: center; } .order-btn-row { padding: 10px 10px; text-align: center; display: flex; -webkit-box-pack: justify; justify-content: space-evenly; margin-top: 5px; } .order-btn { padding: 0 15px; height: 38px; line-height: 38px; font-size: 16px; border-radius: 6px; box-sizing: border-box; color: #fff; background: map-get($color-opt, 'primary'); i { font-size: 18px; } &.hide { display: none; } } .order-btn:first-child { background: map-get($color-opt, 'blue'); } } @keyframes rotate { 0% { transform: rotate(0); } 50% { transform: rotate(180deg); } 100% { transform: rotate(360deg); } }