Selaa lähdekoodia

老师下面学生翻页

yichael 4 vuotta sitten
vanhempi
sitoutus
aaf02d4bd7

+ 24 - 21
components/user/stuManage.vue

@@ -50,7 +50,7 @@
 					<text class="m_paging_item" v-for="i in pageTotalNum" @click="paging(i)" :key="i" :class="i==currentPage?'p_act':''">
 					<text class="m_paging_item" v-for="i in pageTotalNum" @click="paging(i)" :key="i" :class="i==currentPage?'p_act':''">
 						{{i}}
 						{{i}}
 					</text>
 					</text>
-					<text class="m_paging_item m_paging_lower" v-show="bShowNextPageBtn" @click="paging(i)">下一页</text>
+					<text class="m_paging_item m_paging_lower" v-show="bShowNextPageBtn" @click="onClick_next()">下一页</text>
 				</view>
 				</view>
 			</view>
 			</view>
 		</view>
 		</view>
@@ -81,7 +81,7 @@
 				
 				
 				pageTotalNum:1,
 				pageTotalNum:1,
 				currentPage:1,
 				currentPage:1,
-				totalItem:7,
+				totalItem:6,
 				// dataUsers_all: [],
 				// dataUsers_all: [],
 				bShowLastPageBtn:false,
 				bShowLastPageBtn:false,
 				bShowNextPageBtn:false,
 				bShowNextPageBtn:false,
@@ -111,6 +111,7 @@
 		},
 		},
 		methods: {
 		methods: {
 			paging(i) {
 			paging(i) {
+			
 				uni.showLoading({
 				uni.showLoading({
 				    title: '加载中'  
 				    title: '加载中'  
 				});
 				});
@@ -136,11 +137,10 @@
 						//100成功
 						//100成功
 						if (res.data.Code == 100) {
 						if (res.data.Code == 100) {
 							console.log("请求全部学生", res);
 							console.log("请求全部学生", res);
-							// this.allStudent = res.data.Items;
 							
 							
 							this.dataUsers_all = res.data.Students;
 							this.dataUsers_all = res.data.Students;
 							this.pageTotalNum = Math.ceil(res.data.AllNumOfList/this.totalItem);
 							this.pageTotalNum = Math.ceil(res.data.AllNumOfList/this.totalItem);
-							console.log('this.pageTotalNum=',this.pageTotalNum)
+							// console.log('this.pageTotalNum=',this.pageTotalNum)
 							this.currentPage = i;					
 							this.currentPage = i;					
 							this.showNextOrLastPageBtn();
 							this.showNextOrLastPageBtn();
 						}
 						}
@@ -246,8 +246,8 @@
 				userController.updateStudentList(this.updateInfo,null)
 				userController.updateStudentList(this.updateInfo,null)
 			},
 			},
 			onClick_XSSYQK(studentI){
 			onClick_XSSYQK(studentI){
-				// console.log("实验情况studentI=",studentI);
-				let UserID = this.allStudent[studentI].UserID;
+				console.log("实验情况studentI=",studentI);
+				let UserID = this.dataUsers_all[studentI].UserID;
 				// console.log("UserID=",this.allStudent[studentI].UserID);
 				// console.log("UserID=",this.allStudent[studentI].UserID);
 				this.$emit('onClick_XSSYQK',UserID);	
 				this.$emit('onClick_XSSYQK',UserID);	
 			}
 			}
@@ -343,7 +343,7 @@
 		padding: 0 150rpx;
 		padding: 0 150rpx;
 		background-color: #fff;
 		background-color: #fff;
 		box-shadow: 3px 0px 6px 0px rgba(0, 0, 0, 0.1);
 		box-shadow: 3px 0px 6px 0px rgba(0, 0, 0, 0.1);
-
+		
 		.m_right_hander {
 		.m_right_hander {
 			text-align: right;
 			text-align: right;
 			height: 250rpx;
 			height: 250rpx;
@@ -412,25 +412,28 @@
 	.m_right_footer {
 	.m_right_footer {
 		margin-top: 80rpx;
 		margin-top: 80rpx;
 		margin-bottom: 80rpx;
 		margin-bottom: 80rpx;
+		// z-index: 100;
 	}
 	}
 
 
 	.m_paging {
 	.m_paging {
 		text-align: right;
 		text-align: right;
-
-		.m_paging_item {
-			padding: 10rpx 18rpx;
-			border: 1rpx solid #DDDDDD;
-			border-radius: 8rpx;
-			margin-right: 10rpx;
-		}
-
-		.p_act {
-			background: #EA252C;
-			color: #fff;
-			border: inherit;
-		}
+		// border: 1rpx solid #ff0000;
+		// height: 200rpx;
 	}
 	}
-
+	
+	.m_paging_item {
+		padding: 10rpx 18rpx;
+		border: 1rpx solid #DDDDDD;
+		border-radius: 8rpx;
+		margin-right: 10rpx;
+	}
+	
+	.p_act {
+		background: #EA252C;
+		color: #fff;
+		border: inherit;
+	}
+	
 	.m_paging_item:hover {
 	.m_paging_item:hover {
 		background: #EA252C;
 		background: #EA252C;
 		color: #fff;
 		color: #fff;

+ 4 - 4
components/user/stuTestDetails.vue

@@ -328,11 +328,11 @@
 				// let data = {"categories":["原理认知","实景勘察","虚拟技术搭建","虚拟艺术创作","教师评分(加分项目)"],"series":[{"name":"成绩分布","data":[90,110,165,195,187]}]}
 				// let data = {"categories":["原理认知","实景勘察","虚拟技术搭建","虚拟艺术创作","教师评分(加分项目)"],"series":[{"name":"成绩分布","data":[90,110,165,195,187]}]}
 				// let data = {"categories":["维度1","维度2","维度3"],"series":[{"name":"成交量1","data":[90,110,165,195,187,172]}]}
 				// let data = {"categories":["维度1","维度2","维度3"],"series":[{"name":"成交量1","data":[90,110,165,195,187,172]}]}
 				
 				
-				for(let i=0;i<aData.length;i++){
-					aData[i]=aData[i]*10;
-				}
+				// for(let i=0;i<aData.length;i++){
+				// 	aData[i]=aData[i]*10;
+				// }
 				
 				
-				aData = [900,800,1000,600,800,700];
+				// aData = [900,800,1000,600,800,700];
 				
 				
 				let data = {
 				let data = {
 					"categories": ["原理认知", "实景考察", "虚拟技术搭建", "虚拟艺术创作", "教师评分(加分项目)"],
 					"categories": ["原理认知", "实景考察", "虚拟技术搭建", "虚拟艺术创作", "教师评分(加分项目)"],

+ 2 - 2
myData/myData_XQDL_XXZLXZ.js

@@ -43,7 +43,7 @@ myData_XQDL_XXZLXZ={
 						},
 						},
 						{
 						{
 							"textType":'link',
 							"textType":'link',
-							"text":'https://www.unrealengine.com/zh-CN/'
+							"text":'https://zhongchuan1.oss-cn-beijing.aliyuncs.com/WebDownload/LearningSource/虚拟制片实践指南.pdf?versionId=CAEQDxiBgMCOvPi8zxciIGExOGJjMjJlZmEzNjQ0MDFiYzdkMzAwZGFiYWE1ZjM2'
 						}
 						}
 					]
 					]
 				},
 				},
@@ -56,7 +56,7 @@ myData_XQDL_XXZLXZ={
 						},
 						},
 						{
 						{
 							"textType":'link',
 							"textType":'link',
-							"text":'https://www.unrealengine.com/zh-CN/'
+							"text":'https://zhongchuan1.oss-cn-beijing.aliyuncs.com/WebDownload/LearningSource/表演实时捕捉白皮书.pdf?versionId=CAEQDxiBgMCYvPi8zxciIGNlYjA3NjVlODdkNDQ2NTM5MWUwZjUyOWIyYTY0YzBl'
 						}
 						}
 					]
 					]
 				},
 				},

