diff --git a/src/bundle/pages/summary-list/index.vue b/src/bundle/pages/summary-list/index.vue new file mode 100644 index 0000000..ebfde5e --- /dev/null +++ b/src/bundle/pages/summary-list/index.vue @@ -0,0 +1,65 @@ + + + + diff --git a/src/bundle/pages/summary-list/summary-card.vue b/src/bundle/pages/summary-list/summary-card.vue new file mode 100644 index 0000000..b616921 --- /dev/null +++ b/src/bundle/pages/summary-list/summary-card.vue @@ -0,0 +1,32 @@ + + + + diff --git a/src/components/date-picker/date-picker.vue b/src/components/date-picker/date-picker.vue index 960a6dc..e5fb8f8 100644 --- a/src/components/date-picker/date-picker.vue +++ b/src/components/date-picker/date-picker.vue @@ -57,8 +57,6 @@ function handleToggle() { diff --git a/src/components/widgets/date-more/date-more.vue b/src/components/widgets/date-more/date-more.vue new file mode 100644 index 0000000..1dcaf46 --- /dev/null +++ b/src/components/widgets/date-more/date-more.vue @@ -0,0 +1,32 @@ + + + + diff --git a/src/components/widgets/date-strip/date-strip.vue b/src/components/widgets/date-strip/date-strip.vue deleted file mode 100644 index a768232..0000000 --- a/src/components/widgets/date-strip/date-strip.vue +++ /dev/null @@ -1,26 +0,0 @@ - - - - diff --git a/src/components/widgets/navbarComp/navbarComp.vue b/src/components/widgets/navbarComp/navbarComp.vue index 23ba364..f5deeba 100644 --- a/src/components/widgets/navbarComp/navbarComp.vue +++ b/src/components/widgets/navbarComp/navbarComp.vue @@ -10,7 +10,8 @@ - {{ title }} + + {{ title }} @@ -43,6 +44,7 @@ const setStyle = computed(() => { width: slots.left ? '80%' : '100%' } }) +const isSlotTitle = computed(() => slots.title) onLoad(() => { const menuButtonInfo = uni.getMenuButtonBoundingClientRect() statusBarHeight.value = menuButtonInfo.top diff --git a/src/components/widgets/summary-form/summary-form.vue b/src/components/widgets/summary-form/summary-form.vue index c2c71fe..5695bed 100644 --- a/src/components/widgets/summary-form/summary-form.vue +++ b/src/components/widgets/summary-form/summary-form.vue @@ -23,7 +23,7 @@ - + 确认 @@ -43,6 +43,10 @@ defineProps({ modelValue: { type: Array as PropType, default: () => [] + }, + readonly: { + type: String, + default: '' } }) const emit = defineEmits(['handleConfirm']) diff --git a/src/pages.json b/src/pages.json index 76c036e..db51a30 100644 --- a/src/pages.json +++ b/src/pages.json @@ -120,6 +120,13 @@ { "root": "bundle", "pages": [ + { + "path": "pages/summary-list/index", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom" + } + }, { "path": "pages/complete_add/index", "style": { diff --git a/src/pages/recruitsale/summary/index.vue b/src/pages/recruitsale/summary/index.vue index 96f41cb..06f1143 100644 --- a/src/pages/recruitsale/summary/index.vue +++ b/src/pages/recruitsale/summary/index.vue @@ -1,7 +1,8 @@ @@ -31,11 +32,14 @@ const templateItems = ref([ { formType: 2, formTitle: '有遇到什么问题', value: '' } ]) const handleConfirm = () => { + if (date <= curDate.value) return console.log(templateItems.value) } -const value = ref(new Date().getTime()) +const curDate = ref(new Date().getTime()) +const type = ref('') + const handleDateChange = item => { - console.log(item) + type.value = item.type } diff --git a/src/pages/telesale/summary/index.vue b/src/pages/telesale/summary/index.vue index bae2787..1dd203c 100644 --- a/src/pages/telesale/summary/index.vue +++ b/src/pages/telesale/summary/index.vue @@ -1,5 +1,6 @@