diff --git a/pages/my/my.vue b/pages/my/my.vue index ec54cf3..fa59bd8 100644 --- a/pages/my/my.vue +++ b/pages/my/my.vue @@ -12,12 +12,12 @@ - - - - - - + + + + + + diff --git a/pages/publish/publishAddress/publishAddress.vue b/pages/publish/publishAddress/publishAddress.vue index 01dfc6c..442a5ac 100644 --- a/pages/publish/publishAddress/publishAddress.vue +++ b/pages/publish/publishAddress/publishAddress.vue @@ -6,10 +6,16 @@ 请选择所属区域 + + + 请选择行业业态 + + + @@ -118,6 +124,8 @@ justify-content: space-between; } .arrow-icon{ - float: right; + position: absolute; + right: 10rpx; + transform: translateY(-20rpx); } diff --git a/pages/publish/publishInvestment/publishInvestment.vue b/pages/publish/publishInvestment/publishInvestment.vue index 11ecb52..5acceb5 100644 --- a/pages/publish/publishInvestment/publishInvestment.vue +++ b/pages/publish/publishInvestment/publishInvestment.vue @@ -11,6 +11,9 @@ 请选择所属区域 + + + @@ -18,11 +21,16 @@ 请选择行业类型 - + + + - 请输入行业业态 + 请选择行业业态 + + + @@ -122,6 +130,8 @@ justify-content: space-between; } .arrow-icon{ - float: right; + position: absolute; + right: 10rpx; + transform: translateY(-20rpx); } diff --git a/pages/publish/publishRent/publishRent.vue b/pages/publish/publishRent/publishRent.vue index e5f167b..71ac51f 100644 --- a/pages/publish/publishRent/publishRent.vue +++ b/pages/publish/publishRent/publishRent.vue @@ -11,6 +11,9 @@ 请选择所属区域 + + + @@ -18,7 +21,9 @@ 请选择行业类型 - + + + @@ -123,6 +128,8 @@ justify-content: space-between; } .arrow-icon{ - float: right; + position: absolute; + right: 10rpx; + transform: translateY(-20rpx); } diff --git a/pages/publish/publishTransfer/publishTransfer.vue b/pages/publish/publishTransfer/publishTransfer.vue index 2225f68..3bac623 100644 --- a/pages/publish/publishTransfer/publishTransfer.vue +++ b/pages/publish/publishTransfer/publishTransfer.vue @@ -6,42 +6,50 @@ 发布房源图片({{ShopInfomation.count}}/5) - - + + - + 请选择所属区域 - + + + + - - + + 请选择行业类型 - - + + + + - - 请输入行业业态 - + + 请选择行业业态 + + + + - - + + - - + + - - + + - + - - + + - - + + @@ -62,13 +70,39 @@ }, form:{ - title:'' + title:'', + region:'', + place:'', + trade:'', + karma:'', + size:'', + rent:'', + sell:'', + name:'', + call:'', + introduce:'' }, columns:[ + ], show1:false, show2:false, show3:false, + rules:{ + 'title':[{ + type:'string', + require:true, + message:'请输入姓名', + trigger: ['change','blur'] + }], + 'place':[{ + type:'string', + require:true, + message:'请输入地址', + trigger:['change','blur'] + }], + + }, } }, @@ -78,10 +112,22 @@ this.ShopInfomation.area = e.value[1] this.show1 = false }, - submit(){ - console.log('提交'); - } - } + submit() { + this.$refs.uForm.validate().then(res => { + console.log("提交表单信息:" + JSON.stringify(this.form)) + uni.$u.toast('发布成功') + // 调用服务端入表接口W + }).catch(errors => { + console.log("失败信息:" + JSON.stringify(errors)) + // uni.$u.toast('校验失败') + }) + } + }, + + onReady() { + this.$refs.uForm.setRules(this.rules) + }, + } @@ -130,6 +176,8 @@ justify-content: space-between; } .arrow-icon{ - float: right; + position: absolute; + right: 10rpx; + transform: translateY(-20rpx); } diff --git a/static/my/wo_icon_cc.png b/static/my/wo_icon_cc.png new file mode 100644 index 0000000..f00430c Binary files /dev/null and b/static/my/wo_icon_cc.png differ diff --git a/static/my/wo_icon_hh.png b/static/my/wo_icon_hh.png new file mode 100644 index 0000000..bfab27b Binary files /dev/null and b/static/my/wo_icon_hh.png differ diff --git a/static/my/wo_icon_pppp.png b/static/my/wo_icon_pppp.png new file mode 100644 index 0000000..4885f17 Binary files /dev/null and b/static/my/wo_icon_pppp.png differ diff --git a/static/my/wo_icon_xz.png b/static/my/wo_icon_xz.png new file mode 100644 index 0000000..756556a Binary files /dev/null and b/static/my/wo_icon_xz.png differ diff --git a/static/my/wo_icon_zr.png b/static/my/wo_icon_zr.png new file mode 100644 index 0000000..317291c Binary files /dev/null and b/static/my/wo_icon_zr.png differ diff --git a/static/my/wo_icon_zs.png b/static/my/wo_icon_zs.png new file mode 100644 index 0000000..a4bc6e1 Binary files /dev/null and b/static/my/wo_icon_zs.png differ