chenxiong пре 3 година
родитељ
комит
d37219a8fd

+ 4 - 4
src/axios.js

@@ -1,13 +1,13 @@
 import axios from 'axios'
 import store from './store'
-export const BASE_URL = 'https://api.xyyxt.net'   //release
-// export const BASE_URL = 'http://42.192.164.187:19005'    //test
+// export const BASE_URL = 'https://api.xyyxt.net'   //release
+export const BASE_URL = 'http://42.192.164.187:19005'    //test
 export const tenantId = '867735392558919680'
 
 
 //图片上传api
-export const BASE_IMG_URL = 'https://file.xyyxt.net/'     //release
-// export const BASE_IMG_URL = 'https://file-dev.xyyxt.net/'  //test
+// export const BASE_IMG_URL = 'https://file.xyyxt.net/'     //release
+export const BASE_IMG_URL = 'https://file-dev.xyyxt.net/'  //test
 
 import tools from './common/tools'
 import router from './router'

+ 2 - 0
src/pages/bank-exam-all-explain/index.vue

@@ -1284,6 +1284,8 @@ export default {
               border-bottom: 1px solid #eeeeee;
 
               .back-btn {
+                display: block;
+                margin: 0 auto;
                 width: 160px;
               }
             }

+ 2 - 0
src/pages/bank-exam-continue/index.vue

@@ -2127,6 +2127,8 @@ export default {
               border-bottom: 1px solid #eeeeee;
 
               .back-btn {
+                display: block;
+                margin: 0 auto;
                 width: 160px;
               }
             }

+ 2 - 0
src/pages/bank-exam-explain/index.vue

@@ -1335,6 +1335,8 @@ export default {
               border-bottom: 1px solid #eeeeee;
 
               .back-btn {
+                display: block;
+                margin: 0 auto;
                 width: 160px;
               }
             }

+ 2 - 0
src/pages/bank-exam-wrong-explain/index.vue

@@ -1307,6 +1307,8 @@ export default {
               border-bottom: 1px solid #eeeeee;
 
               .back-btn {
+                display: block;
+                margin: 0 auto;
                 width: 160px;
               }
             }

+ 2 - 0
src/pages/bank-exam/index.vue

