From 97c69365d779ed45e805df075bdbed469901d4a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BF=97=E5=9B=BD?= <854933521@qq.com> Date: Tue, 29 Oct 2024 13:56:53 +0800 Subject: [PATCH] =?UTF-8?q?mycomponents/detail=20=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E8=BF=81=E7=A7=BB=208/8-10/25?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mycomponents/detail/comDetailCard.vue | 14 +- .../detail/comDetailCardBatch.vue | 226 ++++++++++++++++ src/mycomponents/detail/comJobDetailCard.vue | 11 +- .../detail/comJobDetailCardBatch.vue | 184 +++++++++++++ .../detail/comLableDetailCard.vue | 190 ++++++++++++++ .../detail/comRecommendDetailCard.vue | 194 ++++++++++++++ .../detail/comRecommendDetailCardBatch.vue | 241 ++++++++++++++++++ 7 files changed, 1057 insertions(+), 3 deletions(-) create mode 100644 src/mycomponents/detail/comDetailCardBatch.vue create mode 100644 src/mycomponents/detail/comJobDetailCardBatch.vue create mode 100644 src/mycomponents/detail/comLableDetailCard.vue create mode 100644 src/mycomponents/detail/comRecommendDetailCard.vue create mode 100644 src/mycomponents/detail/comRecommendDetailCardBatch.vue diff --git a/src/mycomponents/detail/comDetailCard.vue b/src/mycomponents/detail/comDetailCard.vue index 2604939e..8dbb9d6d 100644 --- a/src/mycomponents/detail/comDetailCard.vue +++ b/src/mycomponents/detail/comDetailCard.vue @@ -6,7 +6,7 @@ - + @@ -45,6 +45,14 @@ const props = defineProps({ type: Boolean, default: true }, + isShowFromLocation: { + type: Boolean, + default: true + }, + isShowToLocation: { + type: Boolean, + default: false + }, locationAreaTypeList: { type: Array, default: null @@ -79,7 +87,9 @@ watch( if (val.subList.length > 0) { if (collapse.value != undefined && collapse.value != null) { nextTick((res) => { - collapse.value.init() + setTimeout(()=>{ + collapse.value.init() + },500) }) } } diff --git a/src/mycomponents/detail/comDetailCardBatch.vue b/src/mycomponents/detail/comDetailCardBatch.vue new file mode 100644 index 00000000..a45e3033 --- /dev/null +++ b/src/mycomponents/detail/comDetailCardBatch.vue @@ -0,0 +1,226 @@ + + + + + \ No newline at end of file diff --git a/src/mycomponents/detail/comJobDetailCard.vue b/src/mycomponents/detail/comJobDetailCard.vue index 0861bf27..a3ddcac5 100644 --- a/src/mycomponents/detail/comJobDetailCard.vue +++ b/src/mycomponents/detail/comJobDetailCard.vue @@ -5,7 +5,12 @@ - + + @@ -38,6 +43,10 @@ const props = defineProps({ isShowStatus: { type: Boolean, default: true + }, + isShowPackListStatus: { + type: Boolean, + default: true } }) const showItem = ref({}) diff --git a/src/mycomponents/detail/comJobDetailCardBatch.vue b/src/mycomponents/detail/comJobDetailCardBatch.vue new file mode 100644 index 00000000..c80074bb --- /dev/null +++ b/src/mycomponents/detail/comJobDetailCardBatch.vue @@ -0,0 +1,184 @@ + + + + + + \ No newline at end of file diff --git a/src/mycomponents/detail/comLableDetailCard.vue b/src/mycomponents/detail/comLableDetailCard.vue new file mode 100644 index 00000000..22411a59 --- /dev/null +++ b/src/mycomponents/detail/comLableDetailCard.vue @@ -0,0 +1,190 @@ + + + + + \ No newline at end of file diff --git a/src/mycomponents/detail/comRecommendDetailCard.vue b/src/mycomponents/detail/comRecommendDetailCard.vue new file mode 100644 index 00000000..49a86e37 --- /dev/null +++ b/src/mycomponents/detail/comRecommendDetailCard.vue @@ -0,0 +1,194 @@ + + + + + \ No newline at end of file diff --git a/src/mycomponents/detail/comRecommendDetailCardBatch.vue b/src/mycomponents/detail/comRecommendDetailCardBatch.vue new file mode 100644 index 00000000..acfc3d3b --- /dev/null +++ b/src/mycomponents/detail/comRecommendDetailCardBatch.vue @@ -0,0 +1,241 @@ + + + + + \ No newline at end of file