<template>
	
	<view class="all">
	
		<ujp-navbar title="国庆充电优惠活动" ></ujp-navbar>
		<view class="InviteFriends" >
			
			<view class="text imgHead">
				<img  src="@/assets/img/temporary/national-2024-1.png"></img>
			</view>
			<view class="text  national0">
				<img  src="@/assets/img/temporary/national-2024-0.png"></img>
			</view>
			<view class="main">

				<view class="suited">
					<p class="title">活动时间 :</p>
					<view class="content">
						2024 年 10 月 1 日至 2024 年 10 月 31 日

					</view>
					
					<p class="title">活动对象 :</p>
					<view class="content">
						优电联盟注册会员
					
					</view>

					<p class="title">活动内容 :</p>
					<view class="content">
						
						
						<view class="p">1、凡在活动期间，前往活动场站充电的平台会员享受充电服务费 8.5 折优惠。</view>
						<view class="p">2、凡在活动期间，快充且充电量达 30 度（含）以上均可享受一次抽奖机会（电费、停车费及占桩费据实结算）。</view>
						<view class="p">	奖品如下：</view>
					</view>
					
					
					<view class="contentList">
						<view class="item" v-for="(item,i) in list" :key="i"   >
							<view class="item1" >
								<view class="itemImg">
									<img  v-if="item.num"  src="@/assets/img/temporary/national-2024-3.png"></img>
									<img  v-else  src="@/assets/img/temporary/national-2024-2.png"></img>
									
								</view>
								<view class="itemView">
									<view class="itemName">{{item.name}}</view>
									<view class="itemId">
										
										{{item.remark}}
									</view>
								</view>
							</view>
							<view class="item2"  v-if="item.num" >
								{{(item.num)}}<span>折</span>
							</view>
							<view class="item2"  v-else >
								免单
							</view>
						</view>
					
					</view>
					<view class="remarks">
					
						
						活动说明：<br/>
						· 本活动以充电开始时间为准。<br/>
						· 本次活动仅适用优电联盟平台会员，不包含快电、新电途用户。<br/>
						· 本次活动最终解释权归湖北鹏育优电新能源科技有限公司所有<br/>
					</view>
					 
				</view>

			
				
				
					
					
			</view>
			
		</view>
		
		<view class="text imgHead national4">
			<img  src="@/assets/img/temporary/national-2024-4.png"></img>
			
			
		</view>
	</view>
</template>

<script>
	


	export default {
		components: {
		
		},
		data() {
			return {
				list:[
					{
						id:"3865b3a3-13fd-461a-8145-ee9711df35a2",
						name:"服务费免单券",
						num:0,
						remark:"每日限 3 单"
					},
					{
						id:"3c554cea-f522-4281-b582-d761510ed91e",
						name:"服务费5折券",
						num:5,
						remark:"每日限 10 单"
					},
					{
						id:"ef59b220-965f-4e9a-a087-4b52bbbcfb7f",
						name:"服务费6折券",
						num:6,
						remark:"不限次数"
					},
					{
						id:"8ab96b30-8102-476e-b166-78dc930838c2",
						name:"服务费7折券",
						num:7,
						remark:"不限次数"
					},
					{
						id:"5e71de75-d30e-4db3-9b3e-1fb2587d8f42",
						name:"服务费8折券",
						num:8,
						remark:"不限次数"
					}
				]

			}
		},
		onLoad(op) {
			
			
		},
		onReady() {
			
			
		},
		onShow() {

			

		},
		methods: {
			gotoStation(id){
				uni.navigateTo({
					url:"/pages/searchPile/stationAndPile/stationDetails?id="+id
				})
			}
		}
	}
</script>
<style>
	page {
		background: #b92d27;
	}
