浏览代码

学员文件

常志远 2 年之前
父节点
当前提交
a95442c032

二进制
assets/img/JPG Copy@1x.png


二进制
assets/img/XLS Copy@1x.png


二进制
assets/img/iconfont-unie122 3 Copy@1x.png


二进制
assets/img/teacherC.png


+ 18 - 0
pages.json

@@ -338,6 +338,24 @@
             }
             
         }
+        ,{
+            "path" : "pages/parents/coursesLearned/coursesLearned",
+            "style" :                                                                                    
+            {
+                "navigationBarTitleText": "",
+                "enablePullDownRefresh": false
+            }
+            
+        }
+        ,{
+            "path" : "pages/parents/studentDocument/studentDocument",
+            "style" :                                                                                    
+            {
+                "navigationBarTitleText": "",
+                "enablePullDownRefresh": false
+            }
+            
+        }
     ],
 	"globalStyle": {
 		"navigationStyle": "custom", // 隐藏系统导航栏

+ 239 - 0
pages/parents/coursesLearned/coursesLearned.vue

@@ -0,0 +1,239 @@
+<template>
+	<view>
+		<u-navbar title="已学课程"></u-navbar>
+		<view class="screen">
+			<view class="date">
+				<view class="text">
+					2023-01
+				</view>
+				<view class="icon">
+					<u-icon name="arrow-down-fill" color="#999999" size="10"></u-icon>
+				</view>
+			</view>
+			
+			<view class="course">
+				<view class="text">
+					所有班级
+				</view>
+				<view class="icon">
+					<u-icon name="arrow-down-fill" color="#999999" size="10"></u-icon>
+				</view>
+			</view>
+		</view>
+		<view class="main">
+			<view class="course-box">
+				<view class="picture">
+					<img src="../../../assets/img/classschedule.png" alt="">
+				</view>
+				<view class="infos">
+					<view class="name">
+						中国舞十级班
+					</view>
+					<view class="tips">
+						<view class="item">
+							二楼舞蹈一教室
+						</view>
+						<view class="item">
+							08:30-10:00
+						</view>
+					</view>
+					<view class="teacher-price">
+						<view class="teacher">
+							<view class="photo">
+								<img src="../../../assets/img/teacherC.png" alt="">
+							</view>
+							<view class="name">
+								陈老师
+							</view>
+						</view>
+						<view class="class-times">
+							<view class="text">
+								课次
+							</view>
+							<view class="num">
+								22
+							</view>
+						</view>
+					</view>
+				</view>
+			</view>
+			
+			<view class="course-box">
+				<view class="picture">
+					<img src="../../../assets/img/courseD.png" alt="">
+				</view>
+				<view class="infos">
+					<view class="name">
+						足球体适能班
+					</view>
+					<view class="tips">
+						<view class="item">
+							原足球场
+						</view>
+						<view class="item">
+							08:00-18:00
+						</view>
+					</view>
+					<view class="teacher-price">
+						<view class="teacher">
+							<view class="photo">
+								<img src="../../../assets/img/teacher.png" alt="">
+							</view>
+							<view class="name">
+								瞿老师
+							</view>
+						</view>
+						<view class="class-times">
+							<view class="text">
+								课次
+							</view>
+							<view class="num">
+								5
+							</view>
+						</view>
+					</view>
+				</view>
+			</view>
+			
+		</view>
+		
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+
+			}
+		},
+		
+		
+	}
+</script>
+
+<style lang="scss" scoped>
+.screen{
+	background-color: #fff;
+	display: flex;
+	justify-content: space-between;
+	text-align: center;
+	height: 44px;
+	line-height: 44px;
+	.date{
+		flex: 1;
+		display: flex;
+		align-items: center;
+		justify-content: center;
+		.text{
+			margin-right: 8rpx;
+		}
+	}
+	.course{
+		display: flex;
+		flex: 1;
+		align-items: center;
+		justify-content: center;
+		.text{
+			margin-right: 8rpx;
+		}
+	}
+}
+.main{
+	padding: 11px 16px;
+	.course-box{
+		border-radius: 24rpx;
+		background-color: rgba(255, 255, 255, 1);
+		padding: 24rpx 0 24rpx 24rpx;
+		margin-bottom: 24rpx;
+		display: flex;
+		.picture{
+			width: 200rpx;
+			height: 200rpx;
+			border-radius: 8rpx;
+			overflow: hidden;
+			img{
+				width: 100%;
+				height: 100%;
+			}
+		}
+		.infos{
+			flex: 1;
+			margin-left: 24rpx;
+			.name{
+				color: rgba(51, 51, 51, 1);
+				font-size: 32rpx;
+				font-weight: bold;
+			}
+			.tips{
+				display: flex;
+				margin-top: 16rpx;
+				.item{
+					padding: 0 16rpx;
+					line-height: 40rpx;
+					border-radius: 8rpx;
+					background-color: rgba(241, 243, 244, 1);
+					color: rgba(16, 16, 16, 1);
+					font-size: 24rpx;
+					margin-right: 16rpx;
+				}
+				
+			}
+			@media screen and(max-width:320px) {
+							.tips{
+								  .item{
+									  padding: 0;
+									  margin-right: 4rpx;
+								  }
+							}
+						}
+			
+			.teacher-price{
+				margin-top: 44rpx;
+				display: flex;
+				justify-content: space-between;
+				align-items: center;
+				.teacher{
+					display: flex;
+					align-items: center;
+					.photo{
+						width: 64rpx;
+						height: 64rpx;
+						border-radius: 100rpx;
+						overflow: hidden;
+						margin-right: 16rpx;
+						img{
+							width: 100%;
+							height: 100%;
+						}
+					}
+				}
+				.class-times{
+					
+				   display: flex;
+				   align-items: center;
+				   .text{
+					   color: rgba(119, 119, 119, 1);
+					   font-size: 32rpx;
+				   }
+				   .num{
+					   
+					   width: 40rpx;
+					   height: 40rpx;
+					   line-height: 40rpx;
+					   border-radius: 8rpx;
+					   background-color: rgba(13, 186, 199, 1);
+					   color: rgba(255, 255, 255, 1);
+					   text-align: center;
+					   margin-left: 8rpx;
+					   margin-right: 24rpx;
+				   }
+				}
+			}
+		}
+	}
+}
+
+
+
+</style>

