From fed81e28dd23e07aa7afd5bb3bc4243f30b0e55b Mon Sep 17 00:00:00 2001 From: lfs3 Date: Sat, 24 Aug 2019 15:23:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=9D=E5=AD=98=E5=90=88=E4=BC=99=E4=BA=BA?= =?UTF-8?q?=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/util.js | 10 +- src/view/choose-community.vue | 31 +- src/view/home.vue | 96 ++- src/view/month-card.vue | 487 +++++++------ src/view/order-check.vue | 1250 ++++++++++++++++----------------- 5 files changed, 967 insertions(+), 907 deletions(-) diff --git a/src/common/util.js b/src/common/util.js index 47b904a..af8a178 100644 --- a/src/common/util.js +++ b/src/common/util.js @@ -57,7 +57,13 @@ export default { return null } - } + }, +}; +export function isEmpty(val) { + return ( + val === undefined || + val === null || + val === "undefined" || + val === "") } - diff --git a/src/view/choose-community.vue b/src/view/choose-community.vue index 4f0164b..0d9ed84 100644 --- a/src/view/choose-community.vue +++ b/src/view/choose-community.vue @@ -33,7 +33,7 @@
附近小区
-
+
{{item.housingEstateName}}
{{item.prefixAddress}}
@@ -42,7 +42,7 @@
-
+
没有更多了
@@ -52,7 +52,7 @@
diff --git a/src/view/order-check.vue b/src/view/order-check.vue index 0811bb2..33aecc3 100644 --- a/src/view/order-check.vue +++ b/src/view/order-check.vue @@ -1,707 +1,681 @@