/** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ /* 文字基本颜色 */ /* 背景颜色 */ /* 边框颜色 */ /* 尺寸变量 */ /* 文字尺寸 */ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ .container.data-v-9e04663e { display: flex; flex-direction: column; height: 100vh; background-color: #f5f5f5; overflow: hidden; } .banner.data-v-9e04663e { background: linear-gradient(135deg, #ff9500, #ff5e00); position: relative; height: 400rpx; z-index: 1; } .banner image.data-v-9e04663e { width: 100%; height: 100%; } .goods-list.data-v-9e04663e { display: flex; position: relative; height: calc(100vh - 400rpx - 120rpx - env(safe-area-inset-bottom)); /* 减去banner和底部栏的高度 */ margin-top: -10rpx; z-index: 2; border-radius: 20rpx 20rpx 0 0; overflow: hidden; padding: 30rpx; box-shadow: 0 -4rpx 8rpx rgba(0, 0, 0, 0.05); background: linear-gradient(to bottom, #fff7e8, 20%, #ffffff); } .goods-list .category-nav.data-v-9e04663e { width: 20%; background: #ffffff; height: 100%; border-right: 1rpx solid rgba(255, 126, 14, 0.1); margin: 1rpx; border-radius: 20rpx 0 0 0; margin-right: 20rpx; overflow-y: auto; scrollbar-width: none; /* Firefox */ -ms-overflow-style: none; /* IE and Edge */ } .goods-list .category-nav.data-v-9e04663e::-webkit-scrollbar { width: 0 !important; display: none; /* Chrome, Safari, Opera */ } .goods-list .category-nav .category-item.data-v-9e04663e { position: relative; padding: 30rpx 20rpx; text-align: center; font-family: PingFang SC; font-weight: 600; font-size: 14px; line-height: 100%; letter-spacing: 0px; color: #666; } .goods-list .category-nav .category-item .category-dot.data-v-9e04663e { position: absolute; top: 15rpx; right: 15rpx; width: 12rpx; height: 12rpx; background: #ff7a0e; border-radius: 50%; } .goods-list .category-nav .category-item.active.data-v-9e04663e { color: #ff7a0e; font-weight: bold; background: #fff7e8; position: relative; } .goods-list .category-nav .category-item.active.data-v-9e04663e::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 6rpx; height: 36rpx; background: #ff7a0e; border-radius: 3rpx; } .goods-list .goods-content.data-v-9e04663e { flex: 1; height: 100%; padding: 0 30rpx; background: #ffffff; width: 70%; margin: 1rpx; margin-left: 0; border-radius: 0 20rpx 0 0; overflow-y: auto; scrollbar-width: none; /* Firefox */ -ms-overflow-style: none; /* IE and Edge */ } .goods-list .goods-content.data-v-9e04663e::-webkit-scrollbar { width: 0 !important; display: none; /* Chrome, Safari, Opera */ } .goods-item.data-v-9e04663e { display: flex; align-items: flex-start; padding: 30rpx 0; border-bottom: 1rpx solid #f5f5f5; } .goods-item .goods-item-img.data-v-9e04663e { width: 120rpx; height: 120rpx; border-radius: 24rpx; background: #f8f8f8; margin-right: 28rpx; object-fit: contain; flex-shrink: 0; } .goods-item .goods-info-wrap.data-v-9e04663e { flex: 1; display: flex; flex-direction: column; justify-content: center; min-width: 0; } .goods-item .goods-header.data-v-9e04663e { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10rpx; } .goods-item .goods-name.data-v-9e04663e { font-family: PingFang SC; font-weight: 500; font-size: 14px; line-height: 140%; letter-spacing: 0%; vertical-align: middle; color: #333; font-weight: bold; } .goods-item .goods-desc.data-v-9e04663e { font-size: 24rpx; color: #999; display: block; margin-bottom: 20rpx; } .goods-item .goods-info.data-v-9e04663e { display: flex; justify-content: space-between; align-items: center; } .goods-item .price-info.data-v-9e04663e { display: flex; align-items: baseline; } .goods-item .price-info .price-symbol.data-v-9e04663e { font-size: 24rpx; color: #ff7a0e; } .goods-item .price-info .price-value.data-v-9e04663e { font-size: 36rpx; color: #ff7a0e; font-weight: bold; margin: 0 4rpx; } .goods-item .price-info .price-unit.data-v-9e04663e { font-size: 24rpx; color: #999; } .goods-item .quantity-control.data-v-9e04663e { display: flex; align-items: center; } .goods-item .quantity-control button.data-v-9e04663e { width: 60rpx; height: 60rpx; padding: 0; margin: 0; display: flex; align-items: center; justify-content: center; font-size: 28rpx; color: #666; background: #f8f8f8; border: none; border-radius: 50%; } .goods-item .quantity-control button.data-v-9e04663e::after { border: none; } .goods-item .quantity-control button.data-v-9e04663e:active { opacity: 0.8; } .goods-item .quantity-control .quantity.data-v-9e04663e { width: 80rpx; text-align: center; font-size: 32rpx; color: #333; } .goods-item .brand-check.data-v-9e04663e { display: flex; flex-direction: row; align-items: center; border: 1px solid #f8a01d; width: 40%; border-radius: 8rpx; color: #ff7a0e; font-family: PingFang SC; font-weight: 400; font-size: 12px; line-height: 140%; letter-spacing: 0%; } .rules-link .rules.data-v-9e04663e { font-family: PingFang SC; font-weight: 400; font-size: 12px; line-height: 140%; letter-spacing: 0%; } .other-unrecycle-card.data-v-9e04663e { display: flex; align-items: center; background: #fff; border-radius: 24rpx; box-shadow: 0 4rpx 24rpx rgba(0, 0, 0, 0.06); padding: 30rpx 30rpx 30rpx 30rpx; margin: 30rpx 0 0 0; } .other-unrecycle-img.data-v-9e04663e { width: 120rpx; height: 120rpx; border-radius: 24rpx; background: #f8f8f8; margin-right: 28rpx; object-fit: contain; flex-shrink: 0; } .other-unrecycle-info.data-v-9e04663e { flex: 1; display: flex; flex-direction: column; justify-content: center; min-width: 0; } .other-unrecycle-title.data-v-9e04663e { font-size: 30rpx; color: #222; font-weight: bold; margin-bottom: 8rpx; word-break: break-all; white-space: normal; overflow: visible; } .other-unrecycle-desc.data-v-9e04663e { font-size: 24rpx; color: #999; margin-bottom: 12rpx; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; } .other-unrecycle-price-row.data-v-9e04663e { display: flex; align-items: center; } .other-unrecycle-price.data-v-9e04663e { font-size: 28rpx; color: #ff9c00; font-weight: bold; } .other-unrecycle-btn.data-v-9e04663e { width: 60rpx; height: 60rpx; margin-left: 24rpx; border-radius: 50%; background: #f5f5f5; color: #ccc; font-size: 36rpx; border: none; display: flex; align-items: center; justify-content: center; pointer-events: none; } .fixed-bottom-wrap.data-v-9e04663e { position: fixed; left: 0; right: 0; bottom: calc(var(--a20a0960) + env(safe-area-inset-bottom)); width: 100vw; z-index: 1001; background: transparent; box-sizing: border-box; pointer-events: auto; } .bottom-bar-divider.data-v-9e04663e { width: 100%; height: 1px; background: #f0f0f0; position: absolute; left: 0; bottom: 0; z-index: 1; } .green-tip-bar.data-v-9e04663e { width: 100%; background: #eaffea; color: #13ac47; font-size: 20rpx; box-sizing: border-box; text-align: left; display: flex; align-items: center; justify-content: center; } .green-tip-bar .tip-highlight.data-v-9e04663e { color: #ff9c00; font-weight: bold; font-size: 20rpx; } .bottom-bar.data-v-9e04663e { width: 100%; background-color: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 30rpx; box-shadow: 0 -2rpx 10rpx rgba(0, 0, 0, 0.05); height: 120rpx; border-top-left-radius: 0; border-top-right-radius: 0; border-bottom-left-radius: env(safe-area-inset-bottom); border-bottom-right-radius: env(safe-area-inset-bottom); } .bottom-bar .bottom-left.data-v-9e04663e { display: flex; flex-direction: column; justify-content: center; } .bottom-bar .bottom-left .summary-row.data-v-9e04663e { display: flex; align-items: center; font-size: 26rpx; color: #333; } .bottom-bar .bottom-left .summary-row .summary-label.data-v-9e04663e { color: #333; } .bottom-bar .bottom-left .summary-row .summary-count.data-v-9e04663e { color: #ff9c00; font-weight: bold; font-size: 28rpx; } .bottom-bar .bottom-left .amount-row.data-v-9e04663e { display: flex; align-items: center; margin-top: 4rpx; } .bottom-bar .bottom-left .amount-row .amount.data-v-9e04663e { color: #ff9c00; font-size: 44rpx; font-weight: bold; vertical-align: middle; } .bottom-bar .submit-btn.data-v-9e04663e { width: 300rpx; height: 88rpx; background: linear-gradient(to right, #ffd01e, #ff8917); border-radius: 44rpx; color: #fff; font-size: 32rpx; font-weight: bold; display: flex; align-items: center; justify-content: center; border: none; box-shadow: 0 4rpx 16rpx rgba(255, 156, 0, 0.08); } .bottom-bar .submit-btn.data-v-9e04663e::after { border: none; } .bottom-bar .submit-btn.data-v-9e04663e:active { opacity: 0.9; } .detail-popup-mask.data-v-9e04663e { position: fixed; left: 0; right: 0; top: 0; bottom: calc(90rpx + env(safe-area-inset-bottom)); /* tabbar高度+安全区 */ background: rgba(0, 0, 0, 0.35); z-index: 8; display: flex; align-items: flex-end; justify-content: center; } .detail-popup.data-v-9e04663e { width: 100vw; max-width: none; background: #fff; border-radius: 48rpx 48rpx 0 0; box-shadow: 0 8rpx 48rpx rgba(0, 0, 0, 0.18); display: flex; flex-direction: column; align-items: stretch; position: relative; padding: 0; overflow: hidden; min-height: 520rpx; max-height: 80vh; bottom: 0; } .detail-popup-close.data-v-9e04663e { position: absolute; right: 36rpx; top: 36rpx; font-size: 36rpx; color: #bbb; z-index: 2; } .popup-green-tip.data-v-9e04663e { border-radius: 48rpx 48rpx 0 0; font-size: 20rpx; padding: 24rpx 30rpx 0 30rpx; background: #eaffea; color: #13ac47; text-align: left; } .panel-header.data-v-9e04663e { display: flex; align-items: center; justify-content: center; font-size: 32rpx; font-weight: bold; padding: 40rpx 36rpx 0 36rpx; background: #fff; position: relative; } .panel-title.data-v-9e04663e { font-size: 32rpx; color: #222; font-weight: bold; text-align: center; flex: 1; } .popup-panel-list.data-v-9e04663e { flex: 1; overflow-y: auto; max-height: 36vh; padding: 0 24rpx; scrollbar-width: none; /* Firefox */ -ms-overflow-style: none; /* IE and Edge */ } .popup-panel-list.data-v-9e04663e::-webkit-scrollbar { width: 0 !important; display: none; /* Chrome, Safari, Opera */ } .panel-item.data-v-9e04663e { display: flex; align-items: center; justify-content: flex-start; padding: 24rpx 0; border-bottom: 1px solid #f0f0f0; } .panel-item-img.data-v-9e04663e { width: 100rpx; height: 100rpx; margin-right: 20rpx; border-radius: 16rpx; background: #f8f8f8; } .panel-item-info.data-v-9e04663e { flex: 1; display: flex; flex-direction: column; justify-content: center; min-width: 0; } .panel-item-name.data-v-9e04663e { font-size: 30rpx; color: #222; font-weight: bold; margin-bottom: 4rpx; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; } .panel-item-desc.data-v-9e04663e { font-size: 24rpx; color: #999; margin-bottom: 4rpx; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; } .panel-item-price.data-v-9e04663e { font-size: 26rpx; color: #ff9c00; margin-top: 2rpx; } .panel-quantity-control.data-v-9e04663e { display: flex; align-items: center; margin-left: 20rpx; } .panel-quantity-control button.data-v-9e04663e { width: 48rpx; height: 48rpx; padding: 0; margin: 0 8rpx; display: flex; align-items: center; justify-content: center; font-size: 32rpx; color: #666; background: #f5f5f5; border: none; border-radius: 50%; } .panel-quantity-control button.data-v-9e04663e::after { border: none; } .panel-quantity-control button.data-v-9e04663e:active { opacity: 0.8; } .panel-quantity-control .quantity.data-v-9e04663e { width: 40rpx; text-align: center; font-size: 28rpx; color: #333; } .popup-bottom-bar.data-v-9e04663e { width: 100%; background-color: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 30rpx; box-shadow: 0 -2rpx 10rpx rgba(0, 0, 0, 0.05); height: 120rpx; border-top: 1px solid #f0f0f0; border-bottom-left-radius: 48rpx; border-bottom-right-radius: 48rpx; } .popup-bottom-bar .bottom-left.data-v-9e04663e { display: flex; flex-direction: column; justify-content: center; } .popup-bottom-bar .bottom-left .summary-row.data-v-9e04663e { display: flex; align-items: center; font-size: 26rpx; color: #333; } .popup-bottom-bar .bottom-left .summary-row .summary-label.data-v-9e04663e { color: #333; } .popup-bottom-bar .bottom-left .summary-row .summary-count.data-v-9e04663e { color: #ff9c00; font-weight: bold; font-size: 28rpx; } .popup-bottom-bar .bottom-left .amount-row.data-v-9e04663e { display: flex; align-items: center; margin-top: 4rpx; } .popup-bottom-bar .bottom-left .amount-row .amount.data-v-9e04663e { color: #ff9c00; font-size: 44rpx; font-weight: bold; vertical-align: middle; } .popup-bottom-bar .submit-btn.data-v-9e04663e { width: 300rpx; height: 88rpx; background: linear-gradient(to right, #ffd01e, #ff8917); border-radius: 44rpx; color: #fff; font-size: 32rpx; font-weight: bold; display: flex; align-items: center; justify-content: center; border: none; box-shadow: 0 4rpx 16rpx rgba(255, 156, 0, 0.08); } .popup-bottom-bar .submit-btn.data-v-9e04663e::after { border: none; } .popup-bottom-bar .submit-btn.data-v-9e04663e:active { opacity: 0.9; } .brand-popup-mask.data-v-9e04663e { position: fixed; left: 0; right: 0; top: 0; bottom: 0; background: rgba(0, 0, 0, 0.35); z-index: 3000; display: flex; align-items: flex-end; justify-content: center; } .brand-popup.data-v-9e04663e { position: relative; width: 100%; max-width: 750px; background: #fff; border-radius: 32rpx 32rpx 0 0; box-shadow: 0 -4rpx 24rpx rgba(0, 0, 0, 0.08); padding-bottom: 40rpx; max-height: 90vh; display: flex; flex-direction: column; overflow: hidden; } .brand-popup-header.data-v-9e04663e { display: flex; align-items: center; justify-content: center; padding: 32rpx 24rpx 0 24rpx; font-size: 32rpx; font-weight: bold; position: relative; } .brand-popup-close.data-v-9e04663e { position: absolute; left: 24rpx; font-size: 28rpx; color: #888; } .brand-popup-title.data-v-9e04663e { font-size: 32rpx; color: #222; font-weight: bold; } .brand-popup-search.data-v-9e04663e { padding: 20rpx 24rpx 0 24rpx; } .brand-search-input.data-v-9e04663e { width: 100%; height: 60rpx; border-radius: 30rpx; background: #f5f5f5; border: none; padding-left: 40rpx; font-size: 28rpx; color: #888; } .brand-popup-list.data-v-9e04663e { flex: 1; overflow-y: auto; max-height: 60vh; padding: 0 24rpx; scrollbar-width: none; /* Firefox */ -ms-overflow-style: none; /* IE and Edge */ } .brand-popup-list.data-v-9e04663e::-webkit-scrollbar { width: 0 !important; display: none; /* Chrome, Safari, Opera */ } .brand-letter.data-v-9e04663e { font-size: 28rpx; color: #888; margin: 24rpx 0 8rpx 0; font-weight: bold; } .brand-item.data-v-9e04663e { display: flex; align-items: center; padding: 16rpx 0; border-bottom: 1px solid #f0f0f0; } .brand-logo.data-v-9e04663e { width: 60rpx; height: 60rpx; margin-right: 20rpx; border-radius: 8rpx; background: #f8f8f8; } .brand-name.data-v-9e04663e { font-size: 28rpx; color: #222; } .brand-index-bar.data-v-9e04663e { position: absolute; right: 12rpx; top: 120rpx; width: 32rpx; display: flex; flex-direction: column; align-items: center; z-index: 10; } .brand-index-bar text.data-v-9e04663e { font-size: 22rpx; color: #bbb; margin: 4rpx 0; font-weight: bold; } .brand-index-bar text.active.data-v-9e04663e { color: #ff9c00; } .rule-popup-mask.data-v-9e04663e { position: fixed; left: 0; right: 0; top: 0; bottom: 0; background: rgba(0, 0, 0, 0.35); z-index: 4000; display: flex; align-items: center; justify-content: center; } .rule-popup.data-v-9e04663e { width: 90vw; max-width: 600rpx; background: #fff; border-radius: 48rpx; box-shadow: 0 8rpx 32rpx rgba(0, 0, 0, 0.12); display: flex; flex-direction: column; align-items: center; position: relative; padding-bottom: 40rpx; } .rule-popup-title.data-v-9e04663e { font-size: 36rpx; color: #222; font-weight: bold; text-align: center; margin-top: 48rpx; margin-bottom: 16rpx; } .rule-popup-content.data-v-9e04663e { width: 100%; max-height: 420rpx; padding: 0 40rpx; box-sizing: border-box; overflow-y: auto; scrollbar-width: none; /* Firefox */ -ms-overflow-style: none; /* IE and Edge */ } .rule-popup-content.data-v-9e04663e::-webkit-scrollbar { width: 0 !important; display: none; /* Chrome, Safari, Opera */ } .rule-popup-desc.data-v-9e04663e { font-size: 26rpx; color: #888; text-align: center; margin-bottom: 24rpx; margin-top: 0; } .rule-popup-warning.data-v-9e04663e { width: 100%; border: 2rpx solid #ffb800; color: #ffb800; background: #fffbe6; border-radius: 32rpx; font-size: 28rpx; text-align: center; padding: 16rpx 0; margin-bottom: 24rpx; font-weight: bold; } .rule-popup-img.data-v-9e04663e { display: block; margin: 0 auto 24rpx auto; max-width: 80%; max-height: 300rpx; border-radius: 16rpx; object-fit: contain; } .rule-popup-btn.data-v-9e04663e { width: 80%; height: 88rpx; background: linear-gradient(to right, #ffd01e, #ff8917); border-radius: 44rpx; color: #fff; font-size: 32rpx; font-weight: bold; display: flex; align-items: center; justify-content: center; border: none; margin: 0 auto; margin-top: 16rpx; box-shadow: 0 4rpx 16rpx rgba(255, 156, 0, 0.08); } .rule-popup-btn.data-v-9e04663e::after { border: none; } .rule-popup-btn.data-v-9e04663e:active { opacity: 0.9; } .rule-popup-close.data-v-9e04663e { position: absolute; right: 32rpx; bottom: 32rpx; width: 72rpx; height: 72rpx; background: #ff5a5f; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 10; box-shadow: 0 2rpx 8rpx rgba(255, 90, 95, 0.12); } /* 预约上门取件弹窗样式 */ .pickup-confirm-mask.data-v-9e04663e { position: fixed; left: 0; right: 0; top: 0; bottom: 0; background: rgba(0, 0, 0, 0.35); z-index: 5000; display: flex; align-items: center; justify-content: center; } .pickup-confirm-popup.data-v-9e04663e { width: 90vw; max-width: 600rpx; background: #fff; border-radius: 48rpx; box-shadow: 0 8rpx 32rpx rgba(0, 0, 0, 0.12); display: flex; flex-direction: column; align-items: center; position: relative; padding: 48rpx 36rpx 40rpx 36rpx; } .pickup-confirm-title.data-v-9e04663e { font-size: 36rpx; color: #222; font-weight: bold; text-align: center; margin-bottom: 24rpx; } .pickup-confirm-content.data-v-9e04663e { font-size: 26rpx; color: #333; text-align: left; line-height: 1.7; margin-bottom: 36rpx; } .pickup-confirm-btn-row.data-v-9e04663e { width: 100%; display: flex; justify-content: space-between; gap: 32rpx; } .pickup-confirm-btn.data-v-9e04663e { flex: 1; height: 88rpx; border-radius: 44rpx; font-size: 32rpx; font-weight: bold; display: flex; align-items: center; justify-content: center; border: 2rpx solid #ffd01e; background: #fff; color: #ff9c00; box-shadow: 0 4rpx 16rpx rgba(255, 156, 0, 0.08); } .pickup-confirm-btn.data-v-9e04663e:not(.agree) { background: #fff0d2; } .pickup-confirm-btn.agree.data-v-9e04663e { background: linear-gradient(to right, #ffd01e, #ff8917); color: #fff; border: none; } .uv-tabbar.data-v-9e04663e { z-index: 1000; } .loading-more.data-v-9e04663e { text-align: center; color: #999; padding: 20rpx 0; font-size: 26rpx; } .brand-confirm-mask.data-v-9e04663e { position: fixed; left: 0; right: 0; top: 0; bottom: 0; background: rgba(0, 0, 0, 0.25); z-index: 5001; display: flex; align-items: center; justify-content: center; } .brand-confirm-popup.data-v-9e04663e { width: 70vw; max-width: 270px; background: #fff; border-radius: 32rpx; box-shadow: 0 8rpx 32rpx rgba(0, 0, 0, 0.12); display: flex; flex-direction: column; align-items: center; padding: 48rpx 20rpx 36rpx 20rpx; position: relative; } .brand-confirm-title.data-v-9e04663e { font-size: 36rpx; color: #222; font-weight: bold; text-align: center; margin-bottom: 24rpx; } .brand-confirm-logo-wrap.data-v-9e04663e { width: 120rpx; height: 120rpx; background: #f8f8f8; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 18rpx; } .brand-confirm-logo.data-v-9e04663e { width: 80rpx; height: 80rpx; border-radius: 50%; } .brand-confirm-name.data-v-9e04663e { font-size: 28rpx; color: #222; font-weight: bold; text-align: center; margin-bottom: 16rpx; } .brand-confirm-desc.data-v-9e04663e { font-size: 24rpx; color: #999; text-align: center; margin-bottom: 32rpx; line-height: 1.6; } .brand-confirm-btn-row.data-v-9e04663e { width: 100%; display: flex; justify-content: space-between; gap: 24rpx; } .brand-confirm-btn.data-v-9e04663e { flex: 1; height: 72rpx; border-radius: 36rpx; font-size: 28rpx; font-weight: bold; display: flex; align-items: center; justify-content: center; border: none; margin: 0 0; } .brand-confirm-btn.retry.data-v-9e04663e { background: #fff; color: #ff9c00; border: 2rpx solid #ff9c00; } .brand-confirm-btn.confirm.data-v-9e04663e { background: linear-gradient(to right, #ffd01e, #ff8917); color: #fff; border: none; }