<view class="content">
    <form bindsubmit="siteform">
        <view class="site-form">
            <view class="site-input">
                <label>收货人</label>
                <input placeholder="请输入收货人姓名" name="name" type="text" value="{{nameValue}}" bindinput="bindinput"></input>
            </view>
            <view class="site-input">
                <label>手机号码</label>
                <input placeholder="请输入手机号码" maxlength="11" name="mobile" type="number"></input>
            </view>
            <view class="site-input">
                <label>所在省份</label>
                <picker bindchange="areasChange" value="{{areaIndex}}" range="{{areasArr}}" range-key="name">
                    <view class="picker nowrap">
                        {{ areasArr[areaIndex].name }}
                        <image class="picker-icon" src="/static/icons/orderArrow.png"></image>
                    </view>
                </picker>
            </view> 
            <view class="site-input">
                <label>所在城市</label>
                <picker bindchange="cityDrop" value="{{cityIndex}}" range="{{cityArr}}" range-key="name" class="conneColor">
                    <view class="picker nowrap">
                        {{ cityArr[cityIndex].name }}
                        <image class="picker-icon" src="/static/icons/orderArrow.png"></image>
                    </view>
                </picker>
            </view>
            <view class="site-input">
                <label>所在区域</label>
                <picker bindchange="regiDrop" value="{{regiIndex}}" range="{{regiArr}}" range-key="name" class="conneColor">
                    <view class="picker nowrap">
                        {{ regiArr[regiIndex].name }}
                        <image class="picker-icon" src="/static/icons/orderArrow.png"></image>
                    </view>
                </picker>
            </view>
            <view class="site-input">
                <label>收货地址</label>
                <input placeholder="请输入详细地址" name="address"></input>
            </view>
        </view>
        <view class="site-btn">
            <button form-type="submit" size="mini" disabled="{{disabled}}">保存</button>
        </view>
    </form>
</view>