</style>
<style lang="scss" scoped>
	@import "@/_theme.scss";

	.all {
		@include themeify {
			font-size: themed('font-size1');
		}
	}
	 .imgHead {
		img {
		 			width: 100%;
				} 
	 }
	
	
	// .imgHead {
	// 	padding-top: 72rpx;
	// 	display: flex;
	// 	flex-direction: column;
	// 	align-items: center;

	// 	.imgHead1 {
	// 		img {
	// 			height: 24px;
	// 		}

	// 		display: flex;
	// 		justify-content: center;
	// 		align-items: center;
	// 	}

	// 	.imgHead2 {

	// 		display: flex;

	// 		img {
	// 			width: 100%;
	// 			height: 40px;
	// 		}

	// 		margin-top: 16px;
	// 	}
	// }
	.contentList{
		.item{
			border: 1px solid rgba(232, 229, 225, 1);
			border-radius: 8px;
			display: flex;
			    align-items: center;
			    justify-content: space-between;
				margin-bottom: 16rpx;
				padding: 16rpx 24rpx;
			.item1{
				display: flex;
				    align-items: center;
				    justify-content: space-between;
				.itemImg{
					margin-right: 16rpx;
					img{
						width: 80rpx;
						height: 80rpx;
					}
					
				}
				.itemName{
					font-weight: bold;
					color: rgba(16, 16, 16, 1);
					font-size: 36rpx;
				}
				.itemId{
					color: #96A2B4 ;
					font-size: 24rpx;
					    display: flex;
						align-items: center;
					    margin-top: 3px;
					img{
						width: 32rpx;
						height: 32rpx;
						margin-right: 2px;
					}
				}
			}
			.item2{
				color: #FF6B00 ;
				font-size: 72rpx;
				font-weight: bold;
				span{
					font-weight: 400;
					font-size: 28rpx;
					margin-left: 8rpx;
				}

			}
		}
	}
	.national0{
		position: absolute;
		top: 130rpx;
		    width: 100%;
			
		    display: flex;
		    justify-content: center;
		img{
			width: 666rpx;
			height: 100rpx;
		}
	}
	.national4{
		    margin-top: -280rpx;
		
	}
	.main {
		position: relative;
		top: -90rpx;
		padding: 22rpx 24rpx 10rpx;

		.text {
			color: rgba(255, 255, 255, 100);

		

			/*		   font-size: 18px;*/
			text-align: justify;
			text-indent: 36px;


		}

		.suited {
			background-color: #fff;
			//background: linear-gradient(180deg, rgba(189,255,224,1) 0%,rgba(255,255,255,1) 14%);
		//	background: linear-gradient(180deg, rgba(255, 224, 223, 1) 0%, rgba(255, 255, 255, 1) 14%);
			//background: linear-gradient(180deg, rgba(214,226,255,1) 0%,rgba(255,255,255,1) 14%);
			margin-top: 40rpx;
			padding: 40rpx 32rpx;
			border-radius: 20px;

			.title {
				/*height: 18px;*/
				color: rgba(16, 16, 16, 100);



				font-size: 32rpx;
				font-weight: 600;
			}
			.remarks{
				color: rgba(188, 188, 188, 1);
				font-size: 22rpx;
				margin-top: 40rpx;
			}
			.content {
				.p{
					margin: 12rpx 0;
				}
				margin: 16rpx 0 40rpx ;
				//font-weight: 550;
				color: #333333 ;
				
				font-size: 28rpx;
				span{
					color: #ec4f27;
				}
				p {
					margin: 8rpx 0;
				}
			}
		}
		.application-table {
			.nezhaImgView{
				text-align: center;
				margin-bottom: 24rpx;
				img{
					width: 100%;
				}
			}
			background-color: #fff;
			border-radius: 16px;
			margin-top: 24px;
			padding: 24rpx 36rpx;
			padding-top:8px;
		}

		.application-form {
			//background: linear-gradient(180deg, rgba(214,226,255,1) 0%,rgba(255,255,255,1) 14%);
			color:#333333;
			background-color: #fff;
			border-radius: 16px;
			margin-top: 24px;
			padding: 24px;
			.titlespan{
				font-weight: bold;
				color: rgba(16, 16, 16, 1);
			}
			.title{
				color: rgba(16, 16, 16, 1);
				font-size: 36rpx;
				font-weight: bold;
				margin-bottom: 24rpx
			}
			
			.u-input {
				border-radius: 50px;
				background-color: rgba(232, 236, 234, 100);
				margin-top: 12px;

			}

			::v-deep .uni-input-input {
				margin: 20px;
			}

			::v-deep .u-input__right-icon {
				margin-right: 10px;
			}

			p {
				font-size: 18px;

				@include themeify {

					line-height: themed('font-size4');
					height: themed('font-size4');
				}

				/*		  				  height: 18px;
							  line-height: 18px;*/
				color: rgba(16, 16, 16, 100);
				/*		  				  font-size: 18px;*/
			}

			.tel,
			.place,
			.type,
			.want {
				//margin-top: 24px;
			}

			.textarea {
				width: 72.2vw;
				height: 140px;
				border-radius: 22px;
				background-color: rgba(232, 236, 234, 100);
				margin-top: 12px;
				overflow-y: scroll;

				@include themeify {
					font-size: themed('font-size2');
					line-height: themed('font-size2');
				}

				.uni-textarea-placeholder {
					padding: 12px 20px;

					@include themeify {
						font-size: themed('font-size2');
						line-height: themed('font-size2');
					}
				}

				::v-deep .uni-textarea-textarea {
					width: 90%;
					padding: 10px 20px;

				}

				::v-deep .u-input__right-icon {
					display: none;
				}
			}
		}

		.type {
			.checkbox {
				margin-top: 12px;

				::v-deep .u-checkbox {
					width: 50% !important;
					margin-top: 4px;
				}
			}

		}

		.want {
			::v-deep .u-checkbox {
				margin-top: 8px;
			}
		}

		.hint {
			margin-top: 12px;

			@include themeify {
				font-size: themed('font-size2');
				line-height: themed('font-size5');
			}

			/*
			font-size: 14px;
			line-height: 20px;
			*/
			text-align: center;

			.tel-num {
				color: #9FC7FF;
			}
		}

		::v-deep .u-btn {
			border-radius: 50px;
			margin-top: 40rpx;
		}
	}

	.InviteFriends {
		//background-image: linear-gradient(0deg, #a2e9c9, #01b963);
	
		background: #b92d27;

	}



	.opacityClass {
		opacity: 0.2;
	}

	// 底部
	.bottomView {
		border-radius: 50px;
		color: rgba(0, 185, 98, 100);

		// width: 100%;
		// height: 64px;
		// text-align: center;
		// background-color: #fff;
		.button {
			//width: 90%;
			border-radius: 50px;
			// background-color: #fff;
			color: #fff;
			font-size: 16px;
			background: linear-gradient(90deg, rgba(255, 98, 0, 1) 0%, rgba(255, 150, 0, 1) 100%);
			//border: 1px solid rgba(0, 163, 86, 1);
		}

		// 	button::after {
		// 		border: rgba(0, 185, 98, 100);
		// 	}
	}

	.carAuth {
		border-radius: 12px;
		background-color: rgba(255, 255, 255, 1);
		border: 2px dashed rgba(187, 187, 187, 1);
		//height: 400rpx;
		width: 100%;
		overflow: hidden;
		text-align: center;

		.carAuthImg {
			margin-top: 10px;
			margin-bottom: 10px;
			width: 510rpx;
			height: 360rpx;
		}

		.carAuthIcon {
			position: absolute;
			background: #6e7175;
			width: 44px;
			height: 44px;
			border-radius: 50px;
			/* left: 200px; */
			/* top: 200px; */
			margin: 160rpx 230rpx;
			z-index: 99;
			display: flex;
			justify-content: center;

		}
	}

	// .car-type{
	// 	    display: flex;
	// 	    flex-direction: row;
	// 		margin: 0 40rpx;
	// 		flex-wrap: wrap;
	// }
	.want {
		.wantView {
			display: flex;
		}

		button {
			width: 45%;
			color: rgba(51, 51, 51, 1);
			background-color: rgba(232, 236, 234, 1);

		}

		button::after {
			border: none;
		}

		.wantBtn {
			background-color: #fff;
			border: 2px solid #00B962;
		}

		.wanttpis {
			position: relative;
			top: -100rpx;
			left: 180rpx;
			z-index: 99;
			background: #00B962;
			padding: 2px 3px;
			font-size: 10px;
			color: #fff;
			border-radius: 4px;

		}
	}

	.carTempBlInput {
		display: flex;
		align-items: center;
		font-size: 16px;
		min-height: 44px;
		padding: 4px 16px;
		border-radius: 20px;
		background: #e9ecea;
		color: #808080
	}
	
	.table {
		table {
			color:#010101 ;
			border-spacing:0;
			font-size: 32rpx;
			
			.th {
				

				background-color: #f2efef;
				text-align: center;
				color:	#101010;
				font-weight: bold;
				td{
					border: 1px solid   #dbdbdb;
					padding: 12rpx 0;
					height: 96rpx;

				}
			}
	
			.td1 {
				text-align: start;
			//	background-color: rgba(243, 245, 247, 1);
				width: 132rpx;
				text-align: center;

				border-left: 1px solid   #dbdbdb;
				border-right: 1px solid   #dbdbdb;
				
			}
			.td3 {
				text-align: start;
				//background-color: rgba(243, 245, 247, 1);
				//width: 100rpx;
			
				border-left: 1px solid   #dbdbdb;
				border-right: 1px solid   #dbdbdb;
			}
	
			td {
				//text-align: center;
				border-bottom: 1px solid   #dbdbdb;
				//width: 160rpx;
			}
		}
	
	
	}
</style>