@@ -2700,6 +2700,8 @@ export default {
               border-bottom: 1px solid #eeeeee;
 
               .back-btn {
+                display: block;
+                margin: 0 auto;
                 width: 160px;
               }
 

+ 2 - 2
src/pages/course-detail/index.vue

@@ -4618,7 +4618,6 @@ export default {
         await this.clears();
 
         this.vid = option.recordingUrl;
-        this.hasStart = true;
         this.loadPlayerScript(this.loadPlayer);
         setTimeout(() => {
           this.clickLock = false;
@@ -4654,7 +4653,6 @@ export default {
         this.getNoteList();
         //设置播放的节ID
         await this.clears();
-        this.hasStart = true;
         this.vidzb = option.liveUrl;
         this.loadPlayerScriptzb(this.loadPlayerzb);
         setTimeout(() => {
@@ -4721,6 +4719,7 @@ export default {
 
       this.playerzb.on("s2j_onStartPlay", () => {
         console.log("s2j_onStartPlay");
+        this.hasStart = true;
         this.livingTimer = setInterval(self.timeEventLiving, 1000);
       });
 
@@ -4782,6 +4781,7 @@ export default {
         this.player.HTML5.video.addEventListener("timeupdate", self.timeEvent);
         this.player.on("s2j_onPlayStart", () => {
           //开始播放每5秒提交一次观看时间
+          this.hasStart = true;
           clearInterval(this.postTimer);
           this.postTimer = setInterval(() => {
             this.postStudyRecord(0);

+ 18 - 1
src/pages/course-exam/index.vue

@@ -767,6 +767,17 @@
                 </div>
               </div>
               <div class="right-box">
+                <div class="right-box__header">
+                  <el-button
+                    type="primary"
+                    round
+                    plain
+                    size="small"
+                    class="back-btn"
+                    @click="$router.back(-1)"
+                    >返回</el-button
+                  >
+                </div>
                 <div class="right-box__header">
                   <div class="title">答题卡</div>
                   <div class="time" v-if="allTimes">
@@ -2447,6 +2458,12 @@ export default {
               border-bottom: 1px solid #eeeeee;
               padding: 0 10px;
 
+              .back-btn {
+                display: block;
+                margin: 0 auto;
+                width: 160px;
+              }
+
               .title {
                 float: left;
                 font-size: 16px;
@@ -2508,7 +2525,7 @@ export default {
                 }
 
                 &__content {
-                  height: 410px;
+                  height: 630px;
                   overflow-y: scroll;
 
                   &::-webkit-scrollbar {

+ 8 - 4
src/pages/home/index.vue

@@ -47,7 +47,11 @@
               </select>
             </div>
             <div class="search__input">
-              <input v-model="searchKey" type="text" autocomplete="off" />
+              <input
+                v-model="searchKey"
+                type="text"
+                autocomplete="new-password"
+              />
             </div>
             <el-button type="primary" @click="search" class="search__btn"
               >搜索</el-button
@@ -175,7 +179,7 @@
                   <div class="input">
                     <el-form-item prop="account">
                       <el-input
-                        autocomplete="off"
+                        autocomplete="new-password"
                         v-model="loginForm.account"
                         placeholder="请输入手机号或身份证号"
                       ></el-input>
@@ -214,7 +218,7 @@
                   <div class="input">
                     <el-form-item prop="tel">
                       <el-input
-                        autocomplete="off"
+                        autocomplete="new-password"
                         v-model="loginSmsForm.tel"
                         placeholder="请输入手机号"
                       ></el-input>
@@ -223,7 +227,7 @@
                   <div class="input">
                     <el-form-item prop="code">
                       <el-input
-                        autocomplete="off"
+                        autocomplete="new-password"
                         v-model="loginSmsForm.code"
                         placeholder="请输入验证码"
                       >

+ 11 - 11
src/pages/login/index.vue

@@ -47,7 +47,7 @@
                     <div class="input">
                       <el-form-item prop="account">
                         <el-input
-                          autocomplete="off"
+                          autocomplete="new-password"
                           placeholder="手机号/身份证号"
                           v-model="loginForm.account"
                         ></el-input>
@@ -56,7 +56,7 @@
                     <div class="input">
                       <el-form-item prop="pwd"
                         ><el-input
-                          autocomplete="off"
+                          autocomplete="new-password"
                           placeholder="密码"
                           :type="loginPwdShow ? 'text' : 'password'"
                           v-model="loginForm.pwd"
@@ -92,7 +92,7 @@
                     <div class="input">
                       <el-form-item prop="tel"
                         ><el-input
-                          autocomplete="off"
+                          autocomplete="new-password"
                           placeholder="手机号"
                           v-model="loginSmsForm.tel"
                         ></el-input
@@ -101,7 +101,7 @@
                     <div class="input">
                       <el-form-item prop="code"
                         ><el-input
-                          autocomplete="off"
+                          autocomplete="new-password"
                           placeholder="短信验证码"
                           v-model="loginSmsForm.code"
                         >
@@ -148,7 +148,7 @@
                   <div class="input">
                     <el-form-item prop="tel"
                       ><el-input
-                        autocomplete="off"
+                        autocomplete="new-password"
                         placeholder="手机号"
                         v-model="registerForm.tel"
                       ></el-input
@@ -157,7 +157,7 @@
                   <div class="input">
                     <el-form-item prop="code">
                       <el-input
-                        autocomplete="off"
+                        autocomplete="new-password"
                         placeholder="获取验证码"
                         v-model="registerForm.code"
                       >
@@ -174,7 +174,7 @@
                   <div class="input">
                     <el-form-item prop="pwd"
                       ><el-input
-                        autocomplete="off"
+                        autocomplete="new-password"
                         placeholder="密码"
                         :type="registerPwdShow ? 'text' : 'password'"
                         v-model="registerForm.pwd"
@@ -231,7 +231,7 @@
                     <el-form-item prop="tel"
                       ><el-input
                         placeholder="手机号"
-                        autocomplete="off"
+                        autocomplete="new-password"
                         v-model="forgetForm.tel"
                       >
                       </el-input
@@ -241,7 +241,7 @@
                     <el-form-item prop="code">
                       <el-input
                         placeholder="短信验证码"
-                        autocomplete="off"
+                        autocomplete="new-password"
                         v-model="forgetForm.code"
                         ><span class="btn" slot="suffix" @click="getCode">
                           {{
@@ -257,7 +257,7 @@
                     <el-form-item prop="pwd">
                       <el-input
                         placeholder="密码"
-                        autocomplete="off"
+                        autocomplete="new-password"
                         :type="forgetPwdShow ? 'text' : 'password'"
                         v-model="forgetForm.pwd"
                       >
@@ -274,7 +274,7 @@
                     <el-form-item prop="pwdAgain"
                       ><el-input
                         placeholder="再次输入密码"
-                        autocomplete="off"
+                        autocomplete="new-password"
                         :type="forgetPwdShow ? 'text' : 'password'"
                         v-model="forgetForm.pwdAgain"
                       >

+ 2 - 0
src/pages/subject/collect-bank.vue

@@ -1856,6 +1856,8 @@ export default {
               border-bottom: 1px solid #eeeeee;
 
               .back-btn {
+                display: block;
+                margin: 0 auto;
                 width: 160px;
               }
             }

+ 2 - 0
src/pages/subject/collect-type-bank.vue

@@ -1853,6 +1853,8 @@ export default {
               border-bottom: 1px solid #eeeeee;
 
               .back-btn {
+                display: block;
+                margin: 0 auto;
                 width: 160px;
               }
             }

+ 2 - 0
src/pages/subject/wrong-bank.vue

@@ -1865,6 +1865,8 @@ export default {
               border-bottom: 1px solid #eeeeee;
 
               .back-btn {
+                display: block;
+                margin: 0 auto;
                 width: 160px;
               }
             }

+ 2 - 0
src/pages/subject/wrong-type-bank.vue

@@ -1855,6 +1855,8 @@ export default {
               border-bottom: 1px solid #eeeeee;
 
               .back-btn {
+                display: block;
+                margin: 0 auto;
                 width: 160px;
               }
             }