<template>
	<view class="activity" :class="isRequest ? 'active' :''">
		<view class="topBanner">
			<image src="https://admin-b.caimei365.com/userfiles/1/images/photo/2020/08/icon-topbanner%402x.png" mode=""></image>
		</view>
		<view class="activity-main clearfix">
			<view class="home-hotmaintab-fixed">
				<view class="home-flex-tab show">
					<view class="flex text-white">
						<view class="basis-xxl">
							<scroll-view scroll-x class="nav z" scroll-with-animation :scroll-left="headTab.scrollLeft">
								<block v-for="(item,index) in headTab.list" :key="index">
									<view class="cu-item" :class="index==headTab.TabCur?'select':''" @tap="tabSelect(index,item)" :data-id="index">
										<view>{{item}}</view>
										<view class="tab-dot bg-white"/>
									</view>
								</block>
							</scroll-view>
						</view>
					</view>
				</view>
			</view>
		</view>
		<view class="activity-container">
			<view class="activity-section one clearfix" v-for="(item, index) in dataList">
				<view class="section-title">{{item.name}}</view>
				<view class="section-main">
					<view class="product-list" v-for="(pros, index) in item.productList" :key="index"  @click.stop="navToDetailPage(item.productID)">
						<view class="list-rebate">{{pros.activityDiscount}}折</view>
						<view class="list-image">
							<image :src="pros.mainImage" mode=""></image>
						</view>
						<view class="list-name">{{pros.name}}</view>
						<template v-if="hasLogin">
							<template v-if="userIdentity != 2">
								<view class="list-price none">
									<view class="price-left">
										<text class="icon"></text>
										<text class="none">￥<text>???</text></text>
									</view>
									<view class="price-right">
										<view class="login-btn" @click.stop="this.$api.navigateTo(`/pages/login/apply?clubStatus=${clubStatus}`)">去升级</view>
									</view>
								</view>
							</template>
							<template v-else>
								<view class="list-price">
									<view class="price-new">￥<text class="big">{{pros.retailPrice}}</text><text>.00</text></view>
									<view class="price-old">￥<text class="big">{{pros.price1}}</text><text>.00</text></view>
								</view>
							</template>
						</template>
						<template v-else>
							<view class="list-price none">
								<view class="price-left">
									<text class="icon"></text>
									<text class="none">￥<text>???</text></text>
								</view>
								<view class="price-right">
									<view class="login-btn" @click="navigator()">登录</view>
								</view>
							</view>
						</template>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	import { mapState,mapMutations} from 'vuex';
	import authorize from '@/common/config/authorize.js'
	export default {
	    data() {
	        return {
	          topBanner:'',
			  userIdentity:'',
			  clubStatus:'',
			  isRequest:true,
			  headTab: {
			  	TabCur: 0, 
			  	scrollLeft: 0, 
			  	list: [],
			  }, 
			  dataList:[]
	        }
	    },
		onLoad(option) {
			console.log(option)
			this.activityPath = option.path
			this.productID = option.productID
			uni.setNavigationBarTitle({title:'采美商城年中促销'});
			let number = 19200.26
			let value2Array = number.toString().split(".");
			console.log(value2Array)
		},
		computed: {
			...mapState(['hasLogin','userInfo'])
		},
		methods:{
			initData(){
				this.ActivityService.GetRepeatActivityBrandList().then(response =>{
					console.log(response)
					let data = response.data
					this.headTab.list = data.brandNames
					this.dataList = data.brandList
				}).catch(error =>{
					this.$util.msg(error.msg,2000)
				})
			},
			//tab菜单被点击
			tabSelect(index,item) {
				this.headTab.TabCur = index;
				this.headTab.scrollLeft = (index - 1) * 60;
			},
			navToDetailPage(id) {//跳转商品详情页
				this.$api.navigateTo(`/pages/goods/product?id=${id}`)
			},
			navigator(){
				authorize.getSetting().then(wxResponse =>{// console.log('是否已授权',res);//0:为取消授权 1:为已授权 2:为未操作
					if(wxResponse == 1){
						this.$api.navigateTo('/pages/login/login?type=0')
					}else{
						this.$api.navigateTo('/pages/authorization/authorization?type=1')
					}
				})	
			},	
		},
		onPullDownRefresh() {//下拉刷新
			uni.stopPullDownRefresh()
		},
		onShow() {
			this.$api.getComStorage('userInfo').then((resolve) =>{
				this.clubStatus = resolve.clubStatus
				this.userIdentity = resolve.userIdentity
				this.initData()
			})
		}
	}
