<!-- 渠道合作 -->
<template>
	<view class="body" :style="'padding-top:' + bottomHeight">
		<!-- 导航 -->
		<view class="ss-flex-2 ss-col-center ss-margin-width2" style="position: relative">
			<view class="ss-flex-2 ss-col-center">
				<text class="textIcon icon-fanhui icon-navigation" @click="backPage"></text>
				<view style="margin-left: 15rpx; color: #3D444E; font-size: 28rpx">招聘合作</view>
			</view>
			<view class="ss-flex-1"></view>
		</view>
		
		<view class="top-title-box">请选择您的身份</view>
		
		<view class="ss-flex-2 ss-col-center card-box">
			<!-- 左右布局 -->
			<view class="ss-flex-2 ss-col-center" style="width:55%;flex-wrap: wrap;padding:50rpx 0rpx;">
				<view style="font-size:30rpx;width:100%;">应聘技师</view>
				<view style="font-size:20rpx;width:100%;color:#A5A6A8;">Applying for technician position</view>
			</view>
			<view style="width:45%">
				
			</view>
		</view>
		<view class="ss-flex-2 ss-col-center card-box">
			<!-- 左右布局 -->
			<view class="ss-flex-2 ss-col-center" style="width:40%;flex-wrap: wrap;padding:50rpx 0rpx;">
				<view style="font-size:30rpx;width:100%;">城市合伙人</view>
				<view style="font-size:20rpx;width:100%;color:#A5A6A8;">City Partner</view>
			</view>
			<view style="width:60%">
				
			</view>
		</view>
		<view class="ss-flex-2 ss-col-center card-box">
			<!-- 左右布局 -->
			<view class="ss-flex-2 ss-col-center" style="width:40%;flex-wrap: wrap;padding:50rpx 0rpx;">
				<view style="font-size:30rpx;width:100%;">门店入驻</view>
				<view style="font-size:20rpx;width:100%;color:#A5A6A8;">Store entry</view>
			</view>
			<view style="width:60%">
				
			</view>
		</view>
		<view class="ss-flex-2 ss-col-center card-box">
			<!-- 左右布局 -->
			<view class="ss-flex-2 ss-col-center" style="width:40%;flex-wrap: wrap;padding:50rpx 0rpx;">
				<view style="font-size:30rpx;width:100%;">业务招聘</view>
				<view style="font-size:20rpx;width:100%;color:#A5A6A8;">Business Recruitment</view>
			</view>
			<view style="width:60%">
				
			</view>
		</view>
		
		<!-- 中部 -->
		<view class="list-wrap">
			<scroll-view scroll-y="true" class="list">
				<view class="list-scroll-view">

				</view>
			</scroll-view>
		</view>
	</view>
</template>
<script setup>
	import {
		reactive,
		ref
	} from 'vue';
	import {
		computed
	} from 'vue';
	import {
		onLoad,
		onPageScroll,
		onPullDownRefresh,
		onReady,
		onReachBottom,
		onShow,
	} from '@dcloudio/uni-app';
	import sheep from '@/sheep';
	import $share from '@/sheep/platform/share';
	// 隐藏原生tabBar
	// uni.hideTabBar();

	// 返回首页
	const backPage = async () => {
		uni.reLaunch({
			url: '/pages/XDHome/myHome/myHome',
		});
	};

	const bottomHeight = ref('0rpx');
	// #ifdef APP-PlUS
	//获取顶部安全距离
	const app = uni.getSystemInfoSync();
	const bottomHeightOne = app.statusBarHeight + 'rpx';
	bottomHeight.value = bottomHeightOne
	// #endif
</script>
<style scoped lang="scss">
	.card-box{
		width:90%;
		margin-left:5%;
		box-sizing:border-box;
		padding-left:20rpx;
		background-color: #F7F8FA;
		border-top-right-radius:60rpx;
		border-bottom-right-radius:60rpx;
		margin-bottom: 50rpx;
	}
	.top-title-box{
		width:90%;
		margin-left:5%;
		box-sizing:border-box;
		font-size:28rpx;
		font-weight:600;
		color: #333945;
		margin-top:30rpx;
		margin-bottom:70rpx;
	}
	.icon-navigation {
		font-size: 32rpx;
		color: #3D444E;
		font-weight: 700;
	}

	// 上中下布局样式
	.body {
		display: flex;
		flex-direction: column;
		background-color: #fff;
		height: 100vh;
		box-sizing: border-box;
	}

	.head {
		text-align: center;
	}

	// 中部滚动
	.list-wrap {
		flex-grow: 1;
		position: relative;
		width: 95%;
		margin-left: 2.5%;
		box-sizing: border-box;
	}

	.list {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 50rpx;
		padding: 10rpx;
		border-radius: 15rpx;
		box-sizing: border-box;
	}

	.list-scroll-view {
		width: 100%;
		margin-bottom: 20rpx;
		box-sizing: border-box;
	}

	.course-card {
		width: 47vw;
		margin-top: 10px;
		margin-bottom: 10px;
	}

	// 底部
	.tools {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
	}

	.tools-item {
		width: 45px;
		text-align: center;
		font-size: 14px;
		padding: 20px;
	}
</style>