.previewCard { width: 100vw; min-height: 100vh; background-color: #f1f1f1; width: 100vw; min-height: 100vh; background-color: #f1f1f1; .detail-top { width: 100%; height: 100%; position: relative; z-index: 999; @include flex(flex-start, null); position: relative; .back-box{ width: 100rpx; position: relative; z-index: 2; } .top-text { width: 100%; position: absolute; top: 50%; transform: translateY(-50%); left: 0; text-align: center; font-size: 32rpx; font-weight: 600; color: #000; } } .seat { width: 100%; height: 16rpx; } .box-bg { width: 100%; height: 393rpx; // background: linear-gradient(233deg, #8CCBFF 24%, #CDE9FF 71%); // background: ; background-image: linear-gradient( to bottom, #8ccbff 0%, #cde9ff 71%, #f1f1f1 100% ); position: fixed; top: 0; left: 0; } .card-box { padding-top: 52rpx; box-sizing: border-box; @include flex(center, column, null); position: relative; .card-bg { position: absolute; top: 16rpx; left: 50%; transform: translateX(-50%); image { width: 705rpx; } } .seat-list { height: 120rpx; width: 690rpx; position: absolute; left: 50%; transform: translateX(-50%); bottom: -112rpx; border-radius: 0 0 16rpx 16rpx; background-color: #ffffff; @include flex(center, null, null); .seat-item { flex: 1; color: #2566ee; font-size: 26rpx; @include flex(center, null, 8rpx); image { width: 32rpx; height: 32rpx; } } } } .brief { width: 100%; margin-top: 136rpx; padding: 0 30rpx; box-sizing: border-box; .brief-item { padding: 24rpx 32rpx 32rpx 32rpx; box-sizing: border-box; border-radius: 16rpx; background-color: #ffffff; margin-top: 24rpx; .item-title { width: 100%; border-bottom: 1rpx solid #d8e0f1; font-size: 28rpx; color: rgba(0, 0, 0, 0.9); padding-bottom: 24rpx; } .item-container { padding-top: 24rpx; font-size: 24rpx; color: #606e84; line-height: 36rpx; } } } .footer { position: fixed; left: 0; bottom: 0; z-index: 2; width: 100vw; margin-top: 24rpx; padding-bottom: constant(safe-area-inset-bottom); //兼容 IOS<11.2 padding-bottom: env(safe-area-inset-bottom); //兼容 IOS>11.2 background-color: #ffffff; .btn-list { width: 100%; height: 112rpx; padding: 0 30rpx; box-sizing: border-box; @include flex(space-between, null, null); button { width: 690rpx; height: 88rpx; border-radius: 16rpx; font-size: 28rpx; text-align: center; line-height: 88rpx; &:nth-of-type(1) { color: #1472ff; border: 2rpx solid #1472ff; box-sizing: border-box; } } } } }