فهرست منبع

老师主页 班级信息

常志远 2 سال پیش
والد
کامیت
02be2b2dc9
5فایلهای تغییر یافته به همراه283 افزوده شده و 0 حذف شده
  1. BIN
      assets/img/photowoman.png
  2. BIN
      assets/img/picture1.png
  3. 17 0
      pages.json
  4. 41 0
      pages/teacher/myClass/classInfos.vue
  5. 225 0
      pages/teacher/myCourse/teacherHomepage.vue

BIN
assets/img/photowoman.png


BIN
assets/img/picture1.png


+ 17 - 0
pages.json

@@ -145,6 +145,23 @@
             }
             
         }
+        ,{
+            "path" : "pages/teacher/myCourse/teacherHomepage",
+            "style" :                                                                                    
+            {
+                "navigationBarTitleText": "",
+                "enablePullDownRefresh": false
+            }
+            
+        },{
+            "path" : "pages/teacher/myClass/classInfos",
+            "style" :                                                                                    
+            {
+                "navigationBarTitleText": "",
+                "enablePullDownRefresh": false
+            }
+            
+        }
     ],
 	"globalStyle": {
 		"navigationStyle": "custom", // 隐藏系统导航栏

+ 41 - 0
pages/teacher/myClass/classInfos.vue

@@ -0,0 +1,41 @@
+<template>
+	<view>
+		<u-navbar title="芭蕾舞新生班"></u-navbar>
+		<u-cell-group>
+			<u-cell-item  title="所属学部" value="文艺部" :arrow="false"></u-cell-item>
+			<u-cell-item  title="所属项目中心" value="中国舞项目中心"  :arrow="false"></u-cell-item>
+			<u-cell-item  title="上课时间" value="周四晚上18:00-19:30周六上午11:20-12:40"  :arrow="false"></u-cell-item>
+			<u-cell-item   title="上课教室" value="二楼舞蹈一教室"  :arrow="false"></u-cell-item>
+			<u-cell-item  title="授课老师" value="夏奕琳"  :arrow="false"></u-cell-item>
+			<u-cell-item  title="咨询电话" value="13872354255"  :arrow="false"></u-cell-item>
+			<u-cell-item  title="学员总数" value="20人"  :arrow="false"></u-cell-item>
+		</u-cell-group>
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+				
+			}
+		},
+		methods: {
+			
+		}
+	}
+</script>
+
+<style lang="scss" scoped >
+/deep/.u-tab-item{
+		color: #101010 !important;
+	}
+	/deep/.u-cell_title{
+			color: rgba(119, 119, 119, 1);
+		}
+		/deep/.u-cell__value{
+			color: #333333;
+			flex: 0.45;
+			margin-left: auto;
+		}
+</style>

+ 225 - 0
pages/teacher/myCourse/teacherHomepage.vue

