<template>
	<view class="item-wrapper">
		<view class="left">
			<img class="icon" :src="cssUrl+iconName" />
			<view class="ft28 title">{{title}}</view>
		</view>
		<img class="arrow-right" :src="cssUrl+'index_comback2.svg'" />
	</view>
</template>

<script>
	export default {
		name:"mineBar",
		data() {
			return {
				cssUrl:this.cssUrl
			}
		},
		props: {
			title: {
				type: String,
				default: '患者预约'
			},
			iconName: {
				type: String,
				default: 'mine-bar-prebook.svg'
			}
		}
	}
</script>

<style>
.item-wrapper {
	width: 100%;
	box-sizing: border-box;
	padding: 38rpx 0;
	border-bottom: 2rpx solid #F1F1F1;
	
	display: flex;
	justify-content: space-between;
	align-items: center;
	
	&:last-child {
		border: none;
	}
	.left {
		display: flex;
		align-items: center;
		.icon {
			width: 44rpx;
			height: 44rpx;
		}
		.title {
			color: #242833;
			line-height: 40rpx;
			margin-left: 30rpx;
		}
	}
	.arrow-right {
		width: 20rpx;
		height: 32rpx;
	}
}
</style>