+ 6 - 7
pages/home.vue

@@ -39,11 +39,10 @@
 		<webview720 ref="webview720"></webview720>
 		<webview720 ref="webview720"></webview720>
 		<shutDownWebview ref="shutDownWebview" v-on:onHideWebview="onHideWebview" v-on:onClick_KSKC="onClick_KSKC"></shutDownWebview>
 		<shutDownWebview ref="shutDownWebview" v-on:onHideWebview="onHideWebview" v-on:onClick_KSKC="onClick_KSKC"></shutDownWebview>
 		<!-- 联系方式 -->
 		<!-- 联系方式 -->
-		<view class='contact'>
+		<!-- <view class='contact'> -->
 			<!-- 弹出框 -->
 			<!-- 弹出框 -->
-			<view class='contactPopView'>
+			<!-- <view class='contactPopView'>
 				<view class='qrcode' v-show="bShowQrCode">
 				<view class='qrcode' v-show="bShowQrCode">
-					<!-- <img class="contactPopViewBg" src="../assets/contact/bubble_01.png"></img>	 -->
 					<img class="contactPopViewContent" src="../assets/contact/QRCode.png"></img>							
 					<img class="contactPopViewContent" src="../assets/contact/QRCode.png"></img>							
 				</view>
 				</view>
 				
 				
@@ -57,15 +56,15 @@
 					<text selectable="true" class="contactPopViewContent" src="../assets/contact/QRCode.png">15017534446</text>
 					<text selectable="true" class="contactPopViewContent" src="../assets/contact/QRCode.png">15017534446</text>
 				</view>
 				</view>
 				
 				
-			</view>	
+			</view>	 -->
 			<!-- 背景 -->
 			<!-- 背景 -->
-			<view class='contactBg'></view>
+			<!-- <view class='contactBg'></view> -->
 			<!-- icon -->
 			<!-- icon -->
-			<view class="imageBg">
+			<!-- <view class="imageBg">
 				<img src="../assets/contact/qrcode_icon.png" @mousemove="showContact(0)" @mouseout="showContact(4)"></img>
 				<img src="../assets/contact/qrcode_icon.png" @mousemove="showContact(0)" @mouseout="showContact(4)"></img>
 				<img src="../assets/contact/mail_icon.png" @mousemove="showContact(1)" @mouseout="showContact(4)"></img>
 				<img src="../assets/contact/mail_icon.png" @mousemove="showContact(1)" @mouseout="showContact(4)"></img>
 				<img src="../assets/contact/tel_icon.png" @mousemove="showContact(2)" @mouseout="showContact(4)"></img>
 				<img src="../assets/contact/tel_icon.png" @mousemove="showContact(2)" @mouseout="showContact(4)"></img>
-			</view>
+			</view> -->
 		</view>
 		</view>
 	</view>
 	</view>
 </template>
 </template>