<template>
	<view class="page">
		<u-navbar title="优惠卷" :border-bottom="false" :background="bgc" back-icon-color="#262B37" title-color='#262B37'
			title-size='36' height='50' id="navbar">
		</u-navbar>
        <view class="list">
        	<view class="list_item" v-for="(item,index) in 20" :key="index">
        		<image src="https://api.ccttiot.com/smartmeter/img/static/uYPF6s2CHo3inpbeKtfc" mode=""></image>
				<view class="price">
					{{index + 1}}
				</view>
				<view class="cen">
					<view class="shuom">
						满{{90 + index}}可用
					</view>
					<view class="riqi">
						2025.03.11-2025.04.11
					</view>
				</view>
				<view class="rt">
					<view class="anniu">
						立即使用
					</view>
				</view>
        	</view>
        </view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				bgc: {
					backgroundColor: "",
				},
			}
		},
		onLoad() {

		},
		methods: {

		}
	}
</script>

<style lang="scss">
	/deep/ .u-iconfont,
	/deep/ .u-title{
		padding-bottom: 20rpx;
	}
	page {
		background-color: #fff;
	}
	.list{
		width: 672rpx;
		height: 90vh;
		overflow: scroll;
		margin: auto;
		padding-bottom: 50rpx;
		box-sizing: border-box;
		.list_item{
			width: 100%;
			position: relative;
			display: flex;
			align-items: center;
			padding: 36rpx 36rpx 30rpx 74rpx;
			box-sizing: border-box;
			margin-top: 30rpx;
			.rt{
				.anniu{
					width: 168rpx;
					height: 38rpx;
					line-height: 38rpx;
					background: #FFFFFF;
					border-radius: 22rpx 22rpx 22rpx 22rpx;
					text-align: center;
					font-size: 24rpx;
					color: #48893B;
				}
			}
			.cen{
				width: 280rpx;
				.shuom{
					font-weight: 600;
					font-size: 48rpx;
					color: #48893B;
				}
				.riqi{
					font-size: 18rpx;
					color: #7C7C7C;
				}
			}
			image{
				width: 672rpx;
				height: 168rpx;
				position: absolute;
				top: 0;
				left: 0;
				z-index: -1;
			}
			.price{
				font-weight: 600;
				font-size: 80rpx;
				color: #48893B;
				width: 140rpx;
			}
		}
	}
</style>