Bläddra i källkod

课程表详情

常志远 2 år sedan
förälder
incheckning
bcb5e84fea

+ 9 - 0
pages.json

@@ -293,6 +293,15 @@
             }
             
         }
+        ,{
+            "path" : "pages/parents/classSchedule/classScheduleDetails",
+            "style" :                                                                                    
+            {
+                "navigationBarTitleText": "",
+                "enablePullDownRefresh": false
+            }
+            
+        }
     ],
 	"globalStyle": {
 		"navigationStyle": "custom", // 隐藏系统导航栏

+ 14 - 2
pages/parents/classSchedule/classSchedule.vue

@@ -1,6 +1,10 @@
 <template>
 	<view>
-		<u-navbar back-text="我的课表"></u-navbar>
+		<u-navbar back-text="课程表">
+			<view class="slot-wrap">
+							今天
+						</view>
+		</u-navbar>
 	<!-- 日期 -->	
 		<view class="date-picker">
 			<view class="check">
@@ -164,7 +168,8 @@
 		color: rgba(13, 186, 199, 1);
 
 		.date {
-			font-size: 16px
+			font-size: 16px;
+			color: #333333;
 		}
 	}
 	.date-item{
@@ -305,4 +310,11 @@
 	  }
   }
 
+
+/deep/.u-slot-content{
+	display: block;
+	text-align: right !important;
+	margin-right: 16px;
+	color: #333333;
+}
 </style>

+ 83 - 0
pages/parents/classSchedule/classScheduleDetails.vue

@@ -0,0 +1,83 @@
+<template>
+	<view>
+		<u-navbar title="芭蕾舞新生班"></u-navbar>
+		
+			<view class="main">
+				<u-cell-group>
+					<u-cell-item  title="校区" value="青少年宫校区" :arrow="false"></u-cell-item>
+					<u-cell-item  title="开课/结课日期" value="2023-01-03至2023-02-20"  :arrow="false"></u-cell-item>
+					<u-cell-item  title="上课时间" value="2023年"  :arrow="false"></u-cell-item>
+					<u-cell-item  title="学期" value="2023-01-03 08:30-10:00"  :arrow="false"></u-cell-item>
+					
+					
+					<u-cell-item  title="课次" value="36次"  :arrow="false"></u-cell-item>
+					<u-cell-item  title="上课教室" value="二楼舞蹈一教室"  :arrow="false"></u-cell-item>
+					<u-cell-item  title="学员总数" value="20人"  :arrow="false"></u-cell-item>
+					<u-cell-item  class="teacher" title="任课老师" value="夏奕琳"></u-cell-item>
+				</u-cell-group>
+			</view>
+			
+			<view class="main">
+				<u-cell-group>
+					<u-cell-item  title="打卡签到" value="到课" :arrow="false"></u-cell-item>
+					<u-cell-item  title="签到时间" value="10:30:00"  :arrow="false"></u-cell-item>
+				</u-cell-group>
+			</view>
+			
+			<view class="bottom">
+				<button>请假</button>
+			</view>
+		
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+				
+			}
+		},
+		methods: {
+			
+		}
+	}
+</script>
+
+<style lang="scss" scoped>
+	page{
+		padding-bottom: 150px;
+	}
+	.main{
+		background-color: #fff;
+		margin-bottom: 10px;
+	}
+	/deep/.u-cell_title{
+		color: rgba(119, 119, 119, 1);
+	}
+	/deep/.u-cell__value{
+		color: #333333;
+	}
+   .teacher{
+	   /deep/.u-cell__value{
+	   	color: #00BAC8;
+	   }
+   }
+   
+   .bottom{
+	   position: fixed;
+	   left: 0;
+	   right: 0;
+	   bottom: 0;
+	   padding: 10px 0;
+	   background-color: #fff;
+	   button{
+		   border-radius: 50px;
+		   background-color: rgba(13, 186, 199, 1);
+		   color: rgba(255, 255, 255, 1);
+		   font-size: 16px;
+		   line-height: 40px;
+		   width: 91.4%;
+	   }
+   }
+</style>

+ 1 - 2
pages/teacher/myCourse/CourseDetails.vue

@@ -1,6 +1,6 @@
 <template>
 	<view>
-		<u-navbar back-text="芭蕾舞新生班"></u-navbar>
+		<u-navbar title="芭蕾舞新生班"></u-navbar>
 		
 			<view class="main">
 				<u-cell-group>
@@ -38,7 +38,6 @@
 
 <style lang="scss" scoped>
 	.main{
-		padding-left: 12px;
 		background-color: #fff;
 	}
 	/deep/.u-cell_title{