page { background-color: #f7f7f7; padding: 30rpx; box-sizing: border-box; } /* 票券 */ .vouchers { background: white; border-radius: 20rpx; margin-bottom: 30rpx; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; position: relative; } .vouchers-icon { position: absolute; width: 100rpx; height: 100rpx; z-index: 1; top: 15%; left: 53%; opacity: .5; } .vouchers-info { position: relative; padding: 20rpx 30rpx; font-size: 28rpx; border-right: dashed 2rpx #ddd; width: calc(100% - 200rpx); box-sizing: border-box; } .vouchers-info::after, .vouchers-info::before { content: " "; height: 22rpx; width: 22rpx; background: #f7f7f7; position: absolute; right: -11rpx; border-radius: 50%; } .vouchers-info::after { top: -11rpx; } .vouchers-info::before { bottom: -11rpx; } .vouchers-info-item { line-height: 40rpx; font-size: 26rpx; color: gray; } .vouchers-info-item.bold { font-weight: bold; } .vouchers-info-item.title { font-size: 30rpx; margin-bottom: 10rpx; font-weight: bold; color: #333; } .vouchers-btns { width: 200rpx; text-align: center; } .vouchers-btn { background: #da2b56; color: white; line-height: 60rpx; border-radius: 30rpx; width: 150rpx; font-size: 26rpx; display: inline-block; } /* 核销凭证弹出层 */ .lay-back { top: 0; left: 0; position: fixed; width: 100vw; height: 100vh; z-index: 998; background-color: rgba(0, 0, 0, .5); display: none; } .lay-back.active { display: block; } .lay-info { width: 100vw; box-sizing: border-box; padding-bottom: 50rpx; position: fixed; left: 0; bottom: 0; z-index: 999; background-color: #ffffff; display: none; transition: .2s; height: 65vh; overflow-y: scroll; } .lay-info.active { display: block; } .lay-title { font-size: 40rpx; font-weight: bold; text-align: center; color: #333; line-height: 60rpx; padding: 50rpx; position: relative; } .lay-title-icon { position: absolute; right: 30rpx; top: 44rpx; width: 40rpx; height: 40rpx; } .lay-content { padding: 0 40rpx; } .lay-item { display: flex; justify-content: space-between; font-size: 30rpx; padding: 10rpx 0; line-height: 40rpx; } .lay-item label { color: gray; width: 160rpx; } .lay-item-val { width: calc(100% - 160rpx); } .lay-item-val.bold { color: #da2b56; font-weight: bold; } .lay-border { border-bottom: dashed 2rpx #ddd; margin: 40rpx 0; } .lay-btns { padding: 40rpx; } button.lay-btn { width: 100%; margin: 0; background: #da2b56; color: white; height: 90rpx; line-height: 90rpx; padding: 0; border-radius: 45rpx; } button.lay-btn ::after { display: none; } button.lay-btn [disabled] { opacity: .7; }