Эх сурвалжийг харах

多规格基本完成 差立即购买

xiejiebiao 2 жил өмнө
parent
commit
d171b555cb

+ 117 - 109
common/httpList/goods.js

@@ -10,7 +10,7 @@ export default {
 			noToken: true
 		})
 	},
-	
+
 	commonSystemTime() {
 		return myRequest({
 			url: '/app/common/system/dict/data/sys/time',
@@ -18,15 +18,23 @@ export default {
 			noToken: true
 		})
 	},
-	
-	
+
+
 	commonGoodsDetail(data) {
 		return myRequest({
-			url: '/app/common/goods/'+ data,
+			url: '/app/common/goods/' + data,
 			method: 'get',
 			noToken: true
 		})
 	},
+	// 校验商品状态 
+	checkGoodsStatus(data) {
+		return myRequest({
+			url: '/goods/check/goods/status',
+			method: 'post',
+			data
+		})
+	},
 	goodsBank(data) {
 		return myRequest({
 			url: '/goods/bank/list',
@@ -41,7 +49,7 @@ export default {
 	// 		data: data,
 	// 	})
 	// },
-	
+
 	bankExamExamList(data) {
 		return myRequest({
 			url: '/bank/exam/exam/list',
@@ -49,17 +57,17 @@ export default {
 			data: data,
 		})
 	},
-	
-	
+
+
 	goodsDetail(data) {
 		return myRequest({
-			url: '/goods/'+ data,
+			url: '/goods/' + data,
 			method: 'get'
 		})
 	},
 	goodsCourseList(data) {
 		return myRequest({
-			url: '/app/common/goods/course/list/'+ data,
+			url: '/app/common/goods/course/list/' + data,
 			method: 'get',
 			noToken: true
 		})
@@ -76,174 +84,174 @@ export default {
 	collectQuestion(data) {
 		return myRequest({
 			url: '/collect/question',
-			data:data,
+			data: data,
 			method: 'POST'
 		})
 	},
 	bankRecordEdit(data) {
 		return myRequest({
 			url: '/bank/record/edit',
-			data:data,
+			data: data,
 			method: 'POST'
 		})
 	},
-	
+
 	bankReportData(data) {
 		return myRequest({
 			url: '/bank/record/' + data,
 			method: 'get',
 		})
 	},
-	
+
 	deleteCollectQuestion(data) {
 		return myRequest({
-			url: '/collect/question/delete/'+data,
+			url: '/collect/question/delete/' + data,
 			method: 'POST',
 		})
 	},
 	examRecord(data) {
 		return myRequest({
 			url: '/exam/record',
-			data:data,
+			data: data,
 			method: 'POST',
 		})
 	},
 	examRecordRightList(data) {
 		return myRequest({
 			url: '/exam/record/right_list',
-			data:data,
+			data: data,
 			method: 'GET',
 		})
 	},
-	
+
 	examRecordWrongList(data) {
 		return myRequest({
 			url: '/exam/record/wrong_list',
-			data:data,
+			data: data,
 			method: 'GET',
 		})
 	},
-	
-	 
-	
+
+
+
 	bankRecord(data) {
 		return myRequest({
 			url: '/bank/record',
-			data:data,
+			data: data,
 			method: 'POST',
 		})
 	},
-	
-	
-	
+
+
+
 	examWrongRecord(data) {
 		return myRequest({
 			url: '/exam/wwrong/record',
-			data:data,
+			data: data,
 			method: 'POST',
 		})
 	},
-	
+
 	examRecordEdit(data) {
 		return myRequest({
 			url: '/exam/record/edit',
-			data:data,
+			data: data,
 			method: 'POST',
 		})
 	},
-	
+
 	goodsBankQuestionNum(data) {
 		return myRequest({
-			url: '/goods/bank/questionNum/'+data,
-			data:data,
+			url: '/goods/bank/questionNum/' + data,
+			data: data,
 			method: 'get',
 		})
 	},
-	
+
 	bankExamNextExam(data) {
 		return myRequest({
 			url: '/bank/exam/nextExam',
-			data:data,
+			data: data,
 			method: 'get',
 		})
 	},
-	
-	
-	
+
+
+
 	examReport(data) {
 		return myRequest({
-			url: '/exam/record/'+data,
+			url: '/exam/record/' + data,
 			method: 'get',
 		})
 	},
 	// 随机练习
 	bankTempReport(data) {
 		return myRequest({
-			url: '/bank/exam/temp/'+data,
+			url: '/bank/exam/temp/' + data,
 			method: 'get',
 		})
 	},
-	
+
 	examRecordCount(data) {
 		return myRequest({
 			url: '/exam/record/count',
-			data:data,
+			data: data,
 			method: 'GET',
 		})
 	},
-	
+
 	examaperList(data) {
 		return myRequest({
 			url: '/exam/paper/list',
-			data:data,
+			data: data,
 			method: 'GET',
 		})
 	},
-	
+
 	examRecordList(data) {
 		return myRequest({
 			url: '/exam/record/list',
-			data:data,
+			data: data,
 			method: 'GET',
 		})
 	},
-	
+
 	examRecordGroupList(data) {
 		return myRequest({
 			url: '/exam/record/group_list',
-			data:data,
+			data: data,
 			method: 'GET',
 		})
 	},
-	
+
 	collectQuestionTypeList(data) {
 		return myRequest({
 			url: '/collect/question/type_list',
-			data:data,
+			data: data,
 			method: 'GET',
 		})
 	},
-	
+
 	wrongRecordTypeQuestionList(data) {
 		return myRequest({
 			url: '/exam/wwrong/record/type_question_list',
-			data:data,
+			data: data,
 			method: 'GET',
 		})
 	},
-	
+
 	bankRecordDoNum(data) {
 		return myRequest({
 			url: '/bank/record/doNum',
-			data:data,
+			data: data,
 			method: 'GET',
 		})
 	},
-	
+
 	wrongRecordTypeList(data) {
 		return myRequest({
 			url: '/exam/wwrong/record/type_list',
-			data:data,
+			data: data,
 			method: 'GET',
 		})
 	},
@@ -251,41 +259,41 @@ export default {
 	listGoodsUserQuestion(data) {
 		return myRequest({
 			url: '/bank/question/listGoodsUserQuestion',
-			data:data,
+			data: data,
 			method: 'get'
 		})
 	},
 	getCollectInfo(data) {
 		return myRequest({
 			url: '/collect/question/getInfo',
-			data:data,
+			data: data,
 			method: 'get'
 		})
 	},
-	
+
 	goodsBankList(data) {
 		return myRequest({
 			url: '/app/common/bank/list',
 			method: 'get',
-			data:data,
+			data: data,
 			noToken: true
 		})
 	},
-	
+
 	wrongRecordList(data) {
 		return myRequest({
 			url: '/exam/wwrong/record/list',
 			method: 'get',
-			data:data
+			data: data
 		})
 	},
-	
+
 
 	goodsChapterList(data) {
 		return myRequest({
 			url: '/app/common/bank/chapter/list',
 			method: 'get',
-			data:data,
+			data: data,
 			noToken: true
 		})
 	},
@@ -293,115 +301,115 @@ export default {
 		return myRequest({
 			url: '/exam/wwrong/record/exam_question_list',
 			method: 'get',
-			data:data,
+			data: data,
 		})
 	},
-	
+
 	wrongRecordDelete(data) {
 		return myRequest({
 			url: '/exam/wwrong/record/delete/question',
 			method: 'post',
-			data:data
+			data: data
 		})
 	},
-	
+
 	examWrongRecordWrongNum(data) {
 		return myRequest({
-			url:`/exam/wwrong/record/wrongNum/${data}`,
+			url: `/exam/wwrong/record/wrongNum/${data}`,
 			method: 'get'
 		})
 	},
-	
+
 	collectQuestionExamQuestionList(data) {
 		return myRequest({
-			url:`/collect/question/exam_question_list`,
+			url: `/collect/question/exam_question_list`,
 			method: 'get',
-			data:data
+			data: data
 		})
 	},
-	
-	
-	
+
+
+
 	bankExam(data) {
 		return myRequest({
-			url: '/bank/exam/'+data,
+			url: '/bank/exam/' + data,
 			method: 'get',
 		})
 	},
-	
+
 	goodsCollectExamList(data) {
 		return myRequest({
 			url: '/collect/question/exam_list',
 			method: 'get',
-			data:data
+			data: data
 		})
 	},
-	
+
 	goodsBankDolist(data) {
 		return myRequest({
 			url: '/goods/bank/dolist',
 			method: 'get',
-			data:data
+			data: data
 		})
 	},
-	
+
 	goodsChapterDolist(data) {
 		return myRequest({
 			url: '/goods/chapter/dolist',
 			method: 'get',
-			data:data
+			data: data
 		})
 	},
 	goodsExamDolist(data) {
 		return myRequest({
 			url: '/goods/exam/dolist',
 			method: 'get',
-			data:data
+			data: data
 		})
 	},
-	
-	
-	
+
+
+
 	goodsCollectList(data) {
 		return myRequest({
 			url: '/collect/question/list',
 			method: 'get',
-			data:data
+			data: data
 		})
 	},
-	
+
 	goodsExamList(data) {
 		return myRequest({
 			url: '/app/common/bank/exam/list',
 			method: 'get',
-			data:data,
+			data: data,
 			noToken: true
 		})
 	},
-	
+
 	studyRecordMenuAllList(data) {
 		return myRequest({
 			url: '/study/record/menuAllList',
 			method: 'get',
-			data:data
+			data: data
 		})
 	},
-	
-	
-	
+
+
+
 	goodsTodayStudySectionNum(data) {
 		return myRequest({
 			url: '/goods/todayStudySectionNum',
 			method: 'get',
-			data:data
+			data: data
 		})
 	},
-	
+
 	goodsQuestionList(data) {
 		return myRequest({
 			url: '/app/common/bank/question/list',
 			method: 'get',
-			data:data,
+			data: data,
 			noToken: true
 		})
 	},
@@ -429,7 +437,7 @@ export default {
 			data: data
 		})
 	},
-	
+
 	questionRecordList(data) {
 		return myRequest({
 			url: '/bank/question/record/list',
@@ -437,16 +445,16 @@ export default {
 			data: data
 		})
 	},
-	
-	
+
+
 	deleteCart(data) {
 		return myRequest({
-			url: '/base/cart/delete/'+data,
+			url: '/base/cart/delete/' + data,
 			method: 'post',
 			data: data
 		})
 	},
-	
+
 	bankQuestionListFreeGoodsList(data) {
 		return myRequest({
 			url: '/bank/question/listFreeGoodsList',
@@ -456,18 +464,18 @@ export default {
 	},
 	appCommonGoodsCourseModuleFreeExamList(data) {
 		return myRequest({
-			url: '/app/common/goods/course/moduleFreeExamList/'+data,
+			url: '/app/common/goods/course/moduleFreeExamList/' + data,
 			method: 'get',
-			noToken:true
-			
+			noToken: true
+
 		})
 	},
-	
+
 	goodsLivingSectionList(data) {
 		return myRequest({
 			url: '/goods/livingSectionList',
 			method: 'get',
-			data:data
+			data: data
 		})
 	},
 	// 查询用户拥有免费+自购题库商品
@@ -478,7 +486,7 @@ export default {
 			data: data
 		})
 	},
-	
-	
-	
-}
+
+
+
+}

+ 1 - 29
package-lock.json

@@ -1,36 +1,8 @@
 {
   "name": "zz-applet",
   "version": "1.0.0",
-  "lockfileVersion": 2,
+  "lockfileVersion": 1,
   "requires": true,
-  "packages": {
-    "": {
-      "name": "zz-applet",
-      "version": "1.0.0",
-      "license": "ISC",
-      "dependencies": {
-        "jweixin-module": "^1.6.0",
-        "tki-qrcode": "^0.1.6",
-        "uview-ui": "^1.8.3"
-      },
-      "devDependencies": {}
-    },
-    "node_modules/jweixin-module": {
-      "version": "1.6.0",
-      "resolved": "https://registry.npmjs.org/jweixin-module/-/jweixin-module-1.6.0.tgz",
-      "integrity": "sha512-dGk9cf+ipipHmtzYmKZs5B2toX+p4hLyllGLF6xuC8t+B05oYxd8fYoaRz0T30U2n3RUv8a4iwvjhA+OcYz52w=="
-    },
-    "node_modules/tki-qrcode": {
-      "version": "0.1.6",
-      "resolved": "https://registry.npmjs.org/tki-qrcode/-/tki-qrcode-0.1.6.tgz",
-      "integrity": "sha512-EnnlS8psowC7PsW3MDYcxvJYkuklX3WAZ/BYanR4TdBHTu74GfjTBX8Y16REP+AeDENiVtBPh4jtTRL2P736hQ=="
-    },
-    "node_modules/uview-ui": {
-      "version": "1.8.3",
-      "resolved": "https://registry.npmjs.org/uview-ui/-/uview-ui-1.8.3.tgz",
-      "integrity": "sha512-DqKc+qRrOZLPcyfWv4b0HspSS9n1Cd6BbgKiYEv9rjTAnWoqJV7rXsvWqZdr5iKGP5EMNbNS741GLNw4sIHbpw=="
-    }
-  },
   "dependencies": {
     "jweixin-module": {
       "version": "1.6.0",

+ 1 - 1
pages/course/index.vue

@@ -243,7 +243,6 @@ export default {
 				bId:0,
 				pId:0,
 			},
-			current: 1,
 		};
 	},
 	onPullDownRefresh(){
@@ -253,6 +252,7 @@ export default {
 		},500)
 	},
 	onLoad(option) {
+		console.log('item', this.current)
 		let eduStr = uni.getStorageSync('eduObj')
 		if(eduStr){
 			this.selObj = JSON.parse(eduStr)

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 396 - 329
pages3/course/detail.vue


+ 187 - 92
pages3/course/index.scss

@@ -1,60 +1,69 @@
 // 和pages2/bank/detail 页面公用的样式
 // 底部按钮
-.bottomBox{
-    position: fixed;
-    bottom: 0;
-    width: 100%;
-    left: 0;
-    height: 132rpx ;
-    background-color: #FFFFFF;
-    display: flex;
-    justify-content: space-between;
-    align-items: center;
-    padding: 0 24rpx;
-    box-shadow: 0rpx -2rpx 6rpx 0rpx rgba(0,0,0,0.1000);
-    .icons {
-        display: flex;
-        .share_w {
-            font-size: 24rpx;
-            color: #333;
-            margin-top: 6rpx;
-        }
-        .icon_item {
-            text-align: center;
-        }
-        .ones {
-            margin-left: 32rpx;
-            margin-right: 60rpx;
-            position: relative;
-            top: 0;
-            left: 0;
-            /deep/ button::after{
-                border: none; 
-            }
-            .bt_share {
-                width: 38rpx;
-                height: 38rpx;
-                position: absolute;
-                top: 3rpx;
-                left: 0;
-                z-index: 100;
-                opacity: 0;
-            }
-        }
-    }
-    .share {
-        width: 38rpx;
-        height: 38rpx;
-        position: relative;
-        top: 3rpx;
-        z-index: 99;
-        margin-bottom: 4rpx;
-    }
-    .shopcar {
-        width: 40rpx;
-        height: 40rpx;
-    }
+.bottomBox {
+	position: fixed;
+	bottom: 0;
+	width: 100%;
+	left: 0;
+	height: 132rpx;
+	background-color: #FFFFFF;
+	display: flex;
+	justify-content: space-between;
+	align-items: center;
+	padding: 0 24rpx;
+	box-shadow: 0rpx -2rpx 6rpx 0rpx rgba(0, 0, 0, 0.1000);
+
+	.icons {
+		display: flex;
+
+		.share_w {
+			font-size: 24rpx;
+			color: #333;
+			margin-top: 6rpx;
+		}
+
+		.icon_item {
+			text-align: center;
+		}
+
+		.ones {
+			margin-left: 32rpx;
+			margin-right: 60rpx;
+			position: relative;
+			top: 0;
+			left: 0;
+
+			/deep/ button::after {
+				border: none;
+			}
+
+			.bt_share {
+				width: 38rpx;
+				height: 38rpx;
+				position: absolute;
+				top: 3rpx;
+				left: 0;
+				z-index: 100;
+				opacity: 0;
+			}
+		}
+	}
+
+	.share {
+		width: 38rpx;
+		height: 38rpx;
+		position: relative;
+		top: 3rpx;
+		z-index: 99;
+		margin-bottom: 4rpx;
+	}
+
+	.shopcar {
+		width: 40rpx;
+		height: 40rpx;
+	}
 }
+
 // 弹窗
 .had_bugCourse {
 	width: 600rpx;
@@ -62,6 +71,7 @@
 	position: relative;
 	top: 0;
 	left: 0;
+
 	.share {
 		width: 100%;
 		height: 288rpx;
@@ -70,6 +80,7 @@
 		left: 0;
 		z-index: 99;
 	}
+
 	.tips {
 		width: 100%;
 		height: 288rpx;
@@ -78,22 +89,26 @@
 		top: 0;
 		left: 0;
 		z-index: 100;
+
 		.warns {
 			margin: 56rpx 0rpx 24rpx;
 			font-size: 36rpx;
 			font-weight: bold;
 			color: #222222;
 		}
+
 		.words {
 			font-size: 32rpx;
 			font-weight: 400;
 			color: #222222;
 			margin-top: 6rpx;
+
 			>text {
 				color: #3577E8;
 			}
 		}
 	}
+
 	.tip_botton {
 		width: 100%;
 		height: 136rpx;
@@ -103,7 +118,9 @@
 		position: absolute;
 		left: 0;
 		bottom: 0;
-		.confirm_btn, .cancel_btn {
+
+		.confirm_btn,
+		.cancel_btn {
 			width: 236rpx;
 			height: 88rpx;
 			line-height: 88rpx;
@@ -112,10 +129,12 @@
 			font-size: 32rpx;
 			font-weight: 500;
 		}
+
 		.confirm_btn {
 			color: #fff;
 			background-color: #3577E8;
 		}
+
 		.cancel_btn {
 			color: #222222;
 			background-color: #F0F0F0;
@@ -125,24 +144,27 @@
 
 // 选择规格弹窗
 .popup_box {
-    width: 100%;
-    height: 938rpx;
-    padding: 56rpx 56rpx 0rpx;
+	width: 100%;
+	height: 938rpx;
+	padding: 56rpx 56rpx 0rpx;
 	position: relative;
 	top: 0rpx;
 	left: 0rpx;
-    .headers {
-      width: 100%;
-      display: flex;
-      align-items: center;
-      justify-content: space-between;
-	  margin-bottom: 48rpx;
-      .grade {
-        font-size: 40rpx;
-        font-weight: bold;
-        color: #222222;
-      }
-    }
+
+	.headers {
+		width: 100%;
+		display: flex;
+		align-items: center;
+		justify-content: space-between;
+		margin-bottom: 48rpx;
+
+		.grade {
+			font-size: 40rpx;
+			font-weight: bold;
+			color: #222222;
+		}
+	}
+
 	.pop_prices {
 		width: 100%;
 		min-height: 120rpx;
@@ -150,35 +172,42 @@
 		align-items: center;
 		justify-content: space-between;
 		margin: 0rpx 0rpx 40rpx 0rpx;
+
 		.imgs {
 			width: 204rpx;
 			height: 120rpx;
 			border-radius: 16rpx;
 			margin-right: 24rpx;
 		}
+
 		.rights {
 			width: 100%;
 			min-height: 120rpx;
 		}
+
 		.goods_titles {
 			font-size: 28rpx;
 			font-weight: 500;
 			color: #222222;
 		}
+
 		.goods_price {
 			font-size: 28rpx;
 			font-weight: 500;
 			color: #FC3F3F;
-			margin-top: 20rpx;	
+			margin-top: 20rpx;
 		}
 	}
+
 	.lines {
 		width: 100%;
 		height: 2rpx;
 		background: #F0F0F0;
 	}
+
 	.check_con {
 		width: 100%;
+
 		// height: 500rpx;
 		// overflow-y: scroll;
 		.items_con {
@@ -186,51 +215,117 @@
 			// height: 200rpx;
 			// overflow-y: scroll;
 		}
+
 		.check_items {
 			width: 100%;
 			// height: 500rpx;
 		}
+
 		.grades {
-			font-size: 28rpx;
+			font-size: 32rpx;
 			font-weight: 400;
 			color: #969696;
-			margin-bottom: 24rpx;
+			margin-bottom: 32rpx;
 			margin-top: 40rpx;
 		}
+
 		.grade_names {
 			display: flex;
 			flex-wrap: wrap;
 		}
+
 		.course_items {
-			height: 56rpx;
+			margin-bottom: 16rpx;
+			padding: 0 24rpx;
+			height: 84rpx;
+			line-height: 84rpx;
 			background: #F8F8F8;
-			border-radius: 66rpx;
-			padding: 12rpx 30rpx;
-			font-size: 24rpx;
-			color: #222222;
-			margin-bottom: 24rpx;
+			font-size: 28rpx;
+			border-radius: 24rpx;
 			margin-right: 32rpx;
+			color: #222222;
+
 			&.nactive {
-				background: #D5E4FF;
-				color: #3F8DFD;
+				background: #EBF2FF;
+			}
+		}
+
+		.check_box_item {
+			padding: 0 32rpx 0 28rpx;
+			background: #F8F8F8;
+			margin-bottom: 32rpx;
+			height: 84rpx;
+			line-height: 84rpx;
+			display: flex;
+			align-items: center;
+			font-size: 28rpx;
+
+			.price_box {
+				width: 100%;
+				display: flex;
+				align-items: center;
+				justify-content: space-between;
+
+				.price {
+					font-weight: bold;
+					color: #EB445A;
+					font-size: 34rpx;
+				}
+			}
+
+			.check_box_item_titme {
+				max-width: 400rpx;
+				overflow: hidden;
+				text-overflow: ellipsis;
+				white-space: nowrap;
 			}
 		}
+
+		.selected {
+			background: #EBF2FF;
+			color: #3F8DFD;
+		}
 	}
+
 	.confirm_btns {
+		width: 638rpx;
+		box-sizing: border-box;
 		position: absolute;
 		bottom: 32rpx;
+		display: flex;
+        align-items: center;
+		justify-content: space-between;
+		.allprice {  
+			view {
+				color: #222222;
+				font-size: 32rpx;
+				text{
+					color: #EB445A;
+					font-size: 40rpx;
+					&:nth-of-type(1){
+						font-size: 24rpx;
+					}
+				}
+			}
+			text{
+				color: #666;
+				font-size: 28rpx;
+			}
+		}
 	}
-    .right_now {
-        width: 640rpx;
-        height: 92rpx;
-        line-height: 92rpx;
-        text-align: center;
-        background: #3F8DFD;
-        border-radius: 120rpx;
-        font-size: 32rpx;
-        font-weight: 500;
-        color: #FFFFFF;
-    }
+
+	.right_now {
+		width: 272rpx;
+		height: 92rpx;
+		line-height: 92rpx;
+		text-align: center;
+		background: #3F8DFD;
+		border-radius: 120rpx;
+		font-size: 32rpx;
+		font-weight: 500;
+		color: #FFFFFF;
+	}
+
 	.r_disable {
 		background: #498AFE;
 		opacity: 0.5;

+ 5 - 13
pages3/live/detail.vue

@@ -1347,19 +1347,11 @@ export default {
               //开头拍1张
               this.photoList.push(0);
             } else if (photoNum == 3) {
-              //拍2张
-              if (totalVideoTime <= 300) {
-                //小于5分钟
-                this.photoList.push(0); //开头拍一张
-                let endTakeTime = this.randomNum(10, totalVideoTime); //中间随机取一张
-                this.photoList.push(endTakeTime);
-              } else {
-                this.photoList.push(0); //开头拍一张
-                let endMaxTime = totalVideoTime - 60;
-                let endMinTime = totalVideoTime - 300;
-                let endTakeTime = this.randomNum(endMinTime, endMaxTime);
-                this.photoList.push(endTakeTime); //最后1-5分钟拍一张
-              }
+                this.photoList.push(1);  
+                let centerTime = this.randomNum(1/3*totalVideoTime, 2/3*totalVideoTime);; 
+                this.photoList.push(centerTime); 
+                let endTakeTime = this.randomNum(2/3*totalVideoTime, totalVideoTime);
+                this.photoList.push(endTakeTime); 
             }
           }
           // for(let i=0;i<photoNum;i++){

+ 5 - 13
pages3/polyv/detail.vue

@@ -1984,19 +1984,11 @@ export default {
               //开头拍1张
               this.photoList.push(0);
             } else if (photoNum == 3) {
-              //拍2张
-              if (totalVideoTime <= 300) {
-                //小于5分钟
-                this.photoList.push(0); //开头拍一张
-                let endTakeTime = this.randomNum(10, totalVideoTime); //中间随机取一张
-                this.photoList.push(endTakeTime);
-              } else {
-                this.photoList.push(0); //开头拍一张
-                let endMaxTime = totalVideoTime - 60;
-                let endMinTime = totalVideoTime - 300;
-                let endTakeTime = this.randomNum(endMinTime, endMaxTime);
-                this.photoList.push(endTakeTime); //最后1-5分钟拍一张
-              }
+                this.photoList.push(1);  
+                let centerTime = this.randomNum(1/3*totalVideoTime, 2/3*totalVideoTime);; 
+                this.photoList.push(centerTime); 
+                let endTakeTime = this.randomNum(2/3*totalVideoTime, totalVideoTime);
+                this.photoList.push(endTakeTime); 
             }
           }
           // for(let i=0;i<photoNum;i++){

Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно