.ticket { position: relative; width: 100%; height: 110px; background: #474956; border-radius: 3px; padding: 0 14px; } .ticket::before { content: ''; display: block; position: absolute; width: 14px; height: 14px; border-radius: 50%; top: 63px; left: -7px; background: #373946; } .ticket::after { content: ''; display: block; position: absolute; width: 14px; height: 14px; border-radius: 50%; top: 63px; right: -7px; background: #373946; } .ticket.detail { height: 342px; } .ticket.detail::before { content: ''; display: block; position: absolute; width: 14px; height: 14px; border-radius: 50%; top: 63px; left: -7px; background: #292c3c; } .ticket.detail::after { content: ''; display: block; position: absolute; width: 14px; height: 14px; border-radius: 50%; top: 63px; right: -7px; background: #292c3c; } .ticket.big { height: 214px; margin-bottom: 10px; } .ticket.big::before { content: ''; display: block; position: absolute; width: 14px; height: 14px; border-radius: 50%; top: 63px; left: -7px; background: #292c3c; } .ticket.big::after { content: ''; display: block; position: absolute; width: 14px; height: 14px; border-radius: 50%; top: 63px; right: -7px; background: #292c3c; } .ticket.has-next { margin-bottom: 8px; } .ticket .r1 { box-sizing: border-box; position: relative; width: 100%; height: 70px; border-bottom: 1px dashed #1b1a21; } .ticket .r1 .logo { position: absolute; top: 14px; left: 3x; width: 42px; height: 42px; border-radius: 2px; background: #fff; } .ticket .r1 .shop { text-align: right; font-size: 16px; font-family: SourceHanSansCN, SourceHanSansCN-Regular; font-weight: 400; text-align: right; color: rgba(255, 255, 255, 0.8); line-height: 32px; padding-top: 8px; } .ticket .r1 .floor { text-align: right; font-size: 16px; font-family: SourceHanSansCN, SourceHanSansCN-Regular; font-weight: 400; text-align: right; color: rgba(255, 255, 255, 0.8); line-height: 18px; } .ticket .r1 .meta { padding-left: 59px; font-size: 12px; font-family: SourceHanSansCN, SourceHanSansCN-Regular; font-weight: 400; line-height: 36px; margin-top: 5px; color: rgba(255, 255, 255, 0.8); } .ticket .r1 .name { padding-left: 59px; font-size: 14px; line-height: 14px; font-family: SourceHanSansCN, SourceHanSansCN-Bold; font-weight: 700; color: #d6ab7e; } .ticket .r1 .btn { position: absolute; right: 3px; top: 20px; width: 64px; height: 28px; background: #d6ab7e; border-radius: 16px; font-size: 12px; font-family: SourceHanSansCN, SourceHanSansCN-Regular; font-weight: 400; text-align: center; color: #373338; line-height: 28px; min-height: 28px; padding: 0; } .ticket .r1 .btn.disabled { background: #666; color: rgba(255, 255, 255, 0.8); } .ticket .r2 { line-height: 40px; font-size: 10px; font-family: SourceHanSansCN, SourceHanSansCN-Regular; font-weight: 400; text-align: left; color: rgba(255, 255, 255, 0.8); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ticket .r2.hasr3 { margin-top: 8px; line-height: 10px; } .ticket .r3 { margin-top: 4px; margin-bottom: 8px; line-height: 10px; font-size: 10px; font-family: SourceHanSansCN, SourceHanSansCN-Regular; font-weight: 400; text-align: left; color: rgba(255, 255, 255, 0.4); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ticket .r2 .name { font-size: 18px; font-family: SourceHanSansCN, SourceHanSansCN-Bold; font-weight: 700; color: #ffffff; line-height: 34px; margin-top: 7px; } .ticket.detail .r2 { text-align: center; } .ticket.detail .r2 .meta { text-align: center; } .ticket .r2 .qrcode { display: inline-block; width: 110px; height: 110px; background: #ffffff; border-radius: 2px; padding: 10px; box-sizing: border-box; margin-top: 25px; } .ticket .r2 .code { font-size: 18px; font-family: DINPro, DINPro-Bold; font-weight: 700; text-align: center; color: #ffffff; line-height: 18px; } .ticket .r2 .meta { font-size: 12px; font-family: SourceHanSansCN, SourceHanSansCN-Regular; font-weight: 400; text-align: left; color: rgba(255, 255, 255, 0.4); line-height: 12px; } .ticket .r2 .time { font-size: 12px; font-family: DINPro, DINPro-Regular; font-weight: 400; color: #ffffff; line-height: 15px; margin-top: 34px; } .ticket.detail .r2 .time { margin-top: 13px; } .ticket .r2 .time::before { content: attr(data-label); color: rgba(255, 255, 255, 0.6); } .ticket .r2 .loc { font-size: 12px; font-family: DINPro, DINPro-Regular; font-weight: 400; color: #ffffff; line-height: 12px; margin-top: 9px; } .ticket .r2 .loc::before { content: attr(data-label); color: rgba(255, 255, 255, 0.6); }