
<template>
	<view class="container register">
		<view class="main">
			<view class="title">请选择注册的账号类型</view>
			<view class="main-item">
				<view class="item" @click.stop="this.$api.navigateTo('/pages/login/register')">
					<view class="icon">
						<image src="https://static.caimei365.com/app/img/icon/icon-club.png" mode=""></image>
					</view>
					<view class="text by">采购方(买家)</view>
					<view class="text-small">医院机构/美容会所/个人买家</view>
				</view>
				<view class="item" @click.stop="this.$api.navigateTo('/pages/login/register-supplier')">
					<view class="icon">
						<image src="https://static.caimei365.com/app/img/icon/icon-supplier.png" mode=""></image>
					</view>
					<view class="text my">供应商(卖家)</view>
					<view class="text-small">仪器/产品/服务供应商</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default{
		data() {
			return{
				
			}
		},
		onLoad(option) {

		},
		computed: {
			
		},
		methods:{
			
		}
	}
</script>

<style lang="scss">
	.register{
		width: 100%;
		height: 100%;
		position: relative;
		box-sizing: border-box;
		padding-top: 100rpx;
		.main{
			width: 100%;
			height: 370rpx;
			.title{
				width: 100%;
				height: 46rpx;
				line-height: 46rpx;
				float: left;
				text-align: center;
				font-size: $font-size-34;
				color: $text-color;
				font-weight: bold;
			}
			.main-item{
				width: 100%;
				height: auto;
				float: left;
				box-sizing: border-box;
				margin-top: 20rpx;
				.item{
					width: 100%;
					height: auto;
					float: left;
					display: flex;
					flex-direction: column;
					align-items: center;
					margin-top: 50rpx;
					.icon{
						width: 186rpx;
						height: 186rpx;
						image{
							width: 186rpx;
							height: 186rpx;
							display: block;
						}
					}
					.text{
						line-height: 54rpx;
						font-size: $font-size-30;
						text-align: center;
						&.by{
							color: #3b77ff;
						}
						&.my{
							color: #ff7a51;
						}
					}
					.text-small{
						line-height: 54rpx;
						font-size: $font-size-24;
						text-align: center;
						color: #999999;
					}
				}
			}
		}
		.bg_image{
			position: absolute;
			width: 100%;
			height:354rpx;
			left: 0;
			bottom: 0;
		}
	}
</style>
