feat: 长文本滑动

This commit is contained in:
hzj 2025-10-31 20:03:00 +08:00
parent 83ea2d0c9d
commit 6fc0540e65
2 changed files with 21 additions and 5 deletions

View File

@ -226,12 +226,12 @@
background: white;
border-radius: 16px 16px 0 0;
max-height: 80vh;
overflow: hidden;
display: flex;
flex-direction: column;
gap: 10px;
padding: 20px;
"
class="overflow-y-auto"
@click.stop
>
<div style="display: flex; justify-content: center; align-items: center">
@ -317,12 +317,12 @@
background: white;
border-radius: 16px 16px 0 0;
max-height: 60vh;
overflow: hidden;
display: flex;
flex-direction: column;
gap: 10px;
padding: 20px;
"
class="overflow-y-auto"
@click.stop
>
<div style="font-weight: 600">{{ BDSalaryMore.period }}</div>
@ -528,6 +528,14 @@ onMounted(() => {
font-family: 'SF Pro Text';
}
.overflow-y-auto {
overflow-y: auto;
}
.overflow-y-auto::-webkit-scrollbar {
display: none;
}
.bd-center {
max-height: 100vh;
overflow-y: auto;

View File

@ -363,12 +363,12 @@
background: white;
border-radius: 16px 16px 0 0;
max-height: 80vh;
overflow: hidden;
display: flex;
flex-direction: column;
gap: 10px;
padding: 20px;
"
class="overflow-y-auto"
@click.stop
>
<div style="display: flex; justify-content: center; align-items: center">
@ -493,12 +493,12 @@
background: white;
border-radius: 16px 16px 0 0;
max-height: 60vh;
overflow: hidden;
display: flex;
flex-direction: column;
gap: 10px;
padding: 20px;
"
class="overflow-y-auto"
@click.stop
>
<div style="font-weight: 600">{{ SalaryMore.period }}</div>
@ -582,12 +582,12 @@
background: white;
border-radius: 16px 16px 0 0;
max-height: 60vh;
overflow: hidden;
display: flex;
flex-direction: column;
gap: 10px;
padding: 20px;
"
class="overflow-y-auto"
@click.stop
>
<div style="font-weight: 600">{{ SalaryMore.period }}</div>
@ -859,6 +859,14 @@ onMounted(() => {
display: none;
}
.overflow-y-auto {
overflow-y: auto;
}
.overflow-y-auto::-webkit-scrollbar {
display: none;
}
* {
color: rgba(0, 0, 0, 0.8);
font-family: 'SF Pro Text';