
	.category-page-wrap {
			width: 100vw;
			// height: calc(100vh - var(--tab-bar-height, 0));
			display: flex;
			flex-direction: column;
			background-color: #fff;
		}
	
		.content-box {
			flex: 1;
			height: 0;
			display: flex;
	
			.tree-wrap {
				width: 170rpx;
				height: 100%;
				background-color: #f5f5f5;
			}
	
			.right-flex-wrap {
				flex: 1;
				width: 0;
				height: 100%;
				background: #f4f6fa;
				display: flex;
				flex-direction: column;
				transform: translateX(0px);
				
				.content-wrap {
					display: flex;
					flex: 1;
					height: 0;
					width: 100%;
				}
	
				.child-category-wrap {
					width: 100%;
					height: 100%;
				}
			}
		}
	
		.tree-wrap .category-item-wrap {
			height: auto;
			background-color: #fff;
		}
	
		.tree-wrap .category-item {
			line-height: 1.5;
			padding: 26rpx 28rpx;
			box-sizing: border-box;
			position: relative;
			background-color: #f5f5f5;
	
			view {
				color: #222222;
				width: 100%;
				white-space: nowrap;
				text-overflow: ellipsis;
				overflow: hidden;
				text-align: center;
			}
	
			&.border-top {
				border-bottom-right-radius: 12rpx;
			}
	
			&.border-bottom {
				border-top-right-radius: 12rpx;
			}
	
			&.select {
				background: #fff;
	
				view {
					color: $base-color;
					font-weight: bold;
				}
	
				&::before {
					content: ' ';
					width: 8rpx;
					height: 34rpx;
					background: var(--base-color);
					display: block;
					position: absolute;
					left: 0;
					top: 50%;
					transform: translateY(-50%);
				}
			}
		}
	
		.search-box {
			position: relative;
			padding: 20rpx 30rpx;
			display: flex;
			align-items: center;
			background: #fff;
	
			.search-content {
				position: relative;
				/* #ifndef MP-WEIXIN */
				height: 64rpx;
				/* #endif */
				/* #ifdef MP-WEIXIN */
				height: 100%;
				/* #endif */
				border-radius: 40rpx;
				flex: 1;
				background-color: #f5f5f5;
	
				input {
					box-sizing: border-box;
					display: block;
					height: 100%;
					width: 100%;
					padding: 0 20rpx 0 40rpx;
					background: #f5f5f5;
					color: #333;
					border-radius: 40rpx;
				}
	
				.iconfont {
					position: absolute;
					top: 50%;
					right: 10rpx;
					transform: translateY(-50%);
					font-size: $font-size-toolbar;
					z-index: 10;
					color: #89899a;
					width: 80rpx;
					text-align: center;
				}
			}
		}
	
		.cart-box {
			height: 100rpx;
			width: 100%;
			background: #fff;
			border-top: 1px solid #f5f5f5;
			box-sizing: border-box;
			padding: 0 30rpx;
			display: flex;
			align-items: center;
			justify-content: space-between;
	
			.left-wrap {
				display: flex;
				align-items: center;
			}
	
			.cart-icon {
				width: 70rpx;
				height: 70rpx;
				position: relative;
	
				.iconfont {
					color: var(--btn-text-color);
					width: inherit;
					height: inherit;
					background-color: $base-color;
					border-radius: 50%;
					display: flex;
					align-items: center;
					justify-content: center;
				}
	
				.num {
					position: absolute;
					top: 0;
					right: 0;
					transform: translate(60%, 0);
					display: inline-block;
					box-sizing: border-box;
					color: #fff;
					line-height: 1.2;
					text-align: center;
					font-size: 24rpx;
					padding: 0 6rpx;
					min-width: 30rpx;
					border-radius: 16rpx;
					background-color: var(--price-color);
					border: 2rpx solid #fff;
				}
			}
	
			.price {
				margin-left: 30rpx;
	
				.title {
					color: #333;
				}
	
				.money,
				.unit {
					font-weight: bold;
					color: var(--price-color);
				}
			}
	
			.settlement-btn {
				margin: 0 0 0 20rpx;
				width: 200rpx;
				font-weight: bold;
				border-radius: 50rpx;
				height: 70rpx;
				line-height: 70rpx;
			}
		}
	
		.cart-point {
			width: 26rpx;
			height: 26rpx;
			position: fixed;
			z-index: 1000;
			background: #f00;
			border-radius: 50%;
			transition: all 0.05s;
		}
	
		.category-empty {
			flex: 1;
			display: flex;
			align-items: center;
			justify-content: center;
			flex-direction: column;
	
			image {
				width: 380rpx;
			}
	
			.tips {
				font-size: 26rpx;
				font-weight: 500;
				color: #999;
				margin-top: 50rpx;
			}
		}
	
		.end-tips {
			text-align: center;
			color: #999;
			font-size: 24rpx;
			padding: 20rpx 0;
			opacity: 0;
		}
	
		// 风格四
		.category-template-4 {
			.search-box {
				.search-content input {
					background-color: #f1f1f1;
				}
			}
	
			.cart-box {
				position: relative;
				z-index: 2;
			}
	
			/deep/ .template-four {
				position: relative;
				z-index: 1;
	
				.template-four-wrap {
					position: relative;
					z-index: 1;
					padding-left: 20rpx;
					padding-right: 80rpx;
					padding-bottom: 10rpx;
					display: flex;
					height: 172rpx;
					align-items: baseline;
					box-sizing: border-box;
					box-shadow: 0 4rpx 4rpx rgba(123, 123, 123, 0.1);
				}
	
				.template-four-popup {
					display: flex;
					flex-direction: column;
					overflow: hidden;
	
					.title {
						line-height: 1;
						margin-bottom: 20rpx;
						font-weight: bold;
					}
	
					.template-four-scroll {
						display: flex;
						flex-wrap: wrap;
						align-items: baseline;
						align-content: baseline;
						padding: 20rpx;
						white-space: nowrap;
						height: 380rpx;
						box-sizing: border-box;
	
						.uni-scroll-view-content {
							flex-wrap: wrap;
							align-items: baseline;
							align-content: baseline;
						}
	
						.item {
							display: flex;
							flex-direction: column;
							align-items: center;
							padding: 4rpx 0;
							color: #666;
							margin-right: 16rpx;
							border-radius: 40rpx;
							margin-bottom: 10rpx;
							width: calc((100% - 64rpx) / 5);
	
							&:nth-child(5n + 5) {
								margin-right: 0;
							}
	
							.image-warp {
								margin-bottom: 6rpx;
								padding: 4rpx;
								display: flex;
								align-items: center;
								justify-content: center;
								border-radius: 42rpx;
								border: 4rpx solid transparent;
							}
	
							image {
								width: 84rpx;
								height: 84rpx;
								border-radius: 32rpx;
							}
	
							.text {
								padding: 2rpx 16rpx;
								border-radius: 40rpx;
								font-size: $font-size-tag;
							}
	
							&.selected {
								.text {
									background-color: $base-color;
									color: var(--btn-text-color);
								}
							}
						}
					}
	
					.pack-up {
						font-size: $font-size-tag;
						color: #888888;
						height: 74rpx;
						display: flex;
						align-items: center;
						justify-content: center;
						border-top: 2rpx solid #f2f2f2;
	
						.iconfont {
							font-size: 40rpx;
							margin-left: -4rpx;
						}
					}
				}
	
				.category-item-all {
					position: absolute;
					bottom: 0;
					z-index: 1;
					right: 0;
					top: 0;
					width: 72rpx;
					line-height: 1;
					background-color: #fff;
	
					.category-item-all-wrap {
						position: absolute;
						bottom: 0;
						right: 0;
						top: 0;
						left: 0;
						display: flex;
						flex-direction: column;
						justify-content: center;
						align-items: center;
						z-index: 2;
					}
	
					.text {
						writing-mode: tb-rl;
						margin-bottom: 6rpx;
						letter-spacing: 4rpx;
						font-size: $font-size-tag;
						font-weight: bold;
					}
	
					.img {
						width: 20rpx;
						height: 20rpx;
					}
	
					&::after {
						content: '';
						// box-shadow: -4rpx 10rpx 20rpx rgba(0, 0, 0, 0.1);
						position: absolute;
						left: 0;
						width: 10rpx;
						// height: 100rpx;
						top: 20%;
						bottom: 20%;
						// transform: translateY(-50%);
						// background-color: #F0F5FF;
					}
				}
	
				.uni-scroll-view-content {
					display: flex;
				}
	
				.category-item {
					display: flex;
					flex-direction: column;
					align-items: center;
					justify-content: center;
					min-width: 130rpx;
					flex-shrink: 0;
					margin-right: 20rpx;
					padding: 4rpx 0;
	
					&:last-of-type {
						margin-right: 0;
					}
	
					.image-warp {
						margin-bottom: 6rpx;
						padding: 4rpx;
						display: flex;
						align-items: center;
						justify-content: center;
						border-radius: 42rpx;
						border: 4rpx solid transparent;
					}
	
					image {
						width: 84rpx;
						height: 84rpx;
						border-radius: 32rpx;
					}
	
					.text {
						font-size: $font-size-tag;
					}
				}
	
				.select {
					.text {
						padding: 8rpx 16rpx;
						border-radius: 40rpx;
						color: #fff;
						font-size: $font-size-tag;
						line-height: 1;
					}
				}
			}
	
			.content-wrap .categoty-goods-wrap .goods-list {
				margin-top: 30rpx;
			}
	
			.tree-wrap .category-item.select::before {
				border-top-right-radius: 8rpx;
				border-bottom-right-radius: 8rpx;
			}
		}
		
		
		/*商品部分*/
		.item-wrap {
				width: 100%;
				box-sizing: border-box;
				// padding: 0 24rpx;
				// padding-bottom: 80rpx;
				&.goods {
					height: 100%;
				}
			}
		
			.category-title {
				padding: 20rpx 0;
				font-size: 26rpx;
				// font-weight: bold;
				color: #222;
				position: relative;
				text-align: left;
				padding-left: 30rpx;
				// &::after,
				// &::before {
				// 	content: ' ';
				// 	width: 46rpx;
				// 	border-top: 2rpx solid #dfdfdf;
				// 	position: absolute;
				// 	top: 50%;
				// }
			
				&::after {
					margin-left: 40rpx;
				}
			
				&::before {
					margin-left: -80rpx;
				}
			}
		
			.category-adv {
				width: 100%;
				overflow: hidden;
				line-height: 1;
				padding: 20rpx 0;
		
				image {
					width: 100%;
					border-radius: 8rpx;
				}
			}
		
			.category-list {
				display: flex;
				flex-wrap: wrap;
				background: #fff;
				margin: 0 20rpx;
				border-radius: 10rpx;
				padding: 10rpx 0;
				
				.category-item {
					width: 33.33%;
					display: flex;
					flex-direction: column;
					align-items: center;
					justify-content: center;
					padding: 16rpx;
					box-sizing: border-box;
		
					.img-box {
						width: 80%;
						padding-top: 80%;
						margin: 0 auto;
						overflow: hidden;
						margin-bottom: 20rpx;
						position: relative;
		
						image {
							position: absolute;
							width: 100%;
							left: 50%;
							top: 50%;
							transform: translate(-50%, -50%);
						}
					}
		
					.name {
						width: 100%;
						text-overflow: ellipsis;
						overflow: hidden;
						white-space: nowrap;
						text-align: center;
						line-height: 1;
		
						font-size: 24rpx;
					}
				}
			}
		
			.goods-list {
				.goods-item {
					padding: 0 0 26rpx 0;
					background: #fff;
					display: flex;
					position: relative;
		
					.goods-img {
						width: 180rpx;
						height: 180rpx;
						overflow: hidden;
						border-radius: $border-radius;
						margin-right: 14rpx;
		
						image {
							width: 100%;
							height: 100%;
						}
					}
		
					.goods-tag {
						color: #fff;
						line-height: 1;
						padding: 8rpx 12rpx;
						position: absolute;
						border-top-left-radius: $border-radius;
						border-bottom-right-radius: $border-radius;
						top: 0;
						left: 0;
						font-size: $font-size-goods-tag;
					}
		
					.goods-tag-img {
						position: absolute;
						border-top-left-radius: $border-radius;
						width: 80rpx;
						height: 80rpx;
						top: 26rpx;
						left: 26rpx;
						z-index: 5;
						overflow: hidden;
		
						image {
							width: 100%;
							height: 100%;
						}
					}
		
					.info-wrap {
						flex: 1;
						display: flex;
						flex-direction: column;
						width: 0;
					}
		
					.name-wrap {
						flex: 1;
					}
		
					.goods-name {
						font-size: $font-size-base;
						line-height: 1.3;
						overflow: hidden;
						text-overflow: ellipsis;
						display: -webkit-box;
						-webkit-line-clamp: 2;
						-webkit-box-orient: vertical;
					}
		
					.introduction {
						line-height: 1;
						margin-top: 10rpx;
					}
		
					.discount-price {
						display: inline-block;
						font-weight: bold;
						line-height: 1;
						margin-top: 16rpx;
						color: var(--price-color);
		
						.unit {
							margin-right: 6rpx;
						}
					}
		
					.pro-info {
						display: flex;
						margin-top: 16rpx;
		
						.delete-price {
							text-decoration: line-through;
							flex: 1;
		
							.unit {
								margin-right: 0rpx;
							}
						}
		
						&>view {
							line-height: 1;
		
							&:nth-child(2) {
								text-align: right;
							}
						}
					}
		
					.member-price-tag {
						display: inline-block;
						width: 60rpx;
						line-height: 1;
						margin-left: 6rpx;
						height: 28rpx;
		
						image {
							width: 100%;
							height: 100%;
						}
					}
		
					.footer-wrap {
						display: flex;
						justify-content: space-between;
		
						.right-wrap {
							display: flex;
							align-items: center;
							justify-content: end;
		
							.num {
								width: auto;
								padding: 0 20rpx;
								line-height: 1;
							}
		
							.num-action {
								display: flex;
								align-items: center;
								justify-content: center;
								width: 40rpx;
								height: 40rpx;
								background: $base-color;
								border-radius: 50%;
								position: relative;
		
								.click-event {
									position: absolute;
									width: 2rpx;
									height: 2rpx;
									left: 0;
									top: 0;
									transform: translate(-50%, -50%);
									z-index: 5;
								}
		
								&.reduce {
									width: 38rpx;
									height: 38rpx;
									background-color: transparent;
									border: 2rpx solid $base-color;
									box-sizing: border-box;
		
									.icon-jian {
										color: $base-color;
									}
								}
							}
		
							.icon-jian,
							.icon-jia {
								color: var(--btn-text-color);
								font-weight: bold;
								font-size: 26rpx;
								line-height: 1;
							}
		
							.select-sku {
								font-weight: bold;
								color: var(--btn-text-color);
								font-size: 24rpx;
								padding: 16rpx 24rpx;
								position: relative;
								// height: 40rpx;
								line-height: 1;
								text-align: center;
								border-radius: 50rpx;
		
								.num-tag {
									position: absolute;
									top: 0;
									right: 0;
									transform: translateY(-50%);
									display: inline-block;
									box-sizing: border-box;
									color: #fff;
									line-height: 1.2;
									text-align: center;
									font-size: 24rpx;
									padding: 0 6rpx;
									min-width: 32rpx;
									border-radius: 16rpx;
									background-color: $base-color;
									border: 2rpx solid #fff;
								}
							}
						}
					}
				}
		
				&[data-template='3'] .goods-item {
					flex-direction: column;
		
					.info-wrap {
						width: 100%;
						margin-top: 12rpx;
					}
		
					.goods-img {
						width: 100%;
						height: auto;
						margin-right: 0;
						line-height: 1;
		
						image {
							border-radius: 8rpx;
						}
					}
		
					.select-sku {
						font-weight: bold;
						width: 128rpx;
						height: 52rpx !important;
						line-height: 52rpx !important;
					}
				}
			}
		
			.categoty-goods-wrap {
				display: flex;
				flex-direction: column;
				height: 100%;
		
				.scroll-goods-view {
					flex: 1;
					height: 0;
					transform: translateX(0px);
				}
			}
		
			.screen-category-wrap {
				display: flex;
		
				.icon-unfold {
					font-size: 24rpx;
					color: #999;
					padding: 0 0 0 20rpx;
				}
			}
		
			.screen-category {
				flex: 1;
				width: 0;
				padding: 0 0 20rpx 0;
				white-space: nowrap;
				height: 60rpx;
		
				.item {
					display: inline-block;
					padding: 4rpx 24rpx;
					background: #f5f5f5;
					color: #666;
					margin-right: 20rpx;
					border-radius: 40rpx;
		
					&.selected {
						background-color: $base-color;
						color: var(--btn-text-color);
					}
				}
			}
		
			/deep/ .uni-popup__wrapper-box {
				border-radius: 0;
			}
		
			.screen-category-popup {
				display: flex;
		
				.screen-category {
					white-space: break-spaces;
					padding: 20rpx;
					height: auto;
				}
		
				.title {
					line-height: 1;
					margin-bottom: 20rpx;
					font-weight: bold;
				}
		
				.item {
					margin-bottom: 20rpx;
				}
			}
		
			.end-tips {
				text-align: center;
				color: #999;
				font-size: 24rpx;
				padding: 30rpx 0 30rpx 0;
				display: flex;
				align-items: center;
				justify-content: center;
			}
		
			/deep/ .loading-layer {
				background: #fff !important;
			}
		
			.category-empty {
				flex: 1;
				display: flex;
				align-items: center;
				justify-content: center;
				flex-direction: column;
				padding-top: 100rpx;
		
				image {
					width: 280rpx;
					height: 252rpx;
				}
		
				.tips {
					font-size: 26rpx;
					font-weight: 500;
					color: #999;
					margin-top: 50rpx;
				}
			}
		
			.screen-category-4 .item {
				background-color: #f2f2f2 !important;
				padding: 10rpx 24rpx;
				line-height: 1;
				font-size: $font-size-tag;
		
				&.selected {
					background-color: var(--main-color-shallow) !important;
					color: var(--main-color);
				}
			}
	