diff --git a/src/components/EventSelector.vue b/src/components/EventSelector.vue
index 252e561..11b1637 100644
--- a/src/components/EventSelector.vue
+++ b/src/components/EventSelector.vue
@@ -10,7 +10,9 @@
class="item"
borderless
>
-
+
+
+
暂无可用登记事件
@@ -59,14 +61,50 @@ const modelValue = defineModel({ required: true });
grid-template-columns: repeat(2, minmax(0, 1fr));
}
- :deep(.item) {
- margin: 0;
- padding: .875rem;
- display: flex;
- justify-content: center;
- background: #f8fbff;
+ :deep(.item) {
+ width: 100%;
+ max-width: 100%;
+ margin: 0;
+ padding: .875rem;
+ display: flex;
+ min-width: 0;
+ overflow: visible;
+ justify-content: center;
+ box-sizing: border-box;
+ background: #f8fbff;
border: 1px solid rgba(148, 163, 184, .28);
border-radius: 1rem;
+
+ }
+
+ :deep(.item .t-checkbox__content) {
+ width: 0;
+ max-width: 100%;
+ min-width: 0;
+ flex: 1 1 0;
+ overflow: visible;
+ }
+
+ :deep(.item .t-checkbox__title) {
+ display: block;
+ overflow: visible;
+ }
+
+ :deep(.item .t-popover__wrapper) {
+ display: block;
+ width: 100%;
+ max-width: 100%;
+ min-width: 0;
+ }
+
+ :deep(.item .option-text) {
+ display: block;
+ width: 100%;
+ max-width: 100%;
+ min-width: 0;
+ overflow: hidden;
+ white-space: nowrap;
+ text-overflow: ellipsis;
}
.empty-block {
diff --git a/src/pages/event/EventRecordEdit.vue b/src/pages/event/EventRecordEdit.vue
index 6de0ff8..a4c83a4 100644
--- a/src/pages/event/EventRecordEdit.vue
+++ b/src/pages/event/EventRecordEdit.vue
@@ -721,6 +721,7 @@ watch(customerCode, async (value) => {
color: #9a3412;
padding: 0 1rem 1rem;
font-size: .8125rem;
+ margin-top: .25rem;
line-height: 1.5;
}