page { background-color: #f6f6f6; font-size: 28rpx; font-weight: 400; color: #333; } .pb20 { padding-bottom: 40rpx; } .mb20 { margin-bottom: 40rpx; } .pb100 { padding-bottom: 100rpx; } .i-load-more { width: 65%; font-size: 24rpx; display: flex; align-items: center; justify-content: center; margin: 60rpx auto; } .i-load-more-loading { display: inline-block; margin-right: 24rpx; vertical-align: middle; width: 28rpx; height: 28rpx; background: 0 0; border-radius: 50%; border: 4rpx solid #e9eaec; border-color: #e9eaec #e9eaec #e9eaec #2d8cf0; animation: btn-spin 0.6s linear; animation-iteration-count: infinite; } .i-load-more-tip { display: inline-block; vertical-align: middle; color: #999; } .i-load-more-line { display: flex; border-top: 0; } .i-load-more-line .i-load-more-tip { position: relative; top: -.1em; padding: 0 0.55em; } .i-load-more-empty { width: 8rpx; height: 8rpx; border-radius: 50%; background-color: #e5e5e5; display: inline-block; position: relative; vertical-align: 0; top: -.16em; } @-webkit-keyframes btn-spin { 0% { transform: rotate(0); } 100% { transform: rotate(360deg); } } @keyframes btn-spin { 0% { transform: rotate(0); } 100% { transform: rotate(360deg); } } /**授权登录begin**/ .i-as { position: fixed; width: 100%; box-sizing: border-box; left: 0; right: 0; bottom: 0; background: #fff; transform: translate3d(0, 100%, 0); transform-origin: center; transition: all 0.2s ease-in-out; z-index: 900; visibility: hidden; border-radius: 30rpx 30rpx 0 0; } .i-as-mask { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.7); z-index: 900; transition: all 0.2s ease-in-out; opacity: 0; visibility: hidden; } .i-as-mask-show { opacity: 1; visibility: visible; } .i-as-show { transform: translate3d(0, 0, 0); visibility: visible; } .i-modal-content { position: fixed; overflow: auto; top: 0; right: 0; bottom: 0; left: 0; z-index: 1000; display: flex; width: auto; height: auto; outline: 0; -webkit-box-align: center; align-items: center; -webkit-box-pack: center; justify-content: center; transform: translateZ(2rpx); opacity: 0; visibility: hidden; } .i-modal-show { visibility: visible; opacity: 1; } .ipx { padding-bottom: 40rpx; } .auth-content { width: 520rpx; height: 660rpx; background: #fff; border-radius: 24rpx; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; margin: 60px auto; } .auth-content .bg { width: 520rpx; height: 354rpx; position: absolute; top: 0; left: 0; } .auth-content .h1 { color: #444; font-size: 32rpx; margin-bottom: 20rpx; } .auth-content .h2 { font-size: 24rpx; line-height: 36rpx; color: #999; width: 408rpx; margin-bottom: 44rpx; } .auth-content .h2 p { text-align: center; display: block; } .auth-content .confirm { width: 432rpx; height: 72rpx; color: #fff; background: linear-gradient(to left, #ff2756, #ff2f30); font-size: 32rpx; line-height: 72rpx; border-radius: 12rpx; margin: 0 0 30rpx; } /**授权登录end**/ /**首页规格弹窗begin ***/ .sku-content { position: fixed; bottom: 0px; z-index: 9999; } .sku-card { width: 750rpx; box-sizing: border-box; border-radius: 30rpx 30rpx 0 0; background: #fff; overflow: hidden; padding: 40rpx 40rpx 0 40rpx; } .sku-card .close { position: absolute; right: 28rpx; top: 28rpx; width: 40rpx; height: 40rpx; display: flex; align-items: center; justify-content: center; } .sku-card .close image { width: 26rpx; height: 26rpx; } .sku-card .sku-header { display: flex; align-items: flex-start; margin-bottom: 40rpx; } .sku-card .sku-header .sku-img { width: 160rpx; height: 160rpx; border: 1rpx solid #e4e4e4; margin-right: 30rpx; } .sku-card .sku-header .sku-img image { border: none; } .sku-card .sku-header .sku-desc { display: flex; flex-direction: column; } .sku-card .sku-header .sku-desc .sku-title { width: 390rpx; min-height: 60rpx; margin-bottom: 16rpx; color: #444; font-weight: bold; position: relative; } .sku-card .sku-header .sku-desc .sku-title span { position: absolute; width: 390rpx; height: 60rpx; left: 0; top: 0; font-size: 26rpx; line-height: 30rpx; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; text-overflow: initial; white-space: normal; } .sku-card .sku-header .sku-price { display: flex; align-items: flex-end; margin-bottom: 12rpx; font-size: 24rpx; line-height: 24rpx; } .sku-card .sku-header .sku-price .sale-price { color: #ff5344; margin-right: 12rpx; margin-bottom: -4rpx; } .sku-card .sku-header .sku-price .sale-price span { font-size: 56rpx; line-height: 56rpx; margin-left: 8rpx; font-weight: bold; } .sku-card .sku-header .sku-price .market-price { text-decoration: line-through; color: #999; margin-right: 30rpx; } .sku-card .sku-header .sku-switch-on { font-size: 24rpx; color: #444; } .sku-card .sku-msg { width: 670rpx; margin: 0 auto 60rpx; border-radius: 16rpx; background: linear-gradient(to right, #fff7f0, #fff4ec); display: flex; align-items: flex-start; padding: 20rpx; color: #ca7e57; box-sizing: border-box; } .sku-card .sku-msg .tag { border-radius: 16rpx; border: 1rpx solid #ffa49c; font-size: 20rpx; line-height: 28rpx; font-weight: 500; padding: 0 8rpx; margin-right: 8rpx; color: #ff5344; white-space: nowrap; vertical-align: middle; } .sku-card .sku-msg .sku-activity-msg { color: #ca7e57; font-size: 24rpx; line-height: 32rpx; width: 540rpx; font-weight: 500; } .sku-card .sku-spec { width: 670rpx; margin: 0 auto 40rpx; display: flex; align-items: flex-start; } .sku-card .sku-spec .title { font-size: 26rpx; line-height: 50rpx; margin-right: 8rpx; } .sku-card .sku-spec .spec-list { width: 600rpx; display: flex; flex: 1; flex-wrap: wrap; } .sku-card .sku-spec .spec-list span { position: relative; height: 46rpx; background: #f6f6f6; border: 2rpx solid #f6f6f6; text-align: center; line-height: 46rpx; font-size: 26rpx; margin: 0 8rpx 20rpx 0; color: #666; border-radius: 46rpx; padding: 0 30rpx; display: block; white-space: nowrap; } .sku-card .sku-spec .spec-list .on { border-color: #ffa49c; color: #ff5344; background: #fff; } .sku-card .sku-spec .spec-list .disabled { color: #ccc; } .sku-card .sku-num-content { width: 670rpx; margin: 0 auto 52rpx; display: flex; align-items: center; } .sku-card .sku-num-content .title { width: 80rpx; font-size: 26rpx; line-height: 50rpx; } .sku-card .sku-num-content .msg { width: 420rpx; color: #aaa; font-size: 26rpx; line-height: 50rpx; text-align: right; } .sku-card .sku-num-content .even-num { width: 420rpx; color: #ff5344; font-size: 26rpx; line-height: 50rpx; white-space: nowrap; text-align: right; } .sku-card .sku-confirm { width: 750rpx; height: 96rpx; background: linear-gradient(to right, #ff5041, #ff695c); line-height: 96rpx; text-align: center; color: #fff; font-size: 30rpx; margin: 0 0 0 -40rpx; padding: 0; border-radius: 0; font-weight: bold; } .sku-card button.sku-confirm::after{ border: 0; } .sku-card button[disabled].sku-confirm{ background: #f6f6f6; } .i-input-number { color: #495060; display: flex; align-items: center; position: relative; } .i-input-number view { width: 48rpx; height: 48rpx; display: inline-block; vertical-align: middle; } .i-input-number view image { width: 48rpx; height: 48rpx; } .i-input-number-minus { border-right: none; border-radius: 4rpx 0 0 4rpx; } .i-input-number-plus { border-left: none; border-radius: 0 4rpx 4rpx 0; } .i-input-number-text { text-align: center; height: 48rpx; width: 66rpx; font-size: 24rpx; line-height: 48rpx; color: #495060; z-index: 0; } /**首页规格弹出end***/ .mask { width: 100%; height: 100%; background: #000; position: fixed; left: 0; top: 0; z-index: 99; line-height: 80rpx; opacity: 0.5; } /* 订单提醒begin */ .order-notify { position: fixed; left: 0; top: 100rpx; z-index: 200; } /* 订单提醒end */ .i-flex { display: flex; } .i-flex-col { display: flex; flex-direction: column; } .i-flex-item { flex: 1; } .i-flex-alc { justify-content: center; align-items: center; } .i-flex-spb { justify-content: space-between; align-items: center; }