Parcourir la source

隐藏app.vue的用户版本检测不匹配退出

guojy il y a 1 an
Parent
commit
5e5ab50ec8
2 fichiers modifiés avec 27 ajouts et 155 suppressions
  1. 1 1
      src/App.vue
  2. 26 154
      src/course/user/login.vue

+ 1 - 1
src/App.vue

@@ -8,7 +8,7 @@
   export default{
     name: 'App',
     created() {
-      this.getVersions();
+      // this.getVersions();
     },
     methods:{
         getVersions() {

+ 26 - 154
src/course/user/login.vue

@@ -57,7 +57,7 @@ import {getUserToken,getAdminTokenId} from '../api'
 export default {
   data() {
     return {
-      testId:"",
+      testId:"11770",
       isShowWxLogin:false,
       // wxUrl:process.env.BASE_API+'/wechat/auth/web?ct=1',
       wxUrl:'https://oa.g107.com/wechat/auth/web?ct=1',
@@ -89,26 +89,6 @@ export default {
       }).catch(err=>{
         console.log(err)
       })
-      // this.$axiosKc('post','/mkt/admin/login',{},'','','',token).then(res=>{
-      //   let data = res.data
-      //   if(data.code == 1){
-      //     setCourseToken(res.data.data.auToken)
-      //     setCourseId(res.data.data.adminUserId)
-      //     localStorage.setItem('Course-Token',res.data.data.auToken)
-      //     localStorage.setItem('Course-Id',res.data.data.adminUserId)
-      //     this.$message({
-      //       message: '登陆成功!',
-      //       type: 'success',
-      //       showClose: true,
-      //       duration: 2000,
-      //     });
-      //     this.$router.push('/course')
-      //   }else{
-      //     this.$message(data.message)
-      //   }
-      // }).catch(err=>{
-
-      // })
     },
     // 微信扫码
     openWx(){
@@ -160,7 +140,31 @@ export default {
 .account-login a {
     display: inline-block;
 }
-
+.login-left {
+  min-width: 500px;
+  min-height: 700px;
+  height: 100vh;
+  /* background: url('/static/images/login-left.png') no-repeat; */
+  background-repeat: no-repeat;
+  background-size: 100% 100%;
+  position: relative;
+  filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/static/images/login-left.png', sizingMethod='scale');
+  -ms-behavior: url('/static/images/login-left.png');
+  behavior: url('/static/images/login-left.png');
+}
+.login_input {
+  position: relative;
+  text-align: center;
+  width: 508px;
+  height: 376px;
+  background: #fff;
+  /* overflow: hidden; */
+  top: 0;
+  margin: 0 auto 0 auto;
+}
+.login-container {
+  height: 100%;
+}
 
 
 @media screen and (min-width: 1601px) {
@@ -188,18 +192,6 @@ export default {
     height: 330px;
   }
 }
-.login-left {
-  min-width: 500px;
-  min-height: 700px;
-  height: 100vh;
-  /* background: url('/static/images/login-left.png') no-repeat; */
-  background-repeat: no-repeat;
-  background-size: 100% 100%;
-  position: relative;
-  filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/static/images/login-left.png', sizingMethod='scale');
-  -ms-behavior: url('/static/images/login-left.png');
-  behavior: url('/static/images/login-left.png');
-}
 /deep/ .el-carousel__indicators--outside {
   text-align: center;
   position: static;
@@ -218,124 +210,4 @@ export default {
   border-radius: 5px;
   background-color: #fff;
 }
-
-
-
-
-
-.login_input {
-  position: relative;
-  text-align: center;
-  width: 508px;
-  height: 376px;
-  background: #fff;
-  /* overflow: hidden; */
-  top: 0;
-  margin: 0 auto 0 auto;
-}
-.login-form {
-  width: 380px;
-  margin: 0 auto;
-  /* margin-top: 75px; */
-}
-
-.login-form /deep/ input:-webkit-autofill {
-  -webkit-box-shadow: 0 0 0 1000px white inset !important;
-}
-
-.title-container {
-  font-size: 22px;
-  font-weight: bold;
-  padding: 30px 0;
-  text-align: left;
-}
-
-.title-container img {
-  margin-top: 38px;
-  width: 100%;
-  height: auto;
-}
-
-.login-form .login_tel {
-  display: block;
-  margin-bottom: 24px;
-  border: none;
-  border-bottom: 1px solid #c0c4cc;
-}
-
-.login-form .login_tel .label {
-  display: inline-block;
-  text-align: left;
-  width: 12%;
-  font-size: 18px;
-  color: #303133;
-  line-height: 26px;
-  padding: 0;
-  margin: 12px 0;
-  float: left;
-}
-
-.login-form .login_tel .input_tel {
-  display: inline-block;
-  width: 88%;
-  margin: 12px auto;
-  height: 24px;
-  line-height: 24px;
-  border-left: 1px #efefef solid;
-  float: right;
-}
-
-.login-form .login_tel .input_tel /deep/ input {
-  padding: 0 0% 0 4%;
-  margin: 0;
-  font-size: 18px;
-  height: 24px;
-  line-height: 24px;
-  border: none !important;
-}
-
-.login-form .login_tel /deep/ .el-input__suffix {
-  top: -6px;
-  right: 0px;
-}
-
-.login-form .login_pwd {
-  border: none;
-  border-bottom: 1px solid #c0c4cc;
-}
-
-.login-form .login_pwd .el-input /deep/ input {
-  padding: 0;
-  margin: 0;
-  font-size: 18px;
-  height: 24px;
-  line-height: 24px;
-  border: none;
-}
-
-.login-form .login_pwd .show-pwd {
-  position: absolute;
-  right: 0;
-  top: 0;
-}
-
-.login-form .login_pwd /deep/ .el-input__suffix {
-  right: 20px;
-}
-.login-form /deep/ input::-webkit-input-placeholder {
-  color: #909399;
-  letter-spacing: 1px;
-}
-
-.login-form /deep/ input:focus::-webkit-input-placeholder {
-  color: #006eff;
-}
-
-.login-form .el-form-item__error {
-  margin: 2px auto;
-}
-
-.login-container {
-  height: 100%;
-}
 </style>