
<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-supplier')">
					<view class="icon">
						<image src="https://admin-b.caimei365.com/userfiles/1/images/photo/2020/11/%E4%BE%9B%E5%BA%94%E5%95%86(1).png" mode=""></image>
					</view>
					<view class="text my">采购方(卖家)</view>
					<view class="text-small">仪器/产品/服务供应商</view>
				</view>
				<view class="item" @click.stop="this.$api.navigateTo('/pages/login/register')">
					<view class="icon">
						<image src="https://admin-b.caimei365.com/userfiles/1/images/photo/2020/11/%E6%9C%BA%E6%9E%84.png" mode=""></image>
					</view>
					<view class="text by">采购方(买家)</view>
					<view class="text-small">医院机构/美容会所/个人买家</view>
				</view>
			</view>
		</view>
		<image class="bg_image" src="https://admin-b.caimei365.com/userfiles/1/images/photo/2020/11/%E8%83%8C%E6%99%AF.png" mode=""></image>
	</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>
