.index { background-color: #f9f9f9; min-height: 100vh; padding-bottom: 140px; .swiper { width: 100%; height: 730px; background-color: red; .swiper-img { width: 100%; height: 100%; } } // 商品详情 .product-info { padding: 17px; border-radius: 20px; background-color: #fff; margin: 16px 16px 0 16px; .product-name { font-size: 32px; line-height: 46px; font-weight: 700; .self-tag { display: inline-block; padding: 2px 8px; background: #FFD43A; border-radius: 4px; color: #803A04; font-size: 24px; line-height: 28px; margin-right: 8px; vertical-align: middle; } } .price-tag-row { margin-top: 16px; display: flex; justify-content: space-between; align-items: center; .price-box { .current-price { font-size: 36px; color: #FF1D17; margin-right: 7px; line-height: 35px; .currency { font-size: 24px; } } .original-price { font-size: 26px; line-height: 38px; color: #ABABAB; text-decoration: line-through; } } .tag-box { .tag { padding: 2px 17px; border-radius: 20px; font-size: 24px; line-height: 38px; border: 1px solid #FF1D17; color: #FF1D17; } } } .divider { height: 1px; background: #D8D8D8; margin: 12px 0; } .product-number-row { display: flex; align-items: center; .number-label { color: #ABABAB; font-size: 26px; margin-right: 10px; } .copy-btn { color: #FF311B; font-size: 28px; } } } // 商品标签 .product-tag-row { margin: 20px 16px 0 16px; display: flex; justify-content: space-between; padding: 22px 17px; box-sizing: border-box; background-color: #fff; border-radius: 20px; .tag-item { display: flex; align-items: center; .tag-text { font-size: 24px; color: #666666; line-height: 35px; } image { width: 24px; height: 24px; margin-right: 4px; } } } // 猜你喜欢 .guess-you-like { display: flex; align-items: center; justify-content: center; padding: 20px 0; margin: 20px 16px 0 16px; background-color: #fff; border-radius: 20px; image { width: 34px; height: 34px; margin-right: 5px; } .title { color: #000000; line-height: 36px; font-size: 31px; font-weight: 500; } } // 底部购买模块 .bottom-buy { width: 100%; background-color: #fff; height: 126px; padding: 19px 35px 19px 44px; box-sizing: border-box; position: fixed; bottom: 0; display: flex; justify-content: space-between; align-items: center; .bottom-buy-left { display: flex; flex-direction: column; image { width: 38px; height: 36px; margin-bottom: 7px; } .bottom-buy-text { font-size: 22px; line-height: 32px; color: #000000; } } .bottom-buy-right { width: 576px; height: 100%; display: flex; border-radius: 60px; overflow: hidden; .bottom-buy-right-self,.bottom-buy-right-share{ line-height: 43px; font-size: 30px; width: 50%; display: flex; justify-content: center; align-items: center; image{ margin-right: 9px; } } .bottom-buy-right-self{ background-color: #fbe00f; color: #000000; image{ width: 47px; height: 46px; } } .bottom-buy-right-share{ background-color: #ff1c14; color: #fff; image{ width: 45px; height: 31px; } } } .bottom-buy-right-btn{ width: 586px; height: 100%; background: linear-gradient(90deg, #ff881b 0%, #fe6234 100%); border-radius: 60px; display: flex; justify-content: center; align-items: center; .bottom-buy-text{ color: #fff; font-size: 28px; line-height: 41px; font-weight: 700; } } } .back-btn { position: fixed; left: 20px; top: calc(20px + var(--taro-navigationBarHeight)); width: 72px; height: 72px; padding-right: 6px; padding-top: 4px; box-sizing: border-box; background: rgba(255, 255, 255, 0.5); border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 100; } }