<template>
	<view class="page">
		<view class="index-navbar">
			<view class="" style="position: relative;;">
				<!-- <view class="back"></view> -->
				<u-navbar title-width='300' title='每日签到' :is-back="true" :border-bottom="false"
					:background="{background:'rgba(0,0,0,0)'}" :isFixed="true"></u-navbar>
			</view>
		</view>
		<view class="u-flex u-row-between top">
			<view class="">
				<view class="u-flex u-row-between">
					<view class="">
						<view class="u-flex">
							<text class="jifen">2</text>
							<image style="width: 40rpx;height: 40rpx;" src="" mode=""></image>
						</view>
						<text class="huoqu">每日签到可得1积分</text>
					</view>
					<view class="haowu">
						积分兑好物
					</view>
				</view>
				<view class="qiandao">
					今日签到
				</view>
				<view class="" style="margin-top: 46rpx;">
					<u-icon name="info-circle" color="#5881C1" size="22"></u-icon>
					<text class="guize">积分规则</text>
				</view>
			</view>
			<image style="width: 208rpx;height: 308rpx;" src="/pageA/static/images/meimei.png" mode=""></image>
		</view>
		<view class="rili">
			<u-calendar v-model="show" :mode="mode"></u-calendar>
		</view>

	</view>
</template>

<script>
	export default {
		data() {
			return {
				show: true,
				mode: 'date'
			};
		}
	}
</script>

<style lang="scss" scoped>
	.rili {
		width: 702rpx;
		height: 848rpx;
	}

	.guize {
		font-size: 22rpx;
		font-weight: 400;
		line-height: 26rpx;
		color: #5881C1;
	}

	.qiandao {
		width: 168rpx;
		height: 54rpx;
		background: linear-gradient(180deg, #B8E7FB 0%, #97D6F6 100%);
		box-shadow: 0rpx 6rpx 12rpx rgba(143, 204, 241, 1);
		border-radius: 28rpx;
		font-size: 26rpx;
		font-family: PingFangSC-Regular;
		line-height: 56rpx;
		color: #FFF7F7;
		text-align: center;
		margin-top: 28rpx;
	}

	.haowu {
		width: 158rpx;
		height: 48rpx;
		background: rgba(255, 255, 255, 1);
		border-radius: 24rpx;
		font-size: 24rpx;
		font-family: PingFang SC;
		font-weight: 400;
		line-height: 48rpx;
		color: #26303A;
		text-align: center;
		margin-left: 108rpx;
	}

	.jifen {
		font-size: 70rpx;
		font-family: PingFang SC;
		font-weight: 500;
		line-height: 98rpx;
		color: #323337;
	}

	.huoqu {
		font-size: 24rpx;
		font-family: PingFang SC;
		font-weight: 400;
		line-height: 34rpx;
		color: #7C879A;
	}

	.top {
		padding: 24rpx 44rpx 0 40rpx;
	}

	.page {
		position: absolute;
		top: 0;
		left: 0;
		z-index: -1;
		width: 750rpx;
		height: 100vh;
		background: linear-gradient(180deg, #CFF4FE 0%, #D5E5FF 41%, #8FCCF1 100%);
	}

	.index-navbar {
		position: sticky;
		top: 0;
		left: 0;
		width: 750rpx;
		z-index: 100;
		// overflow: hidden;

		// .back {
		// 	position: absolute;
		// 	top: 0;
		// 	left: 0;
		// 	z-index: -1;
		// 	width: 750rpx;
		// 	height: 100vh;
		// 	background: linear-gradient(180deg, #CFF4FE 0%, #D5E5FF 41%, #8FCCF1 100%);
		// }
	}
</style>