<template>
	<view class="content">
		<view class="container">
			<view class="box-hang">
				<input v-model="value" placeholder="输入姓名/手机号"></input>
				<u-icon name="search" size="20"></u-icon>
			</view>

			<view class="top-box">
				<view class="t-db">
					<view class="d-s">
						<view style="margin-right: 10px;font-size: 14px;">小明</view>
						<view class="icon_">共享-限制</view>
						<view class="icon_">鲁A123456</view>
					</view>
				</view>
				<view class="on-title">342.55</view>
			</view>

			<view class="but-sub" @click="goAddFleet()">添加成员</view>

		</view>

	</view>
</template>

<script>
	import request from '../../utils/request';
	export default {
		data() {
			return {
				title: '',
				List: [],
				pageNo: 1,
				pageSize: 10,
				totalPage: '',
				value: '',
			}
		},
		onLoad() {},
		onPullDownRefresh() {
			//下拉刷新
			uni.stopPullDownRefresh()
		},
		onReachBottom() {
			// 触底加载
			if (this.pageNo >= this.totalPage) {

			} else {
				this.pageNo++
			}
		},

		components: {

		},
		methods: {
			goAddFleet() {
				uni.navigateTo({
					url: '/pagesMy/fleetMember/addMember'
				})
			},
			goback() {
				uni.navigateBack()
			}
		}
	}
</script>

<style scoped lang="scss">
	.content {
		background: #f4f5f6;
	}

	.container {
		width: 100%;
		height: 100vh;
		box-sizing: border-box;
		padding: 10px;
	}

	.my-header {
		width: 100%;
		height: 88px;
		background: #ffffff;
		display: flex;
		align-items: center;
		justify-content: space-between;
		color: #000;
		box-sizing: border-box;
		padding: 0px 15px;
		padding-top: 40px;
		z-index: 99999;

		.my-icons {
			width: 20px;

		}

		position: fixed;
		top: 0px;
	}

	.but-sub {
		width: 305px;
		height: 40px;
		line-height: 40px;
		margin: 0 auto;
		background-color: #FF9655;
		color: white;
		border-radius: 50px;
		text-align: center;
		position: absolute;
		bottom: 40px;
		left: 11%;
	}

	.box-hang {
		width: 100%;
		height: 35px;
		display: flex;
		justify-content: space-between;
		box-sizing: border-box;
		align-items: center;
		padding: 0 15px;
		background: #ffffff;
		border-radius: 40px;
	}

	.top-box {
		width: 100%;
		height: 70px;
		background: linear-gradient(135deg, #F77955 0%, #FFA360 100%, #F9C58C 100%);
		box-sizing: border-box;
		padding: 10px;
		margin: 0 auto;
		color: #fff;
		margin-top: 10px;
	}

	.icon_ {
		width: 60px;
		height: 16px;
		background: rgba(255, 255, 255, 0.48);
		border-radius: 2px;
		display: flex;
		align-items: center;
		justify-content: center;
		color: #fff;
		font-weight: 500;
		font-size: 10px;
		margin-right: 10px;
	}

	.on-title {
		font-size: 20px;
		color: #fff;
		margin-top: 10px;
	}

	.d-s {
		display: flex;
	}
</style>