machinecat520 1 سال پیش
والد
کامیت
e043f978b5

+ 21 - 3
education_uni/components/my-requiredetail/my-requiredetail.vue

@@ -16,11 +16,16 @@
 			<uni-row>
 				<uni-col :span="12" :push="1">
 					<view class="contain-item"><text class="contain-text">学员:</text>{{item.name}}</view>
-				</uni-col>
-				<uni-col :span="12">
-					<view><text class="contain-text">学员性别:</text>{{item.sex}}</view>
+				</uni-col>				
+			</uni-row>
+			<uni-row>
+				<uni-col :span="12" :push="1">
+					<view class="contain-item"><text class="contain-text">学员性别:</text>{{item.sex}}</view>
 				</uni-col>
 			</uni-row>
+			<view class="stuImgWrapper">
+				<image class="stuImg" src="../../static/boy.png"></image>
+			</view>
 			<uni-row>
 				<uni-col :push="1" :span="18">
 					<view class="contain-item"><text class="contain-text">需求科目:</text>{{item.subjectBig}}/{{item.subjectSmall}}</view>
@@ -308,4 +313,17 @@
 		border-radius: 50rpx;
 		color: white;
 	}
+	// 学员头像
+	.stuImgWrapper{
+		position: absolute;
+		width:220rpx;
+		height: 220rpx;
+		top: 50rpx;
+		right: 30rpx;
+	}
+	.stuImg{
+		width: 100%;
+		height: 100%;
+		border-radius: 20rpx;
+	}
 </style>

+ 3 - 0
education_uni/pages/teacher/teacher.vue

@@ -203,6 +203,9 @@
 			this.getPriceAndTree()
 		},
 		methods: {
+			
+	
+			
 			// 树形结构的课程和价格表
 			async getPriceAndTree() {
 				const {

+ 4 - 1
education_uni/subpkg/teacher/authentication/teacher_authentication_add.vue

@@ -50,7 +50,7 @@
 				<uni-easyinput v-model="baseFormData.nativePlace" placeholder="xx省xx市xx区" maxlength="30" trim="both" />
 			</uni-forms-item>
 		</uni-forms>
-		<view>
+		<view class="authenticationBtnWrapper">
 			<button class="authenticationBtn" type="primary" @click="submit">{{buttonMessage}}</button>
 		</view>
 	</view>
@@ -347,6 +347,9 @@
 	background-color: #35b882;
 }
 // 申请认证按钮样式
+.authenticationBtnWrapper{
+	height: 140rpx;
+}
 .authenticationBtn{
 	width: 260rpx;
 	border-radius: 50rpx;

+ 1 - 0
education_uni/subpkg/teacher/course/teacher_course_add.vue

@@ -531,6 +531,7 @@
 	.button-group{
 		padding-left: -20rpx;
 		margin-bottom: 40rpx;
+		height: 140rpx;
 	}
 	
 	// 发布课程按钮