@@ -0,0 +1,225 @@
+<template>
+	<view>
+		<u-navbar title="老师主页"></u-navbar>
+		<view class="background">
+			<view class="teacher-card">
+				<view class="infos">
+					<view class="photo">
+						<img src="../../../assets/img/photowoman.png" alt="">
+					</view>
+					<view class="name">
+						夏奕琳
+					</view>
+					<view class="contact">
+						联系我
+					</view>
+				</view>
+				 
+				 <view class="introduction">
+				 	<view class="title">
+				 		教师简介
+				 	</view>
+					<view class="introduction-content">
+						授课老师荣誉奖项以及优质教学案例授课老师荣誉奖项以及优质教学案例授课老师荣誉奖项以及优质教学案例。
+					</view>
+				 </view>
+			</view>
+		</view>
+		<view class="content">
+			
+		</view>
+		<view class="main">
+			<view class="title">
+				主讲课程
+			</view>
+			<view class="class-card">
+							 <view class="picture">
+							 	<img src="../../../assets/img/picture1.png" alt="">
+							 </view>
+							 <view class="infos">
+								 <view class="infos-title">
+								 	中国舞十级班
+								 </view>
+								 <view class="tag">
+								 	<view class="tag-item">
+								 		专业考证
+								 	</view>
+									<view class="tag-item">
+										限时报名
+									</view>
+								 </view>
+								 <view class="apply-number">
+								 	<view class="number">
+								 		累计188人报名
+								 	</view>
+									<view class="selling-point">
+										仅剩5个名额
+									</view>
+								 </view>
+							 	
+							 </view>
+				
+			</view>
+			<view class="class-card">
+							 <view class="picture">
+							 	<img src="../../../assets/img/picture1.png" alt="">
+							 </view>
+							 <view class="infos">
+								 <view class="infos-title">
+								 	中国舞十级班
+								 </view>
+								 <view class="tag">
+								 	<view class="tag-item">
+								 		专业考证
+								 	</view>
+									<view class="tag-item">
+										限时报名
+									</view>
+								 </view>
+								 <view class="apply-number">
+								 	<view class="number">
+								 		累计188人报名
+								 	</view>
+									<view class="selling-point">
+										低至20元/节
+									</view>
+								 </view>
+							 	
+							 </view>
+				
+			</view>
+			
+		</view>
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+				
+			}
+		},
+		methods: {
+			
+		}
+	}
+</script>
+
+<style lang="scss" scoped>
+	.background{
+		background-color: rgba(13, 186, 199, 1);
+		height: 400rpx;
+		.teacher-card{
+			width: 91.4%;
+			padding: 44rpx 40rpx;
+			background-color: #fff;
+			position: absolute;
+			top: 208rpx;
+			left: 32rpx;
+			right: 32rpx;
+			border-radius: 24rpx;
+			.infos{
+				display: flex;
+			}
+			.photo{
+				width: 80px;
+				height: 80px;
+				border-radius: 50px;
+				overflow: hidden;
+				margin-top: -80rpx;
+				img{
+					width: 100%;
+					height: 100%;
+				}
+			}
+			.name{
+				margin-left: 12px;
+				color: rgba(51, 51, 51, 1);
+				font-size: 20px;
+				font-weight: bold;
+			}
+			.contact{
+				margin-left: auto;
+				width:160rpx;
+				height: 64rpx;
+				line-height: 64rpx;
+				border-radius: 100rpx;
+				background-color: rgba(255, 174, 0, 1);
+				color: #fff;
+				text-align: center;
+			}
+		}
+		.introduction{
+			color: rgba(119, 119, 119, 1);
+			margin-top: 48rpx;
+			.introduction-content{
+				margin-top: 16rpx;
+			}
+		}
+	}
+
+.content{
+	border-radius: 40rpx 40rpx 0px 0px;
+	background-color: rgba(244, 246, 246, 1);
+	margin-top: -20rpx;
+	height: 100px;
+	
+	.title{
+		margin-top: 380rpx;
+		color: rgba(51, 51, 51, 1);
+		font-size: 16px;
+		font-weight: bold;
+	}
+}
+
+
+.main{
+	padding: 0 24rpx;
+	.class-card{
+		margin-top: 24rpx;
+		border-radius: 12px;
+		background-color: #fff;
+		padding: 24rpx;
+		display: flex;
+		.picture{
+			width: 200rpx;
+			height: 200rpx;
+			border-radius: 4px;
+			overflow: hidden;
+		}
+		.infos{
+			flex: 1;
+			margin-left: 40rpx;
+			.infos-title{
+				color: rgba(51, 51, 51, 1);
+				font-size: 16px;
+			}
+		}
+		.tag{
+			display: flex;
+			margin-top: 24rpx;
+			font-size: 24rpx;
+			.tag-item{
+				padding: 8rpx;
+				margin-right: 16rpx;
+				border-radius: 8rpx;
+				background-color: rgba(241, 243, 244, 1);
+				color: rgba(16, 16, 16, 1);
+			}
+		}
+		.apply-number{
+			display: flex;
+			justify-content: space-between;
+			margin-top: 60rpx;
+			.number{
+				color: rgba(119, 119, 119, 1);
+			}
+			.selling-point{
+				color: rgba(255, 61, 0, 1);
+			}
+		}
+	}
+}
+
+</style>