<template>
	<view>
		<view class="card">
			<view class="title">
				<text >支付顺序设置</text>
				<text>将根据以下顺序扣款</text>
			</view>
			
			<view class="item" hover-class="hoverClass">
				<image class="icon" src="../../../static/icon/pay2.png" ></image>
				<view class="">
					积分支付
				</view>
			</view>
			<view class="item" hover-class="hoverClass">
				<image class="icon" src="../../../static/icon/pay1.png" ></image>
				<view class="">
					混合支付
				</view>
			</view>
			<view class="item" style="border: none;" hover-class="hoverClass">
				<image class="icon" src="../../../static/icon/pay3.png" ></image>
				<view class="">
					现金支付
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="scss" scoped>
	.hoverClass{
		opacity: 0.9;
		background-color: #ebebeb;
	}
	
	.card{
		background-color: #FFFFFF;
		padding: 20rpx 0 0;
		margin-top: 20rpx;
		display: flex;
		flex-direction: column;
		
		.title{
			padding: 20rpx;
			display: flex;
			flex-direction: column;
			
			text:first-child{
				font-weight: 800;
				font-size: 32rpx;
				color: #222222;
				padding-bottom: 20rpx;
			}
			text:last-child{
				color: #adadad;
				font-size: 24rpx;
			}
		}
		
		.item{
			display: flex;
			padding: 25rpx 40rpx;
			border-bottom: 1rpx solid #eeeeee;
			
			.icon{
				width: 40rpx;height: 40rpx;
			}
			
			view{
				padding-left: 15rpx;
			}
		}
	}
</style>
