<template>
	<view class="content" id="share-content">
		<view class="share-top">
			<image class="share-logo" src="@/static/share/img_02.png" mode="aspectFit"></image>
			<text class="share-title">注册会员</text>
			<text class="share-title">获取高额奖励</text>
			<view class="share-list">
				<view class="share-list-item"><text class="item-icon"></text><text class="item-text">安全的钱包技术</text>
				</view>
				<view class="share-list-item"><text class="item-icon"></text><text class="item-text">交易流畅顶级风控</text>
				</view>
				<view class="share-list-item"><text class="item-icon"></text><text class="item-text">丰富的加密资产业务</text>
				</view>
				<view class="share-list-item"><text class="item-icon"></text><text class="item-text">分布在世界各地的客户</text>
				</view>
			</view>
		</view>
		<view class="footer">
			<view class="share-code">
				<!-- https://ext.dcloud.net.cn/plugin?id=39 -->
				<!-- <tki-qrcode ref="qrcodeRef" :size="100" :showLoading="false" :val="qrcodeVal" /> -->
				<slot name="qrcode"></slot>
			</view>
			<!-- <image class="share-code" src="@/static/share/img_03.png" mode="aspectFit"></image> -->
			<view class="share-btns">
				<view class="share-btn">
					邀请您加入[币王]
				</view>
				<view class="share-btn-hint">
					<<<长按识别二维码 </view>
				</view>
			</view>
		</view>


	</view>
</template>

<script>
	export default {
		name: 'login',
		data() {
			return {

			};
		},
		mounted() {

		}
	}
</script>

<style lang="scss" scoped>
	.content {
		flex-shrink: 0;
		width: 100%;
		height: 100%;
		background: url("@/static/share/img_01.png") no-repeat center center;
		background-size: 100% 100%;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		padding: 30rpx 30rpx 20rpx;

		.share-top {
			display: flex;
			flex-direction: column;
			align-items: flex-start;

			.share-logo {
				display: inline-block;
				width: 322rpx;
				height: 80rpx;
				// margin-bottom: 14rpx;
			}

			.share-title {

				font-size: 56rpx;
				font-family: PingFang SC, PingFang SC-Bold;
				font-weight: 700;
				color: #ffffff;
				line-height: 1.1;
				letter-spacing: 1.2px;
			}

			.share-list {
				width: 100%;
				padding-top: 20rpx;
				display: flex;
				flex-direction: column;

				.share-list-item {
					font-size: 20rpx;
					font-family: PingFang SC, PingFang SC-Regular;
					font-weight: 400;
					color: #ffffff;
					line-height: 1.5;
					// transform: scale(0.8);
					display: flex;
					align-items: center;
					justify-content: flex-start;

					.item-icon {
						display: inline-block;
						width: 14rpx;
						height: 14rpx;
						border-radius: 50%;
						background-color: #fff;
					}

					.item-text {
						padding-left: 3px;
					}
				}
			}

		}

		.footer {
			width: 100%;
			display: flex;
			align-items: center;
			padding: 0 20rpx;

			.share-code {
				width: 140rpx;
				height: 140rpx;
				background-color: #fff;
				padding: 5rpx;
			}

			.share-btns {
				width: calc(100% - 130rpx);
				padding-left: 45rpx;
				color: #fff;

				.share-btn {
					width: 100%;
					height: 50rpx;
					background: linear-gradient(180deg, #faae3d, #f9d159);
					border-radius: 29rpx;
					text-align: center;
					line-height: 50rpx;
					font-size: 24rpx;
					font-family: PingFang SC, PingFang SC-Regular;
					font-weight: 400;
				}

				.share-btn-hint {
					padding-top: 22rpx;
					font-size: 24rpx;
					font-family: PingFang SC, PingFang SC-Regular;
					font-weight: 400;
					color: #ffffff;
					letter-spacing: 0.56rpx;
				}
			}
		}
	}
</style>