样式适配
This commit is contained in:
@@ -277,7 +277,7 @@
|
||||
<script lang="ts">
|
||||
import { defineComponent,ref,reactive,toRefs ,onMounted} from "vue";
|
||||
import { Https } from "@/tool/https";
|
||||
import { isEmail } from "@/tool/util";
|
||||
import { isEmail,getUniversalZoomLevel } from "@/tool/util";
|
||||
import { setCookie ,WriteCookie } from "@/tool/cookie";
|
||||
import { message } from "ant-design-vue";
|
||||
import VerificationCodeInput from "@/component/LoginPage/verificationCodeInput.vue";
|
||||
@@ -579,7 +579,7 @@ export default defineComponent({
|
||||
if(rv.email)userid.email = rv.email
|
||||
this.store.commit("upUserDetail", userid);
|
||||
|
||||
if (window.innerWidth < 768) {
|
||||
if (window.innerWidth * getUniversalZoomLevel() < 768) {
|
||||
message.info(
|
||||
"If you need to design, please log in using an iPad or computer."
|
||||
);
|
||||
@@ -782,11 +782,16 @@ export default defineComponent({
|
||||
box-sizing: border-box;
|
||||
label{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
span{
|
||||
font-size: 1.6rem;
|
||||
margin-left: 10px;
|
||||
font-weight: normal;
|
||||
}
|
||||
input{
|
||||
width: 1.5rem;
|
||||
height: 1.5rem;
|
||||
}
|
||||
&.active{
|
||||
pointer-events:none;
|
||||
input{
|
||||
|
||||
Reference in New Issue
Block a user