11wqe1 1 month ago
parent
commit
3e51eb08e8

File diff suppressed because it is too large
+ 0 - 0
dist/css/app.21f02fca.css


File diff suppressed because it is too large
+ 0 - 0
dist/css/app.66d85642.css


+ 0 - 1
dist/img/logStu.b8a10dcc.svg

@@ -1 +0,0 @@
-<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1760066681135" class="icon" viewBox="0 0 1315 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="16678" data-spm-anchor-id="a313x.search_index.0.i10.3e5c3a81LpoQZ5" xmlns:xlink="http://www.w3.org/1999/xlink" width="82.1875" height="64"><path d="M499.528168 557.812518a296.005912 296.005912 0 0 1-147.930192-255.54886 302.263658 302.263658 0 0 1 604.527315 0 296.151441 296.151441 0 0 1-151.495651 257.513501 575.858109 575.858109 0 0 1 355.454494 295.132738h-82.878745a522.885566 522.885566 0 0 0-428.728327-245.652891 533.727474 533.727474 0 0 0-433.385254 245.652891H136.86999a575.785345 575.785345 0 0 1 362.658178-297.170144z m154.333466-32.671253a222.877608 222.877608 0 1 0-226.661361-222.804843 224.769484 224.769484 0 0 0 226.661361 222.804843z" fill="#2c2c2c" p-id="16679" data-spm-anchor-id="a313x.search_index.0.i7.3e5c3a81LpoQZ5" class="selected"></path><path d="M1271.995907 806.73981a37.109886 37.109886 0 1 1 0 74.292536 1677.730658 1677.730658 0 0 0-575.71258 135.196407 115.186175 115.186175 0 0 1-82.733216 0 1696.649423 1696.649423 0 0 0-575.785345-135.269171 37.109886 37.109886 0 1 1 0-74.292536 1764.684214 1764.684214 0 0 1 603.217555 140.362685 38.419646 38.419646 0 0 0 27.577738 0 1746.347564 1746.347564 0 0 1 603.363084-140.362685z" fill="#2c2c2c" p-id="16680" data-spm-anchor-id="a313x.search_index.0.i9.3e5c3a81LpoQZ5" class="selected"></path></svg>

File diff suppressed because it is too large
+ 0 - 0
dist/img/logTea.c46da60d.svg


+ 1 - 1
dist/index.html

@@ -36,7 +36,7 @@
         width: 100%;
         background: #e6eaf0;
         font-family: '黑体';
-      }</style><script defer="defer" src="/js/chunk-vendors.b69f8993.js"></script><script defer="defer" src="/js/app.8f51ef3b.js"></script><link href="/css/chunk-vendors.7cfe4581.css" rel="stylesheet"><link href="/css/app.21f02fca.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but pblAdminTable doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html><script>function stopSafari() {
+      }</style><script defer="defer" src="/js/chunk-vendors.b69f8993.js"></script><script defer="defer" src="/js/app.70f004b1.js"></script><link href="/css/chunk-vendors.7cfe4581.css" rel="stylesheet"><link href="/css/app.66d85642.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but pblAdminTable doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {

File diff suppressed because it is too large
+ 0 - 0
dist/js/app.70f004b1.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/app.70f004b1.js.map


+ 222 - 292
src/views/login/loginPage.vue

@@ -49,284 +49,257 @@
 				<template v-if="steps == 1">
 					<span
 						v-if="['default', 'weChat', 'orgL', 'code'].includes(loginType)"
-						style="display: flex;justify-content: space-between;align-items: first baseline;"
+						>{{ lang.login }}</span
+					>
+					<span v-if="['bind'].includes(loginType)">{{
+						lang.Bindaccount
+					}}</span>
+					<div class="lp_r_b_formArea">
+						<!-- 微信绑定,账号登录,组织号登录 -->
+						<div
+							class="fa_input"
+							v-if="['default', 'bind', 'orgL'].includes(loginType)"
 						>
-						{{ lang.login }}
-						<!-- 返回到选择身份 -->
-						<div v-if="logIdentity != 0" @click="backIDyData" class="backIDy">重选身份</div>
-					</span>
-					
-					
-					<!-- 选择身份登录页  -->
-					<div class="logIdy" v-if="logIdentity == 0">
-						<div>
-							请选择您的身份
-						</div>
-						<div style="display: flex;gap: 20px;">
-							<div class="logIdImg"  @click="logIdentity = 1">
-								<img src="../../assets/login/logTea.svg"  alt="">
-								<span>教师</span>
-							</div>
-							<div class="logIdImg"  @click="logIdentity = 2,loginType = 'code'">
-								<img src="../../assets/login/logStu.svg" alt="">
-								<span>学生</span>
-							</div>
-							<!-- <el-button size="mini">教师</el-button>
-							<el-button size="mini">学生</el-button> -->
-						</div>
-					</div>
-					<!-- 登录页 -->
-					<template v-else>
-						<span v-if="['bind'].includes(loginType)">
-							<!-- 绑定账户 -->
-							{{ lang.Bindaccount }}</span>
-						<div class="lp_r_b_formArea">
-							<!-- 微信绑定,账号登录,组织号登录 -->
 							<div
-								class="fa_input"
-								v-if="['default', 'bind', 'orgL'].includes(loginType)"
+								class="fa_i_item"
+								style="position: relative"
+								v-if="loginType == 'orgL'"
 							>
+								<span>{{ lang.OrganizationNumber }}</span>
+								<div>
+									<input
+										type="text"
+										:placeholder="lang.enterorgnumber"
+										v-model.trim="SuffixData"
+										@input="getSuffix"
+									/>
+								</div>
 								<div
-									class="fa_i_item"
-									style="position: relative"
-									v-if="loginType == 'orgL'"
+									style="
+										border: none;
+										font-size: 12px;
+										position: absolute;
+										left: 0;
+										bottom: -70%;
+									"
+									v-if="SuffixData.trim()"
 								>
-									<span>{{ lang.OrganizationNumber }}</span>
-									<div>
-										<input
-											type="text"
-											:placeholder="lang.enterorgnumber"
-											v-model.trim="SuffixData"
-											@input="getSuffix"
-										/>
-									</div>
-									<div
-										style="
-											border: none;
-											font-size: 12px;
-											position: absolute;
-											left: 0;
-											bottom: -70%;
-										"
-										v-if="SuffixData.trim()"
-									>
-										{{ orginfo.length ? orginfo[0].name : lang.schoolnotexist }}
-									</div>
+									{{ orginfo.length ? orginfo[0].name : lang.schoolnotexist }}
 								</div>
-								<div class="fa_i_item">
-									<span>{{ lang.account }}</span>
-									<div>
-										<input
-											type="text"
-											:placeholder="lang.enteraccount"
-											v-model.trim="account"
-											@keyup.enter="loginFn"
-										/>
-									</div>
+							</div>
+							<div class="fa_i_item">
+								<span>{{ lang.account }}</span>
+								<div>
+									<input
+										type="text"
+										:placeholder="lang.enteraccount"
+										v-model.trim="account"
+										@keyup.enter="loginFn"
+									/>
 								</div>
+							</div>
 
-								<div class="fa_i_item">
-									<span>{{ lang.password }}</span>
-									<div>
-										<input
-											type="password"
-											:placeholder="lang.enterpassword"
-											v-model="password"
-											@keyup.enter="loginFn"
-										/>
-									</div>
+							<div class="fa_i_item">
+								<span>{{ lang.password }}</span>
+								<div>
+									<input
+										type="password"
+										:placeholder="lang.enterpassword"
+										v-model="password"
+										@keyup.enter="loginFn"
+									/>
 								</div>
 							</div>
