goodsDetails.vue 36.9 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581
<template>
	<view class="container u-skeleton" @scroll="handlePageScroll">
		<global-loading />
		<view class="">
			<!--  拼团滚动-->
			<view class="news-box">
				<view class="news-bg">
					<swiper class="goodsImgswiper-box" :vertical="true" :circular="true" interval="8000" duration="2000"
						:autoplay="true">
						<swiper-item v-for="(item, index) of broadCastList" :key="index">
							<view class="news-item flex-items">
								<image class="item-avatar" :src="item.headImage"></image>
								<view class="news-item-user">{{ item.name }}</view>
								<view class="news-item-info">{{ item.timeStr }}</view>
								<view class="news-item-info" v-if="item.type === 1">给了好评
								</view>
								<view class="news-item-info" v-if="item.type === 2">正在拼单
								</view>
								<view class="news-item-info" v-if="item.type === 3">拼单成功
								</view>
								<view class="news-item-info" v-if="item.type === 4">下单
								</view>
							</view>
						</swiper-item>
					</swiper>
				</view>
			</view>

			<!-- 轮播图+分享+价格名称+活动倒计时+优惠券 -->
			<GoodActivityDetail ref="goodActivityDetail" :sku-select="selectedSku" :product-info="productData"
				:time-active-type="timeActiveType" :mark-tools="markTools" :shop-mark-tools="shopMarkTools"
				@activityEnd="handleActivityEnd" @couponClick="handleShowCoupon" />

			<!-- 发货 -->
			<view class="express-box flex-items flex-row fs24 u-skeleton-fillet">
				<label class="fs24 font-color-999 mar-right-20 ">发货</label>
				<image src="https://jy.scjysm.asia:18086/cdwlMall/questionnaire/file/static/images/mapIcon.png"
					v-if="productData.receive && productData.receive.receiveAdress"></image>
				<label class="mar-left-10 mapName mar-right-30"
					v-if="productData.receive && productData.receive.receiveAdress">{{
            productData.receive.receiveAdress
          }}</label>
				<label>快递:¥ {{ productData.logisticsPrice || 0 }}</label>
			</view>
			<view class="express-box flex-items flex-row fs24 u-skeleton-fillet" v-if="productData.combinationName!=''">
						商品组合:{{productData.combinationName}}
							
						</view>
			<!-- 选择SKU -->
			<view class="fs24 chooseSize-box flex-start" @click=" handleShowGoodsSkuSelect(6)">
				<view class="chooseSize-content flex-items flex-row flex-sp-between u-skeleton-fillet">
					<view class="flex-row-plus ">
						<label class="fs26   mar-left-30 font-color-999">选择</label>
						<view class="valueBox mar-left-20 flex-items">
							<view class="mar-right-10" v-for="(item, index) of currentSuk" :key="index">
								{{ item.skuText || '-' }}
							</view>
						</view>
					</view>
					<image class="arrow-icon"
						src="https://jy.scjysm.asia:18086/cdwlMall/questionnaire/file/static/img//user/arrow.png">
					</image>
				</view>
			</view>

			<!--结合销售-->
			<combined-sales :pid="productId" :productData="productData"></combined-sales>
			<!--拼团-->
			<view v-if="selectedSku.activityType === 1" class="borRig-line-20"></view>
			<!-- 拼单列表 -->
			<view v-if="selectedSku.activityType === 1&&topThreeCollageOrders.length > 0" class="goodsDiscount">
				<view class="questionTit mar-left-30 flex-items flex-row flex-sp-between">
					<label class="">这些人正在拼单</label>
					<view class="allMoreBox">
						<view class="allMore" @click="handleOpenGroupBookingList">查看全部
						</view>
						<image class="evaluateAllArrow-icon mar-left-10"
							src="https://jy.scjysm.asia:18086/cdwlMall/questionnaire/file/static/img//user/arrow.png">
						</image>
					</view>
				</view>
				<view class="groupBuy" v-for="(Gitem, index) in topThreeCollageOrders" :key="index">
					<view class="groupBuyList" v-if="Gitem.time > 0">
						<view class="groupBuyItem">
							<view class="leftAvatar">
								<img :src="Gitem.headImage" alt="">
								<span>{{ Gitem.name }}</span>
							</view>
							<view class="rightInfo">
								<view class="groupBuyTime" style="width: 70%;">
									<view class="needPeople flex-row-plus">还差<b>{{ Gitem.person }}人</b>拼成</view>
									<view class="endDate">剩余{{ handleGetDownTime(Gitem.time) }}</view>
								</view>
								<view class="groupBuyBtn" @click="handleGoGroupBooking(Gitem.collageId)">和Ta拼
								</view>
							</view>
						</view>
					</view>
				</view>
			</view>
			<!--  评价  -->
			<GoodEvaluateAndQuestion ref="goodEvaluateAndQuestion" class=" u-skeleton-fillet"
				:product-info="productData" :comment-list="commentList" />
			<!-- 店铺 -->
			<view class="inStore-box flex-items flex-row flex-sp-between  u-skeleton-fillet">
				<view class="flex-display flex-row">
					<view>
						<image @click="handleJumpToStore" class="inStore-logo default-img"
							:src="$baseURL+productData.shopLogo"></image>
					</view>
					<view class="flex-display flex-column mar-left-20">
						<label @click="handleJumpToStore">{{ productData.shopName }}</label>
						<view class="flex-display flex-row fs24 font-color-999 mar-top-5">
							<label>商品总类:{{ productData.classifyNumber }}</label>
							<label class="mar-left-30">已售:{{ productData.number }}件</label>
						</view>
					</view>
				</view>
				<view class="inStore-but" @click="handleJumpToStore">去逛逛
				</view>
			</view>
			<!-- 详细信息 -->
			<view class="goodsDetails-box u-skeleton-fillet">
				<view class="goodsDetails-title">
					<view class="goodsDetails-Line"></view>
					<label class="goodsDetails-text">宝贝详情</label>
					<view class="goodsDetails-Line"></view>
				</view>
				<view class="goodsDetailsimg-box">
					<view class="">
						<rich-text :nodes="sellDescList"></rich-text>
					</view>
				</view>
			</view>
		</view>
		<!-- 底部购买 -->
		<view class="buygoods-box">
			<view class="buygoodsBut-box flex-row-plus" :style="{'height':(isIphone === true? 160:130)+'rpx'}">
				<view class="btns_container">
					<view class="btns flex-column-plus" @click="handleJumpToStore">
						<image class="store-icon"
							src="https://jy.scjysm.asia:18086/cdwlMall/questionnaire/file/static/images/storeIcon.png">
						</image>
						<label class="fs22">店铺</label>
					</view>
					<view class="btns flex-column-plus" @click="kefu">
						<image class="store-icon"
							src="https://jy.scjysm.asia:18086/cdwlMall/questionnaire/file/static/images/service-product-detail.png">
						</image>
						<label class="fs22">客服</label>
					</view>
					<!-- #ifdef MP-WEIXIN || APP-PLUS || H5 -->

					<!-- #endif -->
					<view class="btns flex-column-plus mar-left-10 flex-items Cart" @click="handleJumpToShopCart">
						<view class="cartAllNum" v-if="allCartNum>0">{{ allCartNum }}
						</view>
						<image class="store-icon"
							src="https://jy.scjysm.asia:18086/cdwlMall/questionnaire/file/static/images/gouwuche.png">
						</image>
						<label class="fs22">购物车</label>
					</view>
				</view>
				<view class="btns_container">
					<view class="flex-row-plus offShelf" v-if="productData.shelveState === 0">
						商品已下架
					</view>
					<view class="flex-row-plus flex-items" v-else-if="selectedSku.activityType === 1">
						<view class="joinShopCartBut" @click=" handleShowGoodsSkuSelect(4)">单独购买
						</view>
						<view class="buyNowBut" @click=" handleShowGoodsSkuSelect(3)">我要开团
						</view>
					</view>
					<view class="flex-row-plus flex-items" v-else>
						<view class="joinShopCartBut" @click=" handleShowGoodsSkuSelect(1)">加入购物车
						</view>
						<view class="buyNowBut" @click=" handleShowGoodsSkuSelect(2)">立即购买
						</view>
					</view>
				</view>
			</view>
		</view>
		<!-- 回到顶部 -->
		<view class="returnTopService-box">
			<view class="returnTop-box flex-items-plus flex-column" @click="handleReturnTop"
				:style="{'display':(returnTopFlag===true? 'flex':'none')}">
				<image class="returnTopImg"
					src="https://jy.scjysm.asia:18086/cdwlMall/questionnaire/file/static/images/backTop.png"></image>
			</view>
		</view>
		<!-- SKU选择器 -->
		<GoodSkuSelect ref="skuSelect" :product-data="productData" :selected-sku="selectedSku" :collage-id="collageId"
			@postSelectSku="selectSkuPostProcessor" @getCurrentSku="handleSelectSku"
			@changeCartNum="(num)=>allCartNum = num" />
		<!-- 优惠券选择器 -->
		<coupon-popup ref="couponPopup" :markTools="markTools" :shopMarkTools="shopMarkTools" :setTop="topLeft"
			:currentActive="0"></coupon-popup>
		<!-- 拼单弹框 -->
		<u-popup class="popupDiscount" v-model="showGroupBuyList" mode="center" border-radius="14"
			close-icon-pos="top-right" close-icon-size="20">
			<view class="popupDiscountTit">这些人正在拼单</view>
			<view class="groupBuy">
				<view class="groupBuyList">
					<scroll-view style="height: 480upx;" scroll-y>
						<view class="groupBuyItem1" v-for="(aitem,index) in selectedSku.collageOrders" :key="index">
							<view class="leftAvatar" v-if="aitem.time > 0">
								<img :src="aitem.headImage" alt="">
								<view class="groupBuyTime">
									<view class="needPeople"><span>{{ aitem.name }}</span>还差<b>{{ aitem.person }}人</b>
									</view>
									<view class="endDate">剩余{{ handleGetDownTime(aitem.time) }}</view>
								</view>
							</view>
							<view class="rightInfo" v-if="aitem.time > 0">
								<view class="groupBuyBtn" @click="handleGoGroupBooking(aitem.collageId)">和Ta拼
								</view>
							</view>
						</view>
					</scroll-view>
				</view>
			</view>
		</u-popup>
		<!-- 骨架屏 -->
		<Skeleton el-color="#efefef" bg-color="#fff" :loading="isFirstComeIn&&loading" :animation="true"></Skeleton>
	</view>
