invitation.vue 3.5 KB
<template>
	<view class="inactive">
		<u-navbar :back-icon-color="'#FFFFFF'" :is-back="true" title="邀请好友" :title-color="'#FFFFFF'" :background="background"></u-navbar>
		<view class="invitationContainer flex flexColumn justifyC alignC">
			<image src="/static/evering/ic_img_invitatio.png" class="invitationContainerImage"></image>
			<view class="firstBox flex flexColumn alignC">
				<view class="firstBoxTitle">已邀请人数</view>
				<view class="firstBoxText">100人</view>
			</view>
			<view class="twoBox flex flexColumn justifyBetween">
				<view class="twoBoxContainer flex">
					<image src="/static/evering/ic_icon.png" mode="widthFix"></image>
					<view class="twoBoxContainerText">生成专属邀请码</view>
				</view>
				<view class="line1" style="width: 574rpx;height: 1rpx; background-color: #8F939C;"></view>
				<view class="twoBoxContainer flex">
					<image src="/static/evering/ic_List.png" mode="widthFix"></image>
					<view class="twoBoxContainerText">查看邀请列表</view>
				</view>
			</view>
			<view class="thirdBox flex flexColumn justifyBetween alignC">
				<image src="/static/evering/yaoqingshuoming.png" mode=""></image>
				<view class="thirdContainerBox">1.邀请列表</view>
				<view class="thirdContainerBox">2.邀请列表</view>
				<view class="thirdContainerBoxT">3.邀请列表</view>
			</view>
		</view>
	</view>
</template>

<script>
export default {
	data() {
		return {
			background: {
				// 渐变色
				backgroundImage: 'linear-gradient(135deg, rgba(255, 148, 48, 1) 0%, rgba(254, 206, 51, 1) 100%)'
			}
		};
	},
	methods: {}
};
</script>

<style>
.inactive {
	background: linear-gradient(60deg, rgba(255, 148, 48, 1) 0%, rgba(254, 206, 51, 1) 100%);
	padding: 0 32rpx;
}
.invitationContainerImage {
	margin-top: 20rpx;
	width: 612rpx;
	height: 490rpx;
}
.firstBox {
	width: 686rpx;
	height: 346rpx;
	border-radius: 12rpx;
	opacity: 1;
	margin-top: -16rpx;
	padding-top: 80rpx;
	background: rgba(255, 255, 255, 1);
	box-shadow: 0 16rpx 32rpx 0 rgba(94, 119, 156, 0.08);
}
.firstBoxTitle {
	height: 44rpx;
	color: rgba(0, 0, 0, 1);
	font-size: 32rpx;
	font-weight: 400;
	font-family: 'PingFang SC';
	text-align: center;
	line-height: 44rpx;
	letter-spacing: 0.6rpx;
}
.firstBoxText {
	margin-top: 72rpx;
	height: 78rpx;
	opacity: 1;
	color: rgba(25, 24, 51, 0.9);
	font-size: 72rpx;
	font-weight: 700;
	font-family: 'D-DIN';
	text-align: center;
}
.twoBox {
	padding: 28rpx 56rpx;
	width: 686rpx;
	height: 210rpx;
	margin-top: 36rpx;
	border-radius: 12rpx;
	opacity: 1;
	background: rgba(255, 255, 255, 1);
	box-shadow: 0 16rpx 32rpx 0 rgba(94, 119, 156, 0.08);
}
.twoBoxContainer image {
	width: 40rpx;
	height: 40rpx;
}
.twoBoxContainerText {
	margin-left: 16rpx;
	width: 196rpx;
	height: 40rpx;
	opacity: 1;
	color: rgba(50, 50, 51, 1);
	font-size: 28rpx;
	font-weight: 400;
	font-family: 'PingFang SC';
	text-align: center;
	line-height: 40rpx;
}
.thirdBox {
	width: 686rpx;
	height: 406rpx;
	margin-top: 28rpx;
	margin-bottom: 46rpx;
	padding-top: 34rpx;
	border-radius: 12rpx;
	opacity: 1;
	background: rgba(255, 255, 255, 1);
	box-shadow: 0 16rpx 32rpx 0 rgba(94, 119, 156, 0.08);
}
.thirdBox image {
	width: 244rpx;
	height: 54rpx;
	margin-bottom: 44rpx;
}
.thirdContainerBox {
	width: 574rpx;
	height: 70rpx;
	color: rgba(50, 50, 51, 1);
	font-size: 26rpx;
	font-weight: 400;
	margin-bottom: 32rpx;
	border-bottom: 1rpx solid rgba(235, 237, 240, 1);
}
.thirdContainerBoxT{
	width: 574rpx;
	height: 70rpx;
	color: rgba(50, 50, 51, 1);
	font-size: 26rpx;
	font-weight: 400;
	margin-bottom: 32rpx;
}

</style>