address.wxml ===>
<view class="frm-itm"> <text class="frm-txt">请选择省:</text> <image src="/images/down.png"></image> <picker bindchange="bindPickerChange" class="frm-ipt" value="{ {pro[1]}}" range="{ {pro[0]}}" data-bindval = "p"> <view class="province">{ {pro[0][pro[1]]}}</view> </picker> </view> <view class="frm-itm"> <text class="frm-txt">当前城市:</text> <image src="/images/down.png"></image> <picker bindchange="bindPickerChange" class="frm-ipt" value="{ {city[1]}}" range="{ {city[0]}}" data-bindval = "c">
微信小程序之省市区三级联动
最新推荐文章于 2025-02-27 13:41:54 发布