</template>

<script>
	import Skeleton from "../../components/Skeleton";
	import UButton from "../../uview-ui/components/u-button/u-button";
	import CombinedSales from "@/components/activities/combinedSales";
	import CouponPopup from "../../components/goodsDetalils/coupon-popup";
	import {
		Services
	} from "../../utils/services";
	import GoodEvaluateAndQuestion from "./components/GoodEvaluateAndQuestion";
	import GoodActivityDetail from "./components/GoodActivityDetail";
	import GoodSkuSelect from "./components/GoodSkuSelect";
	import {
		TimeFormatting
	} from "../../utils/timeUtil";
	import USkeleton from "../../uview-ui/components/u-skeleton/u-skeleton";

	const NET = require('../../utils/request')
	const API = require('../../config/api')
	export default {
		components: {
			USkeleton,
			Skeleton,
			CouponPopup,
			CombinedSales,
			UButton,
			GoodEvaluateAndQuestion,
			GoodActivityDetail,
			GoodSkuSelect
		},
		data() {
			return {
				isFirstComeIn: true,
				loading: true,
				isIphone: "",
				returnTopFlag: false, // 回到顶部
				productId: '', // 商品ID,有可能屎缓存数据
				shopGroupWorkId: null, // 拼团数据ID
				topThreeCollageOrders: {}, //当前商品拼单数据
				collageId: 0, // 去拼团时的拼单ID
				broadCastList: [], // 拼团滚动数据
				showGroupBuyList: false, // 是否展示拼单弹窗
				shopGroupWorkTicker: null, // 拼团倒计时定时器
				paramSkuId: null, // 秒杀商品ID
				// 商品详情
				productData: {},
				// 当前选中SKU
				selectedSku: {},
				currentSuk: [], // 选中的SKU(子组件给当前页面做数据渲染)
				buyNum: 1, // 当前选取的SKU购买数量
				storeId: '', // 店铺ID
				commentList: [], // 商品评价列表
				sellDescList: '', // 商品详情长图(富文本)
				timeActiveType: true, // 是否开启活动(非则预热)
				btnType: 1, // 拉起SKU窗口的按钮类型 1加入购物车 2立即购买 3开团 4单独购买 6选择SKU
				allCartNum: 0, // 购物车数量
				markTools: [], //平台优惠券
				shopMarkTools: [], //店铺优惠券
				currentActive: 0, // 优惠券选项卡类型
				topLeft: 0, // 距离顶部(返回顶部使用)
				// 埋点对象
				pointOption: {
					inTime: null,
					data: {
						eventType: 1,
						productIds: '',
					}
				}
			}
		},
		created() {
			if (this.ticker) { //这一段是防止进入页面出去后再进来计时器重复启动
				clearInterval(this.ticker);
			}
			if (this.allCartNum > 99) {
				this.allCartNum = '...'
			}
		},
		beforeDestroy() {


		},
		onShow() {

		},
		onLoad(options) {
			// 页面滚动条归0,不然骨架屏有问题
			uni.pageScrollTo({
				scrollTop: 0,
				duration: 0
			})
			this.productData = {
				logisticsPrice: 0,
				images: ['123', '123', '123'],
				productName: '....',
				ifCollect: 1,
			}
			this.selectedSku = {
				activityType: 0,
				originalPrice: 0
			}
			if (options.detail) {
				options = this.$getJumpParam(options)
			}
			this.isFirstComeIn = true
			this.loading = true
			let salesId = null
			this.pointOption.inTime = new Date().getTime()
			this.isIphone = getApp().globalData.isIphone;
			let item = getApp().globalData.productShareItem
			if (item) {
				const item = getApp().globalData.productShareItem
				this.shopId = parseInt(item.shopId)
				this.productId = item.productId
				this.paramSkuId = item.skuId
				salesId = parseInt(item.salesId)
				getApp().globalData.productShareItem = undefined
			} else {
				this.shopId = parseInt(options.shopId)
				this.productId = options.productId
				this.paramSkuId = options.skuId
				salesId = parseInt(options.salesId)
			}
			// 判断是否是拼团
			if (options.shopGroupWorkId) {
				this.shopGroupWorkId = options.shopGroupWorkId
			}
			this.handleGetProductDetail()
			// 绑定分销关系
			salesId && this.shopId ? this.bindSalesCustomer(salesId, this.shopId) : ''
			this.allCartNum = uni.getStorageSync('allCartNum')
		},
		onUnload() {
			// 判断是否要埋点
			const nowTime = new Date().getTime()
			if (nowTime - this.pointOption.inTime >= 5000) {
				// 埋点
				this.pointOption.data.productIds = this.productId
				this.$store.dispatch('doPointer', this.pointOption.data)
			}
			// 销毁平团倒计时计时器
			if (this.shopGroupWorkTicker) {
				clearInterval(this.shopGroupWorkTicker)
				this.shopGroupWorkTicker = null
			}
		},
		mounted() {

		},
		onPageScroll(e) {
			this.returnTopFlag = e.scrollTop > 600;
			this.topLeft = e.scrollTop
		},
		methods: {
			/**
			 * 页面滚动事件
			 * @param e
			 */
			handlePageScroll(e) {
				this.topLeft = e.scrollTop
			},

			/**
			 * 选取sku
			 * @param skuObj:{currentSuk:object,selectedSku:object,buyNum:number}
			 */
			handleSelectSku(skuObj) {
				this.currentSuk = skuObj.currentSku
				this.selectedSku = skuObj.skuItem
				this.buyNum = skuObj.buyNum
			},

			/**
			 * 选择sku后置方法
			 * 判断有无活动等操作
			 */
			selectSkuPostProcessor() {
				const ifEnable = this.selectedSku['ifEnable']
				if (this.selectedSku.activityType === 1 && ifEnable === 0) {
					this.topThreeCollageOrders = this.selectedSku.collageOrders.slice(0, 3)
				}
				if ([1, 2, 3, 4, 5].includes(this.selectedSku.activityType) && ifEnable === 0) {
					this.$refs.goodActivityDetail.handleGetCountDownNumber(this.selectedSku.endTime)
				}
				this.timeActiveType = ifEnable === 0;
			},

			/**
			 * 获取拼团滚动数据
			 */
			async handleGetGroupBookingRollList() {
				let param = {
					productId: this.productId,
					shopGroupWorkId: this.shopGroupWorkId ?? undefined,
				}
				const res = await NET.request(API.GetBroadCastList, param, 'GET')
				this.broadCastList = res.data
			},

			/**
			 * 和他人拼单
			 * @param collageId 已存在的拼团订单ID
			 */
			handleGoGroupBooking(collageId) {
				this.showGroupBuyList = false
				this.collageId = collageId
				this.$refs.skuSelect.goodsDetailShowFlag = true
			},

			/**
			 * 设置拼团倒计时
			 */
			handleSetDownTime() { //这个计时器是每秒减去数组中指定字段的时间
				let productHaveCollageOrder = false
				// 判断sku组合中是否存在拼单
				const skuCollects = this.productData.map
				for (const skuCollectItemKey in skuCollects) {
					const collageOrders = skuCollects[skuCollectItemKey]['collageOrders']
					if (collageOrders && collageOrders.length > 0) {
						productHaveCollageOrder = true
						break
					}
				}
				if (!productHaveCollageOrder) return

				this.shopGroupWorkTicker = setInterval(() => {
					for (const skuCollectItemKey in skuCollects) {
						const collageOrders = skuCollects[skuCollectItemKey]['collageOrders']
						if (collageOrders && collageOrders.length > 0) {
							collageOrders.forEach(collageItem => {
								collageItem.time > 0 ? collageItem.time -= 1000 : ''
							})
						}
					}
				}, 1000);
			},

			/**
			 * 根据时间戳获取格式化时间(处理计时器)
			 * @param remainMillSecs 毫秒,还有多久结束
			 * @return {string}
			 */
			handleGetDownTime(remainMillSecs) {
				if (remainMillSecs <= 0) {
					clearInterval(this.shopGroupWorkTicker)
					this.shopGroupWorkTicker = null
					this.handleGetProductDetail()
				}
				const timeFormatting = TimeFormatting(remainMillSecs / 1000);
				return `${ timeFormatting.hour }:${ timeFormatting.min }:${ timeFormatting.sec }`;
			},

			/**
			 * 跳转到购物车
			 */
			handleJumpToShopCart() {
				this.$jumpToTabbar('../../pages/tabbar/cart/index')
			},

			/**
			 * 跳转到店铺
			 */
			handleJumpToStore() {
				this.$jump(`../store/index?storeId=${ this.shopId }`)
			},

			/**
			 * 返回头部
			 */
			handleReturnTop() {
				uni.pageScrollTo({
					scrollTop: 0,
					duration: 300
				});
			},

			/**
			 * 打开SKU弹窗
			 * @param type 1加入购物车 2立即购买 3开团 4单独购买 6选择SKU
			 */
			handleShowGoodsSkuSelect(type) {
				// 为type情况时,绝不可能为和他人拼单
				this.collageId = 0
				this.$refs.skuSelect.btnType = type
				this.$refs.skuSelect.goodsDetailShowFlag = true
			},

			/**
			 * 打开优惠券弹窗
			 */
			handleShowCoupon() {
				this.$refs.couponPopup.showActivity = true
			},

			/**
			 * 活动商品时间到后置方法
			 * 供GoodActivityDetail组件调用
			 */
			handleActivityEnd() {
				this.selectedSku.activityType = 0
				location.reload()
			},

			/**
			 * 获取商品详情
			 */
			async handleGetProductDetail() {
				this.loading = true
				// uni.showLoading({
				//   title: '加载中...',
				//   mask: true
				// })
				try {
					let postData = {
						shopId: this.shopId,
						productId: this.productId,
						skuId: this.paramSkuId,
						terminal: 1
					}
					const res = await NET.request(API.QueryProductDetail, postData, "GET")
					this.isFirstComeIn = false
					this.loading = false
					this.productData = res.data
					this.markTools = res.data.markTools //平台优惠券
					console.log('平台优惠券', res.data.markTools)
					this.shopMarkTools = res.data.shopMarkTools //店铺优惠券
					this.currentActive = this.markTools.length === 0 && this.shopMarkTools.length > 0 ? 1 : 0
					//处理单规格商品,如果是单款式商品,需要特殊处理productData.names
					const skuCollectionList = this.productData.map
					const skuCollectionListKeys = Object.keys(skuCollectionList)
					if (skuCollectionListKeys.length === 1 && skuCollectionListKeys[0] === '单款项') {
						this.productData.names[0].values.push({
							skuValue: this.productData.names[0].skuName,
							valueCode: '单款项'
						})
					}

					//如果sku的图像为空,设置为商品的图像
					for (const key in skuCollectionList) {
						if (!skuCollectionList[key].image) {
							skuCollectionList[key].image = this.productData.images[0]
						}
					}

					// 评价
					this.commentList = res.data.comments
					// 宝贝详情
					this.sellDescList = res.data.text.replace(/\<img/gi,
						'<img style="max-width:100%;height:auto" ')

					//渲染商详之后,如果参数传了skuId,则选中该skuId,否则选中第一个规格
					this.$nextTick(async () => {
						if (this.paramSkuId) {
							this.$refs.skuSelect.handleSelectBySkuId(this.paramSkuId)
						} else {
							// 默认选中第0个
							for (const skuRowItem of this.productData.names) {
								this.$refs.skuSelect.handleClickSkuItem(skuRowItem.nameCode, skuRowItem
									.values[0].valueCode)
							}
						}
						//如果是拼团,设置拼团id
						if (this.productData.activityType === 1) {
							this.shopGroupWorkId = this.productData.shopGroupWorkId
							await this.handleGetGroupBookingRollList()
							this.handleSetDownTime();
						}
						await this.$refs.goodEvaluateAndQuestion.handleGetProblemList()
					})
				} finally {
					uni.hideLoading()
					// this.loading = false
				}
			},

			/**
			 * 绑定分销关系
			 * @param salesId 分销员ID
			 * @param storeId 店铺ID
			 */
			bindSalesCustomer(salesId, storeId) {
				//如果已登录,静默绑定客户关系,否则跳转到登录页面
				if (!uni.getStorageSync('storage_key')) {
					uni.setStorageSync('salesId', salesId)
					uni.setStorageSync("shopId", storeId)
					uni.navigateTo({
						url: '../../pages_category_page2/userModule/login'
					})
					return
				}
				NET.request(API.BindSalesCustomer, {
					shopId: storeId,
					distributorId: salesId
				}, 'POST').then(res => {
					console.log('分销关系绑定成功!')
				})
			},

			/**
			 * 打开拼团列表
			 */
			handleOpenGroupBookingList() {
				if (this.topThreeCollageOrders.length > 0) {
					this.showGroupBuyList = true
				} else {
					uni.showToast({
						title: "还没有人拼单,快去拼单吧!",
						icon: "none"
					})
				}
			},
			kefu() {
				uni.navigateTo({
					url: `/pages_category_page1/customer/chatBox?shopId=${this.shopId}`
				})
				// NET.request(API.GetUser, {}, 'GET').then(res => {
				// 	if(res.code != '20004'){
					
				// 	}
					
				// })
				
			},
			/**
			 * 打开客服
			 * @return {Promise<void>}
			 */

			async flyToService() {
				// (await Services(this.shopId)).flyToService()
				uni.navigateTo({
					url: '/pages_category_page1/customer/chatBox'
				});
			},

		}
	}
