xuqiaoying 2 éve
szülő
commit
c3028b1e5b

+ 2 - 2
pages/course/index.vue

@@ -652,7 +652,7 @@ page {
   border-radius: 24rpx 24rpx 0rpx 0rpx;
   padding: 0 38rpx;
   .again_ck {
-    width: 25%;
+    width: 30%;
     display: flex;
     align-items: center;
     justify-content: space-between;
@@ -670,7 +670,7 @@ page {
     font-weight: 500;
     color: #333;
     white-space: nowrap;
-    width: 75%;
+    width: 70%;
     overflow-x: hidden;
   }
 }

+ 4 - 7
pages/index/index.vue

@@ -458,13 +458,10 @@ export default {
 	} else {
 		console.log('没有code')
 		// 没有code,就重定向到地址https://www.xyyxt.net?ask_type=h.xyyxt.net 去获取code,授权后就会把code带上然后访问域名,就拿到code了
-		if (!uni.getStorageSync('h5_code')) {
-			location.replace('https://www.xyyxt.net/?ask_type=h.xyyxt.net')
-			return
-		} else {
-			// this.$set(this.optObj, 'code', uni.getStorageSync('h5_code'))
-			// this.OfficialLogin()
-		}
+		// if (!uni.getStorageSync('h5_code')) {
+		// 	location.replace('https://www.xyyxt.net/?ask_type=h.xyyxt.net')
+		// 	return
+		// }
 	}
 	// #endif
     this.getInfo(); // 判断有没有关注公众号

+ 0 - 1
pages2/bank/questionBank.vue

@@ -11,7 +11,6 @@
       class="swiper"
       :current="current"
       @change="swiperChange"
-      :interval="interval"
     >
       <swiper-item v-for="(bank, bankIndex) in questionList" :key="bankIndex">
         <view class="pageContent">

+ 0 - 1
pages2/bank/questionBankAllExplain.vue

@@ -5,7 +5,6 @@
       class="swiper"
       :current="current"
       @change="swiperChange"
-      :interval="interval"
     >
       <swiper-item v-for="(bank, bankIndex) in questionList" :key="bankIndex">
         <view class="pageContent">

+ 0 - 1
pages2/bank/questionBankExplain.vue

@@ -5,7 +5,6 @@
       class="swiper"
       :current="current"
       @change="swiperChange"
-      :interval="interval"
     >
       <swiper-item v-for="(bank, bankIndex) in questionList" :key="bankIndex">
         <view class="pageContent">

+ 0 - 1
pages2/bank/questionBankExplainDetail.vue

@@ -14,7 +14,6 @@
       class="swiper"
       :current="current"
       @change="swiperChange"
-      :interval="interval"
     >
       <swiper-item v-for="(bank, bankIndex) in questionList" :key="bankIndex">
         <view class="pageContent">

+ 0 - 1
pages2/bank/questionBankTest.vue

@@ -5,7 +5,6 @@
       class="swiper"
       :current="current"
       @change="swiperChange"
-      :interval="interval"
     >
       <swiper-item v-for="(bank, bankIndex) in questionList" :key="bankIndex">
         <view class="pageContent">

+ 0 - 1
pages2/bank/questionBankWrongExplain.vue

@@ -5,7 +5,6 @@
       class="swiper"
       :current="current"
       @change="swiperChange"
-      :interval="interval"
     >
       <swiper-item v-for="(bank, bankIndex) in questionList" :key="bankIndex">
         <view class="pageContent">

+ 0 - 25
pages2/class/questionBank.vue

@@ -11,7 +11,6 @@
       class="swiper"
       :current="current"
       @change="swiperChange"
-      :interval="interval"
     >
       <swiper-item v-for="(bank, bankIndex) in questionList" :key="bankIndex">
         <view class="pageContent">
@@ -1016,29 +1015,6 @@ export default {
   onShow() {
     // this.photoPopup = true;
     // this.isTaking = true;
-    // if (
-    //   (window.navigator.mediaDevices &&
-    //     window.navigator.mediaDevices.getUserMedia) ||
-    //   window.navigator.getUserMedia ||
-    //   window.navigator.webkitGetUserMedia ||
-    //   window.navigator.mozGetUserMedia
-    // ) {
-    //   console.log("getUserMedia----");
-    //   // 调用用户媒体设备, 访问摄像头
-    //   this.getUserMedia(
-    //     {
-    //       video: {
-    //         width: 400,
-    //         height: 300,
-    //       },
-    //     },
-    //     this.photographSuccess,
-    //     this.photographError
-    //   );
-    // } else {
-    //   console.log("1111没有摄像");
-    //   this.photographError();
-    // }
   },
   onUnload() {
     if (this.isSubmit) {
@@ -1404,7 +1380,6 @@ export default {
       //   // }, 2000);
       //   return;
       // }
-
       if (compareFaceData >= 80) {
         const waitYS = await this.imageInfos();
         this.postStudyRecord(); //提交记录

+ 0 - 1
pages2/subject/collectBank.vue

@@ -5,7 +5,6 @@
       class="swiper"
       :current="current"
       @change="swiperChange"
-      :interval="interval"
     >
       <swiper-item v-for="(bank, bankIndex) in questionList" :key="bankIndex">
         <view class="pageContent">

+ 0 - 1
pages2/subject/collectTypeBank.vue

@@ -5,7 +5,6 @@
       class="swiper"
       :current="current"
       @change="swiperChange"
-      :interval="interval"
     >
       <swiper-item v-for="(bank, bankIndex) in questionList" :key="bankIndex">
         <view class="pageContent">

+ 0 - 1
pages2/subject/wrongBank.vue

@@ -5,7 +5,6 @@
       class="swiper"
       :current="current"
       @change="swiperChange"
-      :interval="interval"
     >
       <swiper-item v-for="(bank, bankIndex) in questionList" :key="bankIndex">
         <view class="pageContent">

+ 0 - 1
pages2/subject/wrongTypeBank.vue

@@ -5,7 +5,6 @@
       class="swiper"
       :current="current"
       @change="swiperChange"
-      :interval="interval"
     >
       <swiper-item v-for="(bank, bankIndex) in questionList" :key="bankIndex">
         <view class="pageContent">

+ 2 - 27
pages3/live/detail.vue

@@ -587,7 +587,7 @@
       :mask-close-able="false"
       @close="closeNotice"
     >
-      <div class="content">
+      <view class="content">
           <view class="title">学员须知</view>
           <scroll-view scroll-y="true">
             <view class="text" v-html="goodsData.buyNote && goodsData.buyNote.replace(/\n|\r\n/g, '<br>')">
@@ -598,7 +598,7 @@
             <text v-else>我已阅读学员须知</text>
             <text v-if="CountTo >= 0">{{ ' ' + CountTo + 's' }}</text>
           </view>
-      </div>
+      </view>
     </u-popup>
 		
 		<!-- 切换课程弹窗 -->
@@ -815,31 +815,6 @@ export default {
   onShow() {
     // this.photoPopup = true;
     // this.isTaking = true;
-    // if (
-    //   (window.navigator.mediaDevices &&
-    //     window.navigator.mediaDevices.getUserMedia) ||
-    //   window.navigator.getUserMedia ||
-    //   window.navigator.webkitGetUserMedia ||
-    //   window.navigator.mozGetUserMedia
-    // ) {
-    //   console.log("getUserMedia----");
-    //   // 调用用户媒体设备, 访问摄像头
-    //   this.getUserMedia(
-    //     {
-    //       video: {
-    //         width: 400,
-    //         height: 300,
-    //       },
-    //     },
-    //     this.photographSuccess,
-    //     this.photographError
-    //   );
-    // } else {
-    //   console.log("1111没有摄像");
-    //   this.photographError();
-    // }
-
-
     console.log('this.options:', this.options);
     if (this.$method.isGoLogin()) { // 从公众号消息进来的没登录需要跳到登录页,登录后返回
       return;

+ 2 - 30
pages3/polyv/detail.vue

@@ -632,7 +632,7 @@
       :mask-close-able="false"
       @close="closeNotice"
     >
-      <div class="content">
+      <view class="content">
         <view class="title">学员须知</view>
         <scroll-view scroll-y="true">
           <view
@@ -652,7 +652,7 @@
           <text v-else>我已阅读学员须知</text>
           <text v-if="CountTo >= 0">{{ " " + CountTo + "s" }}</text>
         </view>
-      </div>
+      </view>
     </u-popup>
 
     <u-modal
@@ -959,29 +959,6 @@ export default {
   onShow() {
     // this.photoPopup = true;
     // this.isTaking = true;
-    // if (
-    //   (window.navigator.mediaDevices &&
-    //     window.navigator.mediaDevices.getUserMedia) ||
-    //   window.navigator.getUserMedia ||
-    //   window.navigator.webkitGetUserMedia ||
-    //   window.navigator.mozGetUserMedia
-    // ) {
-    //   console.log("getUserMedia----");
-    //   // 调用用户媒体设备, 访问摄像头
-    //   this.getUserMedia(
-    //     {
-    //       video: {
-    //         width: 400,
-    //         height: 300,
-    //       },
-    //     },
-    //     this.photographSuccess,
-    //     this.photographError
-    //   );
-    // } else {
-    //   console.log("1111没有摄像");
-    //   this.photographError();
-    // }
 
     if (this.$method.isGoLogin()) {
       // 从公众号消息进来的没登录需要跳到登录页,登录后返回
@@ -1589,11 +1566,6 @@ export default {
             }
           } else {
             this.CountTo = -1;
-            console.log(
-              "this.goodsPlayConfig",
-              this.goodsPlayConfig,
-              polyvPlayerContext
-            );
             if (this.goodsPlayConfig && this.goodsPlayConfig.autoPlay > 0) {
               // #ifdef MP-WEIXIN
               this.autoplay = true;

+ 0 - 1
pages5/examBank/index.vue

@@ -11,7 +11,6 @@
       class="swiper"
       :current="current"
       @change="swiperChange"
-      :interval="interval"
     >
       <swiper-item v-for="(bank, bankIndex) in questionList" :key="bankIndex">
         <view class="pageContent">

+ 0 - 1
pages5/examReport/questionBankAllExplain.vue

@@ -5,7 +5,6 @@
       class="swiper"
       :current="current"
       @change="swiperChange"
-      :interval="interval"
     >
       <swiper-item v-for="(bank, bankIndex) in questionList" :key="bankIndex">
         <view class="pageContent">

+ 0 - 1
pages5/examReport/questionBankWrongExplain.vue

@@ -5,7 +5,6 @@
       class="swiper"
       :current="current"
       @change="swiperChange"
-      :interval="interval"
     >
       <swiper-item v-for="(bank, bankIndex) in questionList" :key="bankIndex">
         <view class="pageContent">