Browse Source

我的-开放考试功能和视频学习课程

xuqiaoying 3 năm trước cách đây
mục cha
commit
0c23568a42
3 tập tin đã thay đổi với 7 bổ sung52 xóa
  1. 3 2
      pages/learn/index.vue
  2. 4 4
      pages/wd/index.vue
  3. 0 46
      pages3/polyv/detail.vue

+ 3 - 2
pages/learn/index.vue

@@ -863,7 +863,7 @@ export default {
 				}
 			});
 		},
-		// 进入刷题
+		// 进入练习
 		studyques(item,index){
 			this.queitemIndex = index;
 			let sysTime = this.$method.timest()
@@ -994,6 +994,7 @@ export default {
 				}
 			});
 		},
+		// 进入刷题,调整小程序
 		appBeforeAddress(goodsId,item) {
 			this.$api.appBeforeAddress({
 				orderGoodsId:item.orderGoodsId
@@ -1003,7 +1004,7 @@ export default {
 						appId: res.data.data.url,
 						success(res) {
 							// 打开成功
-					}
+						}
 					})
 				} else {
 					uni.showModal({

+ 4 - 4
pages/wd/index.vue

@@ -52,8 +52,8 @@
 						<image src="/static/icon/my_icon4.png" class="my_icon"></image>
 						<view>我的题库通</view>
 					</view>
-				</view>
-				<navigator  hover-class="none" url="/pages5/liveDetail/list" class="menu_box" >
+				</view> -->
+				<!-- <navigator  hover-class="none" url="/pages5/liveDetail/list" class="menu_box" >
 					<view class="box_left">
 						<image src="/static/icon/my_icon12.png" class="my_icon"></image>
 						<view>我的直播课</view>
@@ -85,7 +85,7 @@
 						个模考预约
 					</view>
 				</navigator>
-				<!-- <navigator  hover-class="none" url="/pages2/exam/index" class="menu_box" >
+				<navigator  hover-class="none" url="/pages2/exam/index" class="menu_box" >
 					<view class="box_left">
 						<image src="/static/icon/my_icon10.png" class="my_icon"></image>
 						<view>我的考试</view>
@@ -94,7 +94,7 @@
 						<text>{{ userNums.subscribeSum }}</text>
 						考试预约
 					</view>
-				</navigator> -->
+				</navigator>
 				<navigator  hover-class="none" v-if="!hideBuyState" url="/pages2/order/index" class="menu_box">
 					<view class="box_left">
 						<image src="/static/icon/my_icon7.png" class="my_icon"></image>

+ 0 - 46
pages3/polyv/detail.vue

@@ -193,36 +193,6 @@
           <view v-if="noteList.length == 0" style="text-align: center"
             >暂无笔记</view
           >
-          <!-- <view class="inputBottom" v-if="!(isPlayRebuild > 0) && playChannelId ==0">
-            <view style="width: 10%"
-              ><image
-                src="/static/icon/note3.png"
-                style="width: 39rpx; height: 39rpx; margin: 0 29rpx"
-              ></image
-            ></view>
-            <view style="width: 73%; height: 100%; padding: 10rpx 0">
-              <u-input
-                class="input"
-                height="60"
-                fixed="true"
-                placeholder="您可以在这里输入笔记内容"
-                type="input"
-                :custom-style="inputStyle"
-                v-model="noteValue"
-              />
-            </view>
-            <view
-              style="
-                color: #007aff;
-                font-size: 30rpx;
-                font-weight: bold;
-                width: 15%;
-                text-align: center;
-              "
-              @click="postNote"
-              >提交</view
-            >
-          </view> -->
           <view v-for="(item, index) in noteList" :key="index">
             <view class="dateBox">{{
               $method.timestampToTime(item.dateNote)
@@ -576,7 +546,6 @@
 		
 		</u-modal>
 		 
-      <!--  -->
   </view>
 </template>
 
@@ -695,7 +664,6 @@ export default {
 			option:null,
 			isOther:'',
       downLoading: false, //下载讲义加载
-      // showMulu: false, //显示和隐藏目录
       muluStyle: false, //显示和隐藏目录样式
       bottomHeight: 0,
     };
@@ -739,12 +707,6 @@ export default {
 		// }
   },
   onShow() {
-    var self = this;
-    //相机授权
-		// this.userConfirmInfoDetail().then(res => {
-			
-		// })
-		
 		if(this.isOther) {
 			this.showMark = true;
 			return;
@@ -772,7 +734,6 @@ export default {
 			  this.$store.commit("setPlaySectionId", { playSectionId: item.sectionId });
 			  this.$store.commit("setPlayVID", { playVID: item.recordingUrl });
 			  this.$store.commit("updatePlayNextId", playNextId);
-			  console.log("this.playNoteVideo");
 				
 				this.playNoteVideo(item)
 			} else {
@@ -780,7 +741,6 @@ export default {
 			}
 		});
     this.current = uni.getStorageSync('current') || 0
-    console.log(this.gradeId, 7512);
     
   },
 	onHide() {
@@ -2123,7 +2083,6 @@ export default {
     restart() {
       var polyvPlayerContext = this.selectComponent("#playerVideo");
       polyvPlayerContext.seek(0);
-      console.log("seek1");
       clearTimeout(this.toastTimer);
       this.videoToastShow = false;
     },
@@ -2132,7 +2091,6 @@ export default {
         if (this.needSeek) {
           var polyvPlayerContext = this.selectComponent("#playerVideo");
           if (this.recordObj.videoCurrentTime) {
-            console.log("seek2");
             polyvPlayerContext.seek(this.recordObj.videoCurrentTime);
             this.seekTime = this.$method.secondToDate(
               this.recordObj.videoCurrentTime
@@ -2143,7 +2101,6 @@ export default {
             }, 3000);
           } else {
             polyvPlayerContext.seek(1); //避免相同节继续播放
-            console.log("seek3");
           }
 
           polyvPlayerContext.play();
@@ -2285,16 +2242,13 @@ export default {
       ctx.takePhoto({
         quality: "high",
         success: (res) => {
-          console.log(res.tempImagePath);
           self.avatarUrl = res.tempImagePath;
           this.isTaking = false;
           // self.submit();
-
           // self.photoPopup = false;
           // self.enableAutoRotation = true;
         },
         fail: (err) => {
-          console.log(err);
         },
       });
     },