<!--
 * @Author: ch
 * @Date: 2022-03-23 10:07:48
 * @LastEditors: ch
 * @LastEditTime: 2022-04-09 15:03:52
 * @Description: file content
-->
<template>
	<view class="sekill">
		<view class="sekill-title">
			<view class="sekill-title--left">
				<text class="sekill-title--text">限时秒杀</text>
				<view class="sekill-title--time">
					<text class="sekill-title--time-name">14点场</text>
					<image class="sekill-title--time-icon" src="@/static/index/time.png"></image>
					<text class="sekill-title--time-time">14:20:30</text>
				</view>
			</view>
			<view class="sekill-title--more" @click="$Router.push('/pages/sekill/index')">
				<text>查看更多</text>
				<image class="sekill-title--more-icon" src="@/static/common/arrow.png"></image>
			</view>
		</view>
	</view>
</template>
<script>
export default {
	
}
</script>
<style lang="scss" scoped>
.sekill{
	height: 384rpx;
	width: 690rpx;
	margin: 0 auto;
	padding: 30rpx;
	background: $color-grey0;
	border-radius: 20rpx;
	&-title{
		height: 38rpx;
		display: flex;
		justify-content: space-between;
		align-items: center;
		&--text{
			font-size: 36rpx;
		}
		&--left{
			display: flex;
		}
		&--time{
			display: flex;
			height: 38rpx;
			line-height: 36rpx;
			border-radius: 18rpx;
			margin-left: 36rpx;
			background: $color-yellow0;
			overflow: hidden;
			align-items: center;
		}
		&--time-name{
			height: 100%;
			padding: 0 22rpx 0 15rpx;
			background: $color-yellow4;
			font-size: 22rpx;
			color: $color-grey0;
			position: relative;
			&::after{
				display: block;
				content: '';
				width: 16rpx;
				height: 36rpx;
				background: $color-yellow4;
				transform: rotate(40deg);
				position: absolute;
				right: -10rpx;
				top: -12rpx;
			}
			
		}
		&--time-time{
			margin-right: 15rpx;
			font-size: 22rpx;
			color: $color-yellow4;
			position: relative;
			&::before{
				display: block;
				content: '';
				width: 14rpx;
				height: 36rpx;
				background: $color-yellow0;
				transform: rotate(40deg);
				position: absolute;
				left: -52rpx;
				top: 8rpx;
				z-index: 0;
			}
		}
		&--time-icon{
			width: 22rpx;
			height: 22rpx;
			padding-left: 20rpx;
			margin-right: 8rpx;
		}
		&--more{
			display: inline-block;
			font-size: $font-size-sm;
			color: $color-grey4;
		}
		&--more-icon{
			width: 10rpx;
			height: 20rpx;
			margin-left: 10rpx;
		}
	}
	&--group{
		display: flex;
		justify-content: space-between;
		margin-top: 30rpx;
	}
	&--item{
		&-img{
			width: 200rpx;
			height: 200rpx;
			border-radius: 8rpx;
			background: color-grey0-grey;
		}
		&-pirce-box{
			width: 140rpx;
			height: 44rpx;
			line-height: 44rpx;
			background: linear-gradient(90deg, #FFE7DE 0%, $color-grey0 100%);
			border-radius: 20rpx;
			font-size: 22rpx;
			color: $color-grey5;
			padding: 0 20rpx;
			margin: 20rpx 0;
		}
		&-pirce{
			color: $color-yellow4;
			font-size: $font-size-lg;
		}
		&-original-pirce{
			display: block;
			font-size: 22rpx;
			color: $color-grey4;
			text-decoration: line-through;
			text-align: center;
			
		}
	}


	
}

</style>