.tradeDetail { .orderType { padding: 30px 0 72px; background: var(--van-primary); text-align: center; color: #fff; font-size: 24px; &>p { display: flex; align-items: center; justify-content: center; span { padding-top: 8px; padding-left: 13px; } } } .orderImg { width: 42px; height: 47px; } &.FAILED, &.CLOSE { .orderType { background-color: #bdbdbd; } .orderContent::before { background: url('./images/icon_close_block.png') no-repeat center; background-size: contain; } } &.ING { .orderType { background-color: #ff802c; } .orderContent::before { background: url('./images/icon_paying_block.png') no-repeat center; background-size: contain; } } .orderContent { border-radius: 0px 0px 10px 10px; margin: -30px 16px 0; position: relative; &::before { content: ' '; position: absolute; top: -6px; left: -8px; right: -8px; height: 14px; background: url('./images/icon_success_block.png') no-repeat center; background-size: contain; } &.orderContentTenant { &::before { background: url('./images/icon_success_block_tenant.png') no-repeat center; background-size: contain; } } .payPrice { color: #333; font-size: 32px; text-align: center; font-weight: 500; padding: 10px 0 5px; &>span { font-size: 12px; } } } .tradeLogo { width: 35px; height: 35px; border-radius: 50%; margin-right: 10px; overflow: hidden; } .title, .content { padding-top: 1px; display: flex; justify-content: space-between; flex-direction: column; line-height: 18px; color: #333333; font-size: 14px; } .desc, .num { padding-top: 3px; font-size: 13px; color: #999999; } .optionRow { line-height: 26px; display: flex; position: relative; padding-bottom: 15px; box-sizing: border-box; color: #333333; font-size: 14px; :global { .van-col { display: flex; line-height: 1.5; } .van-col--8 { color: #999999; justify-content: flex-start; } .van-col--14 { justify-content: flex-end; word-break: break-word; /* 文本行的任意字内断开 */ word-wrap: break-word; /* IE */ white-space: -moz-pre-wrap; /* Mozilla */ white-space: -hp-pre-wrap; /* HP printers */ white-space: -o-pre-wrap; /* Opera 7 */ white-space: -pre-wrap; /* Opera 4-6 */ white-space: pre; /* CSS2 */ white-space: pre-wrap; /* CSS 2.1 */ white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */ } } } }