fix filter style
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<template>
|
||||
<div v-can="permissionCodes.point.accountRead" class="point-account-list">
|
||||
<div class="filter bg-white">
|
||||
<div class="filters">
|
||||
<t-input
|
||||
v-model.trim="keyword"
|
||||
class="search"
|
||||
placeholder="搜索客户编码、姓名、拼音或电话"
|
||||
class="customer"
|
||||
placeholder="搜索客户编码、姓名(拼音)"
|
||||
borderless
|
||||
>
|
||||
<template #suffix-icon>
|
||||
@@ -245,21 +245,28 @@ onMounted(async () => {
|
||||
|
||||
<style scoped lang="less">
|
||||
.point-account-list {
|
||||
padding: calc(var(--app-nav-height) + 4.5rem) 0 1rem;
|
||||
padding: var(--app-nav-height) 0 1rem;
|
||||
|
||||
.filter {
|
||||
.filters {
|
||||
top: var(--app-nav-height);
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 10;
|
||||
padding: .5rem 1rem;
|
||||
position: fixed;
|
||||
display: flex;
|
||||
padding: .75rem 1rem;
|
||||
position: sticky;
|
||||
background: #F5F5F8;
|
||||
box-shadow: var(--td-shadow-1);
|
||||
flex-direction: column;
|
||||
|
||||
.customer {
|
||||
--td-button-border-radius: .75rem;
|
||||
--td-input-vertical-padding: .25rem 1rem;
|
||||
|
||||
.search {
|
||||
width: 100%;
|
||||
border: 1px solid var(--td-component-border);
|
||||
padding: .5rem 1rem;
|
||||
background: var(--td-bg-color-container);
|
||||
padding-right: .3rem;
|
||||
border-radius: 1rem;
|
||||
}
|
||||
}
|
||||
@@ -304,6 +311,14 @@ onMounted(async () => {
|
||||
|
||||
:global(html.theme-dark) {
|
||||
.point-account-list {
|
||||
.filters {
|
||||
background: #10161f;
|
||||
|
||||
.customer {
|
||||
background: #10161f;
|
||||
}
|
||||
}
|
||||
|
||||
.description,
|
||||
.zero,
|
||||
.center-tips {
|
||||
|
||||
Reference in New Issue
Block a user