| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163 |
- /* 支付界面样式 */
- .pay-view-overlay {
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background: rgba(0, 0, 0, 0.6);
- display: flex;
- align-items: center;
- justify-content: center;
- z-index: 1000003;
- opacity: 0;
- transition: opacity 0.3s ease;
- pointer-events: none;
- }
- .pay-view-overlay.show {
- opacity: 1;
- pointer-events: auto;
- }
- .pay-view-container {
- background: white;
- border-radius: 12px;
- width: 90%;
- max-width: 480px;
- max-height: 90vh;
- overflow: hidden;
- box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
- transform: scale(0.9);
- transition: transform 0.3s ease;
- }
- .pay-view-overlay.show .pay-view-container {
- transform: scale(1);
- }
- .pay-view-header {
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 20px 24px;
- border-bottom: 1px solid #e5e5e5;
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
- color: white;
- }
- .pay-view-title {
- margin: 0;
- font-size: 18px;
- font-weight: 600;
- }
- .pay-view-close {
- background: none;
- border: none;
- color: white;
- font-size: 28px;
- line-height: 1;
- cursor: pointer;
- padding: 0;
- width: 32px;
- height: 32px;
- display: flex;
- align-items: center;
- justify-content: center;
- border-radius: 4px;
- transition: background 0.2s;
- }
- .pay-view-close:hover {
- background: rgba(255, 255, 255, 0.2);
- }
- .pay-view-content {
- padding: 32px 24px;
- }
- .pay-info {
- text-align: center;
- margin-bottom: 32px;
- }
- .pay-item-name {
- font-size: 18px;
- font-weight: 600;
- color: #333;
- margin-bottom: 8px;
- }
- .pay-item-price {
- font-size: 32px;
- font-weight: 700;
- color: #667eea;
- margin-bottom: 4px;
- }
- .qr-code-container {
- text-align: center;
- margin-bottom: 32px;
- }
- .qr-code-placeholder {
- display: inline-block;
- padding: 20px;
- background: white;
- border: 2px solid #e5e5e5;
- border-radius: 8px;
- margin-bottom: 16px;
- }
- .qr-code-hint {
- font-size: 16px;
- color: #666;
- margin: 8px 0;
- }
- .qr-code-tip {
- font-size: 14px;
- color: #999;
- margin: 4px 0;
- }
- .pay-view-actions {
- display: flex;
- justify-content: center;
- gap: 12px;
- }
- .pay-confirm-btn,
- .pay-cancel-btn {
- flex: 1;
- padding: 12px 24px;
- border: none;
- border-radius: 8px;
- font-size: 16px;
- font-weight: 500;
- cursor: pointer;
- transition: all 0.2s;
- }
- .pay-confirm-btn {
- background: linear-gradient(135deg, #52c41a 0%, #389e0d 100%);
- color: white;
- box-shadow: 0 2px 8px rgba(82, 196, 26, 0.3);
- }
- .pay-confirm-btn:hover {
- transform: translateY(-1px);
- box-shadow: 0 4px 12px rgba(82, 196, 26, 0.4);
- }
- .pay-cancel-btn {
- background: #f5f5f5;
- color: #666;
- }
- .pay-cancel-btn:hover {
- background: #e5e5e5;
- }
|