选择平台

<<<<<<< HEAD ======= >>>>>>> feature_zhifu_template!important; } } .vp-pc-header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.08); } .vp-pc-header-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; height: 64px; display: flex; align-items: center; justify-content: space-between; } .vp-pc-header-left { display: flex; align-items: center; gap: 40px; } .vp-pc-logo img { max-height: 40px; max-width: 150px; } .vp-pc-logo span { font-size: 20px; font-weight: 700; color: #202223; } .vp-pc-nav { display: flex; gap: 30px; } .vp-pc-nav-link { font-size: 14px; font-weight: 500; color: #202223; padding: 20px 0; } .vp-pc-nav-link:hover { color: #127764; } .vp-pc-header-right { display: flex; align-items: center; gap: 20px; } .vp-pc-search-form { display: flex; align-items: center; background: #f6f6f7; border-radius: 8px; padding: 0 12px; } .vp-pc-search-form input { border: none; background: transparent; padding: 10px 8px; width: 200px; font-size: 14px; outline: none; } .vp-pc-search-form button { background: none; border: none; cursor: pointer; color: #6d6f72; padding: 8px; } .vp-pc-user { display: flex; align-items: center; gap: 15px; } .vp-pc-user-info img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; } .vp-pc-login-btn { padding: 8px 16px; background: #127764; color: #fff; border-radius: 8px; font-size: 14px; } .vp-pc-cart { font-size: 20px; position: relative; } .vp-cart-badge { position: absolute; top: -6px; right: -8px; background: #127764; color: #fff; font-size: 11px; min-width: 18px; height: 18px; border-radius: 9px; display: flex; align-items: center; justify-content: center; } .vp-mobile-header { position: fixed; top: 0; left: 0; right: 0; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); z-index: 100; } .vp-mobile-header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0 12px; height: 56px; background-color: #fff; } .vp-back-btn, .vp-home-btn { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: #202223; text-decoration: none; } .vp-back-btn i, .vp-home-btn i { font-size: 22px; } .vp-mobile-title { flex: 1; text-align: center; font-size: 16px; font-weight: 600; color: #202223; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 8px; } .vp-goodsdetail-main { min-height: calc(100vh - 64px); background: #f6f6f7; padding: 24px 0; } @media (max-width: 991px) { .vp-goodsdetail-main { padding: 0 0 120px; } } .vp-container { max-width: 1200px; margin: 0 auto; padding: 0 15px; } .vp-pc-detail { background: #fff; border-radius: 12px; padding: 32px; } .vp-detail-layout { display: flex; gap: 40px; } .vp-detail-left { flex: 1; min-width: 0; } .vp-detail-right { flex: 1; min-width: 0; } .vp-detail-gallery { position: sticky; top: 88px; } .vp-main-image { width: 100%; aspect-ratio: 1; background: #f6f6f7; border-radius: 12px; overflow: hidden; margin-bottom: 16px; } .vp-main-image img { width: 100%; height: 100%; object-fit: cover; } .vp-thumbnail-list { display: flex; gap: 12px; overflow-x: auto; } .vp-thumbnail-item { width: 80px; height: 80px; flex-shrink: 0; border-radius: 8px; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: all 0.2s; } .vp-thumbnail-item.active { border-color: #127764; } .vp-thumbnail-item img { width: 100%; height: 100%; object-fit: cover; } .vp-detail-info { padding-left: 32px; } .vp-detail-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; } .vp-detail-tag { font-size: 12px; padding: 4px 10px; background: #E8F5F0; color: #127764; border-radius: 4px; } .vp-detail-rating { display: flex; align-items: center; gap: 4px; font-size: 14px; color: #202223; margin-left: auto; } .vp-detail-rating i { color: #e3a614; } .vp-rating-count { color: #6d6f72; } .vp-detail-title { font-size: 24px; font-weight: 600; color: #202223; margin-bottom: 16px; line-height: 1.4; } .vp-detail-price { display: flex; align-items: baseline; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid #e1e3e5; } .vp-price-symbol { font-size: 20px; font-weight: 600; color: #202223; } .vp-price-value { font-size: 32px; font-weight: 700; color: #202223; } .vp-sku-section { margin-bottom: 20px; } .vp-sku-name { font-size: 14px; font-weight: 500; color: #202223; margin-bottom: 12px; } .vp-sku-options { display: flex; flex-wrap: wrap; gap: 8px; } .vp-sku-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; font-size: 14px; color: #202223; background: #fff; border: 1px solid #d1d4d8; border-radius: 6px; cursor: pointer; transition: all 0.2s; } .vp-sku-btn:hover, .vp-sku-btn.active { border-color: #127764; color: #127764; background: #E8F5F0; } .vp-sku-btn img { width: 24px; height: 24px; border-radius: 4px; object-fit: cover; } .vp-quantity-section { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; } .vp-quantity-label { font-size: 14px; font-weight: 500; color: #202223; } .vp-quantity-control { display: flex; align-items: center; border: 1px solid #d1d4d8; border-radius: 8px; overflow: hidden; } .vp-qty-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #202223; background: #f6f6f7; border: none; cursor: pointer; } .vp-qty-btn:hover { background: #E8F5F0; } .vp-qty-input { width: 60px; height: 40px; text-align: center; font-size: 14px; border: none; border-left: 1px solid #d1d4d8; border-right: 1px solid #d1d4d8; outline: none; } .vp-action-buttons { display: flex; gap: 12px; } .vp-btn-lg { flex: 1; padding: 14px 24px; font-size: 15px; min-height: 48px; } .vp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 8px; font-size: 14px; font-weight: 500; cursor: pointer; border: 1px solid transparent; transition: all 0.2s; } .vp-btn-primary { background: #127764; color: #fff; } .vp-btn-primary:hover { background: #0D5A4B; } .vp-btn-outline { background: #fff; border-color: #127764; color: #127764; } .vp-btn-outline:hover { background: #E8F5F0; } .vp-btn-share { background: #fff; border-color: #e1e3e5; color: #202223; } .vp-btn-share:hover { background: #f6f6f7; } .vp-detail-description { margin-top: 40px; padding-top: 40px; border-top: 1px solid #e1e3e5; } .vp-section-title { font-size: 20px; font-weight: 600; color: #202223; margin-bottom: 20px; } .vp-description-content { font-size: 14px; color: #6d6f72; line-height: 1.8; } .vp-description-content img { max-width: 100%; height: auto; margin: 0 auto; } .vp-mobile-detail { background: #fff; padding-top: 6px; } .vp-mobile-info { padding: 20px 16px; } .vp-mobile-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; } .vp-tag { font-size: 11px; padding: 3px 8px; background: #E8F5F0; color: #127764; border-radius: 4px; } .vp-mobile-title { font-size: 18px; font-weight: 600; color: #202223; margin-bottom: 12px; line-height: 1.4; } .vp-mobile-rating { display: flex; align-items: center; gap: 4px; font-size: 13px; color: #6d6f72; margin-bottom: 12px; } .vp-mobile-rating i { color: #e3a614; } .vp-mobile-price { display: flex; align-items: baseline; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #e1e3e5; } .vp-mobile-price .vp-price-symbol { font-size: 16px; } .vp-mobile-price .vp-price-value { font-size: 24px; } .vp-sku-label { font-size: 14px; font-weight: 500; color: #202223; margin-bottom: 12px; } .vp-sku-scroll { overflow-x: auto; padding-bottom: 8px; } .vp-m-sku-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; font-size: 13px; color: #202223; background: #fff; border: 1px solid #d1d4d8; border-radius: 6px; white-space: nowrap; cursor: pointer; transition: all 0.2s; max-width: 150px; overflow: hidden; text-overflow: ellipsis; margin-bottom: 6px; } .vp-m-sku-btn.active { border-color: #127764; color: #127764; background: #E8F5F0; } .vp-m-sku-btn img { width: 20px; height: 20px; border-radius: 4px; object-fit: cover; } .vp-mobile-quantity { display: flex; align-items: center; gap: 16px; } .vp-mobile-description { padding: 20px 16px; background: #f6f6f7; } .vp-mobile-description .vp-section-title { font-size: 16px; margin-bottom: 12px; } .vp-mobile-action-bar { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; box-shadow: 0 -1px 10px rgba(0,0,0,0.08); padding: 12px 16px; display: none; align-items: center; justify-content: space-between; z-index: 100; } @media (max-width: 991px) { .vp-mobile-action-bar { display: flex; } } .vp-action-icons { display: flex; gap: 20px; } .vp-action-icon { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10px; color: #6d6f72; text-decoration: none; } .vp-action-icon i { font-size: 20px; } .vp-mobile-action-bar .vp-action-buttons { flex: 1; justify-content: flex-end; gap: 8px; } .vp-mobile-action-bar .vp-btn { padding: 10px 16px; font-size: 13px; } .vp-empty-state { text-align: center; padding: 60px 20px; background: #fff; border-radius: 12px; } .vp-empty-state img { width: 120px; margin: 0 auto 20px; } .vp-empty-state h3 { font-size: 18px; font-weight: 600; margin-bottom: 16px; color: #202223; } .vp-share-popup { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 9999; background: rgba(0,0,0,0.5); justify-content: center; align-items: flex-end; } .vp-share-popup.show { display: flex; } .vp-share-content { background: #fff; width: 100%; max-width: 500px; border-radius: 16px 16px 0 0; padding: 20px; animation: slideUp 0.3s ease; } @keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } } .vp-share-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; font-size: 16px; font-weight: 600; } .vp-share-close { font-size: 24px; color: #6d6f72; padding: 4px; } .vp-share-buttons { display: flex; gap: 20px; justify-content: center; } .vp-share-link { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px; border: none; background: #f6f6f7; border-radius: 12px; cursor: pointer; min-width: 80px; } .vp-share-link:hover { background: #e8e8e8; } .vp-share-link span { font-size: 12px; color: #202223; } ======= >>>>>>> feature_zhifu_template