update filter style

This commit is contained in:
Timi
2026-09-23 13:40:45 +08:00
parent 73b7544572
commit b79e5bb0ea
24 changed files with 167 additions and 274 deletions
@@ -1,6 +1,6 @@
<template>
<div v-can="permissionCodes.salesOrder.read" class="consumption-record-list">
<div class="filters">
<div class="filters glass">
<t-input
class="keyword"
:value="customerDisplayText"
@@ -474,8 +474,6 @@ onMounted(async () => {
display: flex;
padding: .75rem 1rem;
position: sticky;
background: #F5F5F8;
box-shadow: var(--td-shadow-1);
flex-direction: column;
.keyword {
@@ -484,7 +482,6 @@ onMounted(async () => {
border: 1px solid var(--td-component-border);
z-index: 1;
background: var(--td-bg-color-container);
padding-right: .3rem;
border-radius: 1rem;
@@ -501,11 +498,10 @@ onMounted(async () => {
--td-spacer-1: 6px;
width: 100%;
border: 1px solid rgba(148, 163, 184, .18);
overflow: hidden;
margin-top: -1rem;
padding-top: .8rem;
background: #fff;
border: 1px solid rgba(148, 163, 184, .18);
border-radius: 0 0 1rem 1rem;
}
}
+2 -23
View File
@@ -1,6 +1,6 @@
<template>
<div v-can="pageAccess" class="sales-order-record-list">
<div class="filters">
<div class="filters glass">
<t-input
class="customer"
v-model.trim="customerSearchKeyword"
@@ -522,8 +522,6 @@ onUnmounted(() => navBarStore.clearRight());
display: flex;
padding: .75rem 1rem;
position: sticky;
background: #F5F5F8;
box-shadow: var(--td-shadow-1);
flex-direction: column;
.customer {
@@ -531,8 +529,7 @@ onUnmounted(() => navBarStore.clearRight());
--td-input-vertical-padding: .25rem 1rem;
border: 1px solid var(--td-component-border);
z-index: 2;
background: var(--td-bg-color-container);
z-index: 1;
padding-right: .3rem;
border-radius: 1rem;
@@ -548,32 +545,14 @@ onUnmounted(() => navBarStore.clearRight());
width: 100%;
border: 1px solid rgba(148, 163, 184, .18);
z-index: -1;
overflow: hidden;
margin-top: -1rem;
background: #fff;
border-top: none;
padding-top: .8rem;
border-radius: 0 0 1rem 1rem;
}
}
.date-summary {
:deep(.t-cell__title) {
flex: 0 0 4.5rem;
}
:deep(.t-cell__note) {
flex: 1 1 0;
min-width: 0;
overflow: hidden;
text-align: right;
text-overflow: ellipsis;
white-space: nowrap;
}
}
:deep(.t-pull-down-refresh) {
padding-top: .75rem;
}
+1 -3
View File
@@ -1,6 +1,6 @@
<template>
<div ref="salesOrderListRef" v-can="permissionCodes.salesOrder.read" class="sales-order-list">
<div class="filters">
<div class="filters glass">
<div class="search-row">
<t-input
v-model.trim="keyword"
@@ -726,8 +726,6 @@ onUnmounted(() => {
z-index: 10;
padding: .75rem 1rem .5rem;
position: sticky;
background: var(--td-bg-color-page);
box-shadow: var(--td-shadow-1);
.search-row {
gap: .5rem;