.buy-container { display: flex; flex-direction: column; padding: 30rpx; } .buy-title { height: 100rpx; background-color: var(--primary-color-active); } .buy-all-container { display: flex; flex-direction: column; border-radius: 10rpx; } .buy-all-box { margin-top: 20rpx; display: flex; flex-direction: column; border-radius: 20rpx; background-color: white; box-shadow: 0px 2px 6px 0px var(--divider-color); } .buy-all-title { display: flex; flex-direction: row; justify-content: space-between; align-items: center; } .buy-all-txt { font-size: 20px; color: var(--text-color); } .txt-title { font-size: 38rpx; color: var(--text-color); font-weight: bold; } .buy-all-txt .money { margin-left: 20rpx; font-size: 16px; color: var(--text-brown-color); font-weight: 500; } .buy-all-btn { padding: 5rpx 35rpx; border-radius: 10rpx; background-color: var(--primary-color); color: white; font-size: 28rpx; } .buy-all-btn:active { background-color: var(--primary-color-active); } .buy-desc-box { display: flex; flex-direction: column; font-size: 12px; } .buy-desc-txt { color: var(--text-color); } .buy-desc-title { color: var(--text-color); } .buy-desc-item { display: flex; flex-direction: row; justify-content: space-between; } .buy-desc-row { display: flex; flex-direction: row; flex: 1; align-items: flex-start; justify-content: flex-start; } .txt { font-size: 24rpx; line-height: 30rpx; margin-top: 6rpx; } .single-txt { font-size: 24rpx; } .buy-desc-row-icon { width: 40rpx; height: 40rpx; } .buy-desc-row-no-margin { display: flex; flex-direction: row; flex: 1; align-items: center; } .txt-hor { font-size: 24rpx; } .buy-desc-column { display: flex; flex-direction: row; flex: 1; align-items: center; } .list { counter-reset: my-counter; padding: 0; } /* 每个列表项递增计数器 */ .list-item { counter-increment: my-counter; display: flex; align-items: center; line-height: 18px; text-align: center; } /* 使用 ::before 伪元素显示计数器值并设置圆形背景 */ .list-item::before { content: counter(my-counter); background-color: var(--primary-color-active); color: var(--black-color); border-radius: 50%; width: 18px; height: 18px; line-height: 18px; display: flex; justify-content: center; align-items: center; margin-right: 10rpx; } .box-bottom-options { justify-content: center; background-color: var(--primary-color-active); padding: 20rpx; border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; } .box-bottom-options .txt { color: var(--text-brown-color); padding-left: 10rpx; font-weight: 400; line-height: 24px; } .hint-box { margin-top: 20rpx; display: flex; flex-direction: row; justify-content: center; align-items: center; border-radius: 20rpx; background-color: white; box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.08); } .hint-box .icon { width: 32px; height: 32px; } .hint-box .content { margin-left: 10px; display: flex; flex-direction: column; justify-content: center; align-items: center; } .hint-content { color: var(--text-brown-color); font-size: 14px; font-weight: 500; } .hint-link { color: var(--text-blue-color); text-align: center; font-size: 12px; }