</script>
<style>
	.page {
		background-color: #F7F7F7;
	}
</style>
<style scoped lang="scss">
	.page {
		background-color: #F7F7F7;
	}

	.news-box {
		position: fixed;
		left: 20rpx;
		top: 200rpx;
		z-index: 9999;

		.news-bg {
			width: 450rpx;
			height: 70rpx;
			overflow: hidden;

			.news-item {
				background: rgba(0, 0, 0, 0.75);
				border-radius: 16rpx;
				height: 70rpx;
				color: #FFFFFF;
				font-size: 24rpx;
				padding: 0 20rpx;
				width: 450rpx;

				.item-avatar {
					width: 50rpx;
					height: 50rpx;
					border-radius: 50%;
					margin-right: 20rpx;
				}
			}
		}
	}


	.tabsbox {
		width: 100%;
		margin-top: 20rpx;
		background-color: #FFFFFF;
	}


	.checkimg {
		width: 40rpx;
		height: 40rpx;
		margin-right: 30rpx;
	}

	.container {
		padding-bottom: 180upx;

		.arrow-icon {
			width: 16rpx;
			height: 24rpx;
			margin-right: 25rpx;
		}

		.goodgDes-box {
			background-color: #FFFFFF;
			width: 100%;
			padding-bottom: 25rpx;

			.priceBuyNum-box {
				width: 677rpx;
				margin-top: 30rpx;
			}

			.nameContainer {
				display: flex;

				.goodsName-box {
					width: 677rpx;
					height: 85rpx;

					.img618-cion {
						width: 70rpx;
						height: 36rpx;
					}
				}

				.collectBox {
					width: 80rpx;
					margin: 0 30rpx 0 15rpx;
					display: flex;
					flex-direction: column;
					justify-content: center;
					align-items: center;
				}

				.store-icon {
					width: 48rpx;
					height: 48rpx;
				}
			}

			.discounts-box {
				margin-top: 20rpx;

				.discounts-text {
					margin-left: 10rpx;
					color: #FF7800;
					background-color: #FFE4CC;
					padding: 6rpx 12rpx;
					border-radius: 4rpx;
				}
			}

			.activity-box {
				display: flex;
				flex-direction: row;
				justify-content: center;
				align-items: flex-end;
				border-top: 1upx solid #EDEDED;

				.activity-content {
					width: 614rpx;
					padding-top: 20rpx;

					.activity-text {
						color: #FF7700;
						border: 1rpx solid #FF7700;
						padding: 6rpx 23rpx;
					}

					.coupon-arrow {
						width: 16rpx;
						height: 24rpx;
						margin-left: 15rpx;
					}
				}
			}
		}

		.express-box {
			height: 100rpx;
			background-color: #FFFFFF;
			padding-left: 30rpx;
			border-top: 12rpx solid #F8F8F8;
			border-bottom: 12rpx solid #F8F8F8;

			image {
				width: 21rpx;
				height: 27rpx;
			}

			.expressSite-icon {
				width: 30rpx;
				height: 30rpx;
			}

			.mapName {
				position: relative;

				&:before {
					content: '';
					width: 2rpx;
					height: 30rpx;
					background: #CCCCCC;
					display: block;
					position: absolute;
					right: -16rpx;
					top: 5rpx;
				}
			}
		}

		.chooseSize-box {
			height: 90rpx;
			background-color: #FFFFFF;
			margin: 10rpx 0;

			.chooseSize-content {
				width: 100%;
			}
		}

		.questionTit {
			height: 90rpx;
			border-bottom: 1rpx solid #EEEEEE;
			margin-right: 35rpx;
			color: #333333;
			font-size: 30rpx;

			.allMoreBox {
				display: flex;
				align-items: center;
				color: #999999;
				font-size: 24rpx;

				.evaluateAllArrow-icon {
					width: 18rpx;
					height: 24rpx;
				}
			}
		}

		.shopEvaList {
			display: flex;
			padding: 30rpx;
			flex-wrap: wrap;
			border-bottom: 20rpx solid #EEEEEE;

			.shopEvaItem {
				padding: 0 14rpx;
				height: 60rpx;
				background: #ffe4cc;
				border-radius: 6rpx;
				line-height: 60rpx;
				text-align: center;
				font-size: 28rpx;
				color: #666666;
				margin: 0 20rpx 20rpx 0;
			}
		}

		.storeEvaluate-box {
			background-color: #FFFFFF;
			margin-top: 20rpx;

			.storeEvaluate {
				width: 690rpx;
				padding: 20rpx 0;
				border-bottom: 1rpx solid #EDEDED;
			}

			.storeEvaluateTag-box {
				margin-top: 10rpx;
				margin-left: 10rpx;
				padding-bottom: 30rpx;
				display: flex;
				flex-wrap: wrap;

				.storeEvaluateTag-text {
					background-color: #FFE4CC;
					border-radius: 6rpx;
					padding: 16rpx 14rpx;
					color: #656565;
					margin-left: 20rpx;
					margin-top: 20rpx;
				}
			}
		}

		.inStore-box {
			background-color: #FFFFFF;
			margin-top: 20rpx;
			padding: 20rpx 30rpx;

			.inStore-logo {
				width: 70rpx;
				height: 70rpx;
			}

			.inStore-but {
				width: 140rpx;
				height: 60rpx;
				line-height: 60rpx;
				text-align: center;
				font-size: 24rpx;
				color: #fff;
				background: #2ca536;
				/*padding-left: 20rpx;*/
				position: relative;

			}
		}

		.goodsDetails-box {
			background-color: #FFFFFF;
			margin-top: 20rpx;
			padding: 20rpx 30rpx;

			.goodsDetails-title {
				display: flex;
				flex-direction: row;
				align-items: center;

				.goodsDetails-Line {
					width: 265rpx;
					border-bottom: 1rpx solid #EDEDED;
				}

				.goodsDetails-text {
					padding: 0 22rpx;
				}
			}

			.goodsDetailsimg-box {}
		}

		.priceExplain-box {
			background-color: #FFFFFF;
			margin-top: 20rpx;
			padding: 20rpx 30rpx;

			.priceExplain-title {
				display: flex;
				flex-direction: row;
				align-items: center;

				.priceExplain-Line {
					width: 265rpx;
					border-bottom: 1rpx solid #EDEDED;
				}

				.priceExplain-text {
					padding: 0 22rpx;
				}
			}

			.priceExplain-dot {
				width: 9rpx;
				height: 9rpx;
				border: 1rpx solid #FF7700;
				border-radius: 50%;
				background-color: #FF7700;
			}
		}

		.buygoods-box {
			position: fixed;
			bottom: 0rpx;
			box-sizing: border-box;
			z-index: 999;

			.groupByInfo {
				background: #fffbe9;
				padding: 0 30rpx;
				height: 80rpx;

				.groupByInfoBox {
					height: 80rpx;
				}

				.groupByLeft {
					.groupByAvatar {
						margin-right: 15rpx;
					}

					img {
						width: 50rpx;
						height: 50rpx;
					}

					.name {
						font-size: 24rpx;
					}

					.groupByNum {
						margin-right: 10rpx;
					}

					.groupByTime {
						color: #333333;
					}
				}

				.groupByBtn {
					height: 60rpx;
					background: #333333;
					color: #FFEBC4;
					font-size: 14rpx;
					line-height: 60rpx;
					text-align: center;
					padding: 0 20rpx;
				}
			}

			.buygoodsBut-box {
				background-color: #FFFFFF;
				width: 750rpx;
				padding: 20rpx 32rpx;
				box-shadow: 0rpx 0rpx 10rpx 1rpx #EDEDED;
				box-sizing: border-box;
				display: flex;
				justify-content: space-between;

				.btns_container {
					display: flex;
					align-items: center;
				}

				.btns {
					width: 80rpx;
				}

				.Cart {
					position: relative;

					.cartAllNum {
						position: absolute;
						width: 30rpx;
						height: 30rpx;
						line-height: 30rpx;
						text-align: center;
						font-size: 17rpx;
						color: #FFFFFF;
						background: #2ea436;
						border-radius: 50%;
						opacity: 1;
						z-index: 999;
					}

					// #ifdef APP-PLUS
					.cartAllNum {
						right: -6rpx;
						top: -6rpx;
					}

					// #endif
					/* #ifdef H5 */
					.cartAllNum {
						right: -10rpx;
						top: -6rpx;
					}

					/* #endif */
					/* #ifdef MP-WEIXIN */
					.cartAllNum {
						right: -3rpx;
						top: 0;
					}

					/* #endif */
				}

				.store-icon {
					width: 48rpx;
					height: 48rpx;
				}

				.joinShopCartBut {
					width: 190rpx;
					height: 80rpx;
					background-color: #FFFFFF;
					color: #333333;
					font-size: 28rpx;
					line-height: 80rpx;
					border: 2rpx solid #333333;
					text-align: center;
					margin-left: 40rpx;
					box-sizing: border-box;
				}

				.buyNowBut {
					width: 190rpx;
					height: 80rpx;
					background: #2ea436;
					color: #fff;
					font-size: 28rpx;
					line-height: 80rpx;
					text-align: center;
					margin-left: 16rpx;
				}

				.offShelf {
					background: #b7b7b7;
					border-radius: 50rpx;
					width: 360rpx;
					margin-left: 50rpx;
					line-height: 80rpx;
					height: 80rpx;
					justify-content: center;
					color: #333333;
				}
			}
		}

		.returnTopService-box {
			position: fixed;
			bottom: 160rpx;
			right: 30rpx;

			.fs16 {
				font-size: 16rpx;
			}

			.returnTop-box {
				width: 88rpx;
				height: 88rpx;
				border-radius: 50%;
				background: #FFFFFF;
				opacity: 0.8;

				.returnTopImg {
					width: 58rpx;
					height: 58rpx;
				}
			}

			.serviceImg-box {
				width: 90rpx;
				height: 90rpx;
				border-radius: 50%;
				background-color: #FFFFFF;
				box-shadow: 0rpx 0rpx 5rpx 3rpx #999999;

				.serviceImg {
					width: 36rpx;
					height: 36rpx;
					display: block;
					background: url("https://jy.scjysm.asia:18086/cdwlMall/questionnaire/file/static/images/serviceImg.png") no-repeat center center;
					background-size: contain;
				}
			}
		}


		.parameterShow-box {
			.parameter-title {
				width: 100%;
				text-align: center;
				padding-bottom: 36rpx;
			}

			.parameter-modle {
				width: 690rpx;
				padding-bottom: 36rpx;
				font-size: 26rpx;
			}

			.parameterTruebut-box {
				background-color: #FFFFFF;
				padding: 20rpx 0;

				.parameterTruebut {
					width: 690rpx;
					height: 80rpx;
					background-image: linear-gradient(135deg, #FFA100 10%, #FF7911 100%);
					color: #FFFFFF;
					border-radius: 40rpx;
					line-height: 80rpx;
					text-align: center;
					font-size: 26rpx;
				}
			}
		}

		.couponShow-box {
			.couponShow {
				z-index: 333;
				height: 1000rpx;

				.couponTitle-box {
					width: 100%;
				}

				.coupon-title-active {
					color: #FF7700;
					border-bottom: 2rpx solid #FF7700;
					padding-bottom: 30rpx;
				}

				.usableCoupon-content {
					padding: 30rpx 0;

					.usableCoupon-box {
						width: 690rpx;
						height: 140rpx;
						border-radius: 10rpx;
						background-color: #FFE9D8;

						.immediateUse-but {
							color: #FF7800;
							border-radius: 30rpx;
							padding: 0 40rpx;
							border-left: 3rpx solid #EBD7C7;
							height: 140rpx;
							border-radius: 60rpx;
							line-height: 140rpx;
							font-weight: bold;
						}
					}
				}
			}
		}

		.succeedShow-box {
			position: absolute;
			top: 220rpx;
			left: 185rpx;

			.succeedShow {
				background-color: #7F7F7F;
				width: 380rpx;
				height: 280rpx;
				border-radius: 10rpx;
				opacity: 0.8;

				.couponSucceedImg {
					width: 200rpx;
					height: 130rpx;
				}
			}
		}

	}

	.activity-box {
		display: flex;
		flex-direction: column;
		width: 100%;
		height: 100%;

		.title-box {
			width: 100%;
			height: 100upx;
			display: flex;
			flex-direction: row;
			align-items: center;
			justify-content: center;
			position: relative;
			border-bottom: solid 1px #EEEEEE;
		}
	}

	.activity-coupon-box {
		display: flex;
		flex-direction: column;
		width: 100%;
		overflow: auto;
		flex: 1;
	}

	.content-box {
		width: 100%;
		box-sizing: border-box;
		display: flex;
		flex-direction: column;
		padding: 30rpx;
	}

	.tag-box {
		width: 100%;
		box-sizing: border-box;
		height: 80rpx;
		line-height: 80rpx;
		font-size: 28rpx;
		font-weight: 500;
		color: #FF7911;
	}

	.label-lingqu {
		width: 100%;
		font-weight: 500;
		color: rgba(51, 51, 51, 1);
	}

	.coupon-item {
		width: 690rpx;
		height: 120rpx;
		border-radius: 10rpx;
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		margin-top: 20rpx;
		flex-shrink: 0;
		background-color: #FFE9D8;
	}

	.money-box {
		width: 160rpx;
		box-sizing: border-box;
		padding-left: 30rpx;
		font-weight: 500;
		color: #FF7911;
	}

	.info-box {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		color: rgba(255, 121, 17, 1);
	}

	.receive-btn {
		width: 200rpx;
		height: 120rpx;
		background: rgba(255, 233, 216, 1);
		box-shadow: 0px 0px 5rpx 0px rgba(102, 102, 102, 0.35);
		line-height: 120rpx;
		text-align: center;
		font-size: 28rpx;
		font-weight: bold;
		color: rgba(255, 121, 17, 1);
		border-bottom-right-radius: 10rpx;
		border-top-right-radius: 10rpx;
		border-top-left-radius: 120rpx;
		border-bottom-left-radius: 120rpx;
	}

	.received {
		background: #f1f1f1;
		color: #999;
	}


	.canvas-box {
		display: block;
		position: absolute;
		top: 100rpx;
	}

	.sceneMarketingBox {
		width: 100%;
		background: url("https://jy.scjysm.asia:18086/cdwlMall/questionnaire/file/static/images/5f85fe4782e34c10b15b04f76c571d12_sceneMarketingDetailsIcon.png"
			) no-repeat center;
		padding: 20rpx 30rpx;
		background-size: cover;
		display: flex;
		justify-content: space-between;
		align-items: center;

		.sceneNameBox {
			width: 220rpx;
			text-align: center;
			color: #C83732;
			font-size: 20rpx;
		}
	}


	.goodsDiscount {
		.groupBuy {
			.groupBuyList {
				.groupBuyItem {
					padding: 0 30rpx;
					height: 116rpx;
					display: flex;
					align-items: center;
					justify-content: space-between;
					border-bottom: 1rpx solid #EEEEEE;

					.leftAvatar {
						display: flex;
						align-items: center;
						width: 50%;

						img {
							width: 72rpx;
							height: 72rpx;
							margin-right: 10rpx;
							border-radius: 50%;
						}
					}

					.rightInfo {
						display: flex;
						align-items: center;
						width: 50%;

						.groupBuyTime {
							.needPeople {
								font-size: 28rpx;
								color: #333333;
								margin-bottom: 10rpx;
								font-weight: 400;

								b {
									color: #C5AA7B;
									font-weight: 400;
								}
							}

							.endDate {
								color: #666666;
							}
						}

						.groupBuyBtn {
							width: 140rpx;
							height: 60rpx;
							line-height: 60rpx;
							background: #333333;
							text-align: center;
							color: #FFEBC4;
							font-size: 24rpx;
						}
					}
				}
			}
		}
	}

	.popupDiscount {
		padding-bottom: 70rpx;

		.popupDiscountTit {
			font-size: 36rpx;
			color: #333333;
			height: 105rpx;
			line-height: 105rpx;
			text-align: center;
			border-bottom: 1rpx solid #EEEEEE;
		}

		.groupBuy {
			padding-bottom: 80rpx;

			.groupBuyList {
				.groupBuyItem1 {
					padding: 0 30rpx;
					height: 116rpx;
					display: flex;
					align-items: center;
					justify-content: space-between;
					border-bottom: 1rpx solid #EEEEEE;

					.leftAvatar {
						display: flex;
						align-items: center;

						img {
							width: 72rpx;
							height: 72rpx;
							margin-right: 10rpx;
							border-radius: 50%;
						}

						.groupBuyTime {
							margin-right: 80rpx;
							margin-bottom: 10rpx;
							width: 320rpx;

							.needPeople {
								font-size: 26rpx;
								color: #333333;

								span {
									color: #333333;
									padding-right: 10rpx;
								}

								b {
									color: #C5AA7B;
									font-weight: 400;
								}
							}

							.endDate {
								color: #333333;
								opacity: 0.7;
								font-size: 24rpx;
							}
						}
					}

					.rightInfo {
						display: flex;
						align-items: center;

						.groupBuyBtn {
							width: 140rpx;
							height: 70rpx;
							line-height: 70rpx;
							background: #333333;
							text-align: center;
							color: #FFEBC4;
							font-weight: 400;
						}
					}
				}
			}
		}
	}

	.combination {
		padding: 0 20rpx;

		.combinationList {
			width: 100%;
			height: 680rpx;
			background: #333333;
			box-shadow: 0 20rpx 30rpx rgba(0, 0, 0, 0.3);
			border-radius: 20rpx;

			.combinationTitle {
				padding: 32rpx 20rpx 0 30rpx;

				image {
					width: 211rpx;
					height: 33rpx;
				}

				.combinationPrice {
					padding: 0 20px;
					height: 50rpx;
					background: linear-gradient(90deg, #C83732 0%, #E25C44 100%);
					box-shadow: 0 6rpx 12rpx rgba(233, 0, 0, 0.3);
					border-radius: 26rpx;
					line-height: 50rpx;
					text-align: center;
					color: #FFFFFF;
					opacity: 0.8;
				}
			}

			.buyBtn {
				width: 96%;
				height: 84rpx;
				line-height: 84rpx;
				border: 2rpx solid rgba(0, 0, 0, 0);
				background: linear-gradient(88deg, #C5AA7B 0%, #FFEBC4 100%);
				text-align: center;
				color: #333333;
				margin: 0 auto;
			}
		}
	}
</style>