<template name="alert">
	<view class="alert spec" :class="specClass">
		<!-- 运费弹窗说明 -->
		<view class="freight-alert"  @tap="hideFreight">
			<view class="content">
				<view class="title">
					<text>运费规则</text>
					<text class="iconfont icon-iconfontguanbi" @click.stop="hideFreight"></text>
				</view>
				<view class="text-content">
					<view class="text-h1">一、除含有仪器类、家具类等指定商品的订单，运费规则如下：</view>
					<view class="text">
						<text>1、首单，全国包邮（注：如果首单中含有不包邮的指定商品，则首单只能"到付"）；</text>
						<text>2、订单商品总额满1000元，全国包邮；</text>
						<text>3、订单商品总额不足1000元，深圳市内运费10元，广东省内深圳市外运费15元，其它地方运费到付；</text>
						<text>4、地推送货上门无需运费（注:下单可选择运费是否到付）。</text>
					</view>
					<view class="text-h1">二、含有仪器类、家具类等指定商品的订单，运费到付。</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default{
		name:'alert',
		props:{},
		data() {
			return{
				
			}
		},
		created() {
			
		},
		onLoad(){
			
		},
		methods:{
			hideFreight(){
				this.$parent.isfreightTip = false
			},
		},
		onShow(){
	
		}
	}
</script>

<style lang="scss">
	/*弹窗*/
	.model-warp.none{
		display: none;
	}
	.model-warp.show{
		display: block;
	}
	.freight-alert{
		width: 100%;
		height: 100%;
		background: rgba(0,0,0,.5);
		position: fixed;
		top: 0;
		left: 0;
		z-index: 8888;
		transition: all 0.4s;
		&.none{
			display: none;			
		}
		&.show{
			display: block;
		}
		.content{
			width: 530rpx;
			height: 710rpx;
			position: absolute;
			background: $bg-color;
			left: 0;
			right: 0;
			bottom: 0;
			top: 0;
			margin: auto;
			padding: 20rpx 25rpx;
			border-radius: 12rpx;
			.title{
				width: 100%;
				height: 68rpx;
				line-height: 68rpx;
				font-size: $font-size-28;
				color: $text-color;
				text-align: center;
				margin-bottom: 32rpx;
				position: relative;
				.icon-iconfontguanbi{
					width: 68rpx;
					height: 68rpx;
					text-align: center;
					line-height: 68rpx;
					position: absolute;
					right: 0;
					top: 0;
					font-size: $font-size-36;
					color: #999999;
				}
			}
			.text-content{
				width: 100%;
				height: auto;
				.text{
					padding: 40rpx 0;
					line-height: 44rpx;
					font-size: $font-size-26;
					color:#666666;
					text-align: justify;
				}
				.text-h1{
					line-height: 44rpx;
					font-size: $font-size-28;
					color: $text-color;
					text-align: justify;
				}
			}
			.btn{
				width: 100%;
				height: 88rpx;
				float: left;
				background: $btn-confirm;
				line-height: 88rpx;
				font-size: $font-size-28;
				text-align: center;
				color: #FFFFFF;
				border-radius: 0;
				padding: 0;
				margin-top: 2rpx;
			}
		}
	}
	
</style>