You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

38 lines
1.1 KiB

<form bindsubmit="formSubmit" bindreset="formReset">
<view class="section">
<view class="section__title">省</view>
<picker bindchange="bindChangeProvince" value="{{indexProvince}}" range="{{arrayProvince}}">
<view class="picker">
当前选择:{{arrayProvince[indexProvince]}}
</view>
</picker>
</view>
<view class="section">
<view class="section__title">市</view>
<picker bindchange="bindChangeCity" value="{{indexCity}}" range="{{arrayCity}}">
<view class="picker">
当前选择:{{arrayCity[indexCity]}}
</view>
</picker>
</view>
<view>
<view class="section__title">区</view>
<picker bindchange="bindChangeCounty" value="{{indexCounty}}" range="{{arrayCounty}}">
<view class="picker">
当前选择:{{arrayCounty[indexCounty]}}
</view>
</picker>
</view>
<view class="section">
<view class="section_title">详细地址</view>
<input name="input" placeholder="输入地址信息" />
</view>
<view class="btn-area">
<button formType="submit">Submit</button>
<button formType="reset">Reset</button>
</view>
</form>