+ 124 - 0
pages/parents/studentDocument/studentDocument.vue

@@ -0,0 +1,124 @@
+<template>
+	<view>
+		<u-navbar title="学员文件"></u-navbar>
+		<view class="main">
+			<u-search placeholder="搜索附件名称" bg-color="#fff" :show-action="false"></u-search>
+		
+		<view class="document-box">
+			<view class="icon">
+				<img src="../../../assets/img/JPG Copy@1x.png" alt="">
+			</view>
+			
+			<view class="text">
+				<view class="title">
+					2023春季中国舞十级班开课合照
+				</view>
+				<view class="infos">
+					<view class="time">
+						2023-01-03 16:00
+					</view>
+					<view class="name">
+						夏奕琳上传
+					</view>
+				</view>
+			</view>
+			
+			<view class="download">
+				<img src="../../../assets/img/iconfont-unie122 3 Copy@1x.png" alt="">
+			</view>
+			
+		</view>
+		
+		<view class="document-box">
+			<view class="icon">
+				<img src="../../../assets/img/XLS Copy@1x.png" alt="">
+			</view>
+			
+			<view class="text">
+				<view class="title">
+					周梓轩足球课排课表
+				</view>
+				<view class="infos">
+					<view class="time">
+						2023-01-03 16:00
+					</view>
+					<view class="name">
+						瞿明祥上传
+					</view>
+				</view>
+			</view>
+			
+			<view class="download">
+				<img src="../../../assets/img/iconfont-unie122 3 Copy@1x.png" alt="">
+			</view>
+			
+		</view>
+			
+		</view>
+		
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+				
+			}
+		},
+		methods: {
+			
+		}
+	}
+</script>
+
+<style lang="scss" scoped>
+	/deep/.u-search{
+		margin-bottom: 8px !important;
+	}
+	.main{
+		padding: 6px 16px;
+		.document-box{
+			padding: 30rpx 32rpx;
+			background-color: #fff;
+			border-radius: 8px;
+			display: flex;
+			align-items: center;
+			margin-bottom: 12px;
+			
+			.text{
+				margin-left: 24rpx;
+				.title{
+					color: rgba(51, 51, 51, 1);
+					font-size: 32rpx;
+					line-height: 44rpx;
+				}
+				.infos{
+					display: flex;
+					align-items: center;
+					margin-top: 4rpx;
+					line-height: 34rpx;
+					.time{
+						color: rgba(159, 163, 166, 1);
+						font-size: 24rpx;
+					}
+					.name{
+						color: rgba(13, 186, 199, 1);
+						font-size: 24rpx;
+						margin-left: 24rpx;
+					}
+				}
+				
+			}
+			.download{
+				margin-left: auto;
+			}
+			@media screen and(max-width:320px){
+				.text{
+					margin-left: 12rpx;
+				}
+			}
+		}
+	}
+
+</style>