update filter style
This commit is contained in:
@@ -161,6 +161,43 @@ html.theme-dark body {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.glass-header,
|
||||||
|
.filters.glass {
|
||||||
|
|
||||||
|
&::after {
|
||||||
|
content: "";
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
z-index: -1;
|
||||||
|
position: absolute;
|
||||||
|
|
||||||
|
mask: linear-gradient(to top, transparent 0%, #000 60%);
|
||||||
|
-webkit-mask: linear-gradient(to top, transparent 0%, #000 60%);
|
||||||
|
backdrop-filter: blur(10px);
|
||||||
|
-webkit-backdrop-filter: blur(10px);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.glass-bottom {
|
||||||
|
|
||||||
|
&::after {
|
||||||
|
content: "";
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
z-index: -1;
|
||||||
|
position: absolute;
|
||||||
|
|
||||||
|
mask: linear-gradient(to bottom, transparent 0%, #000 60%);
|
||||||
|
-webkit-mask: linear-gradient(to bottom, transparent 0%, #000 60%);
|
||||||
|
backdrop-filter: blur(10px);
|
||||||
|
-webkit-backdrop-filter: blur(10px);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.entrance-fade-up-enter-active {
|
.entrance-fade-up-enter-active {
|
||||||
transition: opacity .4s ease, transform .4s ease;
|
transition: opacity .4s ease, transform .4s ease;
|
||||||
transition-delay: var(--entrance-delay, 0ms);
|
transition-delay: var(--entrance-delay, 0ms);
|
||||||
|
|||||||
@@ -197,6 +197,7 @@ const tabBarHeight = computed(() => {
|
|||||||
|
|
||||||
.tab-bar {
|
.tab-bar {
|
||||||
--td-tab-bar-height: 52px;
|
--td-tab-bar-height: 52px;
|
||||||
|
--td-tab-bar-active-bg: var(--td-brand-color-2);
|
||||||
|
|
||||||
bottom: 1rem;
|
bottom: 1rem;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
:overlay-props="{ zIndex: popupZIndex - 1 }"
|
:overlay-props="{ zIndex: popupZIndex - 1 }"
|
||||||
>
|
>
|
||||||
<section class="ai-conversation-list" @scroll="handleScroll">
|
<section class="ai-conversation-list" @scroll="handleScroll">
|
||||||
<header class="header glass-white">
|
<header class="header glass-header">
|
||||||
<h3>历史会话</h3>
|
<h3>历史会话</h3>
|
||||||
<t-button
|
<t-button
|
||||||
theme="danger"
|
theme="danger"
|
||||||
@@ -65,7 +65,7 @@
|
|||||||
size="1.5rem"
|
size="1.5rem"
|
||||||
text="正在加载会话"
|
text="正在加载会话"
|
||||||
/>
|
/>
|
||||||
<div class="footer glass-white">
|
<div class="footer glass-bottom">
|
||||||
<span class="llm gray">Deepseek v4.1-flash</span>
|
<span class="llm gray">Deepseek v4.1-flash</span>
|
||||||
<t-button
|
<t-button
|
||||||
class="agreement-button"
|
class="agreement-button"
|
||||||
@@ -282,7 +282,6 @@ watch(() => props.sessionKey, async () => {
|
|||||||
z-index: 1;
|
z-index: 1;
|
||||||
display: flex;
|
display: flex;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
box-shadow: var(--td-shadow-1);
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
|
||||||
@@ -341,16 +340,12 @@ watch(() => props.sessionKey, async () => {
|
|||||||
display: flex;
|
display: flex;
|
||||||
padding: 0 .5rem;
|
padding: 0 .5rem;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
box-shadow: 0 -2px 10px rgba(0, 0, 0, .03);
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
|
||||||
.llm {
|
.llm {
|
||||||
font-size: .875rem;
|
font-size: .875rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.agreement-button {
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div v-can="permissionCodes.stat.read" class="customer-data-charts-page">
|
<div v-can="permissionCodes.stat.read" class="customer-data-charts-page">
|
||||||
<div class="header bg-white">
|
<div class="filters glass">
|
||||||
<t-input
|
<t-input
|
||||||
v-model="customerCode"
|
v-model="customerCode"
|
||||||
class="customer-search"
|
class="customer-search"
|
||||||
@@ -272,12 +272,11 @@ function getDateEnd(date: Date): Date {
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
.header {
|
.filters {
|
||||||
top: var(--app-nav-height);
|
top: var(--app-nav-height);
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
padding: .5rem 1rem;
|
padding: .5rem 1rem;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
box-shadow: var(--td-shadow-1);
|
|
||||||
|
|
||||||
.customer-search {
|
.customer-search {
|
||||||
--td-button-border-radius: .875rem;
|
--td-button-border-radius: .875rem;
|
||||||
@@ -285,7 +284,6 @@ function getDateEnd(date: Date): Date {
|
|||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border: 1px solid var(--td-component-border);
|
border: 1px solid var(--td-component-border);
|
||||||
background: var(--td-bg-color-container);
|
|
||||||
padding-right: .3rem;
|
padding-right: .3rem;
|
||||||
border-radius: 1rem;
|
border-radius: 1rem;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div
|
<div v-can="permissionCodes.customer.read" class="customer-invite-rank">
|
||||||
v-can="permissionCodes.customer.read"
|
|
||||||
class="customer-invite-rank"
|
|
||||||
>
|
|
||||||
<t-pull-down-refresh
|
<t-pull-down-refresh
|
||||||
class="list-wrapper"
|
class="list-wrapper"
|
||||||
v-model="isRefreshing"
|
v-model="isRefreshing"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div v-can="permissionCodes.customer.read" class="customer-list">
|
<div v-can="permissionCodes.customer.read" class="customer-list">
|
||||||
<div class="filter bg-white">
|
<div class="filters glass">
|
||||||
<t-input
|
<t-input
|
||||||
v-model.trim="keyword"
|
v-model.trim="keyword"
|
||||||
class="search"
|
class="search"
|
||||||
@@ -506,7 +506,7 @@ function buildCreatedAtRange(): [number | undefined, number | undefined] {
|
|||||||
.customer-list {
|
.customer-list {
|
||||||
padding: var(--app-nav-height) 0 1rem 0;
|
padding: var(--app-nav-height) 0 1rem 0;
|
||||||
|
|
||||||
.filter {
|
.filters {
|
||||||
top: var(--app-nav-height);
|
top: var(--app-nav-height);
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
@@ -514,17 +514,14 @@ function buildCreatedAtRange(): [number | undefined, number | undefined] {
|
|||||||
display: flex;
|
display: flex;
|
||||||
padding: .75rem 1rem;
|
padding: .75rem 1rem;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
background: #f5f5f8;
|
|
||||||
box-shadow: var(--td-shadow-1);
|
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
.search {
|
.search {
|
||||||
--td-button-border-radius: .75rem;
|
--td-button-border-radius: .75rem;
|
||||||
--td-input-vertical-padding: .25rem 1rem;
|
--td-input-vertical-padding: .25rem 1rem;
|
||||||
|
|
||||||
border: 1px solid rgba(148, 163, 184, .28);
|
border: 1px solid var(--td-component-border);
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
background: #f8fbff;
|
|
||||||
padding-right: .3rem;
|
padding-right: .3rem;
|
||||||
border-radius: 1rem;
|
border-radius: 1rem;
|
||||||
}
|
}
|
||||||
@@ -533,11 +530,10 @@ function buildCreatedAtRange(): [number | undefined, number | undefined] {
|
|||||||
--td-spacer-1: 6px;
|
--td-spacer-1: 6px;
|
||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
border: 1px solid var(--td-component-border);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
margin-top: -1rem;
|
margin-top: -1rem;
|
||||||
padding-top: .8rem;
|
padding-top: .8rem;
|
||||||
background: #fff;
|
|
||||||
border: 1px solid rgba(148, 163, 184, .18);
|
|
||||||
border-radius: 0 0 1rem 1rem;
|
border-radius: 0 0 1rem 1rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div v-can="permissionCodes.eventRecord.read" class="registration-record-list">
|
<div v-can="permissionCodes.eventRecord.read" class="registration-record-list">
|
||||||
<div class="search-bar">
|
<div class="filters glass">
|
||||||
<div class="search-date">
|
<div class="search-date">
|
||||||
<t-input
|
<t-input
|
||||||
v-model.trim="keyword"
|
v-model.trim="keyword"
|
||||||
@@ -684,12 +684,11 @@ onUnmounted(() => {
|
|||||||
|
|
||||||
<style scoped lang="less">
|
<style scoped lang="less">
|
||||||
.registration-record-list {
|
.registration-record-list {
|
||||||
gap: 1rem;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
padding: calc(var(--app-nav-height)) 0 6rem 0;
|
padding: var(--app-nav-height) 0 6rem 0;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
.search-bar {
|
.filters {
|
||||||
top: var(--app-nav-height);
|
top: var(--app-nav-height);
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
@@ -697,8 +696,6 @@ onUnmounted(() => {
|
|||||||
display: flex;
|
display: flex;
|
||||||
padding: .75rem 1rem;
|
padding: .75rem 1rem;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
background: #F5F5F8;
|
|
||||||
box-shadow: var(--td-shadow-1);
|
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
.search-date {
|
.search-date {
|
||||||
@@ -709,9 +706,8 @@ onUnmounted(() => {
|
|||||||
--td-input-vertical-padding: .25rem 1rem;
|
--td-input-vertical-padding: .25rem 1rem;
|
||||||
|
|
||||||
flex: 1;
|
flex: 1;
|
||||||
border: 1px solid rgba(148, 163, 184, .28);
|
border: 1px solid var(--td-component-border);
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
background: #f8fbff;
|
|
||||||
padding-right: .3rem;
|
padding-right: .3rem;
|
||||||
border-radius: 1rem;
|
border-radius: 1rem;
|
||||||
}
|
}
|
||||||
@@ -720,7 +716,7 @@ onUnmounted(() => {
|
|||||||
--td-spacer: 4px;
|
--td-spacer: 4px;
|
||||||
--td-spacer-1: 6px;
|
--td-spacer-1: 6px;
|
||||||
|
|
||||||
border: 1px solid rgba(148, 163, 184, .18);
|
border: 1px solid var(--td-component-border);
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
margin-left: -2.5rem;
|
margin-left: -2.5rem;
|
||||||
padding-left: 3rem;
|
padding-left: 3rem;
|
||||||
@@ -737,11 +733,10 @@ onUnmounted(() => {
|
|||||||
--td-spacer-1: 6px;
|
--td-spacer-1: 6px;
|
||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
border: 1px solid rgba(148, 163, 184, .18);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
margin-top: -1rem;
|
margin-top: -1rem;
|
||||||
padding-top: .8rem;
|
padding-top: .8rem;
|
||||||
background: #fff;
|
|
||||||
border: 1px solid rgba(148, 163, 184, .18);
|
|
||||||
border-top: none;
|
border-top: none;
|
||||||
border-radius: 0 0 1rem 1rem;
|
border-radius: 0 0 1rem 1rem;
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div v-can="permissionCodes.customerFollowUpReminder.read" class="follow-up-reminder-list">
|
<div v-can="permissionCodes.customerFollowUpReminder.read" class="follow-up-reminder-list">
|
||||||
<div class="filter bg-white">
|
<div class="filters glass">
|
||||||
<t-input
|
<t-input
|
||||||
v-model="customerSearchKeyword"
|
v-model="customerSearchKeyword"
|
||||||
class="customer"
|
class="customer"
|
||||||
@@ -41,114 +41,98 @@
|
|||||||
</t-dropdown-menu>
|
</t-dropdown-menu>
|
||||||
</div>
|
</div>
|
||||||
<t-pull-down-refresh
|
<t-pull-down-refresh
|
||||||
class="list-wrap"
|
|
||||||
v-model="isRefreshing"
|
v-model="isRefreshing"
|
||||||
:refresh-timeout="30000"
|
:refresh-timeout="30000"
|
||||||
@refresh="refresh"
|
@refresh="refresh"
|
||||||
@scrolltolower="fetch"
|
@scrolltolower="fetch"
|
||||||
>
|
>
|
||||||
<t-cell-group class="summary" theme="card">
|
<div class="list-wrap">
|
||||||
<t-cell title="提醒数量" :note="`共 ${pageResult.total} 条`" />
|
<customer-profile-card class="customer" :customer="selectedCustomer" />
|
||||||
<t-cell v-if="dateFilterType !== 'all'" title="提醒时间" :note="dateFilterLabel" />
|
<t-cell-group class="summary" theme="card">
|
||||||
<t-cell v-if="selectedCustomer || selectedResponsibleId" title="筛选条件">
|
<t-cell title="提醒数量" :note="`共 ${pageResult.total} 条`" />
|
||||||
<template #note>
|
<t-cell v-if="dateFilterType !== 'all'" title="提醒时间" :note="dateFilterLabel" />
|
||||||
<div class="selected-filter">
|
<t-cell v-if="selectedResponsibleId" title="负责人" :note="selectedResponsibleName" />
|
||||||
<t-tag
|
</t-cell-group>
|
||||||
v-if="selectedCustomer"
|
<t-cell-group v-if="pageResult.list.length" class="items fix-last-cell-line empty-cell-title-margin" theme="card">
|
||||||
theme="primary"
|
<t-swipe-cell
|
||||||
variant="light-outline"
|
v-for="(item, index) in pageResult.list"
|
||||||
:content="`客户:${selectedCustomer.name || selectedCustomer.code || '未命名'}`"
|
:key="item.id || index"
|
||||||
/>
|
class="item"
|
||||||
<t-tag
|
|
||||||
v-if="selectedResponsibleId"
|
|
||||||
theme="primary"
|
|
||||||
variant="light-outline"
|
|
||||||
:content="`负责人:${selectedResponsibleName}`"
|
|
||||||
/>
|
|
||||||
<t-button size="extra-small" variant="text" @click="clearFilters">清空筛选</t-button>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
</t-cell>
|
|
||||||
</t-cell-group>
|
|
||||||
<t-cell-group v-if="pageResult.list.length" class="items fix-last-cell-line empty-cell-title-margin" theme="card">
|
|
||||||
<t-swipe-cell
|
|
||||||
v-for="(item, index) in pageResult.list"
|
|
||||||
:key="item.id || index"
|
|
||||||
class="item"
|
|
||||||
>
|
|
||||||
<t-cell
|
|
||||||
v-entrance-transition="index * 30"
|
|
||||||
class="cell"
|
|
||||||
arrow
|
|
||||||
@click="toDetail(item)"
|
|
||||||
>
|
>
|
||||||
<template #leftIcon>
|
<t-cell
|
||||||
<t-image
|
v-entrance-transition="index * 30"
|
||||||
v-if="getCustomerPhotoURL(item.customer, 64)"
|
class="cell"
|
||||||
:src="getCustomerPhotoURL(item.customer, 64)"
|
arrow
|
||||||
:alt="getCustomerName(item)"
|
@click="toDetail(item)"
|
||||||
fit="cover"
|
>
|
||||||
class="avatar"
|
<template #leftIcon>
|
||||||
/>
|
<t-image
|
||||||
<div v-else class="avatar fallback" v-text="getCustomerName(item).slice(0, 1)" />
|
v-if="getCustomerPhotoURL(item.customer, 64)"
|
||||||
</template>
|
:src="getCustomerPhotoURL(item.customer, 64)"
|
||||||
<template #title>
|
:alt="getCustomerName(item)"
|
||||||
<div class="title">
|
fit="cover"
|
||||||
<div class="name-channel">
|
class="avatar"
|
||||||
<span class="text-bold" v-text="getCustomerName(item)" />
|
/>
|
||||||
<t-tag
|
<div v-else class="avatar fallback" v-text="getCustomerName(item).slice(0, 1)" />
|
||||||
v-if="item.notifyChannelList?.includes('INTERNAL')"
|
</template>
|
||||||
size="small"
|
<template #title>
|
||||||
theme="primary"
|
<div class="title">
|
||||||
variant="outline"
|
<div class="name-channel">
|
||||||
content="站内信"
|
<span class="text-bold" v-text="getCustomerName(item)" />
|
||||||
/>
|
<t-tag
|
||||||
<t-tag
|
v-if="item.notifyChannelList?.includes('INTERNAL')"
|
||||||
v-if="item.notifyChannelList?.includes('SMS')"
|
size="small"
|
||||||
size="small"
|
theme="primary"
|
||||||
theme="warning"
|
variant="outline"
|
||||||
variant="outline"
|
content="站内信"
|
||||||
content="短信"
|
/>
|
||||||
/>
|
<t-tag
|
||||||
|
v-if="item.notifyChannelList?.includes('SMS')"
|
||||||
|
size="small"
|
||||||
|
theme="warning"
|
||||||
|
variant="outline"
|
||||||
|
content="短信"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<t-tag size="small" :theme="getStatusTheme(item.status)" :content="getStatusText(item.status)" />
|
||||||
</div>
|
</div>
|
||||||
<t-tag size="small" :theme="getStatusTheme(item.status)" :content="getStatusText(item.status)" />
|
</template>
|
||||||
</div>
|
<template #description>
|
||||||
</template>
|
<div class="description">
|
||||||
<template #description>
|
<div class="content clip-text" v-text="getContentSummary(item.content)" />
|
||||||
<div class="description">
|
<div class="time-responsible">
|
||||||
<div class="content clip-text" v-text="getContentSummary(item.content)" />
|
|
||||||
<div class="time-responsible">
|
|
||||||
<span
|
<span
|
||||||
class="remind-time"
|
class="remind-time"
|
||||||
:class="getReminderTimeClass(item)"
|
:class="getReminderTimeClass(item)"
|
||||||
v-text="getReminderTimeText(item.remindAt)"
|
v-text="getReminderTimeText(item.remindAt)"
|
||||||
/>
|
/>
|
||||||
<span v-text="`负责人:${getResponsibleName(item)}`" />
|
<span v-text="`负责人:${getResponsibleName(item)}`" />
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</template>
|
||||||
|
</t-cell>
|
||||||
|
<template #right>
|
||||||
|
<div class="swipe-actions">
|
||||||
|
<t-button
|
||||||
|
v-if="canComplete && item.status === 'PENDING'"
|
||||||
|
class="complete swipe-cell-button"
|
||||||
|
variant="text"
|
||||||
|
:loading="operatingId === item.id && operatingType === 'complete'"
|
||||||
|
@click.stop="confirmComplete(item)"
|
||||||
|
>完成</t-button>
|
||||||
|
<t-button
|
||||||
|
v-if="canDelete"
|
||||||
|
class="delete swipe-cell-button"
|
||||||
|
variant="text"
|
||||||
|
:loading="operatingId === item.id && operatingType === 'delete'"
|
||||||
|
@click.stop="confirmDelete(item)"
|
||||||
|
>删除</t-button>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</t-cell>
|
</t-swipe-cell>
|
||||||
<template #right>
|
</t-cell-group>
|
||||||
<div class="swipe-actions">
|
<div class="center-tips" v-text="isLoading ? '正在加载提醒' : pageResult.list.length ? (isNoMore ? '已经到底了' : '上拉加载更多') : '暂无跟进提醒'" />
|
||||||
<t-button
|
</div>
|
||||||
v-if="canComplete && item.status === 'PENDING'"
|
|
||||||
class="complete swipe-cell-button"
|
|
||||||
variant="text"
|
|
||||||
:loading="operatingId === item.id && operatingType === 'complete'"
|
|
||||||
@click.stop="confirmComplete(item)"
|
|
||||||
>完成</t-button>
|
|
||||||
<t-button
|
|
||||||
v-if="canDelete"
|
|
||||||
class="delete swipe-cell-button"
|
|
||||||
variant="text"
|
|
||||||
:loading="operatingId === item.id && operatingType === 'delete'"
|
|
||||||
@click.stop="confirmDelete(item)"
|
|
||||||
>删除</t-button>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
</t-swipe-cell>
|
|
||||||
</t-cell-group>
|
|
||||||
<div class="center-tips" v-text="isLoading ? '正在加载提醒' : pageResult.list.length ? (isNoMore ? '已经到底了' : '上拉加载更多') : '暂无跟进提醒'" />
|
|
||||||
</t-pull-down-refresh>
|
</t-pull-down-refresh>
|
||||||
<customer-selector
|
<customer-selector
|
||||||
v-model="selectedCustomerId"
|
v-model="selectedCustomerId"
|
||||||
@@ -676,7 +660,7 @@ onUnmounted(() => navBarStore.clearRight());
|
|||||||
.follow-up-reminder-list {
|
.follow-up-reminder-list {
|
||||||
padding: var(--app-nav-height) 0 1rem;
|
padding: var(--app-nav-height) 0 1rem;
|
||||||
|
|
||||||
.filter {
|
.filters {
|
||||||
top: var(--app-nav-height);
|
top: var(--app-nav-height);
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
@@ -684,8 +668,6 @@ onUnmounted(() => navBarStore.clearRight());
|
|||||||
display: flex;
|
display: flex;
|
||||||
padding: .75rem 1rem;
|
padding: .75rem 1rem;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
background: #f5f5f8;
|
|
||||||
box-shadow: var(--td-shadow-1);
|
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
.customer {
|
.customer {
|
||||||
@@ -694,7 +676,7 @@ onUnmounted(() => navBarStore.clearRight());
|
|||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border: 1px solid var(--td-component-border);
|
border: 1px solid var(--td-component-border);
|
||||||
background: var(--td-bg-color-container);
|
z-index: 1;
|
||||||
padding-right: .3rem;
|
padding-right: .3rem;
|
||||||
border-radius: 1rem;
|
border-radius: 1rem;
|
||||||
}
|
}
|
||||||
@@ -703,11 +685,10 @@ onUnmounted(() => navBarStore.clearRight());
|
|||||||
--td-spacer-1: 6px;
|
--td-spacer-1: 6px;
|
||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border: 1px solid rgba(148, 163, 184, .18);
|
border: 1px solid var(--td-component-border);
|
||||||
z-index: -1;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
margin-top: -1rem;
|
margin-top: -1rem;
|
||||||
background: #fff;
|
background: #FFF;
|
||||||
border-top: none;
|
border-top: none;
|
||||||
padding-top: .8rem;
|
padding-top: .8rem;
|
||||||
border-radius: 0 0 1rem 1rem;
|
border-radius: 0 0 1rem 1rem;
|
||||||
@@ -733,10 +714,12 @@ onUnmounted(() => navBarStore.clearRight());
|
|||||||
}
|
}
|
||||||
|
|
||||||
.list-wrap {
|
.list-wrap {
|
||||||
padding: 1rem 0;
|
gap: 1rem;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
|
||||||
.summary {
|
.customer {
|
||||||
margin-bottom: 1rem;
|
margin: 0 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.items {
|
.items {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div v-can="permissionCodes.orderFulfillment.read" class="fulfillment-list">
|
<div v-can="permissionCodes.orderFulfillment.read" class="fulfillment-list">
|
||||||
<div class="filters">
|
<div class="filters glass">
|
||||||
<t-input
|
<t-input
|
||||||
class="customer"
|
class="customer"
|
||||||
v-model.trim="customerSearchKeyword"
|
v-model.trim="customerSearchKeyword"
|
||||||
@@ -517,8 +517,6 @@ onUnmounted(() => navBarStore.clearRight());
|
|||||||
display: flex;
|
display: flex;
|
||||||
padding: .75rem 1rem;
|
padding: .75rem 1rem;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
background: #F5F5F8;
|
|
||||||
box-shadow: var(--td-shadow-1);
|
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
.customer {
|
.customer {
|
||||||
@@ -526,7 +524,7 @@ onUnmounted(() => navBarStore.clearRight());
|
|||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border: 1px solid var(--td-component-border);
|
border: 1px solid var(--td-component-border);
|
||||||
background: var(--td-bg-color-container);
|
z-index: 1;
|
||||||
padding-right: .3rem;
|
padding-right: .3rem;
|
||||||
border-radius: 1rem;
|
border-radius: 1rem;
|
||||||
|
|
||||||
@@ -544,10 +542,8 @@ onUnmounted(() => navBarStore.clearRight());
|
|||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border: 1px solid rgba(148, 163, 184, .18);
|
border: 1px solid rgba(148, 163, 184, .18);
|
||||||
z-index: -1;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
margin-top: -1rem;
|
margin-top: -1rem;
|
||||||
background: #fff;
|
|
||||||
border-top: none;
|
border-top: none;
|
||||||
padding-top: .8rem;
|
padding-top: .8rem;
|
||||||
border-radius: 0 0 1rem 1rem;
|
border-radius: 0 0 1rem 1rem;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div v-can="permissionCodes.packageConfig.read" class="package-config-list">
|
<div v-can="permissionCodes.packageConfig.read" class="package-config-list">
|
||||||
<div class="filters">
|
<div class="filters glass">
|
||||||
<t-input
|
<t-input
|
||||||
v-model.trim="keyword"
|
v-model.trim="keyword"
|
||||||
class="keyword"
|
class="keyword"
|
||||||
@@ -217,16 +217,14 @@ onUnmounted(() => {
|
|||||||
padding: var(--app-nav-height) 0 1rem;
|
padding: var(--app-nav-height) 0 1rem;
|
||||||
|
|
||||||
.filters {
|
.filters {
|
||||||
|
gap: .5rem;
|
||||||
top: var(--app-nav-height);
|
top: var(--app-nav-height);
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
gap: .5rem;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
padding: .75rem 1rem;
|
padding: .75rem 1rem;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
background: var(--td-bg-color-page);
|
|
||||||
box-shadow: var(--td-shadow-1);
|
|
||||||
|
|
||||||
.keyword {
|
.keyword {
|
||||||
--td-input-vertical-padding: .25rem 1rem;
|
--td-input-vertical-padding: .25rem 1rem;
|
||||||
@@ -234,7 +232,6 @@ onUnmounted(() => {
|
|||||||
flex: 1;
|
flex: 1;
|
||||||
border: 1px solid var(--td-component-border);
|
border: 1px solid var(--td-component-border);
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
background: var(--td-bg-color-container);
|
|
||||||
border-radius: 1rem;
|
border-radius: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -246,10 +243,6 @@ onUnmounted(() => {
|
|||||||
margin-left: -2rem;
|
margin-left: -2rem;
|
||||||
padding-left: 2rem;
|
padding-left: 2rem;
|
||||||
border-radius: 1rem;
|
border-radius: 1rem;
|
||||||
|
|
||||||
&:after {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div v-can="permissionCodes.packageConfig.read" class="package-order-config-list">
|
<div v-can="permissionCodes.packageConfig.read" class="package-order-config-list">
|
||||||
<div class="filters">
|
<div class="filters glass">
|
||||||
<t-input
|
<t-input
|
||||||
v-model.trim="keyword"
|
v-model.trim="keyword"
|
||||||
class="keyword"
|
class="keyword"
|
||||||
@@ -211,8 +211,6 @@ onUnmounted(() => {
|
|||||||
display: flex;
|
display: flex;
|
||||||
padding: .75rem 1rem;
|
padding: .75rem 1rem;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
background: var(--td-bg-color-page);
|
|
||||||
box-shadow: var(--td-shadow-1);
|
|
||||||
|
|
||||||
.keyword {
|
.keyword {
|
||||||
--td-input-vertical-padding: .25rem 1rem;
|
--td-input-vertical-padding: .25rem 1rem;
|
||||||
@@ -220,7 +218,6 @@ onUnmounted(() => {
|
|||||||
flex: 1;
|
flex: 1;
|
||||||
border: 1px solid var(--td-component-border);
|
border: 1px solid var(--td-component-border);
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
background: var(--td-bg-color-container);
|
|
||||||
border-radius: 1rem;
|
border-radius: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -232,10 +229,6 @@ onUnmounted(() => {
|
|||||||
margin-left: -2rem;
|
margin-left: -2rem;
|
||||||
padding-left: 2rem;
|
padding-left: 2rem;
|
||||||
border-radius: 1rem;
|
border-radius: 1rem;
|
||||||
|
|
||||||
&:after {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div v-can="permissionCodes.point.accountRead" class="point-account-list">
|
<div v-can="permissionCodes.point.accountRead" class="point-account-list">
|
||||||
<div class="filters">
|
<div class="filters glass">
|
||||||
<t-input
|
<t-input
|
||||||
v-model.trim="keyword"
|
v-model.trim="keyword"
|
||||||
class="customer"
|
class="customer"
|
||||||
@@ -257,8 +257,6 @@ onMounted(async () => {
|
|||||||
display: flex;
|
display: flex;
|
||||||
padding: .75rem 1rem;
|
padding: .75rem 1rem;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
background: #F5F5F8;
|
|
||||||
box-shadow: var(--td-shadow-1);
|
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
.customer {
|
.customer {
|
||||||
@@ -267,7 +265,6 @@ onMounted(async () => {
|
|||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border: 1px solid var(--td-component-border);
|
border: 1px solid var(--td-component-border);
|
||||||
background: var(--td-bg-color-container);
|
|
||||||
padding-right: .3rem;
|
padding-right: .3rem;
|
||||||
border-radius: 1rem;
|
border-radius: 1rem;
|
||||||
}
|
}
|
||||||
@@ -277,7 +274,6 @@ onMounted(async () => {
|
|||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
min-height: 70vh;
|
min-height: 70vh;
|
||||||
padding-top: 1rem;
|
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
.list {
|
.list {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div v-can="permissionCodes.point.ledgerRead" class="point-ledger-list">
|
<div v-can="permissionCodes.point.ledgerRead" class="point-ledger-list">
|
||||||
<div class="filters">
|
<div class="filters glass">
|
||||||
<t-input
|
<t-input
|
||||||
v-model="customerKeyword"
|
v-model="customerKeyword"
|
||||||
class="customer"
|
class="customer"
|
||||||
@@ -482,7 +482,6 @@ onUnmounted(() => {
|
|||||||
|
|
||||||
<style scoped lang="less">
|
<style scoped lang="less">
|
||||||
.point-ledger-list {
|
.point-ledger-list {
|
||||||
gap: 1rem;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
padding: var(--app-nav-height) 0 1rem;
|
padding: var(--app-nav-height) 0 1rem;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@@ -495,8 +494,6 @@ onUnmounted(() => {
|
|||||||
display: flex;
|
display: flex;
|
||||||
padding: .75rem 1rem;
|
padding: .75rem 1rem;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
background: #F5F5F8;
|
|
||||||
box-shadow: var(--td-shadow-1);
|
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
.customer {
|
.customer {
|
||||||
@@ -505,7 +502,7 @@ onUnmounted(() => {
|
|||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border: 1px solid var(--td-component-border);
|
border: 1px solid var(--td-component-border);
|
||||||
background: var(--td-bg-color-container);
|
z-index: 1;
|
||||||
padding-right: .3rem;
|
padding-right: .3rem;
|
||||||
border-radius: 1rem;
|
border-radius: 1rem;
|
||||||
}
|
}
|
||||||
@@ -514,8 +511,7 @@ onUnmounted(() => {
|
|||||||
--td-spacer-1: 6px;
|
--td-spacer-1: 6px;
|
||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border: 1px solid rgba(148, 163, 184, .18);
|
border: 1px solid var(--td-component-border);
|
||||||
z-index: -1;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
margin-top: -1rem;
|
margin-top: -1rem;
|
||||||
border-top: none;
|
border-top: none;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div v-can="permissionCodes.pointRedeemSku.manage" class="redeem-sku-list">
|
<div v-can="permissionCodes.pointRedeemSku.manage" class="redeem-sku-list">
|
||||||
<div class="filters">
|
<div class="filters glass">
|
||||||
<t-input
|
<t-input
|
||||||
v-model.trim="keyword"
|
v-model.trim="keyword"
|
||||||
class="keyword"
|
class="keyword"
|
||||||
@@ -194,15 +194,12 @@ onUnmounted(() => {
|
|||||||
display: flex;
|
display: flex;
|
||||||
padding: .75rem 1rem;
|
padding: .75rem 1rem;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
background: #f5f5f8;
|
|
||||||
box-shadow: var(--td-shadow-1);
|
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
.keyword {
|
.keyword {
|
||||||
--td-input-vertical-padding: .25rem 1rem;
|
--td-input-vertical-padding: .25rem 1rem;
|
||||||
|
|
||||||
border: 1px solid var(--td-component-border);
|
border: 1px solid var(--td-component-border);
|
||||||
background: var(--td-bg-color-container);
|
|
||||||
border-radius: 1rem;
|
border-radius: 1rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div v-can="permissionCodes.pointRedemption.create" class="redemption-list">
|
<div v-can="permissionCodes.pointRedemption.create" class="redemption-list">
|
||||||
<div class="filters">
|
<div class="filters glass">
|
||||||
<t-input
|
<t-input
|
||||||
v-model.trim="keyword"
|
v-model.trim="keyword"
|
||||||
class="keyword"
|
class="keyword"
|
||||||
@@ -421,8 +421,6 @@ onUnmounted(() => {
|
|||||||
display: flex;
|
display: flex;
|
||||||
padding: .75rem 1rem;
|
padding: .75rem 1rem;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
background: #f5f5f8;
|
|
||||||
box-shadow: var(--td-shadow-1);
|
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
.keyword {
|
.keyword {
|
||||||
@@ -431,7 +429,6 @@ onUnmounted(() => {
|
|||||||
flex: 1;
|
flex: 1;
|
||||||
border: 1px solid var(--td-component-border);
|
border: 1px solid var(--td-component-border);
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
background: var(--td-bg-color-container);
|
|
||||||
padding-right: .3rem;
|
padding-right: .3rem;
|
||||||
border-radius: 1rem;
|
border-radius: 1rem;
|
||||||
|
|
||||||
@@ -448,10 +445,9 @@ onUnmounted(() => {
|
|||||||
--td-spacer-1: 6px;
|
--td-spacer-1: 6px;
|
||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border: 1px solid rgba(148, 163, 184, .18);
|
border: 1px solid var(--td-component-border);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
margin-top: -1rem;
|
margin-top: -1rem;
|
||||||
background: #fff;
|
|
||||||
border-top: none;
|
border-top: none;
|
||||||
padding-top: .8rem;
|
padding-top: .8rem;
|
||||||
border-radius: 0 0 1rem 1rem;
|
border-radius: 0 0 1rem 1rem;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div v-can="permissionCodes.productCategory.read" class="product-category-list">
|
<div v-can="permissionCodes.productCategory.read" class="product-category-list">
|
||||||
<div class="filters bg-white">
|
<div class="filters glass">
|
||||||
<t-input
|
<t-input
|
||||||
v-model="keyword"
|
v-model="keyword"
|
||||||
class="keyword"
|
class="keyword"
|
||||||
@@ -368,8 +368,6 @@ onUnmounted(() => {
|
|||||||
display: flex;
|
display: flex;
|
||||||
padding: .75rem 1rem;
|
padding: .75rem 1rem;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
background: var(--td-bg-color-page);
|
|
||||||
box-shadow: var(--td-shadow-1);
|
|
||||||
|
|
||||||
.keyword {
|
.keyword {
|
||||||
--td-input-vertical-padding: 8px 14px;
|
--td-input-vertical-padding: 8px 14px;
|
||||||
@@ -377,7 +375,6 @@ onUnmounted(() => {
|
|||||||
flex: 1;
|
flex: 1;
|
||||||
border: 1px solid var(--td-component-border);
|
border: 1px solid var(--td-component-border);
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
background: var(--td-bg-color-container);
|
|
||||||
border-radius: 1rem;
|
border-radius: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div ref="productListRef" v-can="permissionCodes.product.read" class="product-list">
|
<div ref="productListRef" v-can="permissionCodes.product.read" class="product-list">
|
||||||
<div class="filters bg-white">
|
<div class="filters glass">
|
||||||
<t-input
|
<t-input
|
||||||
v-model="keyword"
|
v-model="keyword"
|
||||||
class="keyword"
|
class="keyword"
|
||||||
@@ -431,8 +431,6 @@ onUnmounted(() => {
|
|||||||
display: flex;
|
display: flex;
|
||||||
padding: .75rem 1rem;
|
padding: .75rem 1rem;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
background: #F5F5F8;
|
|
||||||
box-shadow: var(--td-shadow-1);
|
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
.keyword {
|
.keyword {
|
||||||
@@ -440,7 +438,6 @@ onUnmounted(() => {
|
|||||||
|
|
||||||
border: 1px solid var(--td-component-border);
|
border: 1px solid var(--td-component-border);
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
background: var(--td-bg-color-container);
|
|
||||||
border-radius: 1rem;
|
border-radius: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -448,26 +445,11 @@ onUnmounted(() => {
|
|||||||
--td-spacer-1: 6px;
|
--td-spacer-1: 6px;
|
||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
border: 1px solid rgba(148, 163, 184, .18);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
margin-top: -1rem;
|
margin-top: -1rem;
|
||||||
padding-top: .8rem;
|
padding-top: .8rem;
|
||||||
background: #fff;
|
|
||||||
border: 1px solid rgba(148, 163, 184, .18);
|
|
||||||
border-radius: 0 0 1rem 1rem;
|
border-radius: 0 0 1rem 1rem;
|
||||||
|
|
||||||
&:after {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
:deep(.t-dropdown-menu__item) {
|
|
||||||
min-width: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
:deep(.t-dropdown-menu__title) {
|
|
||||||
overflow: hidden;
|
|
||||||
white-space: nowrap;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div ref="productStockListRef" v-can="permissionCodes.productStock.read" class="product-stock-list">
|
<div ref="productStockListRef" v-can="permissionCodes.productStock.read" class="product-stock-list">
|
||||||
<div class="search bg-white">
|
<div class="filters glass">
|
||||||
<t-input
|
<t-input
|
||||||
v-model="keyword"
|
v-model="keyword"
|
||||||
class="keyword"
|
class="keyword"
|
||||||
@@ -10,7 +10,6 @@
|
|||||||
placeholder="搜索产品名称(拼音)或编码"
|
placeholder="搜索产品名称(拼音)或编码"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<t-pull-down-refresh
|
<t-pull-down-refresh
|
||||||
class="list-wrap empty-cell-title-margin"
|
class="list-wrap empty-cell-title-margin"
|
||||||
v-model="isRefreshing"
|
v-model="isRefreshing"
|
||||||
@@ -322,18 +321,15 @@ onUnmounted(() => {
|
|||||||
.product-stock-list {
|
.product-stock-list {
|
||||||
padding: var(--app-nav-height) 0 1rem;
|
padding: var(--app-nav-height) 0 1rem;
|
||||||
|
|
||||||
.search {
|
.filters {
|
||||||
top: var(--app-nav-height);
|
top: var(--app-nav-height);
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
padding: .75rem 1rem;
|
padding: .75rem 1rem;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
background: var(--td-bg-color-page);
|
|
||||||
box-shadow: var(--td-shadow-1);
|
|
||||||
|
|
||||||
.keyword {
|
.keyword {
|
||||||
border: 1px solid var(--td-component-border);
|
border: 1px solid var(--td-component-border);
|
||||||
padding: .5rem 1rem;
|
padding: .5rem 1rem;
|
||||||
background: var(--td-bg-color-container);
|
|
||||||
border-radius: 1rem;
|
border-radius: 1rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div v-can="permissionCodes.productStock.read" class="product-stock-record-list">
|
<div v-can="permissionCodes.productStock.read" class="product-stock-record-list">
|
||||||
<div class="filters bg-white">
|
<div class="filters glass">
|
||||||
<t-input
|
<t-input
|
||||||
v-model="keyword"
|
v-model="keyword"
|
||||||
class="keyword"
|
class="keyword"
|
||||||
@@ -560,8 +560,6 @@ onUnmounted(() => {
|
|||||||
display: flex;
|
display: flex;
|
||||||
padding: .75rem 1rem;
|
padding: .75rem 1rem;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
background: #F5F5F8;
|
|
||||||
box-shadow: var(--td-shadow-1);
|
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
.keyword {
|
.keyword {
|
||||||
@@ -570,7 +568,6 @@ onUnmounted(() => {
|
|||||||
flex: 1;
|
flex: 1;
|
||||||
border: 1px solid var(--td-component-border);
|
border: 1px solid var(--td-component-border);
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
background: var(--td-bg-color-container);
|
|
||||||
border-radius: 1rem;
|
border-radius: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -581,23 +578,9 @@ onUnmounted(() => {
|
|||||||
border: 1px solid rgba(148, 163, 184, .18);
|
border: 1px solid rgba(148, 163, 184, .18);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
margin-top: -1rem;
|
margin-top: -1rem;
|
||||||
background: #fff;
|
|
||||||
border-top: none;
|
border-top: none;
|
||||||
padding-top: .8rem;
|
padding-top: .8rem;
|
||||||
border-radius: 0 0 1rem 1rem;
|
border-radius: 0 0 1rem 1rem;
|
||||||
&:after {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
:deep(.t-dropdown-menu__item) {
|
|
||||||
min-width: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
:deep(.t-dropdown-menu__title) {
|
|
||||||
overflow: hidden;
|
|
||||||
white-space: nowrap;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div v-can="permissionCodes.productStock.read" class="product-stock-sku-list">
|
<div v-can="permissionCodes.productStock.read" class="product-stock-sku-list">
|
||||||
<div class="search bg-white">
|
<div class="filters glass">
|
||||||
<t-input
|
<t-input
|
||||||
v-model="keyword"
|
v-model="keyword"
|
||||||
class="keyword"
|
class="keyword"
|
||||||
@@ -318,18 +318,15 @@ onUnmounted(() => {
|
|||||||
.product-stock-sku-list {
|
.product-stock-sku-list {
|
||||||
padding: var(--app-nav-height) 0 1rem;
|
padding: var(--app-nav-height) 0 1rem;
|
||||||
|
|
||||||
.search {
|
.filters {
|
||||||
top: var(--app-nav-height);
|
top: var(--app-nav-height);
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
padding: .75rem 1rem;
|
padding: .75rem 1rem;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
background: var(--td-bg-color-page);
|
|
||||||
box-shadow: var(--td-shadow-1);
|
|
||||||
|
|
||||||
.keyword {
|
.keyword {
|
||||||
border: 1px solid var(--td-component-border);
|
border: 1px solid var(--td-component-border);
|
||||||
padding: .5rem 1rem;
|
padding: .5rem 1rem;
|
||||||
background: var(--td-bg-color-container);
|
|
||||||
border-radius: 1rem;
|
border-radius: 1rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div v-can="permissionCodes.salesOrder.read" class="consumption-record-list">
|
<div v-can="permissionCodes.salesOrder.read" class="consumption-record-list">
|
||||||
<div class="filters">
|
<div class="filters glass">
|
||||||
<t-input
|
<t-input
|
||||||
class="keyword"
|
class="keyword"
|
||||||
:value="customerDisplayText"
|
:value="customerDisplayText"
|
||||||
@@ -474,8 +474,6 @@ onMounted(async () => {
|
|||||||
display: flex;
|
display: flex;
|
||||||
padding: .75rem 1rem;
|
padding: .75rem 1rem;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
background: #F5F5F8;
|
|
||||||
box-shadow: var(--td-shadow-1);
|
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
.keyword {
|
.keyword {
|
||||||
@@ -484,7 +482,6 @@ onMounted(async () => {
|
|||||||
|
|
||||||
border: 1px solid var(--td-component-border);
|
border: 1px solid var(--td-component-border);
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
background: var(--td-bg-color-container);
|
|
||||||
padding-right: .3rem;
|
padding-right: .3rem;
|
||||||
border-radius: 1rem;
|
border-radius: 1rem;
|
||||||
|
|
||||||
@@ -501,11 +498,10 @@ onMounted(async () => {
|
|||||||
--td-spacer-1: 6px;
|
--td-spacer-1: 6px;
|
||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
border: 1px solid rgba(148, 163, 184, .18);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
margin-top: -1rem;
|
margin-top: -1rem;
|
||||||
padding-top: .8rem;
|
padding-top: .8rem;
|
||||||
background: #fff;
|
|
||||||
border: 1px solid rgba(148, 163, 184, .18);
|
|
||||||
border-radius: 0 0 1rem 1rem;
|
border-radius: 0 0 1rem 1rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div v-can="pageAccess" class="sales-order-record-list">
|
<div v-can="pageAccess" class="sales-order-record-list">
|
||||||
<div class="filters">
|
<div class="filters glass">
|
||||||
<t-input
|
<t-input
|
||||||
class="customer"
|
class="customer"
|
||||||
v-model.trim="customerSearchKeyword"
|
v-model.trim="customerSearchKeyword"
|
||||||
@@ -522,8 +522,6 @@ onUnmounted(() => navBarStore.clearRight());
|
|||||||
display: flex;
|
display: flex;
|
||||||
padding: .75rem 1rem;
|
padding: .75rem 1rem;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
background: #F5F5F8;
|
|
||||||
box-shadow: var(--td-shadow-1);
|
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
.customer {
|
.customer {
|
||||||
@@ -531,8 +529,7 @@ onUnmounted(() => navBarStore.clearRight());
|
|||||||
--td-input-vertical-padding: .25rem 1rem;
|
--td-input-vertical-padding: .25rem 1rem;
|
||||||
|
|
||||||
border: 1px solid var(--td-component-border);
|
border: 1px solid var(--td-component-border);
|
||||||
z-index: 2;
|
z-index: 1;
|
||||||
background: var(--td-bg-color-container);
|
|
||||||
padding-right: .3rem;
|
padding-right: .3rem;
|
||||||
border-radius: 1rem;
|
border-radius: 1rem;
|
||||||
|
|
||||||
@@ -548,32 +545,14 @@ onUnmounted(() => navBarStore.clearRight());
|
|||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border: 1px solid rgba(148, 163, 184, .18);
|
border: 1px solid rgba(148, 163, 184, .18);
|
||||||
z-index: -1;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
margin-top: -1rem;
|
margin-top: -1rem;
|
||||||
background: #fff;
|
|
||||||
border-top: none;
|
border-top: none;
|
||||||
padding-top: .8rem;
|
padding-top: .8rem;
|
||||||
border-radius: 0 0 1rem 1rem;
|
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) {
|
:deep(.t-pull-down-refresh) {
|
||||||
padding-top: .75rem;
|
padding-top: .75rem;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div ref="salesOrderListRef" v-can="permissionCodes.salesOrder.read" class="sales-order-list">
|
<div ref="salesOrderListRef" v-can="permissionCodes.salesOrder.read" class="sales-order-list">
|
||||||
<div class="filters">
|
<div class="filters glass">
|
||||||
<div class="search-row">
|
<div class="search-row">
|
||||||
<t-input
|
<t-input
|
||||||
v-model.trim="keyword"
|
v-model.trim="keyword"
|
||||||
@@ -726,8 +726,6 @@ onUnmounted(() => {
|
|||||||
z-index: 10;
|
z-index: 10;
|
||||||
padding: .75rem 1rem .5rem;
|
padding: .75rem 1rem .5rem;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
background: var(--td-bg-color-page);
|
|
||||||
box-shadow: var(--td-shadow-1);
|
|
||||||
|
|
||||||
.search-row {
|
.search-row {
|
||||||
gap: .5rem;
|
gap: .5rem;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="help-page empty-cell-title-margin">
|
<div class="help-page empty-cell-title-margin">
|
||||||
<div class="search-wrap">
|
<div class="filters glass">
|
||||||
<t-input
|
<t-input
|
||||||
v-model.trim="searchKeyword"
|
v-model.trim="searchKeyword"
|
||||||
class="search"
|
class="search"
|
||||||
@@ -289,12 +289,11 @@ onMounted(async () => {
|
|||||||
|
|
||||||
<style scoped lang="less">
|
<style scoped lang="less">
|
||||||
.help-page {
|
.help-page {
|
||||||
gap: 1rem;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
padding: var(--app-nav-height) 0 1rem;
|
padding: var(--app-nav-height) 0 1rem;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
.search-wrap {
|
.filters {
|
||||||
top: var(--app-nav-height);
|
top: var(--app-nav-height);
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
@@ -302,8 +301,6 @@ onMounted(async () => {
|
|||||||
display: flex;
|
display: flex;
|
||||||
padding: .75rem 1rem;
|
padding: .75rem 1rem;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
background: #F5F5F8;
|
|
||||||
box-shadow: var(--td-shadow-1);
|
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
.search {
|
.search {
|
||||||
@@ -313,7 +310,6 @@ onMounted(async () => {
|
|||||||
flex: 1;
|
flex: 1;
|
||||||
border: 1px solid var(--td-component-border);
|
border: 1px solid var(--td-component-border);
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
background: var(--td-bg-color-container);
|
|
||||||
border-radius: 1rem;
|
border-radius: 1rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user