<ion-view view-title="发布货源">
    <ion-content>
        <div class="list">
            <div class="item item-divider">
                <span>请填写您要发布的货源信息</span>
            </div>
            <label class="item item-input">
                <input ng-model="vm.price"   type="number" placeholder="价格">
            </label>
            <div class="item item-input item-myselect">
                <span class="input-label" style="width:15%">
                    出发地址
                </span>
                <china-area-selector  region="vm.begin_addressPick"></china-area-selector>
            </div>
            <div class="item item-input item-myselect">
                <span class="input-label" style="width:15%">
                    到达地址
                </span>
                <china-area-selector region="vm.end_addressPick"></china-area-selector>
            </div>
            <div class="item item-input item-myselect">
                <span class="input-label" style="width:15%">
                    途经地址
                </span>
                <china-area-selector region="vm.midway_addressPick"></china-area-selector>
            </div>
          
            <label class="item item-input">
                <textarea placeholder="详情" rows="8" ng-model="vm.detail"></textarea>
            </label>
            <div class="padding">
                <button type="button" ng-click="save()" class="button button-full button-positive">提交</button>
            </div>
        </div>
    </ion-content>
</ion-view>
