键盘遮挡输入框问题
This commit is contained in:
@@ -1,15 +1,6 @@
|
||||
<template>
|
||||
<view v-if="show" class="filter-container">
|
||||
<!-- 头部 -->
|
||||
<!-- <view class="filter-header">
|
||||
<text class="back-btn" @click="handleClose">
|
||||
<uni-icons type="left" size="24"></uni-icons>
|
||||
</text>
|
||||
<text class="filter-title">喀什智慧就业平台</text>
|
||||
<view class="back-btn"></view>
|
||||
</view> -->
|
||||
|
||||
<!-- 标签页 -->
|
||||
<!-- 左侧标签页 -->
|
||||
<view class="filter-tabs">
|
||||
<view
|
||||
v-for="(tab, index) in tabs"
|
||||
@@ -22,6 +13,8 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 右侧内容区域 -->
|
||||
<view class="filter-right">
|
||||
<!-- 内容区域 -->
|
||||
<view class="filter-content">
|
||||
<!-- 学历要求 -->
|
||||
@@ -121,6 +114,7 @@
|
||||
<button class="footer-btn confirm-btn" @click="handleConfirm">确认</button>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
@@ -230,7 +224,7 @@ const handleClose = () => {
|
||||
background-color: #fff;
|
||||
z-index: 9999;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.filter-header {
|
||||
@@ -266,17 +260,17 @@ const handleClose = () => {
|
||||
}
|
||||
|
||||
.filter-tabs {
|
||||
width: 200rpx;
|
||||
border-right: 1rpx solid #eee;
|
||||
background-color: #f8f8f8;
|
||||
display: flex;
|
||||
border-bottom: 1rpx solid #eee;
|
||||
background-color: #fff;
|
||||
box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
|
||||
flex-direction: column;
|
||||
|
||||
.tab-item {
|
||||
flex: 1;
|
||||
height: 90rpx;
|
||||
line-height: 90rpx;
|
||||
height: 100rpx;
|
||||
line-height: 100rpx;
|
||||
text-align: center;
|
||||
font-size: 30rpx;
|
||||
font-size: 28rpx;
|
||||
color: #666;
|
||||
position: relative;
|
||||
transition: all 0.3s ease;
|
||||
@@ -284,14 +278,15 @@ const handleClose = () => {
|
||||
&.active {
|
||||
color: #256BFA;
|
||||
font-weight: 600;
|
||||
background-color: #fff;
|
||||
|
||||
&::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 25%;
|
||||
width: 50%;
|
||||
height: 4rpx;
|
||||
left: 0;
|
||||
top: 25%;
|
||||
width: 4rpx;
|
||||
height: 50%;
|
||||
background-color: #256BFA;
|
||||
border-radius: 2rpx;
|
||||
}
|
||||
@@ -303,6 +298,13 @@ const handleClose = () => {
|
||||
}
|
||||
}
|
||||
|
||||
.filter-right {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.filter-content {
|
||||
flex: 1;
|
||||
padding: 40rpx 32rpx;
|
||||
|
||||
@@ -198,7 +198,7 @@
|
||||
class="input"
|
||||
@confirm="sendMessage"
|
||||
:disabled="isTyping"
|
||||
:adjust-position="false"
|
||||
:adjust-position="true"
|
||||
placeholder="请输入您的职位名称、薪资要求、岗位地址"
|
||||
v-show="!isVoice"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user