From 895a4a782951cbfc7e75bc89548deb1ba4e17cf6 Mon Sep 17 00:00:00 2001 From: water_xu Date: Thu, 11 Jul 2024 16:15:39 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=86=B2=E7=AA=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/uni-drawer/uni-drawer.vue | 166 +++++++++++++++++++++++++++ pages/mine/promise/promise.vue | 66 ----------- 2 files changed, 166 insertions(+), 66 deletions(-) create mode 100644 components/uni-drawer/uni-drawer.vue diff --git a/components/uni-drawer/uni-drawer.vue b/components/uni-drawer/uni-drawer.vue new file mode 100644 index 0000000..ab92a3d --- /dev/null +++ b/components/uni-drawer/uni-drawer.vue @@ -0,0 +1,166 @@ + + + + + diff --git a/pages/mine/promise/promise.vue b/pages/mine/promise/promise.vue index b2946fd..ebfa7cc 100644 --- a/pages/mine/promise/promise.vue +++ b/pages/mine/promise/promise.vue @@ -6,56 +6,6 @@ itemStyle="height:80upx;padding-bottom:10upx;background-color: #fff;" @click="tabsClick" > -<<<<<<< HEAD - - - - - - - - - 起始时间:{{ addTimeStartStr == '' ? '请选择起始时间...' : addTimeStartStr }} - - 结束时间:{{ addTimeEndStr == '' ? '请选择结束时间...' : addTimeEndStr }} - - - - - - - - 重置 - - - - - 搜索 - - - - - - - - - - -======= @@ -104,7 +54,6 @@ ->>>>>>> remotes/origin/pet @@ -224,17 +173,10 @@ export default { }, // 高级搜索弹窗关闭函数 -<<<<<<< HEAD - popupClose() { - this.popupShow = false - - }, -======= popupClose() { this.popupShow = false }, ->>>>>>> remotes/origin/pet // 高级搜索日期选择器关闭回调 addPickBarOnClose(type) { switch (type) { @@ -270,11 +212,7 @@ export default { this.$refs.uToast.show({message:'日期选择参数错误',duration:1000}) } }, -<<<<<<< HEAD - // 清除高级搜索内的起始日期、结束日期组件绑定的时间属性(时间戳类型);清除根据时间戳格式化的文本日期 -======= // 清除高级搜索内的起始日期、结束日期组件绑定的时间属性(时间戳类型);清除根据时间戳格式化的文本日期 ->>>>>>> remotes/origin/pet resetAllAddTime() { this.addTimeStart = Number(new Date()) this.addTimeEnd = Number(new Date()) @@ -291,11 +229,7 @@ export default { const toast = uni.$u.toast // 日期合法判定 if (this.addTimeStartStr > this.addTimeEndStr){ -<<<<<<< HEAD - // 包含两种case:case1 开始时间 > 结束时间;case2 开始时间有值,结束时间为空 -======= // 包含两种case:case1 开始时间 > 结束时间;case2 开始时间有值,结束时间为空 ->>>>>>> remotes/origin/pet this.$refs.uToast.show({message:'日期不合法',duration:1000}) return }