</script>
	
<style lang="scss">
	view,
	scroll-view,
	swiper,
	button,
	input,
	textarea,
	label,
	navigator{
		box-sizing: border-box;
	}
	.activity{
		width: 100%;
		height: auto;
		padding-bottom:60rpx;
		background:rgba(242,94,58,1);
		opacity: 0;
		&.active{
			opacity: 1;
		}
	}
	.topBanner{
		width: 100%;
		height: 880rpx;
		image{
			width: 100%;
			height: 100%;
		}
	}
	.activity-container{
		width: 100%;
		height: auto;
		padding: 0 24rpx;
		.activity-section{
			width: 100%;
			height: auto;
			.section-title{
				width: 100%;
				height: 88rpx;
				line-height: 88rpx;
				text-align: center;
				color: #FFFFFF;
				font-size:$font-size-32 ;
				letter-spacing:4rpx;
				float: left;
				background: url(https://admin-b.caimei365.com/userfiles/1/images/photo/2020/08/icon-title%402x.png)no-repeat;
				background-size: contain;
			}
			.section-main{
				width: 100%;
				height: auto;
				float: left;
				padding: 0 0 20rpx 0;
				.product-list{
					width: 340rpx;
					height: 526rpx;
					padding: 20rpx;
					border-radius: 20rpx;
					background-color: #FFFFFF;
					float: left;
					margin-right:20rpx;
					margin-bottom: 20rpx;
					position: relative;
					&:nth-child(2n){
						margin-right: 0;
					}
					.list-rebate{
						width: 82rpx;
						height: 82rpx;
						position: absolute;
						top: 20rpx;
						left: 20rpx;
						background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFIAAABSCAYAAADHLIObAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAUqADAAQAAAABAAAAUgAAAACfHI/oAAAdgklEQVR4Ac2dXaylVXnH3/fdZz6d0anQ6sCMDHQgEDVN04Rpe6EzXkhENNqi4IU1eCEmxKZiQ7WT+EEkUROmibbNQCTEEi/MkBgFtTWEmbmcIW3iVQlSEERHG0VkmGHmzNnv6v/3f9bz7n3mnMMBz7GcdWbvtdazns//etbHfs8+0DZruJTP79rWz5080HblPaUpp5quOdRtGt3e/sOvTq41t9u15lD6U/7xwu39qDwsAK9s2tI0XWnartGrPNq2697R7v/VieRdC7VcW3ulfH7nRaVtjpReIDYCsE53KaXpRSvN7JHy5QsvWkuerzkgy/4dF/ezZ470pVzRGsFAMZcOWdk35Yq+P3ukHLjg4rUC5poCstx28Y7SK9tKuRyAtKyNE3XR8gZE2hXUy8useL/6+h1rAcw1A2TZf9HOvj13VJm4O5dz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Jkc+GFP9R/OOSkHNR/NESOyiv8rFDMaw8OBwLuDstUgBpYCbdKMWCwkrq8HX2uIcurY5AxJl7vj6pHWI/HdXhiX8wPiLBFNop+crTuDT8cfFpBY1WAbK+99uz40KEH9RT9Q/iC43hsh2mfVwCr1Z7pQ0ltxRbBko7ZZp+t/clneA2CBMtYY16eBlstg2OUNKZaKee/gB32zJTRkDLb8m374Mu9J0r6JcuqAIkFPSX6htz7EA6qjgfB7IUApTsle6PpGjJcANFqofX9nE729R5ja8isrHzOUJY+AFK4j+oHMLw8+UKT/pmPER0q3i/hsYisCUw/rkMGHdy7aI+a++iuRokUWA1N0jF+8MGD8v7m/Pq0s6R+fMSQ6CeUTMdHp08fa86cOaYr0iPN7OwF2l8PK8BddgN+eKlBAsArzeO8qT+v6PTXIfRUM9N+pm3ndmli9IuqcrUUbTdwvHFqq7Ju6VT59szRR/6KxmoUa1wNRamjHD58gy7nNynYHaL9Wtl4vAO08fhYe8stiz6mL5/6lP5jxfrLqqaJb3YQ6BRYXPY9KQLWNcueAsjUp08/OdqgLzQ9/PBTdLPUP7zaI717lIFXK0d3a//Up9ty38xVf/q59u679Qv71SmrDuTv6pa+wLVTv/Y9oo+bl1nHFJD0vT2k8umxUp4Yte3e9jvfWXSSUuT3Xa8ZIAm0fPnLO/rf/OawMmY3jvmTUF3ei2Wo1v7jo9FoX/vNbz7z+wZqOf1rCkicLV/84sV93x8WSJcbSNEGUKei0b75Y3+l5uDB4at1U8P/7801ByQIlK99zX+Fpr3xikQkDxw73LaPdX2/r/3KV36e4692vSaBBJRy113bywsvPKxlfqWyc3qPfLSbmdH/hmX/mvrfsKxZIA3mPfds1d9HflYfOz+gE/o1WuoPdKPRre0nP/ncq52B59v/P1qbGOCJITp7AAAAAElFTkSuQmCC)no-repeat;
						background-size: contain;
						line-height: 82rpx;
						text-align: center;
						font-size: $font-size-28;
						color: #FFFFFF;
					}
					.list-image{
						width: 300rpx;
						height: 300rpx;
						image{
							width: 300rpx;
							height: 300rpx;
							display: block;
						}
					}
					.list-name{
						width: 100%;
						height: 104rpx;
						padding: 10rpx 0;
						line-height: 42rpx;
						text-overflow:ellipsis;
						display: -webkit-box;
						word-break: break-all;
						-webkit-box-orient: vertical;
						-webkit-line-clamp: 2;
						overflow: hidden;
						font-size: $font-size-28;
					}
					.list-price{
						width: 100%;
						height: 60rpx;
						&.none{
							padding: 6rpx 0;
							margin-top: 20rpx;
							.price-left{
								float: left;
								.icon{
									display: block;
									width: 48rpx;
									height: 48rpx;
									background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAkCAYAAADl9UilAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAJqADAAQAAAABAAAAJAAAAAD+MnM7AAAGBElEQVRYCcWYz2sdVRTH752Zl+S91OKPTUipGDf+Ie6s7UahG3VVFxYEMTSY90RKO6maikQ3LrJoCRXFuggugsU0VVS6KEKVSJUKFS2llBAqbao14Y3ne37cO+81P957CTjwOjN3zjn3c77n3DuTekfHoacXj6WpG3O+6E/TxCWJc0nq6edcinMi13L2NOacJxt+Rs/pfJf8jo9NjUwi3k4cFJ4mSADlBIqBAENwAKIfIHAWEIOiBBgaz9wuSurd94/8PrETUIjBYPQvQRlMAaVWK1k6nmWDewYHa3vSSjqeZG7VFISt/QDnAZ3hXNQ/bOwMnAfd4WcWC0yQQh0qUyVNx0+efeodPLPj6KGrbxTOvW1wUFQU1IQUFupmWXLilaOPN8y3lzMrJiWjEmlP+bSYaQ9WHeifMZUMSEpMshMUQK3vqKz16fyPbZVVwDhbNL30VK1Wa+dya1mzkL7jnpKey6zPUEq9Riy69qmvn5q83jMcg4kCtgKdu792/6UHyFbXXkAfsTqciAGSH8YpEsehc+m6/vHUjZ7guMdef/5KgS3ASpJkCZr/LTdQmamQUv7ftRd95o977/owuZXMrqU/1Z/jJAQJQCSCnvMnDh4e7qrnGOzIwV+o+S1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izlLqUFoT1nDR8ViJNDJeutlue8SJKF2iPV/espZUJ0rJg5nPtsicpKCwIqALCkmqnDqph6bAdIbDP8ylqobgGFuboGg9P52eU8CWXV5sbflQRj6giIwmsp6dn5vt3V/Xv3+r8RZ7OjJzAE/HZumbYSWhCqiAGxWgFEFouWtGMoxO8ZDM4Xz93O6b8TBI5gsDVYX1mPQUX6rJrv21070IlSiItjW2AI8AM+8lIopyUlOisplxNQD3UHtSNgCMIfefQ9ZWrxIoB6BNXfpVKIh2PbikkY5/gjj3tO+oo+ob5KqrUDIyP+H7P5386/Xr43evWnlT9/W1yZvnatGNgOyH81Zu2QqjVpZQAAAABJRU5ErkJggg==)no-repeat center center;
									background-size: contain;
									float: left;
								}
								.none{
									display: block;
									font-size: $font-size-20;
									line-height: 48rpx;
									color: #4A4B54;
									float: left;
									font-weight: bold;
									margin-left: 5rpx;
									text{
										font-size: $font-size-32;
									}
								}
							}
							.price-right{
								float: right;
								.login-btn{
									width: 100rpx;
									height: 48rpx;
									background-color: #613FD2;
									border-radius: 24rpx;
									color: #FFFFFF;
									text-align: center;
									line-height: 48rpx;
									font-size: $font-size-26;
									font-weight: bold;
								}
							}
						}
						.price-new{
							width: 100%;
							height: 48rpx;
							line-height: 48rpx;
							font-size: $font-size-24;
							font-weight: bold;
							color: #FF5959;
							text-align: left;
							.big{
								font-size: $font-size-36;
							}
						}
						.price-old{
							width: 100%;
							height: 40rpx;
							line-height: 40rpx;
							font-size: $font-size-24;
							color: #252529;
							text-align: left;
							text-decoration: line-through;
						}
						
					}
				}
			}
		}
	}
	.home-hotmaintab-fixed{
		width: 100%;
		height:auto;
		overflow: hidden;
		background: url(https://admin-b.caimei365.com/userfiles/1/images/photo/2020/08/icon-tbabg%402x.png)no-repeat;
		background-size: contain;
		padding-bottom: 20rpx;
		.home-flex-tab {
			width: 100%;
			position: relative;
			transition: opacity .25s;
			.text-white{
				color: #FFFFFF;
			}
			.flex {
				.basis-xxl {
					flex-basis: 100%;
					width: 100%;
					z-index: 1;
				}
				.basis-xxs {
					flex-basis: 10%;
					z-index: 1;
					width: 10%;
				}
				.sort-icon {
					font-size: 55rpx;
					height: 64rpx;
					line-height: 64rpx;
					text-align: center;
				}
			}
		}
	}
	.nav{
		white-space:nowrap;
	}
	.nav .cu-item {
		display: inline-block;
		margin: 0 10rpx;
		padding: 0 20rpx;
		letter-spacing: 2rpx;
	}
	.nav.z .cu-item.select {
		font-size: $font-size-32;
		font-weight: bold;
		color: #FFFFFF;
	}
	.nav.z .cu-item {
		height: 88rpx;
		font-size: $font-size-26;
		line-height: 88rpx;
		position: relative;
	}
	.nav.z .cu-item.select .tab-dot {
		position: absolute;
		height: 8rpx;
		border-radius: 20rpx;
		bottom: 0;
		left: 0;
		right: 0;
		width: 40rpx;
		margin: auto;
	}
	.bg-white{
		background-color: #FFFFFF;
	}
	::-webkit-scrollbar {
		display: none;
	}
	.flex {
		display: -webkit-box;
		display: -webkit-flex;
		display: flex;
	}
</style>