-							<!-- 微信登录  -->
-							<div class="fa_weChat" v-if="['weChat'].includes(loginType)">
-								<div id="QRcode" class="QRcode" ref="QRcode"></div>
-								<!-- @click="loginType = 'bind'" -->
-							</div>
-							<!-- 随机码登录  -->
-							<div class="fa_input" v-if="['code'].includes(loginType)">
-								<div class="fa_i_item" style="position: relative">
-									<span v-if="prefixL == 'liyuan_'">{{ lang.SelectCampus }}</span>
-									<span v-else>{{ lang.OrganizationNumber }}</span>
-									<!-- v-if="prefixL == 'liyuan_'" -->
-									<div v-if="prefixL == 'liyuan_'">
-										<el-select
-											v-loading="Codeloading"
-											@change="getSuffix"
-											v-model.trim="SuffixData"
-											:placeholder="lang.Pleaseselect"
-										>
-											<el-option
-												v-for="item in CodeOptions"
-												:key="item.code"
-												:label="item.name"
-												:value="item.code"
-											>
-											</el-option>
-										</el-select>
-									</div>
-									<div v-else>
-										<input
-											type="text"
-											:placeholder="lang.enterorgnumber"
-											v-model.trim="SuffixData"
-											@input="getrandomcodeSuffix"
-										/>
-									</div>
-									<div
-										style="
-											border: none;
-											font-size: 12px;
-											position: absolute;
-											left: 0;
-											bottom: -70%;
-										"
-										v-if="SuffixData.trim() && prefixL != 'liyuan_'"
+						</div>
+						<!-- 微信登录  -->
+						<div class="fa_weChat" v-if="['weChat'].includes(loginType)">
+							<div id="QRcode" class="QRcode" ref="QRcode"></div>
+							<!-- @click="loginType = 'bind'" -->
+						</div>
+						<!-- 随机码登录  -->
+						<div class="fa_input" v-if="['code'].includes(loginType)">
+							<div class="fa_i_item" style="position: relative">
+								<span v-if="prefixL == 'liyuan_'">{{ lang.SelectCampus }}</span>
+								<span v-else>{{ lang.OrganizationNumber }}</span>
+								<!-- v-if="prefixL == 'liyuan_'" -->
+								<div v-if="prefixL == 'liyuan_'">
+									<el-select
+										v-loading="Codeloading"
+										@change="getSuffix"
+										v-model.trim="SuffixData"
+										:placeholder="lang.Pleaseselect"
 									>
-										{{ orginfo.length ? orginfo[0].name : lang.schoolnotexist }}
-									</div>
+										<el-option
+											v-for="item in CodeOptions"
+											:key="item.code"
+											:label="item.name"
+											:value="item.code"
+										>
+										</el-option>
+									</el-select>
+								</div>
+								<div v-else>
+									<input
+										type="text"
+										:placeholder="lang.enterorgnumber"
+										v-model.trim="SuffixData"
+										@input="getrandomcodeSuffix"
+									/>
+								</div>
+								<div
+									style="
+										border: none;
+										font-size: 12px;
+										position: absolute;
+										left: 0;
+										bottom: -70%;
+									"
+									v-if="SuffixData.trim() && prefixL != 'liyuan_'"
+								>
+									{{ orginfo.length ? orginfo[0].name : lang.schoolnotexist }}
 								</div>
+							</div>
 
-								<div class="fa_i_item">
-									<span>{{ lang.randomcode }}</span>
-									<div>
-										<input
-											type="text"
-											:placeholder="lang.Pleaseenter"
-											v-model.trim="icode"
-											@keyup.enter="nextSteps"
-										/>
-									</div>
+							<div class="fa_i_item">
+								<span>{{ lang.randomcode }}</span>
+								<div>
+									<input
+										type="text"
+										:placeholder="lang.Pleaseenter"
+										v-model.trim="icode"
+										@keyup.enter="nextSteps"
+									/>
 								</div>
 							</div>
 						</div>
-						<div
-							class="lp_r_b_btn"
-							v-if="['code'].includes(loginType)"
-							@click="nextSteps"
-							v-loading="loading"
-						>
-							{{ lang.confirm }}
+					</div>
+
+					<div
+						class="lp_r_b_btn"
+						v-if="['code'].includes(loginType)"
+						@click="nextSteps"
+						v-loading="loading"
+					>
+						{{ lang.confirm }}
+					</div>
+					<div
+						class="lp_r_b_btn"
+						v-if="['default', 'orgL'].includes(loginType)"
+						@click="loginFn"
+						v-loading="loading"
+					>
+						{{ lang.login }}
+					</div>
+					<div
+						class="lp_r_b_btn"
+						v-if="loginType == 'weChat'"
+						style="opacity: 0; cursor: default"
+					>
+						{{ lang.Accpaslogin }}
+					</div>
+					<div class="btn_box" v-if="loginType == 'bind'">
+						<div class="lp_r_b_btn" @click="loginFn" v-loading="loading">
+							{{ lang.Confirmbinding }}
 						</div>
-						<div
-							class="lp_r_b_btn"
-							v-if="['default', 'orgL'].includes(loginType)"
-							@click="loginFn"
-							v-loading="loading"
-						>
-							{{ lang.login }}
+						<div class="lp_r_b_btn" @click="loginType = 'default'">
+							{{ lang.Returnlogin }}
 						</div>
+					</div>
+					<div class="lp_r_b_line">
+						<template
+							v-if="['default', 'weChat', 'orgL', 'code'].includes(loginType)"
+						>
+							<div></div>
+							<span>{{ lang.Otherlogin }}</span>
+							<div></div>
+						</template>
+					</div>
+					<div class="lp_r_b_iconBtn">
 						<div
-							class="lp_r_b_btn"
-							v-if="loginType == 'weChat'"
-							style="opacity: 0; cursor: default"
+							v-if="['default', 'weChat', 'orgL', 'code'].includes(loginType)"
+							@click="getData"
 						>
-							{{ lang.Accpaslogin }}
-						</div>
-						<div class="btn_box" v-if="loginType == 'bind'">
-							<div class="lp_r_b_btn" @click="loginFn" v-loading="loading">
-								{{ lang.Confirmbinding }}
-							</div>
-							<div class="lp_r_b_btn" @click="loginType = 'default'">
-								{{ lang.Returnlogin }}
-							</div>
-						</div>
-						<div class="lp_r_b_line">
-							<template
-								v-if="['default', 'weChat', 'orgL', 'code'].includes(loginType)"
+							<!-- v-if="['default', 'weChat', 'orgL', 'code'].includes(loginType)" -->
+							<el-tooltip
+								effect="dark"
+								:content="lang.Rancodelogin"
+								placement="bottom"
 							>
-								<div></div>
-								<span>{{ lang.Otherlogin }}</span>
-								<div></div>
-							</template>
+								<img
+									:src="
+										loginType == 'code'
+											? require('../../assets/login/codel.png')
+											: require('../../assets/login/code.png')
+									"
+									:class="[loginType == 'code' ? 'backWin' : '']"
+								/>
+							</el-tooltip>
 						</div>
-						<div class="lp_r_b_iconBtn">
-							<div
-								v-if="['default', 'weChat', 'orgL', 'code'].includes(loginType) && logIdentity == 2"
-								@click="getData"
-							>
-								<!-- v-if="['default', 'weChat', 'orgL', 'code'].includes(loginType)" -->
-								<el-tooltip
-									effect="dark"
-									:content="lang.Rancodelogin"
-									placement="bottom"
-								>
-									<img
-										:src="
-											loginType == 'code'
-												? require('../../assets/login/codel.png')
-												: require('../../assets/login/code.png')
-										"
-										:class="[loginType == 'code' ? 'backWin' : '']"
-									/>
-								</el-tooltip>
-							</div>
 
-							<div
-								@click="(loginType = 'orgL'), (org = '')"
-								v-if="
-									['default', 'weChat', 'orgL', 'code'].includes(loginType) &&
-									allowOrgList.findIndex((i) => i.area) == -1 && logIdentity == 1
-								"
+						<div
+							@click="(loginType = 'orgL'), (org = '')"
+							v-if="
+								['default', 'weChat', 'orgL', 'code'].includes(loginType) &&
+								allowOrgList.findIndex((i) => i.area) == -1
+							"
+						>
+							<el-tooltip
+								effect="dark"
+								:content="lang.OrgIDLogin"
+								placement="bottom"
 							>
-								<el-tooltip
-									effect="dark"
-									:content="lang.OrgIDLogin"
-									placement="bottom"
-								>
-									<img
-										style="width: 32px; object-fit: cover"
-										:src="
-											loginType == 'orgL'
-												? require('../../assets/login/zzl.svg')
-												: require('../../assets/login/orgh.svg')
-										"
-										:class="[loginType == 'orgL' ? 'backWin' : '']"
-									/>
-								</el-tooltip>
-							</div>
+								<img
+									style="width: 32px; object-fit: cover"
+									:src="
+										loginType == 'orgL'
+											? require('../../assets/login/zzl.svg')
+											: require('../../assets/login/orgh.svg')
+									"
+									:class="[loginType == 'orgL' ? 'backWin' : '']"
+								/>
+							</el-tooltip>
+						</div>
 
-							<div
-								@click="wechatLogin"
-								v-if="['default', 'weChat', 'orgL', 'code'].includes(loginType) && logIdentity == 1"
+						<div
+							@click="wechatLogin"
+							v-if="['default', 'weChat', 'orgL', 'code'].includes(loginType)"
+						>
+							<el-tooltip
+								effect="dark"
+								:content="lang.WeChatLogin"
+								placement="bottom"
 							>
-								<el-tooltip
-									effect="dark"
-									:content="lang.WeChatLogin"
-									placement="bottom"
-								>
-									<img
-										:src="
-											loginType == 'weChat'
-												? require('../../assets/login/wxl.svg')
-												: require('../../assets/login/wxh.svg')
-										"
-										:class="[loginType == 'weChat' ? 'backWin' : '']"
-									/>
-								</el-tooltip>
-							</div>
+								<img
+									:src="
+										loginType == 'weChat'
+											? require('../../assets/login/wxl.svg')
+											: require('../../assets/login/wxh.svg')
+									"
+									:class="[loginType == 'weChat' ? 'backWin' : '']"
+								/>
+							</el-tooltip>
+						</div>
 
-							<div
-								@click="(loginType = 'default'), ((SuffixData = ''), (org = ''))"
-								v-if="['default', 'weChat', 'orgL', 'code'].includes(loginType)"
+						<div
+							@click="(loginType = 'default'), ((SuffixData = ''), (org = ''))"
+							v-if="['default', 'weChat', 'orgL', 'code'].includes(loginType)"
+						>
+							<el-tooltip
+								effect="dark"
+								:content="lang.Accpaslogin"
+								placement="bottom"
 							>
-								<el-tooltip
-									effect="dark"
-									:content="lang.Accpaslogin"
-									placement="bottom"
-								>
-									<img
-										:src="
-											loginType == 'default'
-												? require('../../assets/login/zhl.svg')
-												: require('../../assets/login/zhh.svg')
-										"
-										:class="[loginType == 'default' ? 'backWin' : '']"
-									/>
-								</el-tooltip>
-							</div>
+								<img
+									:src="
+										loginType == 'default'
+											? require('../../assets/login/zhl.svg')
+											: require('../../assets/login/zhh.svg')
+									"
+									:class="[loginType == 'default' ? 'backWin' : '']"
+								/>
+							</el-tooltip>
 						</div>
-					</template>
-
+					</div>
 				</template>
 				<div class="stuPage" v-if="steps == 2">
 					<div>{{ lang.choosename }}</div>
@@ -379,8 +352,6 @@ export default {
 	name: "loginPage",
 	data() {
 		return {
-			// 0选择页 1教师 2学生
-			logIdentity:0,
 			// 判断显示组织号区域
 			SuffixShow: false,
 			// 组织号查询区域结果
@@ -488,16 +459,6 @@ export default {
 			login: "user/login",
 			logout: "user/logout",
 		}),
-		// 返回身份登录页后清除数据 
-		backIDyData(){
-			this.password = '';
-			this.org = '';
-			this.account = '';
-			this.loginType = "default";
-			this.SuffixData = '';
-			this.icode = '';
-			this.logIdentity = 0;
-		},
 		somp(val){
 			const element = document.getElementById(`group-${val}`);
 				if (element) {
@@ -1661,37 +1622,6 @@ export default {
 	background: #006afe;
 	color: #fff;
 }
-.logIdy{
-	display: flex;
-	flex-direction: column;
-	gap: 20px;
-	padding: 30px 0 306px;
-	box-sizing: border-box;
-}
-.backIDy{
-	font-size: 14px;
-	font-weight: normal;
-	cursor: pointer;
-}
-.logIdImg{
-	background: #F1F2F6;
-	width: 50%;
-	min-width: 100px;
-	height: 120px;
-	padding: 10px;
-	box-sizing: border-box;
-	display: flex;
-	justify-content: center;
-	align-items: center;
-	gap: 5px;
-	flex-direction: column;
-	border-radius: 10px;
-	cursor: pointer;
-}
-.logIdImg img{
-	height: 50px;
-	width: 50px;
-}
 /* .backWin{ */
 /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); */
 /* }  */

Some files were not shown because too many files changed in this diff