From e5abf6db7c6070afef7c24264fdf7865a0a6842f Mon Sep 17 00:00:00 2001 From: java110 <928255095@qq.com> Date: Tue, 13 Oct 2020 16:19:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/css/vc-ui.css | 14 ++ .../simplifyAcceptance.html | 130 +++++++++++++++++- .../simplifyAcceptance/simplifyAcceptance.js | 41 +++++- 3 files changed, 180 insertions(+), 5 deletions(-) diff --git a/public/css/vc-ui.css b/public/css/vc-ui.css index df93c1190..912d4981b 100644 --- a/public/css/vc-ui.css +++ b/public/css/vc-ui.css @@ -2001,4 +2001,18 @@ a:hover { .modal-header { border-bottom-color: #EEEEEE; background-color: #FAFAFA; +} + +.vc-float-left{ + float: left; +} + +.vc-float-right{ + float:right +} + +.vc-line{ + width:100%; + height:2px; + background: -webkit-linear-gradient(left, #fff -4%,#1ab394 50%,#fff 100%); } \ No newline at end of file diff --git a/public/pages/property/simplifyAcceptance/simplifyAcceptance.html b/public/pages/property/simplifyAcceptance/simplifyAcceptance.html index 42eb8c531..78667a0db 100644 --- a/public/pages/property/simplifyAcceptance/simplifyAcceptance.html +++ b/public/pages/property/simplifyAcceptance/simplifyAcceptance.html @@ -1,3 +1,129 @@ -
- +
+
+
+
+
+ +
+
+ +
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
+
+ + +
+
+
+
+ + +
+
+
+ +
+
+ +
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
+
+ + +
+
+
+
+ + +
+
+
+ +
+
+ +
+
+
+
+
+ + +
+
\ No newline at end of file diff --git a/public/pages/property/simplifyAcceptance/simplifyAcceptance.js b/public/pages/property/simplifyAcceptance/simplifyAcceptance.js index b936800ab..d3d87301e 100644 --- a/public/pages/property/simplifyAcceptance/simplifyAcceptance.js +++ b/public/pages/property/simplifyAcceptance/simplifyAcceptance.js @@ -7,17 +7,52 @@ vc.extends({ data: { simplifyAcceptanceInfo: { - + searchType: '1', + searchValue: '', + searchPlaceholder: '请输入房屋编号 楼栋-单元-房屋 如1-1-1', + ownerPhoto:'', } }, _initMethod: function () { - + }, _initEvent: function () { }, methods: { - + + _changeSearchType: function () { + switch ($that.simplifyAcceptanceInfo.searchType) { + case '1': + $that.simplifyAcceptanceInfo.searchPlaceholder = '请输入房屋编号 楼栋-单元-房屋 如1-1-1'; + break; + case '2': + $that.simplifyAcceptanceInfo.searchPlaceholder = '请输入业主名称'; + break; + case '3': + $that.simplifyAcceptanceInfo.searchPlaceholder = '请输入业主手机号'; + break; + case '4': + $that.simplifyAcceptanceInfo.searchPlaceholder = '请输入业主身份证'; + break; + case '5': + $that.simplifyAcceptanceInfo.searchPlaceholder = '请输入业主车牌号'; + break; + default: + $that.simplifyAcceptanceInfo.searchPlaceholder = '请输入房屋编号 楼栋-单元-房屋 如1-1-1'; + } + }, + _doSearch:function(){ + if(!vc.isNotEmpty($that.simplifyAcceptanceInfo.searchValue)){ + vc.toast('请输入查询条件'); + return ; + } + + }, + errorLoadImg:function(){ + vc.component.simplifyAcceptanceInfo.ownerPhoto="/img/noPhoto.jpg"; + }, + } }); })(window.vc);