<ion-view view-title="发布梦想" >
    <ion-nav-buttons side="left">
        <button class="button button-clear icon ion-ios-arrow-back" ng-click="goback()">返回</button>
    </ion-nav-buttons>
    <ion-nav-buttons side="right">
        <button class="button button-clear"  ng-click="doSomething()">
           发布说明
        </button>
    </ion-nav-buttons>
    <ion-content>
        <div class="addcontent list">
            <div class="item">你想实现的梦想</div>
            <div class="item item-input-inset itemjs">
                <label class="item-input-wrapper">
                    <input type="text">
                </label>
            </div>
            <div class="item">我的梦想介绍</div>
            <div class="item itemjs">
                <a class="button button-outline button-block button-calm button-icon" ng-click="openModal()">
                <i class="icon ion-plus"></i>
                添加梦想介绍</a>
            </div>
            <div class="item">上传一张照片，让别人更好的了解你</div>
            <div class="item itemjs">
                <a ng-repeat="item in files" ng-click="showImages(item)" class="img-file-up">
                    <b style="background-image:url({{item}});"><em ng-click="deletePicture(item)" class="ion-ios-close-outline"></em></b>
                </a>
                <a class="btn-file-up" ng-click="addfile()"><i class="ion-image"></i>添加图片</a>
            </div>
            <div class="item">实现梦想所需要的人民币</div>
            <div class="item item-input-inset itemjs">
                <label class="item-input-wrapper">
                    ￥
                    <input type="text">
                </label>
            </div>
        </div>
        <div class="padding">
            <button type="submit"  class="button button-full button-calm">
                发布梦想
            </button>
        </div>
    </ion-content>
    <script id="my-modal.html" type="text/ng-template">
        <ion-modal-view>
            <ion-header-bar class="bar-calm">
                <button class="button button-clear icon ion-ios-arrow-back" ng-click="closeModal()">返回</button>
                <h1 class="title">梦想介绍</h1>
                <button class="button button-clear" ng-click="closeModal()">确定</button>
            </ion-header-bar>
            <ion-content>
                <div class="addmodal">
                    <textarea placeholder="请输入梦想介绍"></textarea>
                </div>
                <div class="addfoot">
                    <img src="../../img/图片.png" />
                    <img src="../../img/相机.png" />
                    <img src="../../img/表情.png" />
                </div>
            </ion-content>
        
        </ion-modal-view>
    </script>
</ion-view>
