<ion-view view-title="货源信息" cache-view="false">
    <ion-content>
        <div class="list">
            <img  ng-src="{{vm.picUrl}}" style="width:100%;"/>
            <div class="list" >
                <div class="item item-avatar" style="border-width:0">
                    <img ng-src="{{user.data.avatar | avator}}" />
                    <h2 style="white-space:normal">【{{vm.begin_address | fullAddress}}】-【{{vm.end_address | fullAddress}}】的货源信息</h2>
                    <p>价格:<b style="color:red">￥{{vm.price}}</b></p>
                </div>
                <div class="item item-body">
                    <p>出发地：{{vm.begin_address | fullAddress}}</p>
                    <p>途经：{{vm.midway_address | fullAddress}}</p>
                    <p>目的地：{{vm.end_address | fullAddress}}</p>
                    <p>货物名称：{{vm.title}}</p>
                    <p>
                        {{vm.detail}}
                    </p>
                </div>


                <div class="item item-body">
                    <p>联系人：{{vm.contact_name}}</p>
                    <p>联系电话：{{vm.contact_phone}}</p>
                    <p>信息有效期：{{vm.expiry_date}}</p>
            
                    <p> 
                     {{vm.created_at}}
                    </p>
                </div>
            </div>
            <div class="row padding">
                <div class="col-50">
                    <button type="button" ng-click="bill()" class="button button-full button-positive">立马拍单</button>
                </div>
                <div class="col-50">
                    <a ng-href="tel:{{vm.contact_phone}}" class="button button-full button-energized">拨打电话</a>
                </div>
            </div>
        </div>   
    </ion-content>
</ion-view>
