修复ios输入账号密码键盘闪烁的问题
This commit is contained in:
parent
ead807ae1e
commit
def1555c03
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<view>
|
<view>
|
||||||
<view class="item">
|
<view class="item">
|
||||||
<u-skeleton :loading="skeleton" :animate="true" title rows="1" rows-width="100%"
|
<u-skeleton :loading="skeleton" :class="{'loading': skeleton}" :animate="true" title rows="1" rows-width="100%"
|
||||||
rowsHeight="56"></u-skeleton>
|
rowsHeight="56"></u-skeleton>
|
||||||
<!-- <block v-if="!skeleton">
|
<!-- <block v-if="!skeleton">
|
||||||
<view class="title">公司基本信息</view>
|
<view class="title">公司基本信息</view>
|
||||||
@ -101,7 +101,7 @@
|
|||||||
<!-- 合同 -->
|
<!-- 合同 -->
|
||||||
<view class="item" v-show="skeleton||contract.status">
|
<view class="item" v-show="skeleton||contract.status">
|
||||||
|
|
||||||
<u-skeleton :loading="skeleton" :animate="true" title rows="2" rows-width="100%"
|
<u-skeleton :loading="skeleton" :class="{'loading': skeleton}" :animate="true" title rows="2" rows-width="100%"
|
||||||
rowsHeight="56"></u-skeleton>
|
rowsHeight="56"></u-skeleton>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
@ -246,7 +246,7 @@
|
|||||||
</view>
|
</view>
|
||||||
-->
|
-->
|
||||||
<view class="item">
|
<view class="item">
|
||||||
<u-skeleton :loading="skeleton" :animate="true" title rows="2" rows-width="100%"
|
<u-skeleton :loading="skeleton" :class="{'loading': skeleton}" :animate="true" title rows="2" rows-width="100%"
|
||||||
rowsHeight="56"></u-skeleton>
|
rowsHeight="56"></u-skeleton>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
@ -614,7 +614,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.loading{
|
||||||
|
padding: 28rpx;
|
||||||
|
}
|
||||||
|
|
||||||
.item {
|
.item {
|
||||||
padding-top: 0;
|
padding-top: 0;
|
||||||
|
|
||||||
|
@ -13,18 +13,20 @@
|
|||||||
<u-tabs :list="tabList" @click="changeTabs" lineColor="#0122c7"
|
<u-tabs :list="tabList" @click="changeTabs" lineColor="#0122c7"
|
||||||
itemStyle="padding-left: 15px; padding-right: 15px; height: 34px;font-size: 32rpx;"></u-tabs>
|
itemStyle="padding-left: 15px; padding-right: 15px; height: 34px;font-size: 32rpx;"></u-tabs>
|
||||||
</view>
|
</view>
|
||||||
<input v-if="current == 0" @click="getId" class="mobile item" v-model="formData.account" type="tel"
|
<input @click="getId" class="mobile item" v-model="formData.account" type="tel"
|
||||||
placeholder="输入账号" />
|
placeholder="输入账号" />
|
||||||
<input v-if="current == 0" @click="getId" class="mobile item" v-model="formData.password"
|
<input style="width: 0;height: 0;opacity: 0;margin: 0;padding: 0;" v-model="formData.account" type="tel"
|
||||||
|
placeholder="输入账号" />
|
||||||
|
<input @click="getId" class="mobile item" v-model="formData.password"
|
||||||
maxlength="26" placeholder="输入密码" password type="safe-password" />
|
maxlength="26" placeholder="输入密码" password type="safe-password" />
|
||||||
<input v-if="current == 1" class="mobile item" v-model="formData.account" placeholder="输入手机号" />
|
<!-- <input v-if="current == 1" class="mobile item" v-model="formData.account" placeholder="输入手机号" />
|
||||||
<view v-if="current == 1" class="code item">
|
<view v-if="current == 1" class="code item">
|
||||||
<input placeholder="输入验证码" v-model="formData.code" maxlength="6" />
|
<input placeholder="输入验证码" v-model="formData.code" maxlength="6" />
|
||||||
<u-code :seconds="seconds" @end="end" @start="start" ref="uCode" @change="codeChange"></u-code>
|
<u-code :seconds="seconds" @end="end" @start="start" ref="uCode" @change="codeChange"></u-code>
|
||||||
<view class="get-code" @click="getCode">{{ tips }}</view>
|
<view class="get-code" @click="getCode">{{ tips }}</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="btn">
|
<view class="btn">
|
||||||
</view>
|
</view> -->
|
||||||
</view>
|
</view>
|
||||||
<button class="submit_btn" @click="login">登录</button>
|
<button class="submit_btn" @click="login">登录</button>
|
||||||
</view>
|
</view>
|
||||||
@ -233,6 +235,10 @@
|
|||||||
line-height: 68rpx;
|
line-height: 68rpx;
|
||||||
-webkit-background-clip: text;
|
-webkit-background-clip: text;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
::v-deep uni-input{
|
||||||
|
min-height: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
.login-card {
|
.login-card {
|
||||||
width: 694rpx;
|
width: 694rpx;
|
||||||
|
@ -108,7 +108,7 @@ export default {
|
|||||||
.tips{
|
.tips{
|
||||||
width: 137rpx;
|
width: 137rpx;
|
||||||
height: 49rpx;
|
height: 49rpx;
|
||||||
background: #3274F9;
|
background: #0122c7;
|
||||||
border-radius: 26rpx 26rpx 26rpx 26rpx;
|
border-radius: 26rpx 26rpx 26rpx 26rpx;
|
||||||
font-size: 25rpx;
|
font-size: 25rpx;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user