提交 91fd7ced 编写于 作者: jlj05024111@163.com's avatar jlj05024111@163.com

feat: 更新分页视图样式

上级 68b0fcd0
...@@ -89,7 +89,7 @@ export const IBizDateRange = defineComponent({ ...@@ -89,7 +89,7 @@ export const IBizDateRange = defineComponent({
return value; return value;
}, },
set(dates: string[]) { set(dates: string[]) {
if (dates && dates.length > 0) { if (dates && dates.length > 0 && dates.some(date => !!date)) {
emit('change', dates.join(valueSeparator)); emit('change', dates.join(valueSeparator));
if (refFormItem.value.length > 0) { if (refFormItem.value.length > 0) {
dates.forEach((date: string, index: number) => { dates.forEach((date: string, index: number) => {
......
...@@ -25,6 +25,10 @@ export const MPickupView = defineComponent({ ...@@ -25,6 +25,10 @@ export const MPickupView = defineComponent({
// UI层单击选中的数组 // UI层单击选中的数组
const UISelections: Ref<IData[]> = ref([]); const UISelections: Ref<IData[]> = ref([]);
if (c.params.selectedData) {
UISelections.value = JSON.parse(c.params.selectedData);
}
const handleSelectionClick = (selection: IData) => { const handleSelectionClick = (selection: IData) => {
const index = UISelections.value.indexOf(selection); const index = UISelections.value.indexOf(selection);
if (index === -1) { if (index === -1) {
......
...@@ -35,6 +35,12 @@ ...@@ -35,6 +35,12 @@
@include e(tab) { @include e(tab) {
z-index: 1; z-index: 1;
.ivu-tabs-nav-scroll{
line-height: 2;
.ivu-tabs-nav .ivu-tabs-tab{
padding: 10px 0;
}
}
} }
@include m(route) { @include m(route) {
...@@ -65,7 +71,7 @@ ...@@ -65,7 +71,7 @@
> .#{bem('view-layout')} { > .#{bem('view-layout')} {
.#{bem('view-layout-header')} { .#{bem('view-layout-header')} {
position: absolute; position: absolute;
top: -54px; top: -66px;
right: 0; right: 0;
z-index: 500; z-index: 500;
width: auto; width: auto;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册