<template>
	<view class="content">
		<view class="box" v-for="(item,index) in list">
			<view class="img">
				<image :src=item.img mode=""></image>
			</view>
			<view class="title-box">
				<view class="title-top">
					<view class="title-left">
						<text>{{item.name}}</text>
						<text>{{item.job}}</text>
					</view>
					<view class="zj">
						专家
					</view>
				</view>
				<view class="title-bottom">
					<view class="img1">
						<image src="../../static/img/address.png" mode=""></image>
					</view>
					<text>{{item.address}}</text>
				</view>
			</view>
		</view>
		<ubottom class="ubottom"></ubottom>
	</view>
</template>

<script>
	import  ubottom  from '@/components/ubottom.vue'
	export default {
		components:{
			ubottom
		},
		data() {
			return {
				list:[
					{
						img:'../../static/error/missing-face.png',
						name:'古太医',
						job:'精通药理学病理中医神经学',
						address:'台州市椒江区市府大道',
						
						
					},
					{
						img:'../../static/error/missing-face.png',
						name:'古太医',
						job:'精通药理学病理中医神经学',
						address:'台州市椒江区市府大道',
						
						
					}
				]
			};
		}
	}
</script>

<style lang="scss">
	page {
		width: 100%;
		height: 100%;
		margin: 0;
		padding: 0;
	}
	// .content{
	// 	width: 100%;
	// 	height: 100%;
	// }

	.box {
		margin: 20rpx 20rpx ;
		display: flex;
		width: 710rpx;
		height: 210rpx;
		background: #FFFFFF;
		box-shadow: 0rpx 0rpx 10rpx 0rpx rgba(0, 0, 0, 0.1);
		border-radius: 10rpx;
		.img {
			width: 180rpx;
			height: 180rpx;
			border-radius: 10rpx;
			margin-left: 10rpx;
			image {
				width: 100%;
				height: 100%;
			}
		}

		.title-box {
			
			display: flex;
			flex-direction: column;
			justify-content: space-around;
			margin-left: 20rpx;
			.title-top {
				display: flex;
				
				.title-left {
					width: 400rpx;
					display: flex;
					flex-direction: column;
					text:nth-child(1){
						font-size: 30rpx;
						font-family: PingFang SC;
						font-weight: bold;
						color: #333333;
						margin-top: -20rpx;
						line-height: 54rpx;
					}
					text:nth-child(2){
						font-size: 22rpx;
						font-family: PingFang SC;
						font-weight: 500;
						color: #666666;
					}
				}

				.zj {
					text-align: center;
					width: 66rpx;
					height: 40rpx;
					font-size: 24rpx;
					font-family: PingFang SC;
					font-weight: 500;
					color: #FFFFFF;
					background: linear-gradient(120deg, #FFC063, #FFA163);
					border-radius: 8rpx;
					line-height: 40rpx;
				}

			}

			.title-bottom {
				display: flex;
				.img1 {
					width: 17rpx;
					height: 24rpx;
					image {
						width: 100%;
						height: 100%;
					}
				}

				text {
					font-size: 24rpx;
					font-family: PingFang SC;
					font-weight: 500;
					color: #999999;
				}
			}
		}
		.ubottom{
			position: fixed;
			bottom: 0;
			
		}
	

	}
</style>
