master
王文杰 7 months ago
parent 80d65010e8
commit 66c08661d3

@ -104,7 +104,7 @@ const onRefresherrefresh = async () => {
margin: 20rpx 0; margin: 20rpx 0;
padding: 10rpx; padding: 10rpx;
border-bottom: 2rpx solid #999A9F; border-bottom: 2rpx solid #999A9F;
color: #868891; color: #afb0b6;
.name { .name {
margin: 20rpx; margin: 20rpx;
} }

@ -17,11 +17,10 @@ orderTabs.value[activeIndex.value].isRender = true
const datetimesingle = ref('') const datetimesingle = ref('')
const activeId = ref('') const activeId = ref('')
const handleIndexChange = (index: any) => { const handleIndexChange = (index: any) => {
orderTabs.value.forEach((e) => { orderTabs.value.forEach((e, idx) => {
e.isRender = false e.isRender = index == idx
}) })
activeIndex.value = index activeIndex.value = index
orderTabs.value[index].isRender = true
} }
</script> </script>
<template> <template>

Loading…
Cancel
Save