@opendesign-plus-test/components 0.0.1-rc.36 → 0.0.1-rc.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components.cjs.js +2 -2
- package/dist/components.css +1 -1
- package/dist/components.es.js +143 -149
- package/package.json +3 -3
- package/src/components/activity/OActivityApproval.vue +1 -1
- package/src/components/activity/composables/useActivityConfig.ts +3 -5
- package/src/components/events/OEventsApply.vue +1 -2
- package/src/components/events/OEventsCalendar.vue +10 -0
- package/src/components/meeting/OMeetingCalendar.vue +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opendesign-plus-test/components",
|
|
3
|
-
"version": "0.0.1-rc.
|
|
3
|
+
"version": "0.0.1-rc.38",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"dayjs": "^1.11.13",
|
|
33
33
|
"video.js": "^8.23.7",
|
|
34
34
|
"vue-dompurify-html": "^3.1.2",
|
|
35
|
-
"@opendesign-plus/
|
|
36
|
-
"@opendesign-plus/
|
|
35
|
+
"@opendesign-plus/composables": "0.0.1-rc.6",
|
|
36
|
+
"@opendesign-plus/styles": "0.0.1-rc.2"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@vitejs/plugin-vue": "^5.1.0",
|
|
@@ -39,7 +39,7 @@ const params = reactive<ReviewParamsT>({
|
|
|
39
39
|
});
|
|
40
40
|
|
|
41
41
|
// -------------------- 申请人 --------------------
|
|
42
|
-
const applicantValue = ref(
|
|
42
|
+
const applicantValue = ref<string[]>([]);
|
|
43
43
|
const applicantOptions = computed(() => props.applicantList.map(v => ({ value: v, label: v })));
|
|
44
44
|
|
|
45
45
|
const filterApplicantList = () => {
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import { computed
|
|
1
|
+
import { computed } from 'vue';
|
|
2
2
|
import { useI18n } from '@/i18n';
|
|
3
3
|
|
|
4
4
|
export const useActivityConfig = () => {
|
|
5
|
-
const { t
|
|
6
|
-
|
|
7
|
-
console.log(locale.value);
|
|
8
|
-
});
|
|
5
|
+
const { t } = useI18n();
|
|
6
|
+
|
|
9
7
|
const activityTypeMap = computed(() => new Map([
|
|
10
8
|
[
|
|
11
9
|
1,
|
|
@@ -121,8 +121,7 @@ defineProps<EventsApplyPropsT>();
|
|
|
121
121
|
@include respond-to('<=pad_v') {
|
|
122
122
|
grid-template-columns: auto 1fr; // 第1列自适应,第2列占满
|
|
123
123
|
grid-template-rows: auto; // 行数自动
|
|
124
|
-
gap:
|
|
125
|
-
row-gap: var(--o-gap-6); // 行间距
|
|
124
|
+
gap: var(--o-gap-3); // 列间距12px,行间距12px
|
|
126
125
|
}
|
|
127
126
|
|
|
128
127
|
.step-item {
|
|
@@ -271,9 +271,13 @@ const getIcon = (item: CalendarItemT) => {
|
|
|
271
271
|
.o-collapse-item-header {
|
|
272
272
|
padding: var(--o-gap-4) var(--o-gap-6);
|
|
273
273
|
align-items: center;
|
|
274
|
+
@include respond-to('<=pad_v') {
|
|
275
|
+
padding: var(--o-gap-2) var(--o-gap-3);
|
|
276
|
+
}
|
|
274
277
|
|
|
275
278
|
.o-collapse-item-title {
|
|
276
279
|
flex: 1;
|
|
280
|
+
margin-bottom: 0;
|
|
277
281
|
}
|
|
278
282
|
}
|
|
279
283
|
|
|
@@ -313,6 +317,9 @@ const getIcon = (item: CalendarItemT) => {
|
|
|
313
317
|
justify-content: center;
|
|
314
318
|
margin-right: var(--o-gap-4);
|
|
315
319
|
background-color: rgb(var(--bg-color));
|
|
320
|
+
@include respond-to('<=pad_v') {
|
|
321
|
+
margin-right: var(--o-gap-2);
|
|
322
|
+
}
|
|
316
323
|
}
|
|
317
324
|
|
|
318
325
|
.o-icon {
|
|
@@ -542,6 +549,9 @@ const getIcon = (item: CalendarItemT) => {
|
|
|
542
549
|
color: var(--o-color-info2);
|
|
543
550
|
font-weight: 400;
|
|
544
551
|
@include tip1;
|
|
552
|
+
@include respond-to('<=pad_v') {
|
|
553
|
+
@include text2;
|
|
554
|
+
}
|
|
545
555
|
}
|
|
546
556
|
|
|
547
557
|
.event-item {
|
|
@@ -31,7 +31,6 @@ const props = withDefaults(defineProps<MeetingCalendarPropsT>(), {
|
|
|
31
31
|
groupType: MeetingGroupType.SIG,
|
|
32
32
|
groups: () => [],
|
|
33
33
|
});
|
|
34
|
-
console.log(props);
|
|
35
34
|
const { t, locale, meetingTabs, getConfig } = useMeetingConfig();
|
|
36
35
|
const isEn = computed(() => locale.value === Locales.EN);
|
|
37
36
|
|