| 
									
										
										
										
											2023-12-05 16:45:28 +08:00
										 |  |  | <template> | 
					
						
							|  |  |  | 	<view class="pages"> | 
					
						
							|  |  |  | 		<u-navbar title="带班老师" | 
					
						
							|  |  |  | 				  :border-bottom="false" | 
					
						
							|  |  |  | 				  :background="bgc" | 
					
						
							|  |  |  | 				  title-color='#2E4975' | 
					
						
							|  |  |  | 				  title-size='36' | 
					
						
							|  |  |  | 				  height='36'></u-navbar> | 
					
						
							|  |  |  | 		<view class="serchbox"> | 
					
						
							|  |  |  | 			<view class="serchimg"> | 
					
						
							|  |  |  | 				<image src="https://file.langsi.online/yasiimg/web/static/uVMACkynkipOxuTYDqm0"> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 				</image> | 
					
						
							|  |  |  | 			</view> | 
					
						
							|  |  |  | 			<input type="text" | 
					
						
							|  |  |  | 				   placeholder="搜索相关内容..." | 
					
						
							|  |  |  | 				   class="input" | 
					
						
							|  |  |  | 				   placeholder-style="color:#C7CDD3 "> | 
					
						
							|  |  |  | 		</view> | 
					
						
							|  |  |  | 		<view class="teacher_card_box" > | 
					
						
							| 
									
										
										
										
											2023-12-07 00:04:36 +08:00
										 |  |  | 			 | 
					
						
							|  |  |  | 			<view class="teacher_card" v-for="(item,index) in teacherlist" :key="index" > | 
					
						
							| 
									
										
										
										
											2023-12-05 16:45:28 +08:00
										 |  |  | 				<view class="class_card_left"> | 
					
						
							|  |  |  | 						<image src=" https://file.langsi.online/yasiimg/web/static/udWNTRG6GulmTtgPRQ49"></image> | 
					
						
							|  |  |  | 					</view> | 
					
						
							|  |  |  | 					<view class="class_card_right"> | 
					
						
							|  |  |  | 						<view class="class_card_right_top"> | 
					
						
							| 
									
										
										
										
											2023-12-07 00:04:36 +08:00
										 |  |  | 							{{item.name}} | 
					
						
							| 
									
										
										
										
											2023-12-05 16:45:28 +08:00
										 |  |  | 						</view> | 
					
						
							|  |  |  | 						<view class="class_card_right_bot"> | 
					
						
							|  |  |  | 							听力 | 
					
						
							|  |  |  | 						</view> | 
					
						
							|  |  |  | 					</view> | 
					
						
							|  |  |  | 			</view> | 
					
						
							|  |  |  | 		</view> | 
					
						
							|  |  |  | 	</view> | 
					
						
							|  |  |  | </template> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <script> | 
					
						
							|  |  |  | export default { | 
					
						
							|  |  |  | 	data() { | 
					
						
							|  |  |  | 		return { | 
					
						
							|  |  |  | 			bgc: { | 
					
						
							|  |  |  | 				backgroundColor: "#transparent", | 
					
						
							|  |  |  | 			}, | 
					
						
							| 
									
										
										
										
											2023-12-07 00:04:36 +08:00
										 |  |  | 			classid:0, | 
					
						
							|  |  |  | 			teacherlist:[] | 
					
						
							| 
									
										
										
										
											2023-12-05 16:45:28 +08:00
										 |  |  | 		} | 
					
						
							|  |  |  | 	}, | 
					
						
							| 
									
										
										
										
											2023-12-07 00:04:36 +08:00
										 |  |  | 	onLoad(option) { | 
					
						
							|  |  |  | 		// this.classid=option.id
 | 
					
						
							|  |  |  | 		this.classid=15 | 
					
						
							|  |  |  | 		this.getclassteacher() | 
					
						
							|  |  |  | 	}, | 
					
						
							| 
									
										
										
										
											2023-12-05 16:45:28 +08:00
										 |  |  | 	methods: { | 
					
						
							| 
									
										
										
										
											2023-12-07 00:04:36 +08:00
										 |  |  | 		getclassteacher(){ | 
					
						
							| 
									
										
										
										
											2023-12-07 15:09:29 +08:00
										 |  |  | 			this.$u.get(`https://api.admin-v2.langsi.online/admin-api/classroom/teacher/list?classId=${this.classid}`).then(res => { | 
					
						
							| 
									
										
										
										
											2023-12-07 00:04:36 +08:00
										 |  |  | 			 | 
					
						
							|  |  |  | 						 | 
					
						
							|  |  |  | 				if (res.code == 0) { | 
					
						
							|  |  |  | 					this.teacherlist=res.data.list | 
					
						
							|  |  |  | 					// this.classlist = res.data.list
 | 
					
						
							|  |  |  | 					// this.isloding = false
 | 
					
						
							|  |  |  | 						 | 
					
						
							|  |  |  | 				} | 
					
						
							|  |  |  | 			}) | 
					
						
							|  |  |  | 		} | 
					
						
							| 
									
										
										
										
											2023-12-05 16:45:28 +08:00
										 |  |  | 	} | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | </script> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <style lang="scss"> | 
					
						
							|  |  |  | page { | 
					
						
							|  |  |  | 	background: linear-gradient(183deg, #F0F6FF 0%, #FAFAFA 100%); | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .pages { | 
					
						
							|  |  |  | 	padding: 0 32rpx; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	.serchbox { | 
					
						
							|  |  |  | 		padding: 0 32rpx; | 
					
						
							|  |  |  | 		display: flex; | 
					
						
							|  |  |  | 		flex-wrap: nowrap; | 
					
						
							|  |  |  | 		margin-top: 30rpx; | 
					
						
							|  |  |  | 		align-items: center; | 
					
						
							|  |  |  | 		width: 686rpx; | 
					
						
							|  |  |  | 		height: 88rpx; | 
					
						
							|  |  |  | 		background: #FFFFFF; | 
					
						
							|  |  |  | 		border-radius: 20rpx 20rpx 20rpx 20rpx; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		.serchimg { | 
					
						
							|  |  |  | 			width: 30.51rpx; | 
					
						
							|  |  |  | 			height: 32rpx; | 
					
						
							|  |  |  | 			margin-right: 24rpx; | 
					
						
							|  |  |  | 		} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		.input { | 
					
						
							|  |  |  | 			margin: 0 auto; | 
					
						
							|  |  |  | 			width: 568rpx; | 
					
						
							|  |  |  | 			height: 88rpx; | 
					
						
							|  |  |  | 			border-radius: 30rpx; | 
					
						
							|  |  |  | 			// background-color: #f5f8fc;
 | 
					
						
							|  |  |  | 			// display: flex;
 | 
					
						
							|  |  |  | 			// justify-content: center;
 | 
					
						
							|  |  |  | 			// align-items: center;
 | 
					
						
							|  |  |  | 			// text-align: center;
 | 
					
						
							|  |  |  | 			font-size: 28rpx; | 
					
						
							|  |  |  | 			font-family: Source Han Sans CN, Source Han Sans CN-Light; | 
					
						
							|  |  |  | 			font-weight: 300; | 
					
						
							|  |  |  | 			text-align: left; | 
					
						
							|  |  |  | 			color: #a7b9cd; | 
					
						
							|  |  |  | 			letter-spacing: 1.2rpx; | 
					
						
							|  |  |  | 			line-height: 36rpx; | 
					
						
							|  |  |  | 			// padding: 0 100rpx;
 | 
					
						
							|  |  |  | 			// padding-right: 135rpx;
 | 
					
						
							|  |  |  | 			box-sizing: border-box; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		} | 
					
						
							|  |  |  | 	} | 
					
						
							|  |  |  | 	.teacher_card_box{ | 
					
						
							|  |  |  | 		margin-top: 20rpx; | 
					
						
							|  |  |  | 		.teacher_card{ | 
					
						
							|  |  |  | 			margin-bottom: 20rpx; | 
					
						
							|  |  |  | 			padding: 24rpx; | 
					
						
							|  |  |  | 			display: flex; | 
					
						
							|  |  |  | 			flex-wrap: nowrap; | 
					
						
							|  |  |  | 			width: 686rpx; | 
					
						
							|  |  |  | 			height: 130rpx; | 
					
						
							|  |  |  | 			background: #FFFFFF; | 
					
						
							|  |  |  | 			border-radius: 20rpx 20rpx 20rpx 20rpx; | 
					
						
							|  |  |  | 			.class_card_left { | 
					
						
							|  |  |  | 					width: 76rpx; | 
					
						
							|  |  |  | 					height: 76rpx; | 
					
						
							|  |  |  | 				} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 				.class_card_right { | 
					
						
							|  |  |  | 					margin-left: 20rpx; | 
					
						
							|  |  |  | 					display: flex; | 
					
						
							|  |  |  | 					flex-wrap: wrap; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 					.class_card_right_top { | 
					
						
							|  |  |  | 						width: 100%; | 
					
						
							|  |  |  | 						font-size: 28rpx; | 
					
						
							|  |  |  | 						font-family:'PingFang','PingFang'; | 
					
						
							|  |  |  | 						font-weight: bold; | 
					
						
							|  |  |  | 						color: #072F5A; | 
					
						
							|  |  |  | 					} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 					.class_card_right_bot { | 
					
						
							|  |  |  | 						margin-top: 8rpx; | 
					
						
							|  |  |  | 						font-size: 24rpx; | 
					
						
							|  |  |  | 						font-family:'PingFang','PingFang'; | 
					
						
							|  |  |  | 						font-weight: 500; | 
					
						
							|  |  |  | 						color: #2D7CE6; | 
					
						
							|  |  |  | 					} | 
					
						
							|  |  |  | 				} | 
					
						
							|  |  |  | 		} | 
					
						
							|  |  |  | 	} | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | </style> |