<template>
	<view class="app">
		<view class="visual">
			<view class="department">
				<view class="item" v-for="(item,index) in departmentlist" :key="index"
					:class="aindex == index ?'departmentitem':''">
					{{item.name}}
				</view>
			</view>
			<view class="list">
				<view class="information">
					<view class="image">
					</view>
					<view class="name">
						某某某
					</view>
				</view>
				<view class="information">
					<view class="image">
					</view>
					<view class="name">
						某某某
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				aindex: 1,
				departmentlist: [{
						name: '内科',
					},
					{
						name: '外科',
					},
					{
						name: '皮肤科',
					},
				],
			};
		}
	}
</script>

<style lang="scss">
	@import "./doctorslist.scss";
</style>
