边界半径不适用于Android中的离子模态

时间:2016-01-27 08:26:08

标签: ionic-framework

我正在尝试为离子模态应用border-radius属性。它适用于桌面镀铬。但不适用于Android设备。如何实现Android?

.modal{
  border-radius: 8px;
}

视图

<script id="AccountSearchModal.html" type="text/ng-template">
    <div class="modal">
        <header class="bar bar-header bar-positive">
            <h1 class="title">Account Search</h1>
            <div class="button button-clear" ng-click="modal.hide()">
                <span class="icon ion-close"></span>
            </div>
        </header>

        <content has-header="true" padding="true">
            <div class="list">
            <form name="accountCreateFrmTemp">
                <label class="item item-input margin-75" >                    
                    <input type="number" ng-model="accountNumber" placeholder="Account Number" name="accountNumber"/>
                </label> 

            </form>    
            </div>
        </content>       
    </div>
</script>

0 个答案:

没有答案