This commit is contained in:
汪汇 2023-12-08 15:52:01 +08:00
parent eca843ebc9
commit a7821dbbc0
1 changed files with 5 additions and 5 deletions

View File

@ -32,7 +32,7 @@
:style="{ height: dropdown.hinegh + 'px' }" :style="{ height: dropdown.hinegh + 'px' }"
style="z-index: 10" style="z-index: 10"
> >
<div style="width: 100%" @touchmove="mousedown"> <div style="width: 100%" @touchmove="touchmove">
<div class="tzhz"></div> <div class="tzhz"></div>
</div> </div>
<van-sticky style="background-color: #fff; z-index: 99"> <van-sticky style="background-color: #fff; z-index: 99">
@ -115,7 +115,7 @@ var control = null;
var T = window.T; var T = window.T;
const dropdown = reactive({ const dropdown = reactive({
sesh:'', sesh: "",
value1: 0, value1: 0,
hinegh: 256, hinegh: 256,
value1: 0, value1: 0,
@ -294,7 +294,7 @@ const init = () => {
const yxfwxz = (e) => { const yxfwxz = (e) => {
list.index = e.id; list.index = e.id;
}; };
const mousedown = (event) => { const touchmove = (event) => {
if ( if (
document.body.clientHeight - event.touches[0].clientY >= 256 && document.body.clientHeight - event.touches[0].clientY >= 256 &&
document.body.clientHeight - event.touches[0].clientY <= document.body.clientHeight - event.touches[0].clientY <=
@ -410,7 +410,7 @@ onMounted(() => {
} }
.card { .card {
width: 100%; width: 100%;
height: calc(100% - 122px); height: calc(100% - 132px);
overflow: auto; overflow: auto;
padding-bottom: 80px; padding-bottom: 80px;
.cardlist { .cardlist {
@ -497,6 +497,6 @@ onMounted(() => {
background-color: #eaeaea; background-color: #eaeaea;
} }
:deep(.tdt-bar a, .tdt-bar a:hover) { :deep(.tdt-bar a, .tdt-bar a:hover) {
color: #CACACA; color: #cacaca;
} }
</style> </style>