Browse Source

志愿者页面优化

master
zhaoyongnian 5 years ago
parent
commit
4001ed7540
  1. 2
      subpages/heart/pages/volunteer/volunteer.js
  2. 10
      subpages/heart/pages/volunteer/volunteer.wxml

2
subpages/heart/pages/volunteer/volunteer.js

@ -194,7 +194,7 @@ Page({
return false
}
if (this.data.road.length > 100) {
this.showToast('所在道路不能超过100个字')
this.showToast('所在小区不能超过100个字')
return false
}
if (!this.data.introduce) {

10
subpages/heart/pages/volunteer/volunteer.wxml

@ -79,24 +79,24 @@
<view class="info-box">
<view class="address name">
<input placeholder="*路*号(如南宁路168号)" controlled value="{{road}}" bind:change="adInputStreet"></input>
<input placeholder="请填写您所在的小区" controlled value="{{road}}" bind:change="adInputStreet"></input>
</view>
<view class="clear"></view>
</view>
<view class="info-box">
<!-- <view class="info-box">
<view class="address name">
<input placeholder="小区名称" controlled value="{{villageName}}" bind:change="adInputCommunity"></input>
</view>
<view class="clear"></view>
</view>
</view> -->
<view class="info-box-last">
<!-- <view class="info-box-last">
<view class="address name">
<input placeholder="详细地址 (楼栋号/单元/室)" controlled value="{{dwellingPlace}}" bind:change="adInputBuilding"></input>
</view>
<view class="clear"></view>
</view>
</view> -->
</view>
<!-- 居住地址 -->

Loading…
Cancel
Save